Re: [RFC PATCH] powerpc/ftrace: Refactoring and support for -fpatchable-function-entry

2023-05-21 Thread Christophe Leroy
Le 20/05/2023 à 20:17, Naveen N Rao a écrit : > Christophe Leroy wrote: >> >> >> Le 20/05/2023 à 12:34, Christophe Leroy a écrit : >>> >>> >>> Le 19/05/2023 à 21:26, Naveen N Rao a écrit : [Vous ne recevez pas souvent de courriers de nav...@kernel.org. Découvrez pourquoi ceci est impor

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-21 Thread Linux regression tracking #update (Thorsten Leemhuis)
/me removes a few people from CC, as this thread already annoyed a few people On 11.05.23 10:06, Bagas Sanjaya wrote: > > I notice a regression report on bugzilla ([1]). As many developers > don't keep an eye on it, I decide to forward it by email. > [...] > #regzbot introduced: v6.2..v6.3 > ht

Re: [PATCH] irq_work: consolidate arch_irq_work_raise prototypes

2023-05-21 Thread Guo Ren
On Wed, May 17, 2023 at 4:03 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > The prototype was hidden on x86, which causes a warning: > > kernel/irq_work.c:72:13: error: no previous prototype for > 'arch_irq_work_raise' [-Werror=missing-prototypes] > > Fix this by providing it in only one pl

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.4-2 tag

2023-05-21 Thread pr-tracker-bot
The pull request you sent on Sun, 21 May 2023 11:59:02 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.4-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4927cb98f0eeaa5dbeac882e8372f4b16dc62624 Thank you! -- Deet-doot-do

[PATCH RESEND] powerpc: delete empty config entry for PPC_86xx

2023-05-21 Thread Randy Dunlap
Drop an unused and empty "config" entry for PPC_86xx. It has no keyword entries under it and the following line's "menuconfig" for the same Kconfig symbol is what kconfig uses. Fixes: d8267c1a3686 ("powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform") Signed-off-by: Randy Dunlap Cc: Kumar Gala Cc:

[PATCH v2 RESEND] powerpc/embedded6xx: select MPC10X_BRIDGE only if PCI is set

2023-05-21 Thread Randy Dunlap
When CONFIG_SMP is not set, CONFIG_BROKEN_ON_SMP is set, and CONFIG_PCI is not set, there can be a kconfig warning: WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] To fix that, make the selects of MPC10X_BRIDGE

[PATCH v2 RESEND] soc/fsl/qe: fix usb.c build errors

2023-05-21 Thread Randy Dunlap
Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE is set, QE_USB deafults to y, which causes build errors when QUICC_ENGINE is not s

[PATCH v2 RESEND] ASoC: fsl MPC52xx drivers require PPC_BESTCOMM

2023-05-21 Thread Randy Dunlap
Both SND_MPC52xx_SOC_PCM030 and SND_MPC52xx_SOC_EFIKA select SND_SOC_MPC5200_AC97. The latter symbol depends on PPC_BESTCOMM, so the 2 former symbols should also depend on PPC_BESTCOMM since "select" does not follow any dependency chains. This prevents a kconfig warning and build errors: WARNING:

Re: [PATCH v2] powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs

2023-05-21 Thread Alexey Kardashevskiy
Hi Gaurav, Sorry I missed this. Please share the link to the your fix, I do not see it in my mail. In general, the problem can probably be solved by using huge pages (anything more than 64K) only for 1:1 mapping. On 03/05/2023 13:25, Gaurav Batra wrote: Hello Alexey, I recently joined IOMM

Re: [PATCH] powerpc/crypto: fix build warnings when DEBUG_FS is not enabled

2023-05-21 Thread Michael Ellerman
Randy Dunlap writes: > Fix build warnings when DEBUG_FS is not enabled by using an empty > do-while loop instead of a value: > > In file included from ../drivers/crypto/nx/nx.c:27: > ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': > ../drivers/crypto/nx/nx.h:173:33: warning: statement w

Re: [PATCH v7 3/4] powerpc/purgatory: Remove PGO flags

2023-05-21 Thread Michael Ellerman
Ricardo Ribalda writes: > If profile-guided optimization is enabled, the purgatory ends up with > multiple .text sections. > This is not supported by kexec and crashes the system. > > Cc: sta...@vger.kernel.org > Fixes: 930457057abe ("kernel/kexec_file.c: split up __kexec_load_puragory") > Signed-