Re: [PATCH] checkpatch: Add kmap and kmap_atomic to the deprecated list

2022-08-13 Thread Chaitanya Kulkarni
On 8/13/22 15:00, ira.we...@intel.com wrote: > From: Ira Weiny > > kmap() and kmap_atomic() are being deprecated in favor of > kmap_local_page(). > > There are two main problems with kmap(): (1) It comes with an overhead > as mapping space is restricted and protected by a global lock for >

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

2022-08-13 Thread Linus Torvalds
On Sat, Aug 13, 2022 at 4:27 PM wrote: > [..] Btw, could you please fix whatever your email setup is, so that you have a proper name? Seeing that 'mpe' as a source in my inbox just makes me think it's spam and not real mail. My search for "git pull" will find it, so it's not a huge problem in

[GIT PULL] Please pull powerpc/linux.git powerpc-6.0-2 tag

2022-08-13 Thread mpe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some powerpc fixes for 6.0: The following changes since commit cae4199f9319f42534ee2e2e4aadf183b9bb7f73: Merge tag 'powerpc-6.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (2022-08-06 16:38:17

Re: [PATCH v2] powerpc/kexec: Fix build failure from uninitialised variable

2022-08-13 Thread Michael Ellerman
On Wed, 10 Aug 2022 15:43:31 +1000, Russell Currey wrote: > clang 14 won't build because ret is uninitialised and can be returned if > both prop and fdtprop are NULL. Drop the ret variable and return an > error in that failure case. > > Applied to powerpc/fixes. [1/1] powerpc/kexec: Fix build

Re: [PATCH v1 1/3] powerpc: Fix eh field when calling lwarx on PPC32

2022-08-13 Thread Michael Ellerman
On Tue, 2 Aug 2022 11:02:36 +0200, Christophe Leroy wrote: > Commit 9401f4e46cf6 ("powerpc: Use lwarx/ldarx directly instead of > PPC_LWARX/LDARX macros") properly handled the eh field of lwarx > in asm/bitops.h but failed to clear it for PPC32 in > asm/simple_spinlock.h > > So, do as in

Re: [PATCH] powerpc64/ftrace: Fix ftrace for clang builds

2022-08-13 Thread Michael Ellerman
On Tue, 9 Aug 2022 15:29:07 +0530, Naveen N. Rao wrote: > Clang doesn't support -mprofile-kernel ABI, so guard the checks against > CONFIG_DYNAMIC_FTRACE_WITH_REGS, rather than the elf ABI version. > > Applied to powerpc/fixes. [1/1] powerpc64/ftrace: Fix ftrace for clang builds

Re: [PATCH] powerpc/ppc-opcode: Fix PPC_RAW_TW()

2022-08-13 Thread Michael Ellerman
On Wed, 3 Aug 2022 13:47:33 +0200, Christophe Leroy wrote: > PPC_RAW_TW() is erroneously defined with base code 0x7f08 > instead of 0x7c08. > > That's invisible because its only user is PPC_RAW_TRAP() which is > 0x7fe8, but fix it anyway to avoid any risk of future bug. > > > [...]

[PATCH] checkpatch: Add kmap and kmap_atomic to the deprecated list

2022-08-13 Thread ira . weiny
From: Ira Weiny kmap() and kmap_atomic() are being deprecated in favor of kmap_local_page(). There are two main problems with kmap(): (1) It comes with an overhead as mapping space is restricted and protected by a global lock for synchronization and (2) it also requires global TLB invalidation

Re: [PATCH v4] PCI/ERR: Use pcie_aer_is_native() to judge whether OS owns AER

2022-08-13 Thread Krzysztof Wilczyński
Hello Zhuo, > Use pcie_aer_is_native() in place of "host->native_aer || > pcie_ports_native" to judge whether OS has native control of AER > in aer_root_reset() and pcie_do_recovery(). > > Replace "dev->aer_cap && (pcie_ports_native || host->native_aer)" in > get_port_device_capability() with

Re: [PATCH v2 2/2] powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' and alias

2022-08-13 Thread Guenter Roeck
On Wed, Jul 06, 2022 at 12:21:48PM +0200, Pali Rohár wrote: > Other Linux architectures use DT property 'linux,pci-domain' for specifying > fixed PCI domain of PCI controller specified in Device-Tree. > > And lot of Freescale powerpc boards have defined numbered pci alias in > Device-Tree for

Re: [PATCH 14/16] objtool: Add arch specific function arch_ftrace_match()

2022-08-13 Thread kernel test robot
: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 4e23eeebb2e57f5a28b36221aa776b5a1122dde5 config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220813/202208132139.whghhlpc-...@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project

Re:Re: [PATCH] powerpc/powermac/pfunc_base: Fix refcount leak bug in macio_gpio_init_one()

2022-08-13 Thread Liang He
At 2022-08-02 12:51:08, "Benjamin Herrenschmidt" wrote: >On Sat, 2022-07-16 at 15:31 +0800, Liang He wrote: >> We should call of_node_put() for the reference 'gparent' escaped >> out of the for_each_child_of_node() as it has increased the refcount. > >Same comment as before. That stuff

[PATCH v2] ASoC: fsl_sai: fix incorrect mclk number in error message

2022-08-13 Thread Pieterjan Camerlynck
In commit c3ecef21c3f26 ("ASoC: fsl_sai: add sai master mode support") the loop was changed to start iterating from 1 instead of 0. The error message however was not updated, reporting the wrong clock to the user. Signed-off-by: Pieterjan Camerlynck --- V2: rebase against latest version ---