Greg Kroah-Hartman
ca9787bdec
Linux 5.10.176
...
Link: https://lore.kernel.org/r/20230320145443.333824603@linuxfoundation.org
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.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-03-22 13:30:08 +01:00
Greg Kroah-Hartman
de26e1b210
Linux 5.10.175
...
Link: https://lore.kernel.org/r/20230315115731.942692602@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20230316083430.973448646@linuxfoundation.org
Tested-by: Chris Paterson (CIP) <chris.paterson2@renesas.com >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Tom Saeger <tom.saeger@oracle.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:45:17 +01:00
Greg Kroah-Hartman
955623617f
Linux 5.10.174
...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-13 10:19:37 +01:00
Greg Kroah-Hartman
e5f315b55f
Linux 5.10.173
...
Link: https://lore.kernel.org/r/20230310133804.978589368@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Link: https://lore.kernel.org/r/20230311091908.975813595@linuxfoundation.org
Tested-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-11 16:40:21 +01:00
Dmitry Goncharov and Greg Kroah-Hartman
322df540ba
kbuild: Port silent mode detection to future gnu make.
...
commit 4bf7358816 upstream.
Port silent mode detection to the future (post make-4.4) versions of gnu make.
Makefile contains the following piece of make code to detect if option -s is
specified on the command line.
ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
This code is executed by make at parse time and assumes that MAKEFLAGS
does not contain command line variable definitions.
Currently if the user defines a=s on the command line, then at build only
time MAKEFLAGS contains " -- a=s".
However, starting with commit dc2d963989b96161472b2cd38cef5d1f4851ea34
MAKEFLAGS contains command line definitions at both parse time and
build time.
This '-s' detection code then confuses a command line variable
definition which contains letter 's' with option -s.
$ # old make
$ make net/wireless/ocb.o a=s
CALL scripts/checksyscalls.sh
DESCEND objtool
$ # this a new make which defines makeflags at parse time
$ ~/src/gmake/make/l64/make net/wireless/ocb.o a=s
$
We can see here that the letter 's' from 'a=s' was confused with -s.
This patch checks for presence of -s using a method recommended by the
make manual here
https://www.gnu.org/software/make/manual/make.html#Testing-Flags .
Link: https://lists.gnu.org/archive/html/bug-make/2022-11/msg00190.html
Reported-by: Jan Palus <jpalus+gnu@fastmail.com >
Signed-off-by: Dmitry Goncharov <dgoncharov@users.sf.net >
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-11 16:40:08 +01:00
Greg Kroah-Hartman
9fd42770b5
Linux 5.10.172
...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-03 15:13:15 +01:00
Greg Kroah-Hartman
a25aa776b0
Linux 5.10.171
...
Link: https://lore.kernel.org/r/20230301180652.316428563@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
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: Salvatore Bonaccorso <carnil@debian.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-03-03 11:44:52 +01:00
Greg Kroah-Hartman
22d269bb30
Linux 5.10.170
...
Link: https://lore.kernel.org/r/20230223130426.817998725@linuxfoundation.org
Link: https://lore.kernel.org/r/20230223141540.701637224@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
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:55:05 +01:00
Greg Kroah-Hartman
2ae7379698
Linux 5.10.169
...
Link: https://lore.kernel.org/r/20230220133549.360169435@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: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
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:56:00 +01:00
Greg Kroah-Hartman
707c48210a
Linux 5.10.168
...
Link: https://lore.kernel.org/r/20230213144745.696901179@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Link: https://lore.kernel.org/r/20230214172549.450713187@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
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-02-15 17:22:27 +01:00
Greg Kroah-Hartman
a5acb54d40
Linux 5.10.167
...
Link: https://lore.kernel.org/r/20230203101006.422534094@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.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: Salvatore Bonaccorso <carnil@debian.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-02-06 07:56:16 +01:00
Greg Kroah-Hartman
8d823aaa22
Linux 5.10.166
...
Link: https://lore.kernel.org/r/20230130134306.862721518@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
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: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Allen Pais <apais@linux.microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-02-01 08:23:27 +01:00
Greg Kroah-Hartman
179624a57b
Linux 5.10.165
...
Link: https://lore.kernel.org/r/20230122150229.351631432@linuxfoundation.org
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Link: https://lore.kernel.org/r/20230123094914.748265495@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.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 >
2023-01-24 07:20:02 +01:00
Greg Kroah-Hartman
3a9f1b907b
Linux 5.10.164
...
Link: https://lore.kernel.org/r/20230116154743.577276578@linuxfoundation.org
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Link: https://lore.kernel.org/r/20230117124526.766388541@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.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-01-18 11:45:02 +01:00
Greg Kroah-Hartman
19ff2d645f
Linux 5.10.163
...
Link: https://lore.kernel.org/r/20230112135524.143670746@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Allen Pais <apais@linux.microsoft.com >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-14 10:16:53 +01:00
Masahiro Yamada and Greg Kroah-Hartman
8d2ff5b3e2
kbuild: refactor single builds of *.ko
...
[ Upstream commit f110e5a250 ]
Remove the potentially invalid modules.order instead of using
the temporary file.
Also, KBUILD_MODULES is don't care for single builds. No need to
cancel it.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
Stable-dep-of: c7b98de745 ("phy: qcom-qmp-combo: fix runtime suspend")
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-01-14 10:16:07 +01:00
Masahiro Yamada and Greg Kroah-Hartman
e3bdda22b4
kbuild: unify modules(_install) for in-tree and external modules
...
[ Upstream commit 3e3005df73 ]
If you attempt to build or install modules ('make modules(_install)'
with CONFIG_MODULES disabled, you will get a clear error message, but
nothing for external module builds.
Factor out the modules and modules_install rules into the common part,
so you will get the same error message when you try to build external
modules with CONFIG_MODULES=n.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
Stable-dep-of: c7b98de745 ("phy: qcom-qmp-combo: fix runtime suspend")
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-01-14 10:16:07 +01:00
Masahiro Yamada and Greg Kroah-Hartman
e215512959
kbuild: remove unneeded mkdir for external modules_install
...
[ Upstream commit 4b97ec0e9c ]
scripts/Makefile.modinst creates directories as needed.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
Stable-dep-of: c7b98de745 ("phy: qcom-qmp-combo: fix runtime suspend")
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-01-14 10:16:06 +01:00
Greg Kroah-Hartman
0fe4548663
Linux 5.10.162
...
Link: https://lore.kernel.org/r/20230103081308.548338576@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: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Allen Pais <apais@linux.microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-04 11:39:24 +01:00
Jens Axboe and Greg Kroah-Hartman
788d082426
io_uring: import 5.15-stable io_uring
...
No upstream commit exists.
This imports the io_uring codebase from 5.15.85, wholesale. Changes
from that code base:
- Drop IOCB_ALLOC_CACHE, we don't have that in 5.10.
- Drop MKDIRAT/SYMLINKAT/LINKAT. Would require further VFS backports,
and we don't support these in 5.10 to begin with.
- sock_from_file() old style calling convention.
- Use compat_get_bitmap() only for CONFIG_COMPAT=y
Signed-off-by: Jens Axboe <axboe@kernel.dk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-04 11:39:23 +01:00
Greg Kroah-Hartman
1a9148dfd8
Linux 5.10.161
...
Link: https://lore.kernel.org/r/20221219182940.701087296@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Slade Watkins <srw@sladewatkins.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-12-21 17:32:08 +01:00
Greg Kroah-Hartman
a2428a8dcb
Linux 5.10.160
...
Link: https://lore.kernel.org/r/20221215172906.638553794@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Allen Pais <apais@linux.microsoft.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-12-19 12:27:32 +01:00
Greg Kroah-Hartman
931578be69
Linux 5.10.159
...
Link: https://lore.kernel.org/r/20221212130924.863767275@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Link: https://lore.kernel.org/r/20221213150409.357752716@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
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-12-14 11:32:05 +01:00
Greg Kroah-Hartman
592346d5dc
Linux 5.10.158
...
Link: https://lore.kernel.org/r/20221205190803.464934752@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Link: https://lore.kernel.org/r/20221206124048.850573317@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
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:24:00 +01:00
Greg Kroah-Hartman
f4245f0538
Linux 5.10.157
...
Link: https://lore.kernel.org/r/20221130180528.466039523@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
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-12-02 17:40:07 +01:00
Greg Kroah-Hartman
6d46ef50b1
Linux 5.10.156
...
Link: https://lore.kernel.org/r/20221123084557.945845710@linuxfoundation.org
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
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: Salvatore Bonaccorso <carnil@debian.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-25 17:45:57 +01:00
Greg Kroah-Hartman
41217963b1
Linux 5.10.155
...
Link: https://lore.kernel.org/r/20221114124442.530286937@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Slade Watkins <srw@sladewatkins.net >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-16 09:57:20 +01:00
Greg Kroah-Hartman
f5b40c0eb9
Linux 5.10.154
...
Link: https://lore.kernel.org/r/20221108133340.718216105@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Link: https://lore.kernel.org/r/20221109082223.141145957@linuxfoundation.org
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Allen Pais <apais@linux.microsoft.com >
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 18:14:30 +01:00
Greg Kroah-Hartman
95aa34f721
Linux 5.10.153
...
Link: https://lore.kernel.org/r/20221102022055.039689234@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Allen Pais <apais@linux.microsoft.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-11-03 23:57:54 +09:00
Greg Kroah-Hartman
7d51b4c67c
Linux 5.10.152
...
Link: https://lore.kernel.org/r/20221027165054.270676357@linuxfoundation.org
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Link: https://lore.kernel.org/r/20221028120232.344548477@linuxfoundation.org
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-30 09:41:19 +01:00
Nick Desaulniers and Greg Kroah-Hartman
3a260e9844
Makefile.debug: re-enable debug info for .S files
...
This is _not_ an upstream commit and just for 5.10.y only. It is based
on commit 32ef9e5054 upstream.
Alexey reported that the fraction of unknown filename instances in
kallsyms grew from ~0.3% to ~10% recently; Bill and Greg tracked it down
to assembler defined symbols, which regressed as a result of:
commit b8a9092330 ("Kbuild: do not emit debug info for assembly with LLVM_IAS=1")
In that commit, I allude to restoring debug info for assembler defined
symbols in a follow up patch, but it seems I forgot to do so in
commit a66049e2cf ("Kbuild: make DWARF version a choice")
Fixes: b8a9092330 ("Kbuild: do not emit debug info for assembly with LLVM_IAS=1")
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-30 09:41:19 +01:00
Greg Kroah-Hartman
c34d1b22fe
Linux 5.10.151
...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-28 13:02:36 +02:00
Jiri Olsa and Greg Kroah-Hartman
c5006abb80
kbuild: Unify options for BTF generation for vmlinux and modules
...
commit 9741e07ece upstream.
[skipped --btf_gen_floats option in pahole-flags.sh, skipped
Makefile.modfinal change, because there's no BTF kmod support,
squashing in 'exit 0' change from merge commit fc02cb2b37 ]
Using new PAHOLE_FLAGS variable to pass extra arguments to
pahole for both vmlinux and modules BTF data generation.
Adding new scripts/pahole-flags.sh script that detect and
prints pahole options.
[ fixed issues found by kernel test robot ]
Signed-off-by: Jiri Olsa <jolsa@kernel.org >
Signed-off-by: Andrii Nakryiko <andrii@kernel.org >
Acked-by: Andrii Nakryiko <andrii@kernel.org >
Link: https://lore.kernel.org/bpf/20211029125729.70002-1-jolsa@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-28 12:57:12 +02:00
Greg Kroah-Hartman
a10a57a224
Linux 5.10.150
...
Link: https://lore.kernel.org/r/20221024113022.510008560@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Slade Watkins <srw@sladewatkins.net >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-26 13:25:57 +02:00
Kees Cook and Greg Kroah-Hartman
ba52e685d2
hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
...
commit 607e57c6c6 upstream.
Now that Clang's -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
option is no longer required, remove it from the command line. Clang 16
and later will warn when it is used, which will cause Kconfig to think
it can't use -ftrivial-auto-var-init=zero at all. Check for whether it
is required and only use it when so.
Cc: Nathan Chancellor <nathan@kernel.org >
Cc: Masahiro Yamada <masahiroy@kernel.org >
Cc: Nick Desaulniers <ndesaulniers@google.com >
Cc: linux-kbuild@vger.kernel.org
Cc: llvm@lists.linux.dev
Cc: stable@vger.kernel.org
Fixes: f02003c860 ("hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO")
Signed-off-by: Kees Cook <keescook@chromium.org >
Signed-off-by: Nathan Chancellor <nathan@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-26 13:25:12 +02:00
Kees Cook and Greg Kroah-Hartman
bdcb1d7cf2
hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
...
commit f02003c860 upstream.
Currently under Clang, CC_HAS_AUTO_VAR_INIT_ZERO requires an extra
-enable flag compared to CC_HAS_AUTO_VAR_INIT_PATTERN. GCC 12[1] will
not, and will happily ignore the Clang-specific flag. However, its
presence on the command-line is both cumbersome and confusing. Due to
GCC's tolerant behavior, though, we can continue to use a single Kconfig
cc-option test for the feature on both compilers, but then drop the
Clang-specific option in the Makefile.
In other words, this patch does not change anything other than making the
compiler command line shorter once GCC supports -ftrivial-auto-var-init=zero.
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=a25e0b5e6ac8a77a71c229e0a7b744603365b0e9
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Cc: Masahiro Yamada <masahiroy@kernel.org >
Cc: llvm@lists.linux.dev
Fixes: dcb7c0b946 ("hardening: Clarify Kconfig text for auto-var-init")
Suggested-by: Will Deacon <will@kernel.org >
Link: https://lore.kernel.org/lkml/20210914102837.6172-1-will@kernel.org/
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com >
Reviewed-by: Nathan Chancellor <nathan@kernel.org >
Acked-by: Will Deacon <will@kernel.org >
Signed-off-by: Kees Cook <keescook@chromium.org >
Signed-off-by: Nathan Chancellor <nathan@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-26 13:25:12 +02:00
Greg Kroah-Hartman
09be132bfe
Linux 5.10.149
...
Link: https://lore.kernel.org/r/20221016064454.382206984@linuxfoundation.org
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
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: Jon Hunter <jonathanh@nvidia.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-17 17:26:07 +02:00
Greg Kroah-Hartman
3783e64fee
Linux 5.10.148
...
Link: https://lore.kernel.org/r/20221013175147.337501757@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
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: Slade Watkins <srw@sladewatkins.net >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-10-15 07:55:57 +02:00
Greg Kroah-Hartman
014862eecf
Linux 5.10.147
...
Link: https://lore.kernel.org/r/20221003070718.687440096@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Allen Pais <apais@linux.microsoft.com >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Slade Watkins <srw@sladewatkins.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-10-05 10:38:43 +02:00
Greg Kroah-Hartman
62aea69444
Linux 5.10.146
...
Link: https://lore.kernel.org/r/20220926100754.639112000@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Link: https://lore.kernel.org/r/20220926163550.904900693@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
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:10:41 +02:00
Greg Kroah-Hartman
4a77e6ef20
Linux 5.10.145
...
Link: https://lore.kernel.org/r/20220921153645.663680057@linuxfoundation.org
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Allen Pais <apais@linux.microsoft.com >
Tested-by: Florian Fainelli <f.fainelli@gmail.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: Salvatore Bonaccorso <carnil@debian.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 >
2022-09-23 14:17:01 +02:00
Greg Kroah-Hartman
99c2dfe47a
Linux 5.10.144
...
Link: https://lore.kernel.org/r/20220916100445.354452396@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: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Hulk Robot <hulkrobot@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-09-20 12:38:33 +02:00
Greg Kroah-Hartman
f1101295c1
Linux 5.10.143
...
Link: https://lore.kernel.org/r/20220913140350.291927556@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: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-09-15 11:32:07 +02:00
Greg Kroah-Hartman
281e81a5e2
Linux 5.10.142
...
Link: https://lore.kernel.org/r/20220906132816.936069583@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
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: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-09-08 11:11:41 +02:00
Greg Kroah-Hartman
0b8e37cbaa
Linux 5.10.141
...
Link: https://lore.kernel.org/r/20220902121359.177846782@linuxfoundation.org
Tested-by: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Guenter Roeck <linux@roeck-us.net >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Tested-by: Salvatore Bonaccorso <carnil@debian.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-09-05 10:28:59 +02:00
Greg Kroah-Hartman
18ed766f36
Linux 5.10.140
...
Link: https://lore.kernel.org/r/20220829105756.500128871@linuxfoundation.org
Tested-by: Florian Fainelli <f.fainelli@gmail.com >
Tested-by: Slade Watkins <slade@sladewatkins.com >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
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: Jon Hunter <jonathanh@nvidia.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-08-31 17:15:24 +02:00
Greg Kroah-Hartman
665ee74607
Linux 5.10.139
...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-08-29 11:31:49 +02:00
Greg Kroah-Hartman
fa3303d70b
Linux 5.10.138
...
Link: https://lore.kernel.org/r/20220823080059.091088642@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Link: https://lore.kernel.org/r/20220824065913.068916566@linuxfoundation.org
Tested-by: Ron Economos <re@w6rz.net >
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-08-25 11:38:24 +02:00
Masahiro Yamada and Greg Kroah-Hartman
9112826f28
kbuild: fix the modules order between drivers and libs
...
commit 113147510b upstream.
Commit b2c8855491 ("kbuild: update modules.order only when contained
modules are updated") accidentally changed the modules order.
Prior to that commit, the modules order was determined based on
vmlinux-dirs, which lists core-y/m, drivers-y/m, libs-y/m, in this order.
Now, subdir-modorder lists them in a different order: core-y/m, libs-y/m,
drivers-y/m.
Presumably, there was no practical issue because the modules in drivers
and libs are orthogonal, but there is no reason to have this distortion.
Get back to the original order.
Fixes: b2c8855491 ("kbuild: update modules.order only when contained modules are updated")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-08-25 11:38:09 +02:00
Greg Kroah-Hartman
74ded189e5
Linux 5.10.137
...
Link: https://lore.kernel.org/r/20220819153829.135562864@linuxfoundation.org
Tested-by: Shuah Khan <skhan@linuxfoundation.org >
Tested-by: Rudi Heitbaum <rudi@heitbaum.com >
Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk >
Tested-by: Pavel Machek (CIP) <pavel@denx.de >
Tested-by: Salvatore Bonaccorso <carnil@debian.org >
Link: https://lore.kernel.org/r/20220820182952.751374248@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-08-21 15:16:27 +02:00