[PATCH 17/23] sparc: dax-hv-api.txt: Fix quite a few spellos

2021-03-28 Thread Bhaskar Chowdhury
s/indicies/indices/ s/retricted/restricted/ s/indentifier/identifier/ two different places. s/proccessed/processed/ three different places. Signed-off-by: Bhaskar Chowdhury --- Documentation/sparc/oradax/dax-hv-api.txt | 18 +- 1 file changed, 9 insertions(+), 9

[PATCH 18/23] security: core.rst: Fixed a spello

2021-03-28 Thread Bhaskar Chowdhury
s/implemenation/implementation/ Signed-off-by: Bhaskar Chowdhury --- Documentation/security/keys/core.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/security/keys/core.rst b/Documentation/security/keys/core.rst index b3ed5c581034..d66ad592c6cc 100644 --- a

[PATCH 20/23] scheduler: sched-bwc.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/simultanously/simultaneously/ Signed-off-by: Bhaskar Chowdhury --- Documentation/scheduler/sched-bwc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/scheduler/sched-bwc.rst b/Documentation/scheduler/sched-bwc.rst index 845eee659199..a7f9be925ab8 100644 --

[PATCH 19/23] scsi: ChangeLog.ncr53c8xx: Quite a few spello fixes

2021-03-28 Thread Bhaskar Chowdhury
Few trivial spelling fixes. Signed-off-by: Bhaskar Chowdhury --- Few lines have done self modification, means they eliminate and added themselves. I have no clue why that happen. Documentation/scsi/ChangeLog.ncr53c8xx | 260 - 1 file changed, 130 insertions(+), 130 d

[PATCH 13/23] trace: hwlat_detector.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/occuring/occurring/ Signed-off-by: Bhaskar Chowdhury --- Documentation/trace/hwlat_detector.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/trace/hwlat_detector.rst b/Documentation/trace/hwlat_detector.rst index 5739349649c8..f7811e2ddf34 100644 --- a/Doc

[PATCH 14/23] trace: ftrace-uses.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/preemptable/preemptible/ Signed-off-by: Bhaskar Chowdhury --- Documentation/trace/ftrace-uses.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/trace/ftrace-uses.rst b/Documentation/trace/ftrace-uses.rst index f7d98ae5b885..2903a58f5ac2 100644 --- a/Documen

[PATCH 15/23] trace: events.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/specfied/specified/ Signed-off-by: Bhaskar Chowdhury --- Documentation/trace/events.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/trace/events.rst b/Documentation/trace/events.rst index 8ddb9b09451c..80052adc592d 100644 --- a/Documentation/trace/events.r

[PATCH 16/23] sparc: oradax/oracle-dax.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/discontiguities/discontinuities/ Signed-off-by: Bhaskar Chowdhury --- Documentation/sparc/oradax/oracle-dax.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sparc/oradax/oracle-dax.rst b/Documentation/sparc/oradax/oracle-dax.rst index d1e14d572918..54ccb35

[PATCH 10/23] virt: kvm: halt-polling.rst: Fixed a typo

2021-03-28 Thread Bhaskar Chowdhury
s/dependant/dependent/ Signed-off-by: Bhaskar Chowdhury --- Documentation/virt/kvm/halt-polling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/halt-polling.rst b/Documentation/virt/kvm/halt-polling.rst index 4922e4a15f18..c428d319de45 100644 --- a

[PATCH 11/23] virt: user_mode_linux_howto_v2.rst: Few typo fixes

2021-03-28 Thread Bhaskar Chowdhury
s/absense/absence/ s/sripts/scripts/ s/resultion/resolution/ s/desireable/desirable/ Signed-off-by: Bhaskar Chowdhury --- Documentation/virt/uml/user_mode_linux_howto_v2.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/virt/uml/user_mode_linux_howt

[PATCH 12/23] v4l: hist-v4l2.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/directon/director/ Signed-off-by: Bhaskar Chowdhury --- Documentation/userspace-api/media/v4l/hist-v4l2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/userspace-api/media/v4l/hist-v4l2.rst b/Documentation/userspace-api/media/v4l/hist-v4l2.rst index 28a

[PATCH 09/23] virt: kvm: /mmu.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/unsychronized/unsynchronized/ Signed-off-by: Bhaskar Chowdhury --- Documentation/virt/kvm/mmu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/mmu.rst b/Documentation/virt/kvm/mmu.rst index 5bfe28b0728e..e6c525280813 100644 --- a/Documentation/virt

[PATCH 05/23] vm: unevictable-lru.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/mmaped/mapped/ Signed-off-by: Bhaskar Chowdhury --- Documentation/vm/unevictable-lru.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/vm/unevictable-lru.rst b/Documentation/vm/unevictable-lru.rst index 0e1490524f53..74e7d5ded114 100644 --- a/Documentation/

[PATCH 08/23] virt: kvm: vm.rst: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/imlemented/implemented/ Signed-off-by: Bhaskar Chowdhury --- Documentation/virt/kvm/devices/vm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/devices/vm.rst b/Documentation/virt/kvm/devices/vm.rst index 0aa5b1cfd700..3eb1abf505c9 100644 --- a/Do

[PATCH 07/23] vm: hwpoison.rst: A typo fix

2021-03-28 Thread Bhaskar Chowdhury
s/focusses/focuses/ Signed-off-by: Bhaskar Chowdhury --- Documentation/vm/hwpoison.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/vm/hwpoison.rst b/Documentation/vm/hwpoison.rst index 727f080073dd..7840463a0e9a 100644 --- a/Documentation/vm/hwpoison.rst +++

[PATCH 06/23] vm: hwpoison.rst: A typo fix

2021-03-28 Thread Bhaskar Chowdhury
s/expection/exception/ Signed-off-by: Bhaskar Chowdhury --- Documentation/vm/hwpoison.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/vm/hwpoison.rst b/Documentation/vm/hwpoison.rst index a5c884293dac..727f080073dd 100644 --- a/Documentation/vm/hwpoison.rst

[PATCH 04/23] w1-generic.rst: A typo fix

2021-03-28 Thread Bhaskar Chowdhury
s/beetwen/between/ Signed-off-by: Bhaskar Chowdhury --- Documentation/w1/w1-generic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/w1/w1-generic.rst b/Documentation/w1/w1-generic.rst index da4e8b4e9b01..229b16b6399b 100644 --- a/Documentation/w1/w1-generic.

[PATCH 02/23] w1: ds2482.rst: A typo fix

2021-03-28 Thread Bhaskar Chowdhury
s/busses/buses/ Signed-off-by: Bhaskar Chowdhury --- Documentation/w1/masters/ds2482.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/w1/masters/ds2482.rst b/Documentation/w1/masters/ds2482.rst index 17ebe8f660cd..5862024e4b15 100644 --- a/Documentation/w1/m

[PATCH 03/23] w1-netlink.rst: A typo fix

2021-03-28 Thread Bhaskar Chowdhury
s/strucutre/structure/ Signed-off-by: Bhaskar Chowdhury --- Documentation/w1/w1-netlink.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/w1/w1-netlink.rst b/Documentation/w1/w1-netlink.rst index aaa13243a5e4..be4f7b82dcb4 100644 --- a/Documentation/w1/w1-netl

[PATCH 00/23] docs: Mundane typo fixes

2021-03-28 Thread Bhaskar Chowdhury
This patch series tried to fix trivial spelling fixes. Bhaskar Chowdhury (23): atomctl.rst: A typo fix w1: ds2482.rst: A typo fix w1-netlink.rst: A typo fix w1-generic.rst: A typo fix vm: unevictable-lru.rst: Fix a typo vm: hwpoison.rst: A typo fix vm: hwpoison.rst: A typo fix vir

[PATCH 01/23] atomctl.rst: A typo fix

2021-03-28 Thread Bhaskar Chowdhury
s/controlers/controllers/ Signed-off-by: Bhaskar Chowdhury --- Documentation/xtensa/atomctl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/xtensa/atomctl.rst b/Documentation/xtensa/atomctl.rst index 1ecbd0ba9a2e..a0efab2abe8f 100644 --- a/Documentation/xten

Re: [PATCH v7 1/5] misc: Add Synopsys DesignWare xData IP driver

2021-03-28 Thread Greg Kroah-Hartman
On Sun, Mar 28, 2021 at 09:06:47PM +, Gustavo Pimentel wrote: > > > +static const struct pci_device_id dw_xdata_pcie_id_table[] = { > > > + { PCI_DEVICE_DATA(SYNOPSYS, EDDA, &snps_edda_data) }, > > > > Why do you need a pointer to snps_edda_data here? > > The structure snps_edda_data indicate

Re: Compiling kernel-3.4.xxx with gcc-9.x. Need some help.

2021-03-28 Thread Greg KH
On Sun, Mar 28, 2021 at 10:20:50PM +0200, Fawad Lateef wrote: > Hi > > I am using an Olimex A20 SOM with NAND and due to some binary blob for > NAND driver, I am stuck with the sunxi kernel 3.4.xxx version. (Repo > here: https://github.com/linux-sunxi/linux-sunxi) Please work with the vendor that

Re: [PATCH 2/2] cpupower: fix amd cpu (family >= 0x17) active state issue

2021-03-28 Thread xufuhai
yeah Shuah~ thanks for your reply For this issue, not meaning "current CPU frequency" but "boost state support--->Active" during "cpupower frequency-info" command as below: boost state support: Supported: yes Active: yes/no I think the state returned fro

Re: [PATCH 1/2] cpupower: fix amd cpu (family < 0x17) active state issue

2021-03-28 Thread xufuhai
yeah Shuah~ thanks for your reply For this issue, not meaning "current CPU frequency" but "boost state support--->Active" during "cpupower frequency-info" command as below: boost state support: Supported: yes Active: yes/no I think the state returned fro

[PATCH] ASoC: fsl_rpmsg: initialise pointers to NULL

2021-03-28 Thread Shengjiu Wang
This fixes the following sparse warnings: sound/soc/fsl/fsl_rpmsg.c:45:45: sparse: sparse: Using plain integer as NULL pointer sound/soc/fsl/fsl_rpmsg.c:45:56: sparse: sparse: Using plain integer as NULL pointer Fixes: b73d9e6225e8 ("ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg"

[PATCH v2 -next] arm64: smp: Add missing prototype for some smp.c functions

2021-03-28 Thread Chen Lifu
In commit eb631bb5bf5b ("arm64: Support arch_irq_work_raise() via self IPIs") a new function "arch_irq_work_raise" was added without a prototype. In commit d914d4d49745 ("arm64: Implement panic_smp_self_stop()") a new function "panic_smp_self_stop" was added without a prototype. We get the follow

Re: [PATCH v2 4/6] dt-bindings: PCI: Add SiFive FU740 PCIe host controller

2021-03-28 Thread Greentime Hu
Rob Herring 於 2021年3月24日 週三 上午4:35寫道: > > On Thu, Mar 18, 2021 at 02:08:11PM +0800, Greentime Hu wrote: > > Add PCIe host controller DT bindings of SiFive FU740. > > > > Signed-off-by: Greentime Hu > > --- > > .../bindings/pci/sifive,fu740-pcie.yaml | 119 ++ > > 1 file cha

csky-linux-gcc: error: unrecognized command line option '-mbacktrace'; did you mean '-fbacktrace'?

2021-03-28 Thread kernel test robot
-randconfig-r001-20210328 (attached as .config) compiler: csky-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm

Re: [PATCH] arm: 9016/2: Make symbol 'tmp_pmd_table' static

2021-03-28 Thread Liu Shixin
I'm sorry for making such a stupid mistake. There was only one patch committed before(5615f69bc209 "ARM: 9016/2: Initialize the mapping of KASan shadow memory"), and I used the same subject by mistake. Thanks for your correction, I will revise the subject and resend it. How about using "arm: mm

/usr/bin/ld: ll_temac_main.c:undefined reference to `devm_platform_ioremap_resource'

2021-03-28 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a5e13c6df0e41702d2b2c77c8ad41677ebb065b3 commit: cc6596fc7295e9dcd78156ed42f9f8e1221f7530 net: ll_temac: Fix potential NULL dereference in temac_probe() date: 4 months ago config: um-randconfig-r015-202103

Re: [PATCH 1/2] dt-bindings: devapc: Update bindings

2021-03-28 Thread Nina Wu
Hi, Rob On Fri, 2021-03-26 at 13:58 -0600, Rob Herring wrote: > On Fri, Mar 26, 2021 at 03:31:10PM +0800, Nina Wu wrote: > > From: Nina Wu > > > > To support newer hardware architecture of devapc, > > update device tree bindings. > > > > Signed-off-by: Nina Wu > > --- > > .../devicetree/bind

Re: [PATCH net 1/4] virtchnl: Fix layout of RSS structures

2021-03-28 Thread Samudrala, Sridhar
On 3/27/2021 2:53 AM, Geert Uytterhoeven wrote: Hi Samudrala, On Fri, Mar 26, 2021 at 11:45 PM Samudrala, Sridhar wrote: On 3/26/2021 1:06 AM, Geert Uytterhoeven wrote: On Thu, Mar 25, 2021 at 11:29 PM Tony Nguyen wrote: From: Norbert Ciosek Remove padding from RSS structures. Previous lay

Re: [PATCH v2 01/13] dt-bindings: usb: mtk-xhci: support property usb2-lpm-disable

2021-03-28 Thread Chunfeng Yun
On Sat, 2021-03-27 at 11:24 -0600, Rob Herring wrote: > On Tue, Mar 23, 2021 at 03:02:43PM +0800, Chunfeng Yun wrote: > > Add support common property usb2-lpm-disable > > > > Signed-off-by: Chunfeng Yun > > --- > > v2: no changes > > --- > > Documentation/devicetree/bindings/usb/mediatek,mtk-xhc

[PATCH] misc: hpilo: MAINTAINERS: add entry for hpilo

2021-03-28 Thread matt . hsiao
From: Matt Hsiao The original maintainer left the company, add myself as the successor. Signed-off-by: Matt Hsiao --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fb2a3633b719..0546e7f84a4e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7

Re: exec error: BUG: Bad rss-counter

2021-03-28 Thread Ilya Lipnitskiy
On Sat, Mar 20, 2021 at 8:59 AM Zhou Yanjie wrote: > > Hi Ilya, > > On 2021/3/3 下午11:55, Ilya Lipnitskiy wrote: > > On Wed, Mar 3, 2021 at 7:50 AM Eric W. Biederman > > wrote: > >> Ilya Lipnitskiy writes: > >> > >>> On Tue, Mar 2, 2021 at 11:37 AM Eric W. Biederman > >>> wrote: > Ilya Li

Re: exec error: BUG: Bad rss-counter

2021-03-28 Thread Ilya Lipnitskiy
On Wed, Mar 3, 2021 at 7:50 AM Eric W. Biederman wrote: > > Ilya Lipnitskiy writes: > > > On Tue, Mar 2, 2021 at 11:37 AM Eric W. Biederman > > wrote: > >> > >> Ilya Lipnitskiy writes: > >> > >> > On Mon, Mar 1, 2021 at 12:43 PM Eric W. Biederman > >> > wrote: > >> >> > >> >> Ilya Lipnitskiy

Re: [PATCH 1/2] dt-bindings: devapc: Update bindings

2021-03-28 Thread Nina Wu
Hi, Chun-Kuang On Sat, 2021-03-27 at 00:18 +0800, Chun-Kuang Hu wrote: > Hi, Nina: > > Nina Wu 於 2021年3月26日 週五 下午3:34寫道: > > > > From: Nina Wu > > > > To support newer hardware architecture of devapc, > > update device tree bindings. > > > > Signed-off-by: Nina Wu > > --- > > .../devicetree/b

Re: [PATCH bpf-next 5/5] libbpf: add selftests for TC-BPF API

2021-03-28 Thread Andrii Nakryiko
On Sun, Mar 28, 2021 at 6:40 PM Alexei Starovoitov wrote: > > On Sat, Mar 27, 2021 at 09:32:58PM -0700, Andrii Nakryiko wrote: > > > I think it's better to start with new library for tc/xdp and have > > > libbpf as a dependency on that new lib. > > > For example we can add it as subdir in tools/li

Re: [PATCH 1/2] dt-bindings: devapc: Update bindings

2021-03-28 Thread Nina Wu
Hi, Rob I just found that there is the un-merged dependent patch. https://patchwork.kernel.org/project/linux-mediatek/patch/20210324104110.13383-7-chun-jie.c...@mediatek.com/ I will add this to commit message in the next version. Thanks On Fri, 2021-03-26 at 09:10 -0600, Rob Herring wrote: > On

[PATCH V4] exit: trigger panic when global init has exited

2021-03-28 Thread Qianli Zhao
From: Qianli Zhao When init sub-threads running on different CPUs exit at the same time, zap_pid_ns_processe()->BUG() may be happened(timing is as below),move panic() before set PF_EXITING to fix this problem. In addition,if panic() after other sub-threads finish do_exit(), some key variables (t

Re: [PATCH v14 01/11] x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN

2021-03-28 Thread chenzhou
On 2021/3/2 15:43, Baoquan He wrote: > On 02/26/21 at 09:38am, Eric W. Biederman wrote: >> chenzhou writes: >> >>> On 2021/2/25 15:25, Baoquan He wrote: On 02/24/21 at 02:19pm, Catalin Marinas wrote: > On Sat, Jan 30, 2021 at 03:10:15PM +0800, Chen Zhou wrote: >> Move CRASH_ALIGN t

[PATCH v2] powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration

2021-03-28 Thread Chen Huang
When compiling the powerpc with the SMP disabled, it shows the issue: arch/powerpc/kernel/watchdog.c: In function ‘watchdog_smp_panic’: arch/powerpc/kernel/watchdog.c:177:4: error: implicit declaration of function ‘smp_send_nmi_ipi’; did you mean ‘smp_send_stop’? [-Werror=implicit-function-decla

Re: [PATCH v2] arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0

2021-03-28 Thread Shawn Guo
On Wed, Mar 24, 2021 at 02:28:41PM +0100, Oliver Stäbler wrote: > Fix address of the pad control register > (IOMUXC_SW_PAD_CTL_PAD_SD1_DATA0) for SD1_DATA0_GPIO2_IO2. This seems > to be a typo but it leads to an exception when pinctrl is applied due to > wrong memory address access. > > Signed-of

RE: [PATCH] arch: nios2: fix unmet dependency for SERIAL_CORE_CONSOLE

2021-03-28 Thread Tan, Ley Foon
> -Original Message- > From: Julian Braha On Behalf Of Julian Braha > Sent: Saturday, March 27, 2021 2:56 AM > To: Tan, Ley Foon > Cc: linux-kernel@vger.kernel.org; fazilyildi...@gmail.com > Subject: [PATCH] arch: nios2: fix unmet dependency for > SERIAL_CORE_CONSOLE > > When EARLY_PR

linux-next: manual merge of the drm tree with Linus' tree

2021-03-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c between commits: 9adb125dde69 ("drm/amdgpu: re-enable suspend phase 2 for S0ix") 4021229e32bd ("drm/amdgpu/swsmu: skip gfx cgpg on s0ix suspend") 9bb735abcbd8 ("drm/amdgpu: upd

Re: Linux 5.12-rc5

2021-03-28 Thread Guenter Roeck
On Sun, Mar 28, 2021 at 04:05:54PM -0700, Linus Torvalds wrote: > So if rc4 was perhaps a bit smaller than average, it looks like rc5 is > a bigger than average. We're not breaking any records, but it > certainly isn't tiny, and the rc's aren't shrinking. > > I'm not overly worried yet, but let's

[PATCH v2 09/13] dt-bindings: mmc: Add Pensando Elba SoC binding

2021-03-28 Thread Brad Larson
Pensando Elba ARM 64-bit SoC is integrated with this IP Signed-off-by: Brad Larson --- Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdh

Re: [PATCH] powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration

2021-03-28 Thread Chen Huang
在 2021/3/28 19:06, Christophe Leroy 写道: > > > Le 27/03/2021 à 10:49, Chen Huang a écrit : >> When compiling the powerpc with the SMP disabled, it shows the issue: >> >> arch/powerpc/kernel/watchdog.c: In function ‘watchdog_smp_panic’: >> arch/powerpc/kernel/watchdog.c:177:4: error: implicit de

[PATCH v2 05/13] mmc: sdhci-cadence: Add Pensando Elba SoC support

2021-03-28 Thread Brad Larson
Add support for Pensando Elba SoC which explicitly controls byte-lane enables on writes. Refactor to allow platform specific write ops. Signed-off-by: Brad Larson --- drivers/mmc/host/Kconfig | 15 +++ drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-cadence-e

[PATCH v2 07/13] arm64: dts: Add Pensando Elba SoC support

2021-03-28 Thread Brad Larson
Add Pensando common and Elba SoC specific device nodes Signed-off-by: Brad Larson --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/pensando/Makefile | 6 + arch/arm64/boot/dts/pensando/elba-16core.dtsi | 170 ++ .../boot/dts/pensando/elba-asic-comm

[PATCH v2 11/13] dt-bindings: gpio: Add Pensando Elba SoC support

2021-03-28 Thread Brad Larson
The Pensando Elba SoC gpio driver provides control of four chip selects on two SPI busses. Signed-off-by: Brad Larson --- .../bindings/gpio/pensando,elba-spics.yaml| 50 +++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/pensando,

[PATCH v2 12/13] MAINTAINERS: Add entry for PENSANDO

2021-03-28 Thread Brad Larson
Add entry for PENSANDO maintainer and files Signed-off-by: Brad Larson --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fb2a3633b719..272c7a7fde75 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2246,6 +2246,15 @@ S: Maintained W:

[PATCH v2 13/13] gpio: Use linux/gpio/driver.h

2021-03-28 Thread Brad Larson
New drivers should include instead of legacy . Signed-off-by: Brad Larson --- drivers/gpio/gpio-elba-spics.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-elba-spics.c b/drivers/gpio/gpio-elba-spics.c index 351bbaeea033..c0dce5333f35 100644 --- a/driver

[PATCH v2 10/13] dt-bindings: spi: cadence-qspi: Add support for Pensando Elba SoC

2021-03-28 Thread Brad Larson
Add new vendor Pensando Systems Elba SoC compatible string and convert to json-schema. Signed-off-by: Brad Larson --- .../bindings/spi/cadence-quadspi.txt | 68 .../bindings/spi/cadence-quadspi.yaml | 153 ++ 2 files changed, 153 insertions(+), 68 delet

[PATCH v2 00/13] Support Pensando Elba SoC

2021-03-28 Thread Brad Larson
This series enables support for Pensando Elba SoC based platforms. The Elba SoC has the following features: - Sixteen ARM64 A72 cores - Dual DDR 4/5 memory controllers - 32 lanes of PCIe Gen3/4 to the Host - Network interfaces: Dual 200GE, Quad 100GE, 50GE, 25GE, 10GE and also a single 1GE manag

[PATCH v2 03/13] spi: dw: Add support for Pensando Elba SoC SPI

2021-03-28 Thread Brad Larson
The Pensando Elba SoC uses a GPIO based chip select for two DW SPI busses with each bus having two chip selects. Signed-off-by: Brad Larson --- drivers/spi/spi-dw-mmio.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-dw-mmio.c b/d

[PATCH v2 04/13] spidev: Add Pensando CPLD compatible

2021-03-28 Thread Brad Larson
Pensando Elba SoC platforms have a SPI connected CPLD for platform management. Signed-off-by: Brad Larson --- drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 8cb4d923aeaa..8b285852ce82 100644 --- a/drivers/spi/spidev.c ++

[PATCH v2 08/13] dt-bindings: Add pensando vendor prefix

2021-03-28 Thread Brad Larson
Add vendor prefix for Pensando Systems, Inc. Signed-off-by: Brad Larson --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yam

[PATCH v2 06/13] arm64: Add config for Pensando SoC platforms

2021-03-28 Thread Brad Larson
Add ARCH_PENSANDO configuration option for Pensando SoC based platforms. Signed-off-by: Brad Larson --- arch/arm64/Kconfig.platforms | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index cdfd5fed457f..803e7cf1df55 100644 --- a/

[PATCH v2 01/13] gpio: Add Elba SoC gpio driver for spi cs control

2021-03-28 Thread Brad Larson
This GPIO driver is for the Pensando Elba SoC which provides control of four chip selects on two SPI busses. Signed-off-by: Brad Larson --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-elba-spics.c | 114 + 3 f

[PATCH v2 02/13] spi: cadence-quadspi: Add QSPI support for Pensando Elba SoC

2021-03-28 Thread Brad Larson
Add QSPI controller support for Pensando Elba SoC Signed-off-by: Brad Larson --- drivers/spi/spi-cadence-quadspi.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/spi/spi-cadence-quadspi.c b/drivers/spi/spi-cadence-quadspi.c index 52ddb3255d88..4aacb0b2dbc7 100644 --- a/dri

Re: [PATCH v4 1/3] mm/slub: Introduce two counters for partial objects

2021-03-28 Thread Shu Ming
I am not sure how people are using partial object accounting. I believe it is used as a memory usage hint of slabs. On Mon, Mar 22, 2021 at 6:22 PM Vlastimil Babka wrote: > > On 3/22/21 2:46 AM, Shu Ming wrote: > > More precisely, ss will count partial objects like denty objects with > > "/sys/k

[PATCH] implement flush_cache_vmap and flush_cache_vunmap for RISC-V

2021-03-28 Thread Jiuyang Liu
This patch implements flush_cache_vmap and flush_cache_vunmap for RISC-V, since these functions might modify PTE. Without this patch, SFENCE.VMA won't be added to related codes, which might introduce a bug in some out-of-order micro-architecture implementations. Signed-off-by: Jiuyang Liu --- ar

Re: [PATCH 1/2] arm64: dts: ls1028a: move rtc alias to individual boards

2021-03-28 Thread Shawn Guo
On Tue, Mar 23, 2021 at 04:07:56PM +0100, Michael Walle wrote: > The aliases are board-specific and shouldn't be included in the common > SoC dtsi. Move them over to the boards. > > Signed-off-by: Michael Walle Applied both, thanks.

Re: [PATCH v2] kernel/resource: Fix locking in request_free_mem_region

2021-03-28 Thread Alistair Popple
On Friday, 26 March 2021 4:15:36 PM AEDT Balbir Singh wrote: > On Fri, Mar 26, 2021 at 12:20:35PM +1100, Alistair Popple wrote: > > +static int __region_intersects(resource_size_t start, size_t size, > > +unsigned long flags, unsigned long desc) > > +{ > > + struct r

[PATCH net-next v2] net: mscc: ocelot: remove redundant dev_err call in vsc9959_mdio_bus_alloc()

2021-03-28 Thread Huang Guobin
From: Guobin Huang There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Guobin Huang --- drivers/net/dsa/ocelot/felix_vsc9959.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-

[PATCH v2 3/4] hwmon: smpro: Add Ampere's Altra smpro-hwmon driver

2021-03-28 Thread Quan Nguyen
This commit adds support for Ampere SMpro hwmon driver. This driver supports accessing various CPU sensors provided by the SMpro co-processor including temperature, power, voltages, and current. Signed-off-by: Quan Nguyen --- drivers/hwmon/Kconfig | 8 + drivers/hwmon/Makefile | 1

[PATCH v2 4/4] docs: hwmon: (smpro-hwmon) Add documentation

2021-03-28 Thread Quan Nguyen
Add documentation for the Ampere(R)'s Altra(R) SMpro hwmon driver. Signed-off-by: Thu Nguyen Signed-off-by: Quan Nguyen --- Documentation/hwmon/index.rst | 1 + Documentation/hwmon/smpro-hwmon.rst | 101 2 files changed, 102 insertions(+) create mode 100644

[PATCH v2 2/4] mfd: simple-mfd-i2c: Adds Ampere's Altra SMpro support

2021-03-28 Thread Quan Nguyen
Adds an MFD driver for SMpro found on the Mt.Jade hardware reference platform with Ampere's Altra processor family. Signed-off-by: Quan Nguyen --- drivers/mfd/Kconfig | 10 ++ drivers/mfd/simple-mfd-i2c.c | 6 ++ 2 files changed, 16 insertions(+) diff --git a/drivers/mfd/K

[PATCH v2 0/4] Add Ampere's Altra SMPro hwmon driver

2021-03-28 Thread Quan Nguyen
This patch series adds support for Ampere SMpro hwmon driver. This driver supports accessing various CPU sensors provided by the SMpro co-processor including temperature, power, voltages, and current found on Ampere Altra processor family. v2: + Used 'struct of_device_id's .data attribute [Lee J

[PATCH v2 1/4] dt-bindings: mfd: Add bindings for Ampere Altra SMPro drivers

2021-03-28 Thread Quan Nguyen
Adds device tree bindings for SMPro drivers found on the Mt.Jade hardware reference platform with Ampere's Altra Processor family. Signed-off-by: Quan Nguyen --- .../bindings/hwmon/ampere,ac01-hwmon.yaml | 27 ++ .../devicetree/bindings/mfd/ampere,smpro.yaml | 82 +++ 2 f

[PATCH v2 6/6] i2c: mpc: Interrupt driven transfer

2021-03-28 Thread Chris Packham
The fsl-i2c controller will generate an interrupt after every byte transferred. Make use of this interrupt to drive a state machine which allows the next part of a transfer to happen as soon as the interrupt is received. This is particularly helpful with SMBUS devices like the LM81 which will timeo

[PATCH v2 4/6] i2c: mpc: make interrupt mandatory and remove polling code

2021-03-28 Thread Chris Packham
All the in-tree dts files that use one of the compatible strings from i2c-mpc.c provide an interrupt property. By making this mandatory we can simplify the code. Signed-off-by: Chris Packham --- drivers/i2c/busses/i2c-mpc.c | 51 ++-- 1 file changed, 19 insertions

[PATCH v2 5/6] i2c: mpc: use device managed APIs

2021-03-28 Thread Chris Packham
Use device managed functions an clean up error handling. Signed-off-by: Chris Packham --- drivers/i2c/busses/i2c-mpc.c | 46 ++-- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 5b74

[PATCH v2 3/6] i2c: mpc: Make use of i2c_recover_bus()

2021-03-28 Thread Chris Packham
Move the existing calls of mpc_i2c_fixup() to a recovery function registered via bus_recovery_info. This makes it more obvious that recovery is supported and allows for a future where recovery is triggered by the i2c core. Signed-off-by: Chris Packham --- drivers/i2c/busses/i2c-mpc.c | 18 ++

[PATCH v2 0/6] i2c: mpc: Refactor to improve responsiveness

2021-03-28 Thread Chris Packham
The "meat" of this series is in the last patch which is the change that actually starts making use of the interrupts to drive a state machine. The dt-bindings patches can probably go in at any time, the rest of the series isn't dependent on them. I've tested on T2081 and P2041 based systems with a

[PATCH v2 1/6] dt-bindings: i2c-mpc: Document interrupt property as required

2021-03-28 Thread Chris Packham
All of the in-tree device-trees that use the one of the compatible strings from i2c-mpc.c supply an interrupts property. Make this property mandatory to aid refactoring the driver. Signed-off-by: Chris Packham --- Documentation/devicetree/bindings/i2c/i2c-mpc.txt | 6 +++--- 1 file changed, 3 in

[PATCH v2 2/6] dt-bindings: i2c: convert i2c-mpc to json-schema

2021-03-28 Thread Chris Packham
Convert i2c-mpc to YAML. Signed-off-by: Chris Packham --- Notes: Changes in v2: - Rework compatible validation - Remove irrelevant i2ccontrol from example .../devicetree/bindings/i2c/i2c-mpc.txt | 62 - .../devicetree/bindings/i2c/i2c-mpc.yaml | 91 ++

Re: [PATCH v2] arm64: dts: imx8mq-kontron-pitx-imx8m: pass phy reset delays

2021-03-28 Thread Shawn Guo
On Tue, Mar 23, 2021 at 03:00:21PM +0100, Heiko Thiery wrote: > The TI DP83867 PHY datasheet says: > T1: Post RESET stabilization time == 195us > T3: Hardware configuration pins transition to output drivers == 64us > T4: RESET pulse width == 1us > > So with a little overhead set 'reset-assert-us'

[PATCH net-next v2] net: stmmac: remove redundant dev_err call in qcom_ethqos_probe()

2021-03-28 Thread Huang Guobin
From: Guobin Huang There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Guobin Huang --- .../net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c | 1 - 1 file changed, 1 deletion(-) dif

[PATCH net-next v2] net: axienet: Remove redundant dev_err call in axienet_probe()

2021-03-28 Thread Huang Guobin
From: Guobin Huang There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Guobin Huang --- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 1 - 1 file changed, 1 deletion(-) diff -

Re: [PATCH bpf-next 5/5] libbpf: add selftests for TC-BPF API

2021-03-28 Thread Kumar Kartikeya Dwivedi
On Mon, Mar 29, 2021 at 06:56:02AM IST, Alexei Starovoitov wrote: > This is up to you. I'm trying to understand the motivation for *_block() apis. > I'm not taking a stance for/against them. The block APIs simply attach to a different shared filter block, so in that sense they just forward to the

Re: [PATCH v6 1/3] dt-bindings: Add vendor prefix for reMarkable

2021-03-28 Thread Shawn Guo
On Mon, Mar 22, 2021 at 09:09:25AM -0400, Alistair Francis wrote: > reMarkable AS produces eInk tablets > > Signed-off-by: Alistair Francis Applied all, thanks.

Re: [PATCH bpf-next 5/5] libbpf: add selftests for TC-BPF API

2021-03-28 Thread Alexei Starovoitov
On Sat, Mar 27, 2021 at 09:32:58PM -0700, Andrii Nakryiko wrote: > > I think it's better to start with new library for tc/xdp and have > > libbpf as a dependency on that new lib. > > For example we can add it as subdir in tools/lib/bpf/. > > > > Similarly I think integerating static linking into li

[PATCH net-next v2] net: mdio: Remove redundant dev_err call in mdio_mux_iproc_probe()

2021-03-28 Thread Huang Guobin
From: Guobin Huang There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Guobin Huang --- drivers/net/mdio/mdio-mux-bcm-iproc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)

Re: [PATCH v2] kernel/resource: Fix locking in request_free_mem_region

2021-03-28 Thread Alistair Popple
On Friday, 26 March 2021 7:57:51 PM AEDT David Hildenbrand wrote: > On 26.03.21 02:20, Alistair Popple wrote: > > request_free_mem_region() is used to find an empty range of physical > > addresses for hotplugging ZONE_DEVICE memory. It does this by iterating > > over the range of possible addresses

Re: [PATCH] arm64: configs: enable FlexTimer alarm timer

2021-03-28 Thread Shawn Guo
On Sat, Mar 20, 2021 at 07:34:36PM +0100, Michael Walle wrote: > This driver is used on Layerscape SoCs to wake up the system from > standby. It works in conjunction with the RCPM driver. The latter is > only available as a builtin. > > Signed-off-by: Michael Walle Applied, thanks.

RE: [PATCH v3 09/17] nios2: Convert to GENERIC_CMDLINE

2021-03-28 Thread Tan, Ley Foon
> -Original Message- > From: Christophe Leroy > Sent: Friday, March 26, 2021 9:45 PM > To: w...@kernel.org; danie...@cisco.com; r...@kernel.org; > dan...@gimpelevich.san-francisco.ca.us > Cc: linux-a...@vger.kernel.org; devicet...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; linu

Re: [PATCH 1/1] firmware: imx: scu-pd: add missed ADC1 pd

2021-03-28 Thread Shawn Guo
On Fri, Mar 19, 2021 at 04:23:52PM -0500, Frank Li wrote: > ADC1 is not defined in pd driver on 8QM. > > Signed-off-by: Frank Li > Reviewed-by: Dong Aisheng Applied, thanks.

linux-next: manual merge of the net-next tree with the bpf tree

2021-03-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: include/linux/bpf.h between commit: 861de02e5f3f ("bpf: Take module reference for trampoline in module") from the bpf tree and commit: 69c087ba6225 ("bpf: Add bpf_for_each_map_elem() helper") from the net-next tre

Re: [PATCH bpf-next 5/5] libbpf: add selftests for TC-BPF API

2021-03-28 Thread Alexei Starovoitov
On Sat, Mar 27, 2021 at 04:17:16PM +0100, Toke Høiland-Jørgensen wrote: > Alexei Starovoitov writes: > > > On Thu, Mar 25, 2021 at 05:30:03PM +0530, Kumar Kartikeya Dwivedi wrote: > >> This adds some basic tests for the low level bpf_tc_* API and its > >> bpf_program__attach_tc_* wrapper on top.

[PATCH v2 4/4] erofs: add on-disk compression configurations

2021-03-28 Thread Gao Xiang
From: Gao Xiang Add a bitmap for available compression algorithms and a variable-sized on-disk table for compression options in preparation for upcoming big pcluster and LZMA algorithm, which follows the end of super block. To parse the compression options, the bitmap is scanned one by one. For

[PATCH v2 3/4] erofs: introduce on-disk lz4 fs configurations

2021-03-28 Thread Gao Xiang
From: Gao Xiang Introduce z_erofs_lz4_cfgs to store all lz4 configurations. Currently it's only max_distance, but will be used for new features later. Reviewed-by: Chao Yu Signed-off-by: Gao Xiang --- fs/erofs/decompressor.c | 15 +-- fs/erofs/erofs_fs.h | 6 ++ fs/erofs/

[PATCH v2 2/4] erofs: support adjust lz4 history window size

2021-03-28 Thread Gao Xiang
From: Huang Jianan lz4 uses LZ4_DISTANCE_MAX to record history preservation. When using rolling decompression, a block with a higher compression ratio will cause a larger memory allocation (up to 64k). It may cause a large resource burden in extreme cases on devices with small memory and a large

[PATCH v2 1/4] erofs: introduce erofs_sb_has_xxx() helpers

2021-03-28 Thread Gao Xiang
From: Gao Xiang Introduce erofs_sb_has_xxx() to make long checks short, especially for later big pcluster & LZMA features. Reviewed-by: Chao Yu Signed-off-by: Gao Xiang --- fs/erofs/decompressor.c | 3 +-- fs/erofs/internal.h | 9 + fs/erofs/super.c| 2 +- 3 files changed,

[PATCH v2 0/4] erofs: introduce on-disk compression configurations

2021-03-28 Thread Gao Xiang
From: Gao Xiang Hi folks, When we provides support for different algorithms or big pcluster, it'd be necessary to record some configuration in the per-fs basis. For example, when big pcluster feature for lz4 is enabled, we need to know the largest pclustersize in the whole fs instance to adjust

RE: Re: [PATCH v3 2/3] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-03-28 Thread Richard Zhu
> -Original Message- > From: Lucas Stach > Sent: Friday, March 26, 2021 5:40 PM > To: Richard Zhu ; andrew.smir...@gmail.com; > shawn...@kernel.org; k...@linux.com; bhelg...@google.com; > ste...@agner.ch; lorenzo.pieral...@arm.com > Cc: linux-...@vger.kernel.org; dl-linux-imx ; > linux-arm

Re: [PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks gw7901 dts support

2021-03-28 Thread Shawn Guo
On Fri, Mar 19, 2021 at 01:50:41PM -0700, Tim Harvey wrote: > The Gateworks GW7901 is an ARM based single board computer (SBC) > featuring: > - i.MX8M Mini SoC > - LPDDR4 DRAM > - eMMC FLASH > - SPI FRAM > - Gateworks System Controller (GSC) > - Atmel ATECC Crypto Authentication > - USB 2.0

Re: [PATCH] drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit

2021-03-28 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sun, 28 Mar 2021 00:50:08 -0700 you wrote: > In pvc_xmit, if __skb_pad(skb, pad, false) failed, it will free > the skb in the first time and goto drop. But the same skb is freed > by kfree_skb(skb) in the second time in drop.

<    1   2   3   4   5   6   >