OSDN Git Service

uclinux-h8/linux.git
2 years agoqemu target dts.
Yoshinori Sato [Fri, 28 Jan 2022 12:04:26 +0000 (21:04 +0900)]
qemu target dts.

Signed-off-by: Yoshinori Sato <yo-satoh@sios.com>
2 years agorx: wire up 5.15.
Yoshinori Sato [Thu, 27 Jan 2022 15:42:48 +0000 (00:42 +0900)]
rx: wire up 5.15.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove gdbsim dtb.
Yoshinori Sato [Thu, 27 Jan 2022 15:42:10 +0000 (00:42 +0900)]
rx: remove gdbsim dtb.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: wire up 5.15.
Yoshinori Sato [Thu, 27 Jan 2022 15:39:09 +0000 (00:39 +0900)]
rx: wire up 5.15.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Add ARCH_PFN_OFFSET.
Yoshinori Sato [Thu, 27 Jan 2022 15:37:53 +0000 (00:37 +0900)]
rx: Add ARCH_PFN_OFFSET.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove ROM kernel.
Yoshinori Sato [Thu, 27 Jan 2022 15:37:15 +0000 (00:37 +0900)]
rx: remove ROM kernel.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove ROM kernel config.
Yoshinori Sato [Thu, 27 Jan 2022 15:36:47 +0000 (00:36 +0900)]
rx: remove ROM kernel config.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: wire up 5.15.
Yoshinori Sato [Thu, 27 Jan 2022 15:33:28 +0000 (00:33 +0900)]
rx: wire up 5.15.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: wire up 5.15.
Yoshinori Sato [Thu, 27 Jan 2022 15:32:48 +0000 (00:32 +0900)]
rx: wire up 5.15.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: wire up 5.15.
Yoshinori Sato [Thu, 27 Jan 2022 15:23:39 +0000 (00:23 +0900)]
rx: wire up 5.15.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove unused headers.
Yoshinori Sato [Thu, 27 Jan 2022 13:52:49 +0000 (22:52 +0900)]
rx: remove unused headers.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove segment.
Yoshinori Sato [Thu, 27 Jan 2022 13:51:54 +0000 (22:51 +0900)]
rx: remove segment.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: wire up 5.15
Yoshinori Sato [Thu, 27 Jan 2022 13:50:56 +0000 (22:50 +0900)]
rx: wire up 5.15

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: use generic headers.
Yoshinori Sato [Thu, 27 Jan 2022 13:46:10 +0000 (22:46 +0900)]
rx: use generic headers.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: use generic flat.h
Yoshinori Sato [Thu, 27 Jan 2022 13:43:25 +0000 (22:43 +0900)]
rx: use generic flat.h

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: use generic flat.h
Yoshinori Sato [Thu, 27 Jan 2022 13:42:03 +0000 (22:42 +0900)]
rx: use generic flat.h

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Add RX archtecture.
Yoshinori Sato [Thu, 27 Jan 2022 13:41:34 +0000 (22:41 +0900)]
rx: Add RX archtecture.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agosh_eth: RX62N fix.
Yoshinori Sato [Wed, 5 Aug 2020 13:56:25 +0000 (22:56 +0900)]
sh_eth: RX62N fix.

2 years agotkdn_rx62n dts update.
Yoshinori Sato [Wed, 5 Aug 2020 13:55:48 +0000 (22:55 +0900)]
tkdn_rx62n dts update.

2 years agoRemove sim
Yoshinori Sato [Wed, 29 Apr 2020 12:53:14 +0000 (21:53 +0900)]
Remove sim

2 years agofix issue
Yoshinori Sato [Sun, 21 Apr 2019 07:02:23 +0000 (16:02 +0900)]
fix issue

2 years agoAdd GENERIC_CPU_DEVICES
Yoshinori Sato [Sun, 20 Jan 2019 07:38:26 +0000 (16:38 +0900)]
Add GENERIC_CPU_DEVICES

2 years agofix arch_cpu_idle
Yoshinori Sato [Sun, 13 Jan 2019 14:01:13 +0000 (23:01 +0900)]
fix arch_cpu_idle

2 years agofix new thread psw
Yoshinori Sato [Sun, 13 Jan 2019 14:00:44 +0000 (23:00 +0900)]
fix new thread psw

2 years agofix 8bit register
Yoshinori Sato [Fri, 28 Dec 2018 15:04:46 +0000 (00:04 +0900)]
fix 8bit register

2 years agofix path
Yoshinori Sato [Fri, 28 Dec 2018 15:04:18 +0000 (00:04 +0900)]
fix path

2 years agofix menu
Yoshinori Sato [Fri, 28 Dec 2018 15:01:12 +0000 (00:01 +0900)]
fix menu

2 years agofix build error
Yoshinori Sato [Fri, 28 Dec 2018 14:57:57 +0000 (23:57 +0900)]
fix build error

2 years agocleanup
Yoshinori Sato [Fri, 28 Dec 2018 14:50:50 +0000 (23:50 +0900)]
cleanup

2 years agofix symbol
Yoshinori Sato [Fri, 28 Dec 2018 14:50:20 +0000 (23:50 +0900)]
fix symbol

2 years agoremove unneeded funcs.
Yoshinori Sato [Fri, 28 Dec 2018 14:49:36 +0000 (23:49 +0900)]
remove unneeded funcs.

2 years agoremove unneeded funcs.
Yoshinori Sato [Fri, 28 Dec 2018 14:48:58 +0000 (23:48 +0900)]
remove unneeded funcs.

2 years agosmall cleanup
Yoshinori Sato [Fri, 28 Dec 2018 14:48:12 +0000 (23:48 +0900)]
small cleanup

2 years agosmall cleanup
Yoshinori Sato [Fri, 28 Dec 2018 14:46:49 +0000 (23:46 +0900)]
small cleanup

2 years agofix clobber register
Yoshinori Sato [Fri, 28 Dec 2018 14:00:36 +0000 (23:00 +0900)]
fix clobber register

2 years agofix pm
Yoshinori Sato [Fri, 28 Dec 2018 13:59:57 +0000 (22:59 +0900)]
fix pm

2 years agoTIMER_OF support
Yoshinori Sato [Fri, 28 Dec 2018 13:59:24 +0000 (22:59 +0900)]
TIMER_OF support

2 years agofix size
Yoshinori Sato [Fri, 28 Dec 2018 13:58:37 +0000 (22:58 +0900)]
fix size

2 years agoNOBOOTM support
Yoshinori Sato [Fri, 28 Dec 2018 13:57:30 +0000 (22:57 +0900)]
NOBOOTM support

2 years agobuild fix 4.19
Yoshinori Sato [Sun, 4 Nov 2018 16:17:04 +0000 (01:17 +0900)]
build fix 4.19

2 years agofix build error
Yoshinori Sato [Mon, 30 Jul 2018 13:04:23 +0000 (22:04 +0900)]
fix build error

2 years agorx: Add defconfig
Yoshinori Sato [Sun, 3 Jan 2016 05:23:12 +0000 (14:23 +0900)]
rx: Add defconfig

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: DTS update
Yoshinori Sato [Sun, 3 Jan 2016 05:00:39 +0000 (14:00 +0900)]
rx: DTS update

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: LZO support.
Yoshinori Sato [Sun, 3 Jan 2016 04:59:31 +0000 (13:59 +0900)]
rx: LZO support.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: operand fix.
Yoshinori Sato [Sun, 3 Jan 2016 04:56:05 +0000 (13:56 +0900)]
rx: operand fix.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Add CMT driver
Yoshinori Sato [Sun, 3 Jan 2016 04:55:03 +0000 (13:55 +0900)]
rx: Add CMT driver

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agosh_eth: Add RX6xN support.
Yoshinori Sato [Sun, 3 Jan 2016 04:51:44 +0000 (13:51 +0900)]
sh_eth: Add RX6xN support.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agosh-sci: Force TXI for SCIa
Yoshinori Sato [Sun, 3 Jan 2016 04:50:42 +0000 (13:50 +0900)]
sh-sci: Force TXI for SCIa

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: xchg update.
Yoshinori Sato [Sat, 2 Jan 2016 16:06:36 +0000 (01:06 +0900)]
rx: xchg update.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Add defconfig
Yoshinori Sato [Fri, 1 Jan 2016 11:54:56 +0000 (20:54 +0900)]
rx: Add defconfig

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Add missing file
Yoshinori Sato [Fri, 1 Jan 2016 11:44:54 +0000 (20:44 +0900)]
rx: Add missing file

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: add v2 exception handler
Yoshinori Sato [Fri, 1 Jan 2016 11:43:28 +0000 (20:43 +0900)]
rx: add v2 exception handler

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove esp0.
Yoshinori Sato [Fri, 1 Jan 2016 11:42:15 +0000 (20:42 +0900)]
rx: remove esp0.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: usp update fix
Yoshinori Sato [Fri, 1 Jan 2016 11:39:07 +0000 (20:39 +0900)]
rx: usp update fix

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: move RODATA location
Yoshinori Sato [Fri, 1 Jan 2016 11:38:16 +0000 (20:38 +0900)]
rx: move RODATA location

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agosh-sci: earlycon support.
Yoshinori Sato [Fri, 1 Jan 2016 11:35:59 +0000 (20:35 +0900)]
sh-sci: earlycon support.

2 years agorx: add screen_info
Yoshinori Sato [Fri, 1 Jan 2016 11:34:58 +0000 (20:34 +0900)]
rx: add screen_info

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: syscall argument fix
Yoshinori Sato [Fri, 1 Jan 2016 11:33:19 +0000 (20:33 +0900)]
rx:  syscall argument fix

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: use common clone.
Yoshinori Sato [Fri, 1 Jan 2016 11:22:45 +0000 (20:22 +0900)]
rx: use common clone.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Add missing macros
Yoshinori Sato [Fri, 1 Jan 2016 11:21:33 +0000 (20:21 +0900)]
rx: Add missing macros

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: mv to uapi
Yoshinori Sato [Fri, 1 Jan 2016 11:21:03 +0000 (20:21 +0900)]
rx: mv to uapi

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: config update
Yoshinori Sato [Fri, 1 Jan 2016 11:18:35 +0000 (20:18 +0900)]
rx: config update

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: zImage fix.
Yoshinori Sato [Wed, 30 Dec 2015 09:38:47 +0000 (18:38 +0900)]
rx: zImage fix.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove unused flag
Yoshinori Sato [Wed, 30 Dec 2015 09:32:55 +0000 (18:32 +0900)]
rx: remove unused flag

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Add TKDN-RX62N-BRD support.
Yoshinori Sato [Wed, 30 Dec 2015 09:31:16 +0000 (18:31 +0900)]
rx: Add TKDN-RX62N-BRD support.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: RXv2 support
Yoshinori Sato [Wed, 30 Dec 2015 09:30:19 +0000 (18:30 +0900)]
rx: RXv2 support

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: save FDT pointer
Yoshinori Sato [Wed, 30 Dec 2015 09:28:47 +0000 (18:28 +0900)]
rx: save FDT pointer

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: cleanup
Yoshinori Sato [Wed, 30 Dec 2015 09:27:10 +0000 (18:27 +0900)]
rx: cleanup

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: clocksource: Add MTU2 support.
Yoshinori Sato [Wed, 30 Dec 2015 09:22:54 +0000 (18:22 +0900)]
rx: clocksource: Add MTU2 support.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: update for DeviceTree
Yoshinori Sato [Wed, 30 Dec 2015 09:21:16 +0000 (18:21 +0900)]
rx: update for DeviceTree

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove unused files.
Yoshinori Sato [Sun, 27 Dec 2015 11:26:33 +0000 (20:26 +0900)]
rx: remove unused files.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove unused files
Yoshinori Sato [Sun, 27 Dec 2015 11:17:12 +0000 (20:17 +0900)]
rx: remove unused files

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agoRX update
Yoshinori Sato [Sun, 27 Dec 2015 10:11:14 +0000 (19:11 +0900)]
RX update

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove obsolute files.
Yoshinori Sato [Sun, 27 Dec 2015 09:56:17 +0000 (18:56 +0900)]
rx: remove obsolute files.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Switch EARLYCON
Yoshinori Sato [Sat, 26 Dec 2015 13:38:32 +0000 (22:38 +0900)]
rx: Switch EARLYCON

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove unused file.
Yoshinori Sato [Wed, 23 Dec 2015 18:16:19 +0000 (03:16 +0900)]
rx: remove unused file.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove unused files.
Yoshinori Sato [Wed, 23 Dec 2015 18:14:37 +0000 (03:14 +0900)]
rx: remove unused files.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: remove duplicate headers.
Yoshinori Sato [Wed, 23 Dec 2015 18:11:48 +0000 (03:11 +0900)]
rx: remove duplicate headers.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: update RX support.
Yoshinori Sato [Wed, 23 Dec 2015 16:56:43 +0000 (01:56 +0900)]
rx: update RX support.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: fix section name.
Yoshinori Sato [Wed, 23 Dec 2015 16:55:16 +0000 (01:55 +0900)]
rx: fix section name.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agorx: Add RX support files
Yoshinori Sato [Wed, 23 Dec 2015 16:50:30 +0000 (01:50 +0900)]
rx: Add RX support files

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
2 years agoLinux 5.16
Linus Torvalds [Sun, 9 Jan 2022 22:55:34 +0000 (14:55 -0800)]
Linux 5.16

2 years agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Linus Torvalds [Sun, 9 Jan 2022 18:49:12 +0000 (10:49 -0800)]
Merge branch 'for-linus' of git://git./linux/kernel/git/dtor/input

Pull input fix from Dmitry Torokhov:
 "A small fixup to the Zinitix touchscreen driver to avoid enabling the
  IRQ line before we successfully requested it"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: zinitix - make sure the IRQ is allocated before it gets enabled

2 years agoMerge tag 'soc-fixes-5.16-5' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Linus Torvalds [Sun, 9 Jan 2022 18:43:16 +0000 (10:43 -0800)]
Merge tag 'soc-fixes-5.16-5' of git://git./linux/kernel/git/soc/soc

Pull ARM SoC fix from Olof Johansson:
 "One more fix for 5.16

  I had missed one patch when I sent up what I thought was the last
  batch of fixes for this release. This one fixes issues on the
  Raspberry Pi platforms due to gpio init changes this release, so
  hopefully we can get it merged before final release is cut"

* tag 'soc-fixes-5.16-5' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
  ARM: dts: gpio-ranges property is now required

2 years agoMerge tag 'perf-tools-fixes-for-v5.16-2022-01-09' of git://git.kernel.org/pub/scm...
Linus Torvalds [Sun, 9 Jan 2022 18:37:07 +0000 (10:37 -0800)]
Merge tag 'perf-tools-fixes-for-v5.16-2022-01-09' of git://git./linux/kernel/git/acme/linux

Pull perf tools fixes from Arnaldo Carvalho de Melo:

 - Revert "libtraceevent: Increase libtraceevent logging when verbose",
   breaks the build with libtraceevent-1.3.0, i.e. when building with
   'LIBTRACEEVENT_DYNAMIC=1'.

 - Avoid early exit in 'perf trace' due to running SIGCHLD handler
   before it makes sense to. It can happen when using a BPF source code
   event that have to be first built into an object file.

* tag 'perf-tools-fixes-for-v5.16-2022-01-09' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
  Revert "libtraceevent: Increase libtraceevent logging when verbose"
  perf trace: Avoid early exit due to running SIGCHLD handler before it makes sense to

2 years agoRevert "drm/amdgpu: stop scheduler when calling hw_fini (v2)"
Len Brown [Sun, 9 Jan 2022 18:11:37 +0000 (13:11 -0500)]
Revert "drm/amdgpu: stop scheduler when calling hw_fini (v2)"

This reverts commit f7d6779df642720e22bffd449e683bb8690bd3bf.

This bisected regression has impacted suspend-resume stability
since 5.15-rc1. It regressed -stable via 5.14.10.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=215315
Fixes: f7d6779df64 ("drm/amdgpu: stop scheduler when calling hw_fini (v2)")
Cc: Guchun Chen <guchun.chen@amd.com>
Cc: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org> # 5.14+
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2 years agoInput: zinitix - make sure the IRQ is allocated before it gets enabled
Nikita Travkin [Sun, 9 Jan 2022 07:19:19 +0000 (23:19 -0800)]
Input: zinitix - make sure the IRQ is allocated before it gets enabled

Since irq request is the last thing in the driver probe, it happens
later than the input device registration. This means that there is a
small time window where if the open method is called the driver will
attempt to enable not yet available irq.

Fix that by moving the irq request before the input device registration.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Fixes: 26822652c85e ("Input: add zinitix touchscreen driver")
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Link: https://lore.kernel.org/r/20220106072840.36851-2-nikita@trvn.ru
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2 years agoARM: dts: gpio-ranges property is now required
Phil Elwell [Tue, 4 Jan 2022 17:02:47 +0000 (18:02 +0100)]
ARM: dts: gpio-ranges property is now required

Since [1], added in 5.7, the absence of a gpio-ranges property has
prevented GPIOs from being restored to inputs when released.
Add those properties for BCM283x and BCM2711 devices.

[1] commit 2ab73c6d8323 ("gpio: Support GPIO controllers without
    pin-ranges")

Link: https://lore.kernel.org/r/20220104170247.956760-1-linus.walleij@linaro.org
Fixes: 2ab73c6d8323 ("gpio: Support GPIO controllers without pin-ranges")
Fixes: 266423e60ea1 ("pinctrl: bcm2835: Change init order for gpio hogs")
Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Reported-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20211206092237.4105895-3-phil@raspberrypi.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2 years agoMerge tag 'soc-fixes-5.16-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Linus Torvalds [Sat, 8 Jan 2022 20:56:16 +0000 (12:56 -0800)]
Merge tag 'soc-fixes-5.16-4' of git://git./linux/kernel/git/soc/soc

Pull ARM SoC fixes from Olof Johansson:
 "A few more fixes have come in, nothing overly severe but would be good
  to get in by final release:

   - More specific compatible fields on the qspi controller for socfpga,
     to enable quirks in the driver

   - A runtime PM fix for Renesas to fix mismatched reference counts on
     errors"

* tag 'soc-fixes-5.16-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
  ARM: dts: socfpga: change qspi to "intel,socfpga-qspi"
  dt-bindings: spi: cadence-quadspi: document "intel,socfpga-qspi"
  reset: renesas: Fix Runtime PM usage

2 years agoMerge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
Linus Torvalds [Sat, 8 Jan 2022 20:12:58 +0000 (12:12 -0800)]
Merge branch 'i2c/for-current' of git://git./linux/kernel/git/wsa/linux

Pull i2c fixes from Wolfram Sang:
 "Fix the regression with AMD GPU suspend by reverting the
  handling of bus regulators in the I2C core.

  Also, there is a fix for the MPC driver to prevent an
  out-of-bound-access"

* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
  Revert "i2c: core: support bus regulator controlling in adapter"
  i2c: mpc: Avoid out of bounds memory access

2 years agoMerge tag 'for-v5.16-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux...
Linus Torvalds [Sat, 8 Jan 2022 19:39:53 +0000 (11:39 -0800)]
Merge tag 'for-v5.16-rc' of git://git./linux/kernel/git/sre/linux-power-supply

Pull power supply fixes from Sebastian Reichel:
 "Three fixes for the 5.16 cycle:

   - Avoid going beyond last capacity in the power-supply core

   - Replace 1E6L with NSEC_PER_MSEC to avoid floating point calculation
     in LLVM resulting in a build failure

   - Fix ADC measurements in bq25890 charger driver"

* tag 'for-v5.16-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
  power: reset: ltc2952: Fix use of floating point literals
  power: bq25890: Enable continuous conversion for ADC at charging
  power: supply: core: Break capacity loop

2 years agoMerge tag 'xfs-5.16-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Linus Torvalds [Sat, 8 Jan 2022 18:56:47 +0000 (10:56 -0800)]
Merge tag 'xfs-5.16-fixes-4' of git://git./fs/xfs/xfs-linux

Pull xfs fix from Darrick Wong:

 - Make the old ALLOCSP ioctl behave in a consistent manner with newer
   syscalls like fallocate.

* tag 'xfs-5.16-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
  xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate

2 years agoMerge branch 'for-5.16-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
Linus Torvalds [Fri, 7 Jan 2022 23:58:06 +0000 (15:58 -0800)]
Merge branch 'for-5.16-fixes' of git://git./linux/kernel/git/tj/cgroup

Pull cgroup fixes from Tejun Heo:
 "This contains the cgroup.procs permission check fixes so that they use
  the credentials at the time of open rather than write, which also
  fixes the cgroup namespace lifetime bug"

* 'for-5.16-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
  selftests: cgroup: Test open-time cgroup namespace usage for migration checks
  selftests: cgroup: Test open-time credential usage for migration checks
  selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
  cgroup: Use open-time cgroup namespace for process migration perm checks
  cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv
  cgroup: Use open-time credentials for process migraton perm checks

2 years agoMerge tag 'block-5.16-2022-01-07' of git://git.kernel.dk/linux-block
Linus Torvalds [Fri, 7 Jan 2022 21:28:20 +0000 (13:28 -0800)]
Merge tag 'block-5.16-2022-01-07' of git://git.kernel.dk/linux-block

Pull block fix from Jens Axboe:
 "Just the md bitmap regression this time"

* tag 'block-5.16-2022-01-07' of git://git.kernel.dk/linux-block:
  md/raid1: fix missing bitmap update w/o WriteMostly devices

2 years agoMerge tag 'edac_urgent_for_v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Fri, 7 Jan 2022 21:22:58 +0000 (13:22 -0800)]
Merge tag 'edac_urgent_for_v5.16' of git://git./linux/kernel/git/ras/ras

Pull EDAC fix from Tony Luck:
 "Fix 10nm EDAC driver to release and unmap resources on systems without
  HBM"

* tag 'edac_urgent_for_v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
  EDAC/i10nm: Release mdev/mbase when failing to detect HBM

2 years agoRevert "i2c: core: support bus regulator controlling in adapter"
Wolfram Sang [Thu, 6 Jan 2022 12:24:52 +0000 (13:24 +0100)]
Revert "i2c: core: support bus regulator controlling in adapter"

This largely reverts commit 5a7b95fb993ec399c8a685552aa6a8fc995c40bd. It
breaks suspend with AMD GPUs, and we couldn't incrementally fix it. So,
let's remove the code and go back to the drawing board. We keep the
header extension to not break drivers already populating the regulator.
We expect to re-add the code handling it soon.

Fixes: 5a7b95fb993e ("i2c: core: support bus regulator controlling in adapter")
Reported-by: "Tareque Md.Hanif" <tarequemd.hanif@yahoo.com>
Link: https://lore.kernel.org/r/1295184560.182511.1639075777725@mail.yahoo.com
Reported-by: Konstantin Kharlamov <hi-angel@yandex.ru>
Link: https://lore.kernel.org/r/7143a7147978f4104171072d9f5225d2ce355ec1.camel@yandex.ru
BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1850
Tested-by: "Tareque Md.Hanif" <tarequemd.hanif@yahoo.com>
Tested-by: Konstantin Kharlamov <hi-angel@yandex.ru>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Cc: <stable@vger.kernel.org> # 5.14+
2 years agoRevert "libtraceevent: Increase libtraceevent logging when verbose"
Arnaldo Carvalho de Melo [Fri, 7 Jan 2022 19:02:54 +0000 (16:02 -0300)]
Revert "libtraceevent: Increase libtraceevent logging when verbose"

This reverts commit 08efcb4a638d260ef7fcbae64ecf7ceceb3f1841.

This breaks the build as it will prefer using libbpf-devel header files,
even when not using LIBBPF_DYNAMIC=1, breaking the build.

This was detected on OpenSuSE Tumbleweed with libtraceevent-devel 1.3.0,
as described by Jiri Slaby:

=======================================================================
It breaks build with LIBTRACEEVENT_DYNAMIC and version 1.3.0:
> util/debug.c: In function ‘perf_debug_option’:
> util/debug.c:243:17: error: implicit declaration of function
‘tep_set_loglevel’ [-Werror=implicit-function-declaration]
>   243 |                 tep_set_loglevel(TEP_LOG_INFO);
>       |                 ^~~~~~~~~~~~~~~~
> util/debug.c:243:34: error: ‘TEP_LOG_INFO’ undeclared (first use in this
function); did you mean ‘TEP_PRINT_INFO’?
>   243 |                 tep_set_loglevel(TEP_LOG_INFO);
>       |                                  ^~~~~~~~~~~~
>       |                                  TEP_PRINT_INFO
> util/debug.c:243:34: note: each undeclared identifier is reported only once
for each function it appears in
> util/debug.c:245:34: error: ‘TEP_LOG_DEBUG’ undeclared (first use in this
function)
>   245 |                 tep_set_loglevel(TEP_LOG_DEBUG);
>       |                                  ^~~~~~~~~~~~~
> util/debug.c:247:34: error: ‘TEP_LOG_ALL’ undeclared (first use in this
function)
>   247 |                 tep_set_loglevel(TEP_LOG_ALL);
>       |                                  ^~~~~~~~~~~

It is because the gcc's command line looks like:
gcc
...
-I/home/abuild/rpmbuild/BUILD/tools/lib/
...
-DLIBTRACEEVENT_VERSION=65790
...
=======================================================================

The proper way to fix this is more involved and so not suitable for this
late in the 5.16-rc stage.

Reported-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/lkml/bc2b0786-8965-1bcd-2316-9d9bb37b9c31@kernel.org
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: https://lore.kernel.org/lkml/YddGjjmlMZzxUZbN@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2 years agoperf trace: Avoid early exit due to running SIGCHLD handler before it makes sense to
Jiri Olsa [Thu, 6 Jan 2022 22:20:30 +0000 (23:20 +0100)]
perf trace: Avoid early exit due to running SIGCHLD handler before it makes sense to

When running 'perf trace' with an BPF object like:

  # perf trace -e openat,tools/perf/examples/bpf/hello.c

the event parsing eventually calls llvm__get_kbuild_opts() that runs a
script and that ends up with SIGCHLD delivered to the 'perf trace'
handler, which assumes the workload process is done and quits 'perf
trace'.

Move the SIGCHLD handler setup directly to trace__run(), where the event
is parsed and the object is already compiled.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Christy Lee <christyc.y.lee@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20220106222030.227499-1-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2 years agoMerge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Linus Torvalds [Fri, 7 Jan 2022 17:28:37 +0000 (09:28 -0800)]
Merge tag 'for-linus' of git://git./virt/kvm/kvm

Pull kvm fixes from Paolo Bonzini:
 "Two small fixes for x86:

   - lockdep WARN due to missing lock nesting annotation

   - NULL pointer dereference when accessing debugfs"

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
  KVM: x86: Check for rmaps allocation
  KVM: SEV: Mark nested locking of kvm->lock

2 years agoMerge tag 'drm-fixes-2022-01-07' of git://anongit.freedesktop.org/drm/drm
Linus Torvalds [Fri, 7 Jan 2022 17:17:53 +0000 (09:17 -0800)]
Merge tag 'drm-fixes-2022-01-07' of git://anongit.freedesktop.org/drm/drm

Pull drm fixes from Dave Airlie:
 "There is only the amdgpu runtime pm regression fix in here:

  amdgpu:

   - suspend/resume fix

   - fix runtime PM regression"

* tag 'drm-fixes-2022-01-07' of git://anongit.freedesktop.org/drm/drm:
  drm/amdgpu: disable runpm if we are the primary adapter
  fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb
  drm/amd/pm: keep the BACO feature enabled for suspend