Re: [PATCH -next] tty: hvc: make hvc_rtas_dev static

2022-10-19 Thread Jiri Slaby
On 19. 10. 22, 8:44, ruanjinjie wrote: The symbol is not used outside of the file, so mark it static. Fixes the following warning: drivers/tty/hvc/hvc_rtas.c:29:19: warning: symbol 'hvc_rtas_dev' was not declared. Should it be static? Reviewed-by: Jiri Slaby Signed-off-by: ruanjinjie ---

[6.1-rc1] Warning arch/powerpc/kernel/irq_64.c:285

2022-10-19 Thread Sachin Sant
While running powerpc kselftests (mm/stress_code_patching.sh) on a PowerVM LPAR following warning is seen. The test passes. I can reliably recreate it on a Power9 server, not so easily on Power10. # ./stress_code_patching.sh Testing for spurious faults when mapping kernel memory... [

Re: [PATCH v7 0/8] phy: Add support for Lynx 10G SerDes

2022-10-19 Thread Bagas Sanjaya
On 10/19/22 06:11, Sean Anderson wrote: > This adds support for the Lynx 10G SerDes found on the QorIQ T-series > and Layerscape series. Due to limited time and hardware, only support > for the LS1046ARDB is added in this initial series. There is a sketch > for LS1088ARDB support, but it is

[powerpc:merge] BUILD SUCCESS 7dc2a00fdd44a4d0c3bac9fd10558b3933586a0c

2022-10-19 Thread kernel test robot
hexagon randconfig-r041-20221018 i386 randconfig-a015 s390 randconfig-r044-20221019 hexagon randconfig-r045-20221019 riscvrandconfig-r042-20221019 hexagon randconfig-r041-20221019 mips

RE: [PATCH v2] mm, hwpoison: Try to recover from copy-on write faults

2022-10-19 Thread Luck, Tony
> Given there is no use case for the residue value returned by > copy_mc_to_kernel() perhaps just return EHWPOISON directly from > copyuser_highpage_mc() in the short-copy case? I don't think it hurts to keep the return value as residue count. It isn't making that code any more complex and could

RE: [PATCH] PCI: Remove unnecessary of_irq.h includes

2022-10-19 Thread Roy Zang
> -Original Message- > From: Bjorn Helgaas > > From: Bjorn Helgaas > > Many host controller drivers #include even though they > don't need it. Remove the unnecessary #includes. > > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/controller/cadence/pci-j721e.c | 1 - >

Re: [PATCH] PCI: Remove unnecessary of_irq.h includes

2022-10-19 Thread Conor Dooley
On Wed, Oct 19, 2022 at 02:54:51PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Many host controller drivers #include even though they > don't need it. Remove the unnecessary #includes. > > Signed-off-by: Bjorn Helgaas > drivers/pci/controller/pcie-microchip-host.c | 1 - LGTM...

[PATCH] PCI: Remove unnecessary of_irq.h includes

2022-10-19 Thread Bjorn Helgaas
From: Bjorn Helgaas Many host controller drivers #include even though they don't need it. Remove the unnecessary #includes. Signed-off-by: Bjorn Helgaas --- drivers/pci/controller/cadence/pci-j721e.c | 1 - drivers/pci/controller/dwc/pci-layerscape.c | 1 -

RE: [PATCH v2] mm, hwpoison: Try to recover from copy-on write faults

2022-10-19 Thread Dan Williams
Tony Luck wrote: > If the kernel is copying a page as the result of a copy-on-write > fault and runs into an uncorrectable error, Linux will crash because > it does not have recovery code for this case where poison is consumed > by the kernel. > > It is easy to set up a test case. Just inject an

[PATCH v2] mm, hwpoison: Try to recover from copy-on write faults

2022-10-19 Thread Tony Luck
If the kernel is copying a page as the result of a copy-on-write fault and runs into an uncorrectable error, Linux will crash because it does not have recovery code for this case where poison is consumed by the kernel. It is easy to set up a test case. Just inject an error into a private page,

Re: [PATCH printk v2 10/38] tty: hvc: use console_is_enabled()

2022-10-19 Thread Greg Kroah-Hartman
On Wed, Oct 19, 2022 at 05:01:32PM +0206, John Ogness wrote: > Replace (console->flags & CON_ENABLED) usage with console_is_enabled(). > > Signed-off-by: John Ogness Reviewed-by: Greg Kroah-Hartman

[PATCH printk v2 00/38] reduce console_lock scope

2022-10-19 Thread John Ogness
This is v2 of a series to prepare for threaded/atomic printing. It is a rework of patches 6-12 of the v1 [0]. From the v1, patches 1-5 are already mainline and a rework of patches >12 will be posted in a later series. This series focuses on reducing the scope of the BKL console_lock. It achieves

[PATCH printk v2 10/38] tty: hvc: use console_is_enabled()

2022-10-19 Thread John Ogness
Replace (console->flags & CON_ENABLED) usage with console_is_enabled(). Signed-off-by: John Ogness --- drivers/tty/hvc/hvc_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index 4802cfaa107f..6d1d7b72488c

[linux-next:master] BUILD REGRESSION a72b55bc981b62f7186600d06d1824f1d0612b27

2022-10-19 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: a72b55bc981b62f7186600d06d1824f1d0612b27 Add linux-next specific files for 20221019 Error/Warning reports: https://lore.kernel.org/linux-mm/202210090954.ptr6m6rj-...@intel.com https

Re: [PATCH net-next v7 00/10] net: dpaa: Convert to phylink

2022-10-19 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (master) by David S. Miller : On Mon, 17 Oct 2022 16:22:31 -0400 you wrote: > This series converts the DPAA driver to phylink. > > I have tried to maintain backwards compatibility with existing device > trees whereever possible. However, one

warning from change_protection in 6.1 rc1

2022-10-19 Thread Dan Horák
Hi, in my first boot with the 6.1 rc1 kernel I have received a couple of warnings from change_protection on Talos II P9 system, see the details below. Nothing like that was noticed in 6.0 or earlier. Thanks, Dan [ 79.229100] [ cut here ] [

[RFC PATCH v5 1/8] mm: Make a place for a common balloon code

2022-10-19 Thread Alexander Atanasov
The file already contains code that is common along balloon drivers so rename it to reflect its contents. mm/balloon_compaction.c -> mm/balloon.c include/linux/balloon_compaction.h -> include/linux/balloon.h Remove it from files that do not actually use it. Drop externs from function declarations.

[PATCH 42/44] serial: ucc_uart: Use uart_xmit_advance()

2022-10-19 Thread Ilpo Järvinen
Take advantage of the new uart_xmit_advance() helper. Signed-off-by: Ilpo Järvinen --- drivers/tty/serial/ucc_uart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 82cf14dd3d43..b09b6496ee3e 100644 ---

[PATCH 26/44] serial: pmac_zilog: Use uart_xmit_advance()

2022-10-19 Thread Ilpo Järvinen
Take advantage of the new uart_xmit_advance() helper. Signed-off-by: Ilpo Järvinen --- drivers/tty/serial/pmac_zilog.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index fe2e4ec423f7..13668ffdb1e7

[PATCH -next] tty: hvc: make hvc_rtas_dev static

2022-10-19 Thread ruanjinjie
The symbol is not used outside of the file, so mark it static. Fixes the following warning: drivers/tty/hvc/hvc_rtas.c:29:19: warning: symbol 'hvc_rtas_dev' was not declared. Should it be static? Signed-off-by: ruanjinjie --- drivers/tty/hvc/hvc_rtas.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH -next v2] powerpc/mpic_msgr: fix cast removes address space of expression warnings

2022-10-19 Thread ruanjinjie
When build Linux kernel, encounter the following warnings: ./arch/powerpc/sysdev/mpic_msgr.c:230:38: warning: cast removes address space '__iomem' of expression ./arch/powerpc/sysdev/mpic_msgr.c:230:27: warning: incorrect type in assignment (different address spaces) The data type of msgr->mer