Re: [External] Re: [PATCH v2 03/19] mm/hugetlb: Introduce a new config HUGETLB_PAGE_FREE_VMEMMAP

2020-10-29 Thread Muchun Song
On Thu, Oct 29, 2020 at 6:29 PM Oscar Salvador wrote: > > On Mon, Oct 26, 2020 at 10:50:58PM +0800, Muchun Song wrote: > > The purpose of introducing HUGETLB_PAGE_FREE_VMEMMAP is to configure > > whether to enable the feature of freeing unused vmemmap associated > > with HugeTLB pages. Now only su

RE: [PATCH] MAINTAINERS: rectify DELL WMI SYSMAN DRIVERS section

2020-10-29 Thread Bharathi, Divya
> > Commit e8a60aa7404b ("platform/x86: Introduce support for Systems > Management Driver over WMI for Dell Systems") added a new section DELL > WMI SYSMAN DRIVERS in MAINTAINERS, but slipped in a typo. > > Hence, ./scripts/get_maintainer.pl --self-test=patterns complains: > > warning: no file

Re: [PATCH 2/4] arm64: hide more compat_vdso code

2020-10-29 Thread Arnd Bergmann
On Mon, Oct 26, 2020 at 5:55 PM Mark Rutland wrote: > On Mon, Oct 26, 2020 at 05:03:29PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > When CONFIG_COMPAT_VDSO is disabled, we get a warning > > about a potential out-of-bounds access: > > > > arch/arm64/kernel/vdso.c: In function 'aar

Re: [PATCH] arm64: NUMA: Kconfig: Increase max number of nodes

2020-10-29 Thread Catalin Marinas
On Wed, Oct 21, 2020 at 11:29:41PM +0100, Valentin Schneider wrote: > On 21/10/20 12:02, Jonathan Cameron wrote: > > On Wed, 21 Oct 2020 09:43:21 +0530 > > Anshuman Khandual wrote: > >> Agreed. Do we really need to match X86 right now ? Do we really have > >> systems that has 64 nodes ? We should

Re: [PATCH net-next 1/2] net: phy: realtek: Add phy ids for RTL8226-CG/RTL8226B-CG

2020-10-29 Thread Andrew Lunn
On Thu, Oct 29, 2020 at 08:07:57PM +0800, Willy Liu wrote: > Realtek single-port 2.5Gbps Ethernet PHY ids as below: > RTL8226-CG: 0x001cc800(ES)/0x001cc838(MP) > RTL8226B-CG/RTL8221B-CG: 0x001cc840(ES)/0x001cc848(MP) > ES: engineer sample > MP: mass production > > Since above PHYs are already in m

[PATCH v7 2/3] pinctrl: pinctrl-microchip-sgpio: Add pinctrl driver for Microsemi Serial GPIO

2020-10-29 Thread Lars Povlsen
This adds a pinctrl driver for the Microsemi/Microchip Serial GPIO (SGPIO) device used in various SoC's. Signed-off-by: Lars Povlsen --- MAINTAINERS | 1 + drivers/pinctrl/Kconfig | 18 + drivers/pinctrl/Makefile | 1 + driver

Re: [PATCH] ath10k: Introduce a devicetree quirk to skip host cap QMI requests

2020-10-29 Thread Bjorn Andersson
On Tue 29 Sep 14:08 CDT 2020, Rob Herring wrote: > On Fri, Sep 25, 2020 at 11:59:41PM +0530, Amit Pundir wrote: > > There are firmware versions which do not support host capability > > QMI request. We suspect either the host cap is not implemented or > > there may be firmware specific issues, but

[PATCH v7 1/3] dt-bindings: pinctrl: Add bindings for pinctrl-microchip-sgpio driver

2020-10-29 Thread Lars Povlsen
This adds DT bindings for the Microsemi/Microchip SGPIO controller, bindings microchip,sparx5-sgpio, mscc,ocelot-sgpio and mscc,luton-sgpio. Signed-off-by: Lars Povlsen Reviewed-by: Rob Herring --- .../pinctrl/microchip,sparx5-sgpio.yaml | 145 ++ 1 file changed, 145 inser

[PATCH v7 3/3] arm64: dts: sparx5: Add SGPIO devices

2020-10-29 Thread Lars Povlsen
This adds SGPIO devices for the Sparx5 SoC and configures it for the applicable reference boards. Signed-off-by: Lars Povlsen --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 91 ++ .../boot/dts/microchip/sparx5_pcb125.dts | 5 + .../dts/microchip/sparx5_pcb134_board.dtsi| 258

[PATCH v7 0/3] Adding support for Microchip/Microsemi serial GPIO controller

2020-10-29 Thread Lars Povlsen
The series add support for the serial GPIO controller used by Microchip Sparx5, as well as (MSCC) ocelot/jaguar2 SoCs. v7 changes: - Fixed wrong sizeof in pin string name template. (Andy) - Collapsed sgpio_input_get() to one liner. (Andy) - Eliminated unneeded variable in microchip_sgpio_get_value

Re: [PATCH 5/9] kprobes/ftrace: Add recursion protection to the ftrace callback

2020-10-29 Thread Steven Rostedt
On Thu, 29 Oct 2020 16:58:03 +0900 Masami Hiramatsu wrote: > Hi Steve, > > On Wed, 28 Oct 2020 07:52:49 -0400 > Steven Rostedt wrote: > > > From: "Steven Rostedt (VMware)" > > > > If a ftrace callback does not supply its own recursion protection and > > does not set the RECURSION_SAFE flag i

[PATCH v3 1/6] dt-bindings: pci: drop samsung,exynos5440-pcie binding

2020-10-29 Thread Marek Szyprowski
Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Drop the obsolete bindings for exynos5440-pcie. Signed-off-by: Marek Szyprowski Reviewed-by: Rob Herring Reviewed-by: Krzysztof Kozlowski Reviewed-by: Jingoo Han --- .../bindings/pci/sam

Re: [External] Re: [PATCH v2 04/19] mm/hugetlb: Introduce nr_free_vmemmap_pages in the struct hstate

2020-10-29 Thread Muchun Song
On Thu, Oct 29, 2020 at 9:26 PM Oscar Salvador wrote: > > On Mon, Oct 26, 2020 at 10:50:59PM +0800, Muchun Song wrote: > > If the size of hugetlb page is 2MB, we need 512 struct page structures > > (8 pages) to be associated with it. As far as I know, we only use the > > first 4 struct page struct

Re: [PATCH v2] input: add 2 kind of switch

2020-10-29 Thread Barnabás Pőcze
Hi > [...] > diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h > index 5b08a473cdba..897f5a3e7721 100644 > --- a/include/linux/mod_devicetable.h > +++ b/include/linux/mod_devicetable.h > @@ -320,7 +320,7 @@ struct pcmcia_device_id { > #define INPUT_DEVICE_ID_LED_MAX

[PATCH v3 5/6] pci: dwc: pci-exynos: rework the driver to support Exynos5433 variant

2020-10-29 Thread Marek Szyprowski
From: Jaehoon Chung Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Rework this driver to support DWC PCIe variant found in the Exynos5433 SoCs. The main difference in Exynos5433 variant is lack of the MSI support (the MSI interrupt is n

[gustavoars-linux:testing/uapi/fam1/ipv4_6] BUILD SUCCESS a841122b213f5a2106a9321e905da233c8a86390

2020-10-29 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a002-20201029 i386 randconfig-a005-20201029 i386 randconfig-a003-20201029 i386 randconfig

[PATCH v3 6/6] arm64: dts: exynos: add the WiFi/PCIe support to TM2(e) boards

2020-10-29 Thread Marek Szyprowski
From: Jaehoon Chung Add the nodes relevant to PCIe PHY and PCIe support. PCIe is used for the WiFi interface (Broadcom Limited BCM4358 802.11ac Wireless LAN SoC). Signed-off-by: Jaehoon Chung [mszyprow: rewrote commit message, reworked board/generic dts/dtsi split] Signed-off-by: Marek Szyprows

[PATCH v2] getdents.2: Use appropriate types

2020-10-29 Thread Alejandro Colomar
getdents(): This function has no glibc wrapper. As such, we should use the same types the Linux kernel uses: Use 'long' as the return type. getdents64(): The glibc wrapper uses ssize_t for the return type, and 'size_t' for the count argument. Signed-off-by: Alejandro Colomar --- man2/getdents.2

[PATCH v3 2/6] dt-bindings: pci: add the samsung,exynos-pcie binding

2020-10-29 Thread Marek Szyprowski
Add dt-bindings for the Samsung Exynos PCIe controller (Exynos5433 variant). Based on the text dt-binding posted by Jaehoon Chung. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski --- .../bindings/pci/samsung,exynos-pcie.yaml | 119 ++ 1 file changed, 119 ins

[PATCH v3 0/6] Add DW PCIe support for Exynos5433 SoCs

2020-10-29 Thread Marek Szyprowski
Dear All, This patchset is a resurrection of the DW PCIe support for the Exynos5433 SoCs posted long time ago here: https://lkml.org/lkml/2016/12/26/6 and later here: https://lkml.org/lkml/2017/12/21/296 . In meantime the support for the Exynos5440 SoCs has been completely dropped from mainline k

Re: [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host

2020-10-29 Thread Geert Uytterhoeven
On Fri, Oct 23, 2020 at 6:36 PM Lad Prabhakar wrote: > Drop unused members dev and base from struct rcar_pcie_host. > > Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-29 Thread Enrico Weigelt, metux IT consult
On 17.10.20 18:51, Eric W. Biederman wrote: Hi folks, >> I believe subusers aren't meant for tyical containers (like docker or >> lxc), but unprivileged user programs that wanna have further isolation >> for subprocesses (eg. a browser's renderer or js engine). >> >> Correct me if I'm wrong. > >

[PATCH v3 4/6] phy: samsung: phy-exynos-pcie: rework driver to support Exynos5433 PCIe PHY

2020-10-29 Thread Marek Szyprowski
From: Jaehoon Chung Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Rework this driver to support PCIe PHY variant found in the Exynos5433 SoCs. Signed-off-by: Jaehoon Chung [mszyprow: reworked the driver to support only Exynos5433 vari

Re: [PATCH v20 11/20] mm/lru: move lock into lru_note_cost

2020-10-29 Thread Johannes Weiner
On Thu, Oct 29, 2020 at 06:44:56PM +0800, Alex Shi wrote: > We have to move lru_lock into lru_note_cost, since it cycle up on memcg > tree, for future per lruvec lru_lock replace. It's a bit ugly and may > cost a bit more locking, but benefit from multiple memcg locking could > cover the lost. > >

Re: [PATCH v20 01/20] mm/memcg: warning on !memcg after readahead page charged

2020-10-29 Thread Johannes Weiner
On Thu, Oct 29, 2020 at 06:44:46PM +0800, Alex Shi wrote: > Add VM_WARN_ON_ONCE_PAGE() macro. > > Since readahead page is charged on memcg too, in theory we don't have to > check this exception now. Before safely remove them all, add a warning > for the unexpected !memcg. > > Signed-off-by: Alex

Re: [PATCH v7 02/12] dt-bindings: leds: Convert pwm to yaml

2020-10-29 Thread Russell King - ARM Linux admin
On Wed, Oct 28, 2020 at 09:39:54PM +0100, Alexander Dahl wrote: > Hello, > > Peter, Russel, could you please give your Acked-by or Signed-off-by on > this patch? Your ack is needed, because the license is now explicitly > set (it was not explicit before), and you were the contributors to > this b

[PATCH 2/2] arm64: dts: renesas: r8a77961: ulcb-kf: Initial device tree

2020-10-29 Thread Eugeniu Rosca
Create a dedicated DTB for M3-ES3.0 + ULCB + Kingfisher combo. Inspire from the pre-existing ULCB-KF device trees: $ ls -1 arch/arm64/boot/dts/renesas/*ulcb-kf.dts arch/arm64/boot/dts/renesas/r8a77950-ulcb-kf.dts arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dts arch/arm64/boot/dts/renesas/r8a77960

[PATCH 1/2] arm64: dts: renesas: r8a77961: Add CAN{0,1} placeholder nodes

2020-10-29 Thread Eugeniu Rosca
With the same background and purpose as described in v4.20-rc1 commit 92bc66bfce99cd ("arm64: dts: renesas: r8a77965: Add CAN{0,1} placeholder nodes"), add can0 and can1 placeholder nodes. Signed-off-by: Eugeniu Rosca --- arch/arm64/boot/dts/renesas/r8a77961.dtsi | 10 ++ 1 file changed,

Re: [PATCH v20 02/20] mm/memcg: bail early from swap accounting if memcg disabled

2020-10-29 Thread Johannes Weiner
On Thu, Oct 29, 2020 at 06:44:47PM +0800, Alex Shi wrote: > If we disabled memcg by cgroup_disable=memory, page->memcg will be NULL > and so the charge is skipped and that will trigger a warning like below. > Let's return from the funcs earlier. > > anon flags:0x5005b48008000d(locked|uptodate|dir

[PATCH v3 3/6] dt-bindings: phy: add the samsung,exynos-pcie-phy binding

2020-10-29 Thread Marek Szyprowski
Add dt-bindings for the Samsung Exynos PCIe PHY controller (Exynos5433 variant). Based on the text dt-binding posted by Jaehoon Chung. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski --- .../bindings/phy/samsung,exynos-pcie-phy.yaml | 51 +++ 1 file changed, 51

Re: [RESEND PATCH v2] mtd: spi-nor: Fix address width on flash chips > 16MB

2020-10-29 Thread Vignesh Raghavendra
On Tue, 6 Oct 2020 15:23:46 +0200, Bert Vermeulen wrote: > If a flash chip has more than 16MB capacity but its BFPT reports > BFPT_DWORD1_ADDRESS_BYTES_3_OR_4, the spi-nor framework defaults to 3. > > The check in spi_nor_set_addr_width() doesn't catch it because addr_width > did get set. This fix

[PATCH, net -> staging, v2] wimax: move out to staging

2020-10-29 Thread Arnd Bergmann
From: Arnd Bergmann There are no known users of this driver as of October 2020, and it will be removed unless someone turns out to still need it in future releases. According to https://en.wikipedia.org/wiki/List_of_WiMAX_networks, there have been many public wimax networks, but it appears that

Re: [PATCH] powerpc/smp: Move rcu_cpu_starting() earlier

2020-10-29 Thread Qian Cai
On Wed, 2020-10-28 at 17:31 -0700, Paul E. McKenney wrote: > On Thu, Oct 29, 2020 at 11:09:07AM +1100, Michael Ellerman wrote: > > Qian Cai writes: > > > The call to rcu_cpu_starting() in start_secondary() is not early enough > > > in the CPU-hotplug onlining process, which results in lockdep spla

Re: [PATCH v2] sched/fair: prefer prev cpu in asymmetric wakeup path

2020-10-29 Thread Vincent Guittot
On Thu, 29 Oct 2020 at 13:17, Tao Zhou wrote: > > Hi Vincent, > > On Wed, Oct 28, 2020 at 06:44:12PM +0100, Vincent Guittot wrote: > > During fast wakeup path, scheduler always check whether local or prev cpus > > are good candidates for the task before looking for other cpus in the > > domain. Wi

Re: [PATCH net-next 1/2] net: phy: realtek: Add phy ids for RTL8226-CG/RTL8226B-CG

2020-10-29 Thread Heiner Kallweit
On 29.10.2020 14:37, Andrew Lunn wrote: > On Thu, Oct 29, 2020 at 08:07:57PM +0800, Willy Liu wrote: >> Realtek single-port 2.5Gbps Ethernet PHY ids as below: >> RTL8226-CG: 0x001cc800(ES)/0x001cc838(MP) >> RTL8226B-CG/RTL8221B-CG: 0x001cc840(ES)/0x001cc848(MP) >> ES: engineer sample >> MP: mass pr

Re: [PATCH v20 03/20] mm/thp: move lru_add_page_tail func to huge_memory.c

2020-10-29 Thread Johannes Weiner
On Thu, Oct 29, 2020 at 06:44:48PM +0800, Alex Shi wrote: > The func is only used in huge_memory.c, defining it in other file with a > CONFIG_TRANSPARENT_HUGEPAGE macro restrict just looks weird. > > Let's move it THP. And make it static as Hugh Dickin suggested. > > Signed-off-by: Alex Shi > Re

Re: WARNING: suspicious RCU usage in ovs_flow_tbl_masks_cache_resize

2020-10-29 Thread Eelco Chaudron
FYI, I have a patch queued up for testing //Eelco On 28 Oct 2020, at 16:33, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:6daa1da4 chelsio/chtls: fix memory leaks in CPL handlers git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=10de

Re: [PATCH 1/4] dt-bindings: opp: Introduce opp-sustainable bindings

2020-10-29 Thread Nishanth Menon
On 13:33-20201029, Lukasz Luba wrote: > > > On 10/29/20 12:59 PM, Nishanth Menon wrote: > > On 10:04-20201029, Lukasz Luba wrote: > > > > > > > > > On 10/28/20 9:47 PM, Nishanth Menon wrote: > > > > On 14:08-20201028, Lukasz Luba wrote: &

Re: [PATCH 2/4] misc/pvpanic: Add pvpanic driver framework

2020-10-29 Thread kernel test robot
when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Mihai-Carabas/misc-pvpanic-preparing-for-pvpanic-driver-framework/20201029-204304 base: https://git.kernel.org/pub/scm/linux/

Re: [PATCH] iommu/rockchip: check return value of of_find_device_by_node() in rk_iommu_of_xlate()

2020-10-29 Thread Robin Murphy
On 2020-10-29 13:19, yukuai (C) wrote: On 2020/10/29 18:08, Robin Murphy wrote: On 2020-10-29 09:22, Yu Kuai wrote: If of_find_device_by_node() failed in rk_iommu_of_xlate(), null pointer dereference will be triggered. Thus return error code if of_find_device_by_node() failed. How can that h

Re: [PATCH 6/9] livepatch/ftrace: Add recursion protection to the ftrace callback

2020-10-29 Thread Miroslav Benes
On Wed, 28 Oct 2020, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > If a ftrace callback does not supply its own recursion protection and > does not set the RECURSION_SAFE flag in its ftrace_ops, then ftrace will > make a helper trampoline to do so before calling the callback instea

Re: [PATCH v20 04/20] mm/thp: use head for head page in lru_add_page_tail

2020-10-29 Thread Johannes Weiner
On Thu, Oct 29, 2020 at 06:44:49PM +0800, Alex Shi wrote: > Since the first parameter is only used by head page, it's better to make > it explicit. > > Signed-off-by: Alex Shi > Reviewed-by: Kirill A. Shutemov > Acked-by: Hugh Dickins > Cc: Andrew Morton > Cc: Johannes Weiner > Cc: Matthew Wi

Re: [PATCH v2] input: add 2 kind of switch

2020-10-29 Thread gre...@linuxfoundation.org
On Thu, Oct 29, 2020 at 01:41:57PM +, Barnabás Pőcze wrote: > Hi > > > [...] > > diff --git a/include/linux/mod_devicetable.h > > b/include/linux/mod_devicetable.h > > index 5b08a473cdba..897f5a3e7721 100644 > > --- a/include/linux/mod_devicetable.h > > +++ b/include/linux/mod_devicetable.h >

Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used ring

2020-10-29 Thread Arnd Bergmann
On Thu, Oct 29, 2020 at 2:35 PM Dixit, Ashutosh wrote: > On Thu, 29 Oct 2020 04:53:09 -0700, Arnd Bergmann wrote: > > > > - PCIe endpoint, with the endpoint controlling the virtio configuration > > - PCIe endpoint, with the host (the side that has the pci_driver) > > controlling > > the virtio

Re: [PATCH 2/4] arm64: hide more compat_vdso code

2020-10-29 Thread Dmitry Safonov
On 10/29/20 1:35 PM, Arnd Bergmann wrote: > On Mon, Oct 26, 2020 at 5:55 PM Mark Rutland wrote: >> On Mon, Oct 26, 2020 at 05:03:29PM +0100, Arnd Bergmann wrote: >>> From: Arnd Bergmann >>> >>> When CONFIG_COMPAT_VDSO is disabled, we get a warning >>> about a potential out-of-bounds access: >>> >

Re: [PATCH v2] getdents.2: Use appropriate types

2020-10-29 Thread Michael Kerrisk (man-pages)
Hi Alex, On Thu, 29 Oct 2020 at 14:42, Alejandro Colomar wrote: > > getdents(): > This function has no glibc wrapper. > As such, we should use the same types the Linux kernel uses: > Use 'long' as the return type. > > getdents64(): > The glibc wrapper uses ssize_t for the return type, > and 'size

Re: [PATCH] mtd: spi-nor: Don't copy self-pointing struct around

2020-10-29 Thread Vignesh Raghavendra
On Mon, 5 Oct 2020 10:48:03 +0200, Alexander A Sverdlin wrote: > spi_nor_parse_sfdp() modifies the passed structure so that it points to > itself (params.erase_map.regions to params.erase_map.uniform_region). This > makes it impossible to copy the local struct anywhere else. > > Therefore only use

Re: [PATCH v2] input: add 2 kind of switch

2020-10-29 Thread gre...@linuxfoundation.org
On Thu, Oct 29, 2020 at 10:27:47PM +0900, HyungJae Im wrote: > From: "hj2.im" > Date: Thu, 29 Oct 2020 22:11:24 +0900 > Subject: [PATCH v2] input: add 2 kind of switch Why is this in the body of that patch? > > We need support to various accessories on the device, > some switch does not exist i

Re: [PATCH v2] sched/fair: prefer prev cpu in asymmetric wakeup path

2020-10-29 Thread Vincent Guittot
On Thu, 29 Oct 2020 at 12:16, Valentin Schneider wrote: > > > Hi Vincent, > > On 28/10/20 17:44, Vincent Guittot wrote: > > During fast wakeup path, scheduler always check whether local or prev cpus > > are good candidates for the task before looking for other cpus in the > > domain. With > > co

Re: [seccomp] Request for a "enable on execve" mode for Seccomp filters

2020-10-29 Thread Rich Felker
On Thu, Oct 29, 2020 at 07:58:42AM +, Sargun Dhillon wrote: > A mechanism for the thing listening on the listener FD to turn itself on or > off > and indicate that it is no longer interested in receiving notifications and > to > always continue / return an error code, or that it has taken a

Re: [PATCH 2/2] pinctrl: qcom: Add sc7280 pinctrl driver

2020-10-29 Thread Linus Walleij
On Fri, Oct 16, 2020 at 8:59 AM Rajendra Nayak wrote: > Add initial pinctrl driver to support pin configuration with > pinctrl framework for SC7280 SoC > > Signed-off-by: Rajendra Nayak This came in during the merge window I think, waiting for Bjorn to have a look at it. Yours, Linus Walleij

INFO: task hung in __do_sys_reboot (2)

2020-10-29 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3650b228 Linux 5.10-rc1 git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=141b20c050 kernel config: https://syzkaller.appspot.com/x/

Re: [PATCH v20 05/20] mm/thp: Simplify lru_add_page_tail()

2020-10-29 Thread Johannes Weiner
On Thu, Oct 29, 2020 at 06:44:50PM +0800, Alex Shi wrote: > Simplify lru_add_page_tail(), there are actually only two cases possible: > split_huge_page_to_list(), with list supplied and head isolated from lru > by its caller; or split_huge_page(), with NULL list and head on lru - > because when hea

drivers/accessibility/speakup/speakup_dtlk.c:334:28: sparse: sparse: cast to restricted __le16

2020-10-29 Thread kernel test robot
config: m68k-randconfig-s031-20201029 (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse

Re: [PATCH 3/3] blk-mq: Use llist_head for blk_cpu_done

2020-10-29 Thread Christoph Hellwig
On Thu, Oct 29, 2020 at 02:12:12PM +0100, Sebastian Andrzej Siewior wrote: > Are there many drivers completing the SCSI requests in preemtible > context? In this case it would be more efficient to complete the request > directly (usb_stor_control_thread() goes to sleep after that anyway and > there

[GIT PULL] afs fixes

2020-10-29 Thread David Howells
Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20201029 for you to fetch changes up to 2d9900f26ad61e63a34f239bc76c80d2f8a6ff41: afs: Fix dirty-region encoding on ppc32

Re: [PATCH 2/2] arm64: dts: renesas: r8a77961: ulcb-kf: Initial device tree

2020-10-29 Thread Geert Uytterhoeven
Hi Eugeniu, On Thu, Oct 29, 2020 at 2:38 PM Eugeniu Rosca wrote: > Create a dedicated DTB for M3-ES3.0 + ULCB + Kingfisher combo. > Inspire from the pre-existing ULCB-KF device trees: > > $ ls -1 arch/arm64/boot/dts/renesas/*ulcb-kf.dts > arch/arm64/boot/dts/renesas/r8a77950-ulcb-kf.dts > arch/ar

Re: [PATCH] arm64/smp: Move rcu_cpu_starting() earlier

2020-10-29 Thread Paul E. McKenney
On Thu, Oct 29, 2020 at 09:10:45AM +, Will Deacon wrote: > On Wed, Oct 28, 2020 at 02:26:14PM -0400, Qian Cai wrote: > > The call to rcu_cpu_starting() in secondary_start_kernel() is not early > > enough in the CPU-hotplug onlining process, which results in lockdep > > splats as follows: > > >

Re: KASAN: out-of-bounds Read in __switch_to (2)

2020-10-29 Thread syzbot
syzbot suspects this issue was fixed by commit: commit a49145acfb975d921464b84fe00279f99827d816 Author: George Kennedy Date: Tue Jul 7 19:26:03 2020 + fbmem: add margin check to fb_check_caps() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=174684b850 start commit:

Re: [PATCH 1/2] arm64: dts: renesas: r8a77961: Add CAN{0,1} placeholder nodes

2020-10-29 Thread Geert Uytterhoeven
On Thu, Oct 29, 2020 at 2:38 PM Eugeniu Rosca wrote: > With the same background and purpose as described in v4.20-rc1 > commit 92bc66bfce99cd ("arm64: dts: renesas: r8a77965: Add CAN{0,1} > placeholder nodes"), add can0 and can1 placeholder nodes. > > Signed-off-by: Eugeniu Rosca Reviewed-by: Ge

[PATCH v3] getdents.2: Use appropriate types

2020-10-29 Thread Alejandro Colomar
getdents(): This function has no glibc wrapper. As such, we should use the same types the Linux kernel uses: Use 'long' as the return type. getdents64(): The glibc wrapper uses: ssize_t getdents64(int, void *, size_t); Signed-off-by: Alejandro Colomar --- Hi Michael, Sorry, I'm being a bit dis

Re: [PATCH 00/18] Add Hantro regmap and VC8000 h264 decode support

2020-10-29 Thread Robin Murphy
On 2020-10-29 13:07, Ezequiel Garcia wrote: Hello Adrian, On Mon, 2020-10-12 at 23:59 +0300, Adrian Ratiu wrote: Dear all, This series introduces a regmap infrastructure for the Hantro driver which is used to compensate for different HW-revision register layouts. To justify it h264 decoding ca

Re: [PATCH] power: supply: olpc_battery: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
On Thu, Oct 29, 2020 at 12:09:23PM +0100, Hans de Goede wrote: Hi, On 10/29/20 11:59 AM, Coiby Xu wrote: Hi Hans, Thank you for reviewing this patch! On Thu, Oct 29, 2020 at 11:04:36AM +0100, Hans de Goede wrote: Hi, On 10/29/20 8:41 AM, Coiby Xu wrote: SIMPLE_DEV_PM_OPS has already took g

Re: [PATCH 1/4] dt-bindings: opp: Introduce opp-sustainable bindings

2020-10-29 Thread Lukasz Luba
On 10/29/20 1:49 PM, Nishanth Menon wrote: On 13:33-20201029, Lukasz Luba wrote: On 10/29/20 12:59 PM, Nishanth Menon wrote: On 10:04-20201029, Lukasz Luba wrote: On 10/28/20 9:47 PM, Nishanth Menon wrote: On 14:08-20201028, Lukasz Luba wrote: Add opp-sustainable as an additional

Re: [PATCH 2/2] pinctrl: qcom: Add sc7280 pinctrl driver

2020-10-29 Thread Bjorn Andersson
On Fri 16 Oct 01:58 CDT 2020, Rajendra Nayak wrote: > diff --git a/drivers/pinctrl/qcom/pinctrl-sc7280.c > b/drivers/pinctrl/qcom/pinctrl-sc7280.c [..] > +static const struct msm_function sc7280_functions[] = { [..] > + FUNCTION(phase_flag0), > + FUNCTION(phase_flag1), > + FUNCTION(pha

Re: [PATCH v2 2/2] ARM: dts: add Protonic WD3 board

2020-10-29 Thread Shawn Guo
On Thu, Sep 24, 2020 at 06:57:06AM +0200, Oleksij Rempel wrote: > Protonic WD3 is a proof of concept platform for tractor e-cockpit applications > > Signed-off-by: Oleksij Rempel > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6qp-prtwd3.dts | 553

Re: [PATCH v2] sched/fair: prefer prev cpu in asymmetric wakeup path

2020-10-29 Thread Vincent Guittot
On Thu, 29 Oct 2020 at 12:16, Valentin Schneider wrote: > > > Hi Vincent, > > On 28/10/20 17:44, Vincent Guittot wrote: > > During fast wakeup path, scheduler always check whether local or prev cpus > > are good candidates for the task before looking for other cpus in the > > domain. With > > co

Re: [External] Re: [PATCH] Documentation: Add documentation for new platform_profile sysfs attribute

2020-10-29 Thread Bastien Nocera
On Thu, 2020-10-29 at 10:46 +0100, Hans de Goede wrote: > < > > IMHO it does not belong in the sysfs API docs for the > platform_profile > stuff. But I guess it would be good to document it somewhere in some > generic syfs API rules/expectations document (with a note that their > might be excepti

Re: [PATCH v2 1/2] dt-bindings: arm: fsl: add Protonic WD3 board

2020-10-29 Thread Shawn Guo
On Thu, Sep 24, 2020 at 06:57:05AM +0200, Oleksij Rempel wrote: > Add Protonic Holland WD3 iMX6qp based board > > Signed-off-by: Oleksij Rempel It doesn't seem to apply to v5.10-rc1. Shawn > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff

Re: [PATCH] inotify: Increase default inotify.max_user_watches limit to 1048576

2020-10-29 Thread Waiman Long
On 10/27/20 12:00 PM, Jan Kara wrote: On Mon 26-10-20 16:44:18, Waiman Long wrote: The default value of inotify.max_user_watches sysctl parameter was set to 8192 since the introduction of the inotify feature in 2005 by commit 0eeca28300df ("[PATCH] inotify"). Today this value is just too small f

Re: For review: seccomp_user_notif(2) manual page [v2]

2020-10-29 Thread Michael Kerrisk (man-pages)
Hello Jann, On 10/29/20 2:42 AM, Jann Horn wrote: > On Mon, Oct 26, 2020 at 10:55 AM Michael Kerrisk (man-pages) > wrote: >>static bool >>getTargetPathname(struct seccomp_notif *req, int notifyFd, >> char *path, size_t len) >>{ >>char p

Re: [PATCH, net -> staging, v2] wimax: move out to staging

2020-10-29 Thread Johannes Berg
On Thu, 2020-10-29 at 14:43 +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > There are no known users of this driver as of October 2020, and it will > be removed unless someone turns out to still need it in future releases. > > According to https://en.wikipedia.org/wiki/List_of_WiMAX_networ

Re: Adding ABI to htmldocs - Was: Re: [PATCH 2/2] w1: w1_therm: Add support for GXCAS GX20MH01 device.

2020-10-29 Thread Mauro Carvalho Chehab
Em Wed, 21 Oct 2020 18:58:19 +0200 Greg Kroah-Hartman escreveu: > On Wed, Oct 21, 2020 at 06:28:43PM +0200, Mauro Carvalho Chehab wrote: > > Hi greg, > > > > Em Wed, 7 Oct 2020 13:59:34 +0200 > > Mauro Carvalho Chehab escreveu: > > > > > Em Wed, 7 Oct 2020 13:43:59 +0200 > > > Greg Kroah-Har

Re: [PATCH v2] clk: renesas: r8a774c0: Add RPC clocks

2020-10-29 Thread Geert Uytterhoeven
Hi Prabhakar, On Thu, Oct 29, 2020 at 11:55 AM Lad Prabhakar wrote: > Describe the RPCSRC internal clock and the RPC[D2] clocks derived from it, > as well as the RPC-IF module clock, in the RZ/G2E (R8A774C0) CPG/MSSR > driver. Thanks for your patch! > Add new clk type CLK_TYPE_GEN3E3_RPCSRC to

[PATCH] x86/entry/64: Use TEST %reg,%reg instead of CMP $0,%reg

2020-10-29 Thread Uros Bizjak
Use TEST %reg,%reg which sets the zero flag in the same way as CMP $0,%reg, but the encoding uses one byte less. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" Signed-off-by: Uros Bizjak --- arch/x86/boot/compressed/head_64.S | 8 1 file changed, 4 inse

Re: [PATCH v2] sched/fair: prefer prev cpu in asymmetric wakeup path

2020-10-29 Thread Vincent Guittot
On Thu, 29 Oct 2020 at 15:19, Vincent Guittot wrote: > > On Thu, 29 Oct 2020 at 12:16, Valentin Schneider > wrote: > > > > > > Hi Vincent, > > > > On 28/10/20 17:44, Vincent Guittot wrote: > > > During fast wakeup path, scheduler always check whether local or prev cpus > > > are good candidates f

Re: [PATCH 3/3] watchdog: sirfsoc_wdt: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
On Thu, Oct 29, 2020 at 06:05:21AM -0700, Guenter Roeck wrote: On 10/29/20 12:53 AM, Coiby Xu wrote: SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- drivers/watchdog/sirfsoc_wdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/watchd

Re: [PATCH 3/9] mfd: intel_soc_pmic: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
On Thu, Oct 29, 2020 at 01:00:29PM +0200, Andy Shevchenko wrote: On Thu, Oct 29, 2020 at 06:06:41PM +0800, Coiby Xu wrote: SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Have you compiled this with % make W=1 ... ? Sorry my bad. I thought I had run "make modules"

Re: [PATCH 04/25] ASoC: rockchip: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
On Thu, Oct 29, 2020 at 10:33:52AM +, Robin Murphy wrote: On 2020-10-29 07:42, Coiby Xu wrote: SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. I don't see anything in the !CONFIG_PM_CONFIG side of SET_SYSTEM_SLEEP_PM_OPS() that prevents unused function warnings for

Re: [PATCH 5/5] i2c: stm32: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
Hi Fabrice, On Thu, Oct 29, 2020 at 12:31:54PM +0100, Fabrice Gasnier wrote: On 10/29/20 8:46 AM, Coiby Xu wrote: SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- drivers/i2c/busses/i2c-stm32f7.c | 2 -- 1 file changed, 2 deletions(-) diff

Re: 答复: 答复: [PATCH] bus: mhi: core: Add support MHI EE FP for download firmware

2020-10-29 Thread Jeffrey Hugo
On 10/28/2020 7:12 PM, Carl Yin(殷张成) wrote: Hi Jeffery: On Wednesday, October 28, 2020 10:24 PM, jhugo wrote: On 10/27/2020 7:39 PM, Carl Yin(殷张成) wrote: Hi Hemant and Jeffery: On Wednesday, October 28, 2020 7:02 AM, hemantk wrote: Hi Jeff, On 10/27/20 8:11 AM, Jeffrey Hugo wrote: On 10/27

Re: [RFC][PATCH 7/9] mm/vmscan: Consider anonymous pages without swap

2020-10-29 Thread Dave Hansen
On 10/29/20 1:14 AM, Oscar Salvador wrote: > With this patch, we will use always the atomic version > get_nr_swap_pages from now on. Is that ok? I guess so, but it might > warrant a mention in the changelog? I _think_ it's OK. But, you're right that it's a potential behavior change that's not men

Re: [PATCH v2] sched/fair: prefer prev cpu in asymmetric wakeup path

2020-10-29 Thread Vincent Guittot
On Thu, 29 Oct 2020 at 15:30, Vincent Guittot wrote: > > On Thu, 29 Oct 2020 at 15:19, Vincent Guittot > wrote: > > > > On Thu, 29 Oct 2020 at 12:16, Valentin Schneider > > wrote: > > > > > > > > > Hi Vincent, > > > > > > On 28/10/20 17:44, Vincent Guittot wrote: > > > > During fast wakeup path,

Re: [PATCH 1/3] dt-bindings: watchdog: fsl-imx: document i.MX compatibles

2020-10-29 Thread Shawn Guo
On Sat, Sep 26, 2020 at 06:23:00PM +0200, Krzysztof Kozlowski wrote: > Document all ARMv5, ARMv6 and ARMv7 i.MX compatibles used in DTSes (even > though driver binds only to fsl,imx21-wdt) to fix dtbs_check warnings > like: > > arch/arm/boot/dts/imx53-qsb.dt.yaml: gpio@53fe: compatible: >

Re: [PATCH 6/9] livepatch/ftrace: Add recursion protection to the ftrace callback

2020-10-29 Thread Steven Rostedt
On Thu, 29 Oct 2020 14:51:06 +0100 (CET) Miroslav Benes wrote: > > index b552cf2d85f8..6c0164d24bbd 100644 > > --- a/kernel/livepatch/patch.c > > +++ b/kernel/livepatch/patch.c > > @@ -45,9 +45,13 @@ static void notrace klp_ftrace_handler(unsigned long ip, > > struct klp_ops *ops; > > str

Re: [PATCH v2] input: add 2 kind of switch

2020-10-29 Thread Barnabás Pőcze
Hi > [...] > > > diff --git a/include/linux/mod_devicetable.h > > > b/include/linux/mod_devicetable.h > > > index 5b08a473cdba..897f5a3e7721 100644 > > > --- a/include/linux/mod_devicetable.h > > > +++ b/include/linux/mod_devicetable.h > > > @@ -320,7 +320,7 @@ struct pcmcia_device_id { > > > #d

Re: [PATCH 2/3] ARM: dts: imx: align watchdog node name with dtschema

2020-10-29 Thread Shawn Guo
On Sat, Sep 26, 2020 at 06:23:01PM +0200, Krzysztof Kozlowski wrote: > The dtschema expects watchdog device node name to be "watchdog": > > arch/arm/boot/dts/imx31-bug.dt.yaml: wdog@53fdc000: > $nodename:0: 'wdog@53fdc000' does not match '^watchdog(@.*|-[0-9a-f])?$' > > Signed-off-by: Krzys

Re: [PATCH] opp: Reduce the size of critical section in _opp_table_kref_release()

2020-10-29 Thread Dmitry Osipenko
27.10.2020 10:57, Viresh Kumar пишет: > There is a lot of stuff here which can be done outside of the big > opp_table_lock, do that. This helps avoiding few circular dependency > lockdeps around debugfs and interconnects. > > Reported-by: Rob Clark > Reported-by: Dmitry Osipenko > Signed-off-by:

Re: [PATCH 01/25] ALSA: core: pcm: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
On Thu, Oct 29, 2020 at 08:48:55AM +0100, Takashi Iwai wrote: On Thu, 29 Oct 2020 08:42:37 +0100, Coiby Xu wrote: SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu It caused compile warnings. Was it already addressed in general? It hasn't bee

Re: [PATCH 3/3] ARM: dts: vf: align watchdog node name with dtschema

2020-10-29 Thread Shawn Guo
On Sat, Sep 26, 2020 at 06:23:02PM +0200, Krzysztof Kozlowski wrote: > The dtschema expects watchdog device node name to be "watchdog": > > arch/arm/boot/dts/vf500-colibri-eval-v3.dt.yaml: wdog@4003e000: > $nodename:0: 'wdog@4003e000' does not match '^watchdog(@.*|-[0-9a-f])?$' > > Signed-o

Re: [PATCH 01/15] iio: accel: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Jonathan Cameron
On Thu, 29 Oct 2020 15:48:56 +0800 Coiby Xu wrote: > SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. > > Signed-off-by: Coiby Xu Hi Coiby, Please put a cover letter on your next series explaining the context. In this particular case some of the replies you have gotten are ge

Re: [PATCH 3/3] kconfig: qconf: convert to Qt5 new signal/slot connection syntax

2020-10-29 Thread Boris Kolpackov
Masahiro Yamada writes: > Now that the Qt4 support was dropped, we can use the new connection > syntax supported by Qt5. It provides compile-time checking of the > validity of the connection. > > Previously, the connection between signals and slots were checked > only run-time. > > Commit d85de

Re: [PATCH] x86/entry/64: Use TEST %reg,%reg instead of CMP $0,%reg

2020-10-29 Thread Andy Lutomirski
On Thu, Oct 29, 2020 at 7:29 AM Uros Bizjak wrote: > > Use TEST %reg,%reg which sets the zero flag in the same way > as CMP $0,%reg, but the encoding uses one byte less. This will make a Linux distro fit on an embedded device that previously had four bytes too little flash :) Reviewed-by: Andy L

Re: [PATCH 05/15] iio: accel: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
On Thu, Oct 29, 2020 at 01:57:25PM +0200, Andy Shevchenko wrote: On Thu, Oct 29, 2020 at 11:05 AM Coiby Xu wrote: SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Correct grammar and rethink about them. NAK for all of them. I'll add __maybe_unused, do the compiling

Re: [PATCH 06/14] dt-bindings: arm: fsl: document i.MX25 and i.MX27 boards

2020-10-29 Thread Shawn Guo
On Sat, Sep 26, 2020 at 06:28:03PM +0200, Krzysztof Kozlowski wrote: > Document and adjust the compatibles for i.MX25 and i.MX27 based boards > to fix dtbs_check warnings like: > > arch/arm/boot/dts/imx27-apf27dev.dt.yaml: /: compatible: > ['armadeus,imx27-apf27dev', 'armadeus,imx27-apf27',

Re: [PATCH 5.9 000/757] 5.9.2-rc1 review

2020-10-29 Thread Ronald Warsow
On 29.10.20 10:14, Greg KH wrote: On Tue, Oct 27, 2020 at 07:09:52PM +0100, Ronald Warsow wrote: Hallo this rc1 runs here (pure Intel-box) without errors. Thanks ! An RPC (I'm thinking about since some month) == Wouldn't it be better (and not so much add. work) to sort the Pseudo-Shortlo

drivers/vhost/vdpa.c:303:13: sparse: expected unsigned int const

2020-10-29 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ed8780e3f2ecc82645342d070c6b4e530532e680 commit: 4c8cf31885f69e86be0b5b9e6677a26797365e1d vhost: introduce vDPA-based backend date: 7 months ago :: branch date: 17 hours ago :: commit date: 7 month

Re: [PATCH 01/15] iio: accel: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
HI Jonathan, On Thu, Oct 29, 2020 at 02:40:07PM +, Jonathan Cameron wrote: On Thu, 29 Oct 2020 15:48:56 +0800 Coiby Xu wrote: SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu Hi Coiby, Please put a cover letter on your next series explaining th

drivers/video/fbdev/pvr2fb.c:788:26: sparse: expected void

2020-10-29 Thread kernel test robot
months ago config: xtensa-randconfig-s031-20201029 (attached as .config) compiler: xtensa-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse

Re: [PATCH v2] sched/fair: prefer prev cpu in asymmetric wakeup path

2020-10-29 Thread Valentin Schneider
On 29/10/20 14:19, Vincent Guittot wrote: > On Thu, 29 Oct 2020 at 12:16, Valentin Schneider > wrote: >> On legacy big.LITTLE systems, sd_asym_cpucapacity spans all CPUs, so we >> would iterate over those in select_idle_capacity() anyway - the policy >> we've been going for is that capacity fitn

<    3   4   5   6   7   8   9   10   11   12   >