Re: [RFC PATCH] powerpc: udbg: export udbg_putc

2023-05-13 Thread Randy Dunlap
On 5/13/23 16:05, Pali Rohár wrote: > On Saturday 13 May 2023 15:53:19 Randy Dunlap wrote: >> Hi Pali, >> >> On 5/13/23 02:13, Pali Rohár wrote: >>> On Friday 12 May 2023 22:58:04 Randy Dunlap wrote: In a randconfig with CONFIG_SERIAL_CPM=m and CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a

Re: [RFC PATCH] powerpc: udbg: export udbg_putc

2023-05-13 Thread Pali Rohár
On Saturday 13 May 2023 15:53:19 Randy Dunlap wrote: > Hi Pali, > > On 5/13/23 02:13, Pali Rohár wrote: > > On Friday 12 May 2023 22:58:04 Randy Dunlap wrote: > >> In a randconfig with CONFIG_SERIAL_CPM=m and > >> CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error: > >> ERROR: modpost: "udbg_put

[PATCH] powerpc: fix debugfs_create_dir error checking

2023-05-13 Thread mirimmad
From: Immad Mir The debugfs_create_dir returns ERR_PTR incase of an error and the correct way of checking it by using the IS_ERR inline function, and not the simple null comparision. This patch fixes this. Suggested-By: Ivan Orlov Signed-off-by: Immad Mir --- arch/powerpc/platforms/powernv/op

Re: [RFC PATCH] powerpc: udbg: export udbg_putc

2023-05-13 Thread Randy Dunlap
Hi Pali, On 5/13/23 02:13, Pali Rohár wrote: > On Friday 12 May 2023 22:58:04 Randy Dunlap wrote: >> In a randconfig with CONFIG_SERIAL_CPM=m and >> CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error: >> ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] >> undefined! >> >> T

Re: [PATCH 08/23] parisc: add pte_unmap() to balance get_ptep()

2023-05-13 Thread Helge Deller
Hi Hugh, On 5/10/23 06:52, Hugh Dickins wrote: To keep balance in future, remember to pte_unmap() after a successful get_ptep(). And (we might as well) pretend that flush_cache_pages() really needed a map there, to read the pfn before "unmapping". Signed-off-by: Hugh Dickins --- arch/parisc

Re: Fwd: Linux 6.3.1 + AMD RX 570 on ppc64le 4K: Kernel attempted to read user page (1128) - exploit attempt? (uid: 0)

2023-05-13 Thread Alex Deucher
On Sat, May 13, 2023 at 12:11 PM Greg Kroah-Hartman wrote: > > On Fri, May 12, 2023 at 03:25:47PM +, Christophe Leroy wrote: > > > > > > Le 12/05/2023 à 17:16, Christophe Leroy a écrit : > > > > > > > > > Le 11/05/2023 à 19:25, Niccolò Belli a écrit : > > >> [Vous ne recevez pas souvent de cou

Re: [RFC PATCH] powerpc: udbg: export udbg_putc

2023-05-13 Thread Pali Rohár
On Friday 12 May 2023 22:58:04 Randy Dunlap wrote: > In a randconfig with CONFIG_SERIAL_CPM=m and > CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error: > ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] > undefined! > > The build can be fixed by exporting "udbg_putc" in udb