Greg Kroah-Hartman
b060cfd3f7
Linux 4.19.306
...
Link: https://lore.kernel.org/r/20240122235712.442097787@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-01-25 14:33:39 -08:00
Greg Kroah-Hartman
10d7598449
Revert "NFSD: Fix possible sleep during nfsd4_release_lockowner()"
...
This reverts commit ef481b262b which is
commit ce3c4ad7f4ce5db7b4f08a1e237d8dd94b39180b upstream.
The maintainers ask it to be removed in this branch.
Cc: Dai Ngo <dai.ngo@oracle.com >
Cc: Chuck Lever <chuck.lever@oracle.com >
Cc: Neil Brown <neilb@suse.de >
Cc: Jeff Layton <jlayton@kernel.org >
Link: https://lore.kernel.org/linux-nfs/3162C5BC-8E7C-4A9A-815C-09297B56FA17@oracle.com/T/#t
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-01-25 14:33:39 -08:00
Greg Kroah-Hartman
c2d22841d5
Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek"
...
This reverts commit 6eb9b4a36d which is
commit c775cbf62ed4911e4f0f23880f01815753123690 upstream.
It is reported to cause problems, so drop it from the 5.15.y tree for now.
Link: https://lore.kernel.org/r/845b3053-d47b-4717-9665-79b120da133b@sirena.org.uk
Reported-by: Mark Brown <broonie@kernel.org >
Cc: Codrin Ciubotariu <codrin.ciubotariu@microchip.com >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-01-25 14:33:37 -08:00
Greg Kroah-Hartman
abc2dd6a24
Linux 4.19.305
...
Link: https://lore.kernel.org/r/20240113094205.025407355@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-01-15 18:23:44 +01:00
Greg Kroah-Hartman
88afb447e0
Linux 4.19.304
...
Link: https://lore.kernel.org/r/20240105143813.957669139@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-01-08 11:27:37 +01:00
Greg Kroah-Hartman
74ad23cd9b
Linux 4.19.303
...
Link: https://lore.kernel.org/r/20231218135041.876499958@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de > =
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-12-20 15:38:04 +01:00
Greg Kroah-Hartman
f93c1f58eb
Linux 4.19.302
...
Link: https://lore.kernel.org/r/20231211182012.263036284@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20231212120154.063773918@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-12-13 17:42:21 +01:00
Greg Kroah-Hartman
3e205b99cc
Linux 4.19.301
...
Link: https://lore.kernel.org/r/20231205031517.859409664@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20231205183236.587197010@linuxfoundation.org
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-12-08 08:43:26 +01:00
Greg Kroah-Hartman
979b2ade80
Linux 4.19.300
...
Link: https://lore.kernel.org/r/20231124171934.122298957@linuxfoundation.org
Link: https://lore.kernel.org/r/20231125163104.203147306@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Link: https://lore.kernel.org/r/20231126154323.146332656@linuxfoundation.org
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-11-28 16:46:37 +00:00
Greg Kroah-Hartman
8dd1c3f9bd
Linux 4.19.299
...
Link: https://lore.kernel.org/r/20231115191426.221330369@linuxfoundation.org
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-11-20 10:29:22 +01:00
Greg Kroah-Hartman
aa8663e85d
Linux 4.19.298
...
Link: https://lore.kernel.org/r/20231106130259.573843228@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-11-08 11:22:22 +01:00
Greg Kroah-Hartman
4a82dfcb8b
Linux 4.19.297
...
Link: https://lore.kernel.org/r/20231023104813.580375891@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-10-25 11:17:03 +02:00
Greg Kroah-Hartman
1b540579cf
Linux 4.19.296
...
Link: https://lore.kernel.org/r/20231009130111.518916887@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-10-10 21:45:02 +02:00
Greg Kroah-Hartman
88f8a01c42
Revert "rtnetlink: Reject negative ifindexes in RTM_NEWLINK"
...
This reverts commit 42c8406432 which is
commit 30188bd7838c16a98a520db1fe9df01ffc6ed368 upstream.
It was improperly backported to 4.19.y, and applied to the wrong
function, which obviously causes problems. A fixed version will be
applied as a separate commit later.
Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com >
Link: https://lore.kernel.org/r/ZSQeA8fhUT++iZvz@ostr-mac
Cc: Ido Schimmel <idosch@nvidia.com >
Cc: Jiri Pirko <jiri@nvidia.com >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Paolo Abeni <pabeni@redhat.com >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-10-10 21:45:02 +02:00
Greg Kroah-Hartman
f736f1e791
Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3"
...
This reverts commit 3a4ecf4c9d which is
commit a33d700e8eea76c62120cb3dbf5e01328f18319a upstream.
It was applied to the incorrect function as the original function the
commit changed is not in this kernel branch.
Reported-by: Ben Hutchings <ben@decadent.org.uk >
Link: https://lore.kernel.org/r/f23affddab4d8b3cc07508f2d8735d88d823821d.camel@decadent.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-10-10 21:45:00 +02:00
Greg Kroah-Hartman
ed829c9e67
media: dvb: symbol fixup for dvb_attach() - again
...
In commit f296b374b9 ("media: dvb: symbol fixup for dvb_attach()") in
the 4.19.y tree, a few symbols were missed due to files being renamed in
newer kernel versions. Fix this up by properly marking up the
sp8870_attach and xc2028_attach symbols.
Reported-by: Ben Hutchings <ben@decadent.org.uk >
Link: https://lore.kernel.org/r/b12435b2311ada131db05d3cf195b4b5d87708eb.camel@decadent.org.uk
Fixes: f296b374b9 ("media: dvb: symbol fixup for dvb_attach()")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-10-10 21:45:00 +02:00
Greg Kroah-Hartman
ce63d45f45
Revert "drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions"
...
This reverts commit 3ce2cd63e8 which is
commit aa838896d87af561a33ecefea1caa4c15a68bc47 upstream.
Ben writes:
When I looked into the referenced security issue, it seemed to only be
exploitable through wakelock names, and in the upstream kernel only
after commit c8377adfa781 "PM / wakeup: Show wakeup sources stats in
sysfs" (first included in 5.4). So I would be interested to know if
and why a fix was needed for 4.19.
More importantly, this backported version uniformly converts to
sysfs_emit(), but there are 3 places sysfs_emit_at() must be used
instead:
Reported-by: Ben Hutchings <ben@decadent.org.uk >
Link: https://lore.kernel.org/r/95831df76c41a53bc3e1ac8ece64915dd63763a1.camel@decadent.org.uk
Cc: Joe Perches <joe@perches.com >
Cc: Brennan Lamoreaux <blamoreaux@vmware.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-10-10 21:45:00 +02:00
Greg Kroah-Hartman
780225545d
Linux 4.19.295
...
Link: https://lore.kernel.org/r/20230920112846.440597133@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-09-23 10:48:18 +02:00
Greg Kroah-Hartman
f296b374b9
media: dvb: symbol fixup for dvb_attach()
...
commit 86495af1171e1feec79faa9b64c05c89f46e41d1 upstream.
In commit 9011e49d54dc ("modules: only allow symbol_get of
EXPORT_SYMBOL_GPL modules") the use of symbol_get is properly restricted
to GPL-only marked symbols. This interacts oddly with the DVB logic
which only uses dvb_attach() to load the dvb driver which then uses
symbol_get().
Fix this up by properly marking all of the dvb_attach attach symbols as
EXPORT_SYMBOL_GPL().
Fixes: 9011e49d54dc ("modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules")
Cc: stable <stable@kernel.org >
Reported-by: Stefan Lippers-Hollmann <s.l-h@gmx.de >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Christoph Hellwig <hch@lst.de >
Cc: linux-media@vger.kernel.org
Cc: linux-modules@vger.kernel.org
Acked-by: Luis Chamberlain <mcgrof@kernel.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
Link: https://lore.kernel.org/r/20230908092035.3815268-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-09-23 10:48:10 +02:00
Greg Kroah-Hartman
dd5638bc06
Linux 4.19.294
...
Link: https://lore.kernel.org/r/20230831110828.433348914@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20230831172214.759342877@linuxfoundation.org
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-09-02 09:20:23 +02:00
Greg Kroah-Hartman
e3dfbbfb0d
Revert "ARM: ep93xx: fix missing-prototype warnings"
...
This reverts commit 6c52a55fc4 which is
commit 419013740ea1e4343d8ade535d999f59fa28e460 upstream.
It breaks the build, so should be reverted.
Reported-by: Guenter Roeck <linux@roeck-us.net >
Link: https://lore.kernel.org/r/98dbc981-56fa-4919-afcc-fdf63e0a1c53@roeck-us.net
Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com >
Cc: Arnd Bergmann <arnd@arndb.de >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-09-02 09:20:23 +02:00
Greg Kroah-Hartman
88f4f32268
Revert "MIPS: Alchemy: fix dbdma2"
...
This reverts commit a16419bae2 which is
commit 2d645604f69f3a772d58ead702f9a8e84ab2b342 upstream.
It breaks the build, so should be dropped.
Reported-by: Guenter Roeck <linux@roeck-us.net >
Link: https://lore.kernel.org/r/5b30ff73-46cb-1d1e-3823-f175dbfbd91b@roeck-us.net
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-09-02 09:20:23 +02:00
Greg Kroah-Hartman
c9852b4ded
Linux 4.19.293
...
Link: https://lore.kernel.org/r/20230828101153.030066927@linuxfoundation.org
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-30 16:31:57 +02:00
Greg Kroah-Hartman
4e5e7fa94e
Linux 4.19.292
...
Link: https://lore.kernel.org/r/20230813211703.915807095@linuxfoundation.org
Tested-by: Thierry Reding <treding@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-16 18:13:01 +02:00
Greg Kroah-Hartman
df2b6b5a11
sparc: fix up arch_cpu_finalize_init() build breakage.
...
In commit b698b5d11a ("sparc/cpu: Switch to arch_cpu_finalize_init()") the
check for ARCH_HAS_CPU_FINALIZE_INIT was backported incorrectly to the SPARC
config option, not SPARC32. This causes build problems for the sparc64 arch:
sparc64-linux-ld: init/main.o: in function `start_kernel':
main.c:(.init.text+0x77c): undefined reference to `arch_cpu_finalize_init'
Fix this up by putting the option in the correct place.
Reported-by: Guenter Roeck <linux@roeck-us.net >
Link: https://lore.kernel.org/r/252c7673-53ee-4c4b-e5ef-5bb2c0416154@roeck-us.net
Fixes: b698b5d11a ("sparc/cpu: Switch to arch_cpu_finalize_init()")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-16 18:12:59 +02:00
Greg Kroah-Hartman
fbbeed723b
Linux 4.19.291
...
Link: https://lore.kernel.org/r/20230809103658.104386911@linuxfoundation.org
Tested-by: Thierry Reding <treding@nvidia.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-11 11:45:41 +02:00
Greg Kroah-Hartman
dfeab8180c
Documentation: security-bugs.rst: clarify CVE handling
...
commit 3c1897ae4b6bc7cc586eda2feaa2cd68325ec29c upstream.
The kernel security team does NOT assign CVEs, so document that properly
and provide the "if you want one, ask MITRE for it" response that we
give on a weekly basis in the document, so we don't have to constantly
say it to everyone who asks.
Link: https://lore.kernel.org/r/2023063022-retouch-kerosene-7e4a@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-11 11:45:34 +02:00
Greg Kroah-Hartman
cb937208c2
Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
...
commit 4fee0915e649bd0cea56dece6d96f8f4643df33c upstream.
Because the linux-distros group forces reporters to release information
about reported bugs, and they impose arbitrary deadlines in having those
bugs fixed despite not actually being kernel developers, the kernel
security team recommends not interacting with them at all as this just
causes confusion and the early-release of reported security problems.
Reviewed-by: Kees Cook <keescook@chromium.org >
Link: https://lore.kernel.org/r/2023063020-throat-pantyhose-f110@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-11 11:45:34 +02:00
Greg Kroah-Hartman
e0302cf3ba
video: imsttfb: check for ioremap() failures
...
commit 13b7c0390a5d3840e1e2cda8f44a310fdbb982de upstream.
We should check if ioremap() were to somehow fail in imsttfb_probe() and
handle the unwinding of the resources allocated here properly.
Ideally if anyone cares about this driver (it's for a PowerMac era PCI
display card), they wouldn't even be using fbdev anymore. Or the devm_*
apis could be used, but that's just extra work for diminishing
returns...
Cc: Finn Thain <fthain@telegraphics.com.au >
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210503115736.2104747-68-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-11 11:45:00 +02:00
Greg Kroah-Hartman
38e29db7fb
Linux 4.19.290
...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-08 19:49:19 +02:00
Greg Kroah-Hartman
cb0bd59919
x86: fix backwards merge of GDS/SRSO bit
...
Stable-tree-only change.
Due to the way the GDS and SRSO patches flowed into the stable tree, it
was a 50% chance that the merge of the which value GDS and SRSO should
be. Of course, I lost that bet, and chose the opposite of what Linus
chose in commit 64094e7e3118 ("Merge tag 'gds-for-linus-2023-08-01' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip")
Fix this up by switching the values to match what is now in Linus's tree
as that is the correct value to mirror.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-08-08 19:49:19 +02:00
Greg Kroah-Hartman
767049cead
Linux 4.19.289
...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-07-24 19:11:51 +02:00
Greg Kroah-Hartman
94bffc1044
Linux 4.19.288
...
Link: https://lore.kernel.org/r/20230626180736.243379844@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-28 10:15:32 +02:00
Greg Kroah-Hartman
10c9949669
Linux 4.19.287
...
Link: https://lore.kernel.org/r/20230619102129.856988902@linuxfoundation.org
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-21 15:39:59 +02:00
Greg Kroah-Hartman
c111487599
Linux 4.19.286
...
Link: https://lore.kernel.org/r/20230612101651.138592130@linuxfoundation.org
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-14 10:57:15 +02:00
Greg Kroah-Hartman
f54ca87b5f
Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"
...
This reverts commit ec310591cf839653a5b2c1fcf6b8a110c3f2485c which is
commit a80f4c7dc4 upstream.
Ben reports that this should not have been backported to the older
kernels as the rest of the macro is not empty. It was a clean-up patch
in 6.4-rc1 only, it did not add new device ids.
Reported-by: Ben Hutchings <ben@decadent.org.uk >
Cc: Philipp Hortmann <philipp.g.hortmann@gmail.com >
Cc: Sasha Levin <sashal@kernel.org >
Link: https://lore.kernel.org/r/aa0d401a7f63448cd4c2fe4a2d7e8495d9aa123e.camel@decadent.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-14 10:57:15 +02:00
Greg Kroah-Hartman
0821988113
i40e: fix build warnings in i40e_alloc.h
...
Not upstream as it was fixed in a much larger api change in newer
kernels.
gcc-13 rightfully complains that enum is not the same as an int, so fix
up the function prototypes in i40e_alloc.h to be correct, solving a
bunch of build warnings.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-14 10:57:12 +02:00
Greg Kroah-Hartman
047bf6291b
i40iw: fix build warning in i40iw_manage_apbvt()
...
Not upstream as this function is no longer around anymore.
The function i40iw_manage_apbvt() has the wrong prototype match from the
.h file to the .c declaration, so fix it up, otherwise gcc-13 complains
(rightfully) that the type is incorrect.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-14 10:57:12 +02:00
Greg Kroah-Hartman
7625843c7c
Linux 4.19.285
...
Link: https://lore.kernel.org/r/20230607200854.030202132@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >=09
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-09 10:24:04 +02:00
Greg Kroah-Hartman
a8b7a32a34
Linux 4.19.284
...
Link: https://lore.kernel.org/r/20230528190833.565872088@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Link: https://lore.kernel.org/r/20230529153919.729418186@linuxfoundation.org
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-05-30 12:42:15 +01:00
Greg Kroah-Hartman
3f57fb8b1b
Linux 4.19.283
...
Link: https://lore.kernel.org/r/20230515161707.203549282@linuxfoundation.org
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-05-17 11:13:28 +02:00
Greg Kroah-Hartman
cdfda37ab2
Linux 4.19.282
...
Link: https://lore.kernel.org/r/20230424131121.155649464@linuxfoundation.org
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-04-26 11:21:53 +02:00
Greg Kroah-Hartman
70ae89da72
memstick: fix memory leak if card device is never registered
...
commit 4b6d621c9d859ff89e68cebf6178652592676013 upstream.
When calling dev_set_name() memory is allocated for the name for the
struct device. Once that structure device is registered, or attempted
to be registerd, with the driver core, the driver core will handle
cleaning up that memory when the device is removed from the system.
Unfortunatly for the memstick code, there is an error path that causes
the struct device to never be registered, and so the memory allocated in
dev_set_name will be leaked. Fix that leak by manually freeing it right
before the memory for the device is freed.
Cc: Maxim Levitsky <maximlevitsky@gmail.com >
Cc: Alex Dubov <oakad@yahoo.com >
Cc: Ulf Hansson <ulf.hansson@linaro.org >
Cc: "Rafael J. Wysocki" <rafael@kernel.org >
Cc: Hans de Goede <hdegoede@redhat.com >
Cc: Kay Sievers <kay.sievers@vrfy.org >
Cc: linux-mmc@vger.kernel.org
Fixes: 0252c3b4f0 ("memstick: struct device - replace bus_id with dev_name(), dev_set_name()")
Cc: stable <stable@kernel.org >
Co-developed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Co-developed-by: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr >
Signed-off-by: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr >
Link: https://lore.kernel.org/r/20230401200327.16800-1-gregkh@linuxfoundation.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-04-26 11:21:52 +02:00
Greg Kroah-Hartman
a5b79a58cf
Linux 4.19.281
...
Link: https://lore.kernel.org/r/20230418120258.713853188@linuxfoundation.org
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-04-20 12:04:41 +02:00
Greg Kroah-Hartman
5c0966408d
Linux 4.19.280
...
Link: https://lore.kernel.org/r/20230403140353.406927418@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-04-05 11:15:43 +02:00
Greg Kroah-Hartman
30baa0923a
Linux 4.19.279
...
Link: https://lore.kernel.org/r/20230320145424.191578432@linuxfoundation.org
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-22 13:27:13 +01:00
Greg Kroah-Hartman
7e0df88a36
Linux 4.19.278
...
Link: https://lore.kernel.org/r/20230315115721.234756306@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20230316083339.388760723@linuxfoundation.org
Link: https://lore.kernel.org/r/20230316094129.846802350@linuxfoundation.org
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-17 08:31:44 +01:00
Greg Kroah-Hartman
4f95ee925a
Linux 4.19.277
...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-13 10:17:16 +01:00
Greg Kroah-Hartman
6a98afd74b
Linux 4.19.276
...
Link: https://lore.kernel.org/r/20230310133718.803482157@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-11 16:32:03 +01:00
Greg Kroah-Hartman
5504146b20
Linux 4.19.275
...
Link: https://lore.kernel.org/r/20230301180650.395562988@linuxfoundation.org
Tested-by: Slade Watkins <srw@sladewatkins.net >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-03 11:40:08 +01:00
Greg Kroah-Hartman
2e3d9118e4
Linux 4.19.274
...
Link: https://lore.kernel.org/r/20230223130424.079732181@linuxfoundation.org
Link: https://lore.kernel.org/r/20230223141538.102388120@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Slade Watkins <srw@sladewatkins.net >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-02-25 11:51:51 +01:00
Greg Kroah-Hartman
3eb67e3248
Linux 4.19.273
...
Link: https://lore.kernel.org/r/20230220133553.066768704@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-02-22 12:47:22 +01:00
Greg Kroah-Hartman
669c76e55d
kvm: initialize all of the kvm_debugregs structure before sending it to userspace
...
commit 2c10b61421a28e95a46ab489fd56c0f442ff6952 upstream.
When calling the KVM_GET_DEBUGREGS ioctl, on some configurations, there
might be some unitialized portions of the kvm_debugregs structure that
could be copied to userspace. Prevent this as is done in the other kvm
ioctls, by setting the whole structure to 0 before copying anything into
it.
Bonus is that this reduces the lines of code as the explicit flag
setting and reserved space zeroing out can be removed.
Cc: Sean Christopherson <seanjc@google.com >
Cc: Paolo Bonzini <pbonzini@redhat.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Ingo Molnar <mingo@redhat.com >
Cc: Borislav Petkov <bp@alien8.de >
Cc: Dave Hansen <dave.hansen@linux.intel.com >
Cc: <x86@kernel.org >
Cc: "H. Peter Anvin" <hpa@zytor.com >
Cc: stable <stable@kernel.org >
Reported-by: Xingyuan Mo <hdthky0@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Message-Id: <20230214103304.3689213-1-gregkh@linuxfoundation.org >
Tested-by: Xingyuan Mo <hdthky0@gmail.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-02-22 12:47:22 +01:00
Greg Kroah-Hartman
e136657a7a
Revert "x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN"
...
This reverts commit a00d020f18 which is
commit 55228db2697c09abddcb9487c3d9fa5854a932cd upstream.
_Alignof is not in the gcc version that the 4.19.y kernel still
supports (4.6), so this change needs to be reverted as it breaks the
build on those older compiler versions.
Reported-by: Michael Nies <michael.nies@netclusive.com >
Link: https://lore.kernel.org/r/HE1PR0902MB188277E37DED663AE440510BE1D99@HE1PR0902MB1882.eurprd09.prod.outlook.com
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217013
Cc: YingChi Long <me@inclyc.cn >
Cc: Borislav Petkov <bp@suse.de >
Cc: Nick Desaulniers <ndesaulniers@google.com >
Cc: Nathan Chancellor <nathan@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-02-22 12:47:20 +01:00
Greg Kroah-Hartman
53b696f058
Linux 4.19.272
...
Link: https://lore.kernel.org/r/20230203101015.263854890@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20230203170324.096985239@linuxfoundation.org
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Link: https://lore.kernel.org/r/20230204143559.734584366@linuxfoundation.org
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-02-06 07:49:46 +01:00
Greg Kroah-Hartman
b17faf2c4e
Linux 4.19.271
...
Link: https://lore.kernel.org/r/20230122150219.557984692@linuxfoundation.org
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-24 07:11:51 +01:00
Greg Kroah-Hartman
55d7561d38
Revert "ext4: generalize extents status tree search functions"
...
This reverts commit cca8671f3a which is
commit ad431025aecda85d3ebef5e4a3aca5c1c681d0c7 upstream.
Eric writes:
I recommend not backporting this patch or the other three
patches apparently intended to support it to 4.19 stable. All
these patches are related to ext4's bigalloc feature, which was
experimental as of 4.19 (expressly noted by contemporary
versions of e2fsprogs) and also suffered from a number of bugs.
A significant number of additional patches that were applied to
5.X kernels over time would have to be backported to 4.19 for
the patch below to function correctly. It's really not worth
doing that given bigalloc's experimental status as of 4.19 and
the very rare combination of the bigalloc and inline features.
Link: https://lore.kernel.org/r/Y8mAe1SlcLD5fykg@debian-BULLSEYE-live-builder-AMD64
Cc: Eric Whitney <enwlinux@gmail.com >
Cc: Theodore Ts'o <tytso@mit.edu >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-24 07:11:51 +01:00
Greg Kroah-Hartman
432021b829
Revert "ext4: add new pending reservation mechanism"
...
This reverts commit 9bacbb4cfd which is
commit 1dc0aa46e74a3366e12f426b7caaca477853e9c3 upstream.
Eric writes:
I recommend not backporting this patch or the other three
patches apparently intended to support it to 4.19 stable. All
these patches are related to ext4's bigalloc feature, which was
experimental as of 4.19 (expressly noted by contemporary
versions of e2fsprogs) and also suffered from a number of bugs.
A significant number of additional patches that were applied to
5.X kernels over time would have to be backported to 4.19 for
the patch below to function correctly. It's really not worth
doing that given bigalloc's experimental status as of 4.19 and
the very rare combination of the bigalloc and inline features.
Link: https://lore.kernel.org/r/Y8mAe1SlcLD5fykg@debian-BULLSEYE-live-builder-AMD64
Cc: Eric Whitney <enwlinux@gmail.com >
Cc: Theodore Ts'o <tytso@mit.edu >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-24 07:11:51 +01:00
Greg Kroah-Hartman
f83391339d
Revert "ext4: fix reserved cluster accounting at delayed write time"
...
This reverts commit d40e09f701 which is
commit 0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6 upstream.
Eric writes:
I recommend not backporting this patch or the other three
patches apparently intended to support it to 4.19 stable. All
these patches are related to ext4's bigalloc feature, which was
experimental as of 4.19 (expressly noted by contemporary
versions of e2fsprogs) and also suffered from a number of bugs.
A significant number of additional patches that were applied to
5.X kernels over time would have to be backported to 4.19 for
the patch below to function correctly. It's really not worth
doing that given bigalloc's experimental status as of 4.19 and
the very rare combination of the bigalloc and inline features.
Link: https://lore.kernel.org/r/Y8mAe1SlcLD5fykg@debian-BULLSEYE-live-builder-AMD64
Cc: Eric Whitney <enwlinux@gmail.com >
Cc: Theodore Ts'o <tytso@mit.edu >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-24 07:11:51 +01:00
Greg Kroah-Hartman
0ce15000de
Revert "ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline"
...
This reverts commit 1ed1eef055 which is
commit 131294c35ed6f777bd4e79d42af13b5c41bf2775 upstream.
Eric writes:
I recommend not backporting this patch or the other three
patches apparently intended to support it to 4.19 stable. All
these patches are related to ext4's bigalloc feature, which was
experimental as of 4.19 (expressly noted by contemporary
versions of e2fsprogs) and also suffered from a number of bugs.
A significant number of additional patches that were applied to
5.X kernels over time would have to be backported to 4.19 for
the patch below to function correctly. It's really not worth
doing that given bigalloc's experimental status as of 4.19 and
the very rare combination of the bigalloc and inline features.
Link: https://lore.kernel.org/r/Y8mAe1SlcLD5fykg@debian-BULLSEYE-live-builder-AMD64
Cc: Eric Whitney <enwlinux@gmail.com >
Cc: Theodore Ts'o <tytso@mit.edu >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-24 07:11:51 +01:00
Greg Kroah-Hartman
1f09d79557
USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100
...
commit 14ff7460bb58662d86aa50298943cc7d25532e28 upstream.
The USB_DEVICE_ID_CODEMERCS_IOW100 header size was incorrect, it should
be 12, not 13.
Cc: stable <stable@kernel.org >
Fixes: 17a82716587e ("USB: iowarrior: fix up report size handling for some devices")
Reported-by: Christoph Jung <jung@codemercs.com >
Link: https://lore.kernel.org/r/20230120135330.3842518-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-24 07:11:50 +01:00
Greg Kroah-Hartman
d3ee91e50a
prlimit: do_prlimit needs to have a speculation check
...
commit 739790605705ddcf18f21782b9c99ad7d53a8c11 upstream.
do_prlimit() adds the user-controlled resource value to a pointer that
will subsequently be dereferenced. In order to help prevent this
codepath from being used as a spectre "gadget" a barrier needs to be
added after checking the range.
Reported-by: Jordy Zomer <jordyzomer@google.com >
Tested-by: Jordy Zomer <jordyzomer@google.com >
Suggested-by: Linus Torvalds <torvalds@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-24 07:11:49 +01:00
Greg Kroah-Hartman
dc109cc857
Linux 4.19.270
...
Link: https://lore.kernel.org/r/20230116154847.246743274@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Link: https://lore.kernel.org/r/20230117124624.496082438@linuxfoundation.org
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-18 11:30:57 +01:00
Greg Kroah-Hartman
c652c81221
Linux 4.19.269
...
Link: https://lore.kernel.org/r/20221212130913.666185567@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-12-14 11:28:31 +01:00
Greg Kroah-Hartman
e8fff23417
Linux 4.19.268
...
Link: https://lore.kernel.org/r/20221205190803.124472741@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Link: https://lore.kernel.org/r/20221206124049.108349681@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-12-08 11:18:35 +01:00
Greg Kroah-Hartman
c1ccef20f0
Linux 4.19.267
...
Link: https://lore.kernel.org/r/20221123084551.864610302@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-25 17:40:30 +01:00
Greg Kroah-Hartman
d6834f5b0b
Linux 4.19.266
...
Link: https://lore.kernel.org/r/20221121124150.886779344@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-23 07:53:47 +01:00
Greg Kroah-Hartman
d419ec8ec7
Linux 4.19.265
...
Link: https://lore.kernel.org/r/20221108133329.533809494@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-10 17:46:56 +01:00
Greg Kroah-Hartman
4ea3dcf9ab
Linux 4.19.264
...
Link: https://lore.kernel.org/r/20221102022052.895556444@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-03 23:52:34 +09:00
Greg Kroah-Hartman
9d148097e6
UPSTREAM: once: fix section mismatch on clang builds
...
On older kernels (5.4 and older), building the kernel with clang can
cause the section name to end up with "" in them, which can cause lots
of runtime issues as that is not normally a valid portion of the string.
This was fixed up in newer kernels with commit 33def8498fdd ("treewide:
Convert macro and uses of __section(foo) to __section("foo")") but
that's too heavy-handed for older kernels.
So for now, fix up the problem that commit 62c07983bef9 ("once: add
DO_ONCE_SLOW() for sleepable contexts") caused by being backported by
removing the "" characters from the section definition.
Reported-by: Oleksandr Tymoshenko <ovt@google.com >
Reported-by: Yongqin Liu <yongqin.liu@linaro.org >
Tested-by: Yongqin Liu <yongqin.liu@linaro.org >
Cc: Naresh Kamboju <naresh.kamboju@linaro.org >
Link: https://lore.kernel.org/r/20221029011211.4049810-1-ovt@google.com
Link: https://lore.kernel.org/r/CAMSo37XApZ_F5nSQYWFsSqKdMv_gBpfdKG3KN1TDB+QNXqSh0A@mail.gmail.com
Cc: Christophe Leroy <christophe.leroy@csgroup.eu >
Cc: Eric Dumazet <edumazet@google.com >
Cc: Willy Tarreau <w@1wt.eu >
Cc: Christophe Leroy <christophe.leroy@csgroup.eu >
Cc: David S. Miller <davem@davemloft.net >
Cc: Sasha Levin <sashal@kernel.org >
Cc: Nathan Chancellor <nathan@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 709e5a08d4 )
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I534b74b0e3e006222f7293e2e96888189c941079
2022-11-02 05:02:22 +01:00
Greg Kroah-Hartman
c5ce95fd56
Linux 4.19.263
...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-01 19:05:41 +01:00
Greg Kroah-Hartman
709e5a08d4
once: fix section mismatch on clang builds
...
On older kernels (5.4 and older), building the kernel with clang can
cause the section name to end up with "" in them, which can cause lots
of runtime issues as that is not normally a valid portion of the string.
This was fixed up in newer kernels with commit 33def8498fdd ("treewide:
Convert macro and uses of __section(foo) to __section("foo")") but
that's too heavy-handed for older kernels.
So for now, fix up the problem that commit 62c07983bef9 ("once: add
DO_ONCE_SLOW() for sleepable contexts") caused by being backported by
removing the "" characters from the section definition.
Reported-by: Oleksandr Tymoshenko <ovt@google.com >
Reported-by: Yongqin Liu <yongqin.liu@linaro.org >
Tested-by: Yongqin Liu <yongqin.liu@linaro.org >
Cc: Naresh Kamboju <naresh.kamboju@linaro.org >
Link: https://lore.kernel.org/r/20221029011211.4049810-1-ovt@google.com
Link: https://lore.kernel.org/r/CAMSo37XApZ_F5nSQYWFsSqKdMv_gBpfdKG3KN1TDB+QNXqSh0A@mail.gmail.com
Cc: Christophe Leroy <christophe.leroy@csgroup.eu >
Cc: Eric Dumazet <edumazet@google.com >
Cc: Willy Tarreau <w@1wt.eu >
Cc: Christophe Leroy <christophe.leroy@csgroup.eu >
Cc: David S. Miller <davem@davemloft.net >
Cc: Sasha Levin <sashal@kernel.org >
Cc: Nathan Chancellor <nathan@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-01 19:05:40 +01:00
Greg Kroah-Hartman
99c8c5d518
Linux 4.19.262
...
Link: https://lore.kernel.org/r/20221024112959.085534368@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-26 13:19:43 +02:00
Greg Kroah-Hartman
4311da9fb0
selinux: use "grep -E" instead of "egrep"
...
commit c969bb8dbaf2f3628927eae73e7c579a74cf1b6e upstream.
The latest version of grep claims that egrep is now obsolete so the build
now contains warnings that look like:
egrep: warning: egrep is obsolescent; using grep -E
fix this by using "grep -E" instead.
Cc: Paul Moore <paul@paul-moore.com >
Cc: Stephen Smalley <stephen.smalley.work@gmail.com >
Cc: Eric Paris <eparis@parisplace.org >
Cc: selinux@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
[PM: tweak to remove vdso reference, cleanup subj line]
Signed-off-by: Paul Moore <paul@paul-moore.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-26 13:19:24 +02:00
Greg Kroah-Hartman
cf46ee80c6
Linux 4.19.261
...
Link: https://lore.kernel.org/r/20221003070715.406550966@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Slade Watkins <srw@sladewatkins.net >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-05 10:36:46 +02:00
Greg Kroah-Hartman
16d5f34aff
Linux 4.19.260
...
Link: https://lore.kernel.org/r/20220926100741.430882406@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20220926163538.084331103@linuxfoundation.org
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-09-28 11:02:58 +02:00
Greg Kroah-Hartman
fe9302b408
mvpp2: no need to check return value of debugfs_create functions
...
[ Upstream commit e6882aa623f6fe0d80fa82ebf3ee78c353bffbe1 ]
When calling debugfs functions, there is no need to ever check the
return value. The function can work or not, but the code logic should
never do something different based on this.
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Maxime Chevallier <maxime.chevallier@bootlin.com >
Cc: Nick Desaulniers <ndesaulniers@google.com >
Cc: Nathan Huckleberry <nhuck@google.com >
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
Stable-dep-of: fe2c9c61f668 ("net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()")
Signed-off-by: Sasha Levin <sashal@kernel.org >
2022-09-28 11:02:52 +02:00
Greg Kroah-Hartman
970451bc1c
Linux 4.19.259
...
Link: https://lore.kernel.org/r/20220916100442.662955946@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-09-20 12:26:49 +02:00
Greg Kroah-Hartman
a354751818
Linux 4.19.258
...
Link: https://lore.kernel.org/r/20220913140348.835121645@linuxfoundation.org
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-09-15 12:17:06 +02:00
Greg Kroah-Hartman
ebfb744bb6
debugfs: add debugfs_lookup_and_remove()
...
commit dec9b2f1e0455a151a7293c367da22ab973f713e upstream.
There is a very common pattern of using
debugfs_remove(debufs_lookup(..)) which results in a dentry leak of the
dentry that was looked up. Instead of having to open-code the correct
pattern of calling dput() on the dentry, create
debugfs_lookup_and_remove() to handle this pattern automatically and
properly without any memory leaks.
Cc: stable <stable@kernel.org >
Reported-by: Kuyo Chang <kuyo.chang@mediatek.com >
Tested-by: Kuyo Chang <kuyo.chang@mediatek.com >
Link: https://lore.kernel.org/r/YxIaQ8cSinDR881k@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-09-15 12:17:05 +02:00
Greg Kroah-Hartman
41b46409f9
Linux 4.19.257
...
Link: https://lore.kernel.org/r/20220902121400.219861128@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-09-05 10:26:35 +02:00
Greg Kroah-Hartman
635460a42d
Linux 4.19.256
...
Link: https://lore.kernel.org/r/20220823080100.268827165@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-08-25 11:15:49 +02:00
Greg Kroah-Hartman
5c7ccbe1aa
Linux 4.19.255
...
Link: https://lore.kernel.org/r/20220809175513.082573955@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-08-11 12:48:42 +02:00
Greg Kroah-Hartman
7db49f84f5
ARM: crypto: comment out gcc warning that breaks clang builds
...
The gcc build warning prevents all clang-built kernels from working
properly, so comment it out to fix the build.
This is a -stable kernel only patch for now, it will be resolved
differently in mainline releases in the future.
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com >
Cc: "Justin M. Forbes" <jforbes@fedoraproject.org >
Cc: Ard Biesheuvel <ardb@kernel.org >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Cc: Nicolas Pitre <nico@linaro.org >
Cc: Nathan Chancellor <nathan@kernel.org >
Cc: Nick Desaulniers <ndesaulniers@google.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-08-11 12:48:41 +02:00
Greg Kroah-Hartman
b275bfc9c2
Linux 4.19.254
...
Link: https://lore.kernel.org/r/20220727161004.175638564@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-07-29 17:10:38 +02:00
Greg Kroah-Hartman
175b775c36
Linux 4.19.253
...
Link: https://lore.kernel.org/r/20220719114518.915546280@linuxfoundation.org
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-07-21 21:09:34 +02:00
Greg Kroah-Hartman
e8b2a9c331
Linux 4.19.252
...
Link: https://lore.kernel.org/r/20220711090537.841305347@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-07-12 16:29:04 +02:00
Greg Kroah-Hartman
2283d8a4ec
Linux 4.19.251
...
Link: https://lore.kernel.org/r/20220705115606.709817198@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-07-07 17:35:12 +02:00
Greg Kroah-Hartman
7c66792650
Linux 4.19.250
...
Link: https://lore.kernel.org/r/20220630133233.910803744@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-07-02 16:27:40 +02:00
Greg Kroah-Hartman
8c0432fb51
HID: check for valid USB device for many HID drivers
...
commit 93020953d0fa7035fd036ad87a47ae2b7aa4ae33 upstream.
Many HID drivers assume that the HID device assigned to them is a USB
device as that was the only way HID devices used to be able to be
created in Linux. However, with the additional ways that HID devices
can be created for many different bus types, that is no longer true, so
properly check that we have a USB device associated with the HID device
before allowing a driver that makes this assumption to claim it.
Change-Id: I2b885c4b90acfd5c76ca773554f8a49b64670073
Cc: Jiri Kosina <jikos@kernel.org >
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Cc: Michael Zaidman <michael.zaidman@gmail.com >
Cc: Stefan Achatz <erazor_de@users.sourceforge.net >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com >
Cc: linux-input@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
[bentiss: amended for thrustmater.c hunk to apply]
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Link: https://lore.kernel.org/r/20211201183503.2373082-3-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Git-commit: 128074f16e
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: PavanKumar S.R <quic_pavasr@quicinc.com >
2022-07-02 00:12:42 +05:30
Greg Kroah-Hartman
5e6e03b819
UPSTREAM: Revert "hwmon: Make chip parameter for with_info API mandatory"
...
This reverts commit 1ec0bc72f5dab3ab367ae5230cf6f212d805a225 which is
commit ddaefa209c4ac791c1262e97c9b2d0440c8ef1d5 upstream. It should not
have been applied to the stable trees.
Link: https://lore.kernel.org/r/20220622154454.GA1864037@roeck-us.net
Reported-by: Julian Haller <julian.haller@philips.com >
Reported-by: Guenter Roeck <linux@roeck-us.net >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Will McVicker <willmcvicker@google.com >
Change-Id: I8c509344666fe70fdfc57c42e5eb4af709da5584
2022-06-29 16:31:58 -07:00
Greg Kroah-Hartman
471de394e8
HID: wacom: fix problems when device is not a valid USB device
...
The wacom driver accepts devices of more than just USB types, but some
code paths can cause problems if the device being controlled is not a
USB device due to a lack of checking. Add the needed checks to ensure
that the USB device accesses are only happening on a "real" USB device,
and not one on some other bus.
Change-Id: I2215a2a72958fcaeb46d2993837bd7204bd0553c
Cc: Jiri Kosina <jikos@kernel.org >
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Cc: linux-input@vger.kernel.org
Cc: stable@vger.kernel.org
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Link: https://lore.kernel.org/r/20211201183503.2373082-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Git-commit: 945e3464ba
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: PavanKumar S.R <quic_pavasr@quicinc.com >
2022-06-29 01:46:08 -07:00
Greg Kroah-Hartman
c9ca8ab1ef
HID: add USB_HID dependancy on some USB HID drivers
...
commit f237d9028f844a86955fc9da59d7ac4a5c55d7d5 upstream.
Some HID drivers are only for USB drivers, yet did not depend on
CONFIG_USB_HID. This was hidden by the fact that the USB functions were
stubbed out in the past, but now that drivers are checking for USB
devices properly, build errors can occur with some random
configurations.
Change-Id: I938c6d0d4c43ff707c44e643c8106d3f610068dd
Reported-by: kernel test robot <lkp@intel.com >
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Link: https://lore.kernel.org/r/20211202114819.2511954-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Git-commit: b0f286d9b1
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: PavanKumar S.R <quic_pavasr@quicinc.com >
2022-06-29 00:38:01 -07:00
Greg Kroah-Hartman
fb27b53398
HID: add USB_HID dependancy to hid-chicony
...
commit d080811f27936f712f619f847389f403ac873b8f upstream.
The chicony HID driver only controls USB devices, yet did not have a
dependancy on USB_HID. This causes build errors on some configurations
like sparc when building due to new changes to the chicony driver.
Change-Id: Iee96674debe1c06911181ba1ffc2d4bf675178b5
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au >
Cc: stable@vger.kernel.org
Cc: Jiri Kosina <jikos@kernel.org >
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Link: https://lore.kernel.org/r/20211203075927.2829218-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Git-commit: de8ac0cf03
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: PavanKumar S.R <quic_pavasr@quicinc.com >
2022-06-29 00:36:42 -07:00
Greg Kroah-Hartman
71c1123b78
HID: add USB_HID dependancy to hid-prodikeys
...
commit 30cb3c2ad24b66fb7639a6d1f4390c74d6e68f94 upstream.
The prodikeys HID driver only controls USB devices, yet did not have a
dependancy on USB_HID. This causes build errors on some configurations
like nios2 when building due to new changes to the prodikeys driver.
Change-Id: Ifbe8d1a637b74c6aa90308c89d3cf4a958388ade
Reported-by: kernel test robot <lkp@intel.com >
Cc: stable@vger.kernel.org
Cc: Jiri Kosina <jikos@kernel.org >
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Link: https://lore.kernel.org/r/20211203081231.2856936-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Git-commit: cb54ea86f2
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: PavanKumar S.R <quic_pavasr@quicinc.com >
2022-06-29 00:34:42 -07:00
Greg Kroah-Hartman
6a10ec7750
Linux 4.19.249
...
Link: https://lore.kernel.org/r/20220623164343.042598055@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-06-25 11:49:18 +02:00
Greg Kroah-Hartman
a2f55994ab
Revert "hwmon: Make chip parameter for with_info API mandatory"
...
This reverts commit 1ec0bc72f5dab3ab367ae5230cf6f212d805a225 which is
commit ddaefa209c4ac791c1262e97c9b2d0440c8ef1d5 upstream. It should not
have been applied to the stable trees.
Link: https://lore.kernel.org/r/20220622154454.GA1864037@roeck-us.net
Reported-by: Julian Haller <julian.haller@philips.com >
Reported-by: Guenter Roeck <linux@roeck-us.net >
Cc: Sasha Levin <sashal@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-06-25 11:49:18 +02:00
Greg Kroah-Hartman
9142379431
HID: add hid_is_usb() function to make it simpler for USB detection
...
A number of HID drivers already call hid_is_using_ll_driver() but only
for the detection of if this is a USB device or not. Make this more
obvious by creating hid_is_usb() and calling the function that way.
Also converts the existing hid_is_using_ll_driver() functions to use the
new call.
Change-Id: I1ca5d75db2232fc37353f52039d20b14a78c9e55
Cc: Jiri Kosina <jikos@kernel.org >
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Cc: linux-input@vger.kernel.org
Cc: stable@vger.kernel.org
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Link: https://lore.kernel.org/r/20211201183503.2373082-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Git-commit: b1efa723b9
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: PavanKumar S.R <quic_pavasr@quicinc.com >
2022-06-24 10:52:15 +05:30
Greg Kroah-Hartman
5052ea7cf8
UPSTREAM: usb: gadget: rndis: check size of RNDIS_MSG_SET command
...
Check the size of the RNDIS_MSG_SET command given to us before
attempting to respond to an invalid message size.
Bug: 162326603
Reported-by: Szymon Heidrich <szymon.heidrich@gmail.com >
Cc: stable@kernel.org
Tested-by: Szymon Heidrich <szymon.heidrich@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
(cherry picked from commit 38ea1eac7d88072bbffb630e2b3db83ca649b826)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com >
Change-Id: I61168b48de4ca79a3a28dd4d3b81779bc25554c1
(cherry picked from commit 16d19b656133457225cf69a4825faf30a0ca59a4)
Git-commit: 528615555b59cbd659186d44b3c6db69c30414eb
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: PavanKumar S.R <quic_pavasr@quicinc.com >
2022-06-19 17:32:26 +05:30
Greg Kroah-Hartman
3d9449ed4b
Linux 4.19.248
...
Link: https://lore.kernel.org/r/20220614183720.928818645@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-06-16 13:18:53 +02:00