Re: [PATCH v2] iio: core: register chardev only if needed

2020-12-09 Thread Alexandru Ardelean
On Wed, Dec 9, 2020 at 5:53 PM Andy Shevchenko wrote: > > On Wed, Dec 9, 2020 at 5:45 PM Alexandru Ardelean > wrote: > > On Wed, Dec 9, 2020 at 5:37 PM Andy Shevchenko > > wrote: > > > On Thu, Dec 3, 2020 at 11:55 AM Alexandru Ardelean > > > wrote: > > ... > > > > Are you sure there is no user

[PATCH 3/3] The TC ETF Qdisc pass the hardware timestamp to the interface driver.

2020-12-09 Thread Erez Geva
The ETF pass the TX sending hardware timestamp to the network interface driver. - Add new flag to the ETF Qdisc setting that mandate the use of the hardware timestamp in a socket's buffer. - The ETF Qdisc pass the TX sending hardware timestamp to the network interface driver.

[PATCH 0/3] IOMMU: Some more IOVA code tidy-up

2020-12-09 Thread John Garry
Based on arm64 for-next/iommu/core I'll try to bunch this sort of stuff more in future, Thanks John Garry (3): iova: Make has_iova_flush_queue() private iova: Delete copy_reserved_iova() iova: Stop exporting some more functions drivers/iommu/iova.c | 36

[PATCH 2/3] iova: Delete copy_reserved_iova()

2020-12-09 Thread John Garry
Since commit c588072bba6b ("iommu/vt-d: Convert intel iommu driver to the iommu ops"), function copy_reserved_iova() is not referenced, so delete it. Signed-off-by: John Garry --- drivers/iommu/iova.c | 30 -- include/linux/iova.h | 6 -- 2 files changed, 36

[PATCH 1/3] iova: Make has_iova_flush_queue() private

2020-12-09 Thread John Garry
Function has_iova_flush_queue() has no users outside iova.c, so make it private. Signed-off-by: John Garry --- drivers/iommu/iova.c | 2 +- include/linux/iova.h | 6 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c index

Re: [PATCH RFC 1/4] thermal/core: Emit a warning if the thermal zone is updated without ops

2020-12-09 Thread Lukasz Luba
Hi Daniel, On 12/9/20 3:34 PM, Daniel Lezcano wrote: The actual code is silently ignoring a thermal zone update when a driver is requesting it without a get_temp ops set. That looks not correct, as the caller should not have called this function if the thermal zone is unable to read the

Re: [PATCH v2] iio: core: register chardev only if needed

2020-12-09 Thread Andy Shevchenko
On Wed, Dec 9, 2020 at 5:45 PM Alexandru Ardelean wrote: > On Wed, Dec 9, 2020 at 5:37 PM Andy Shevchenko > wrote: > > On Thu, Dec 3, 2020 at 11:55 AM Alexandru Ardelean > > wrote: ... > > Are you sure there is no user space application that doesn't rely on > > character device to be always

Re: [PATCH v2 2/2] iio: dac: ad5766: add driver support for AD5766

2020-12-09 Thread Andy Shevchenko
On Fri, Dec 4, 2020 at 8:17 PM Cristian Pop wrote: > > The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs > Digital-to-Analog converters. > > This change adds support for these DACs. > Link: >

Re: [External] Re: [PATCH v7 06/15] mm/hugetlb: Disable freeing vmemmap if struct page size is not power of two

2020-12-09 Thread Muchun Song
On Wed, Dec 9, 2020 at 11:48 PM David Hildenbrand wrote: > > On 09.12.20 16:13, Muchun Song wrote: > > On Wed, Dec 9, 2020 at 6:10 PM David Hildenbrand wrote: > >> > >> On 09.12.20 11:06, David Hildenbrand wrote: > >>> On 09.12.20 11:03, Muchun Song wrote: > On Wed, Dec 9, 2020 at 5:57 PM

Re: [External] Re: [PATCH v7 06/15] mm/hugetlb: Disable freeing vmemmap if struct page size is not power of two

2020-12-09 Thread David Hildenbrand
On 09.12.20 16:13, Muchun Song wrote: > On Wed, Dec 9, 2020 at 6:10 PM David Hildenbrand wrote: >> >> On 09.12.20 11:06, David Hildenbrand wrote: >>> On 09.12.20 11:03, Muchun Song wrote: On Wed, Dec 9, 2020 at 5:57 PM David Hildenbrand wrote: > > On 30.11.20 16:18, Muchun Song

KASAN: use-after-free Write in rtl_fw_do_work (2)

2020-12-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b175d273 USB: legotower: fix logical error in recent commit 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=12ee7c8750 kernel

Re: [PATCH v2] iio: core: register chardev only if needed

2020-12-09 Thread Alexandru Ardelean
On Wed, Dec 9, 2020 at 5:37 PM Andy Shevchenko wrote: > > On Thu, Dec 3, 2020 at 11:55 AM Alexandru Ardelean > wrote: > > > > We only need a chardev if we need to support buffers and/or events. > > > > With this change, a chardev will be created only if an IIO buffer is > > attached OR an

Re: problem booting 5.10

2020-12-09 Thread Julia Lawall
On Tue, 8 Dec 2020, John Garry wrote: > On 08/12/2020 22:51, Martin K. Petersen wrote: > > > > Julia, > > > > > This solves the problem. Starting from 5.10-rc7 and doing this revert, I > > > get a kernel that boots. > > > > Hi Julia, > > Can you also please test Ming's patchset here (without

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

2020-12-09 Thread Rob Herring
On Tue, 01 Dec 2020 08:41:24 +0100, Oleksij Rempel wrote: > Add Protonic MVT imx6dl based board > > Signed-off-by: Oleksij Rempel > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH v4 4/5] dt-bindings: arm: fsl: add Kverneland TGO board

2020-12-09 Thread Rob Herring
On Tue, 01 Dec 2020 08:24:47 +0100, Oleksij Rempel wrote: > Add Kverneland TGO imx6dl based board > > Signed-off-by: Oleksij Rempel > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH v4] HID: i2c-hid: add polling mode based on connected GPIO chip's pin status

2020-12-09 Thread Greg KH
On Wed, Dec 09, 2020 at 03:38:11PM +, Barnabás Pőcze wrote: > 2020. december 9., szerda 8:00 keltezéssel, Greg KH írta: > > > On Tue, Dec 08, 2020 at 09:59:20PM +, Barnabás Pőcze wrote: > > > > > 2020. november 25., szerda 16:07 keltezéssel, Greg KH írta: > > > > > > > [...] > > > > > >

Re: [PATCH v4 2/5] dt-bindings: arm: fsl: add Kverneland UT1, UT1Q and UI1P boards

2020-12-09 Thread Rob Herring
On Tue, Dec 01, 2020 at 08:24:45AM +0100, Oleksij Rempel wrote: > Add Kverneland UT1 (imx6dl), UT1Q (imx6q) and UT1P (imx6dp) based boards > > Signed-off-by: Oleksij Rempel > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

[PATCH 1/3] Add TX sending hardware timestamp.

2020-12-09 Thread Erez Geva
Configure and send TX sending hardware timestamp from user space application to the socket layer, to provide to the TC ETC Qdisc, and pass it to the interface network driver. - New flag for the SO_TXTIME socket option. - New access auxiliary data header to pass the TX sending hardware

Re: [PATCH RFC 10/39] KVM: x86/xen: support upcall vector

2020-12-09 Thread David Woodhouse
On 9 December 2020 13:26:55 GMT, Joao Martins wrote: >On 12/9/20 11:39 AM, David Woodhouse wrote: >> On Wed, 2020-12-09 at 10:51 +, Joao Martins wrote: >>> Isn't this what the first half of this patch was doing initially >(minus the >>> irq routing) ? Looks really similar: >>> >>>

Re: [PATCH 6/9] mm: vmscan: use per memcg nr_deferred of shrinker

2020-12-09 Thread Kirill Tkhai
On 08.12.2020 20:13, Yang Shi wrote: > On Thu, Dec 3, 2020 at 3:40 AM Kirill Tkhai wrote: >> >> On 02.12.2020 21:27, Yang Shi wrote: >>> Use per memcg's nr_deferred for memcg aware shrinkers. The shrinker's >>> nr_deferred >>> will be used in the following cases: >>> 1. Non memcg aware

Re: [PATCH 0/4] USB: ftdio_sio: GPIO validity fixes

2020-12-09 Thread Johan Hovold
On Wed, Dec 09, 2020 at 10:20:38AM +0100, Linus Walleij wrote: > On Mon, Dec 7, 2020 at 4:48 PM Johan Hovold wrote: > > On Mon, Dec 07, 2020 at 03:34:23PM +, Marc Zyngier wrote: > > > > If they claim that their lines are available, and then refuse to > > > let the user play with it, that's

Re: [PATCH v4 1/5] dt-bindings: vendor-prefixes: Add an entry for Kverneland Group

2020-12-09 Thread Rob Herring
On Tue, Dec 01, 2020 at 08:24:44AM +0100, Oleksij Rempel wrote: > Add "kvg" entry for Kverneland Group: https://ien.kvernelandgroup.com/ > > Signed-off-by: Oleksij Rempel > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v4] HID: i2c-hid: add polling mode based on connected GPIO chip's pin status

2020-12-09 Thread Barnabás Pőcze
2020. december 9., szerda 8:00 keltezéssel, Greg KH írta: > On Tue, Dec 08, 2020 at 09:59:20PM +, Barnabás Pőcze wrote: > > > 2020. november 25., szerda 16:07 keltezéssel, Greg KH írta: > > > > > [...] > > > > > > > +static u8 polling_mode; > > > > +module_param(polling_mode, byte, 0444); >

Re: [PATCH] dt-bindings: qcom,pdc: Add compatible for SM8250

2020-12-09 Thread Rob Herring
On Tue, 01 Dec 2020 11:05:37 +0530, Vinod Koul wrote: > Add the compatible string for SM8250 SoC from Qualcomm. This compatible > is used already in DTS files but not documented yet > > Signed-off-by: Vinod Koul > --- > .../devicetree/bindings/interrupt-controller/qcom,pdc.txt| 1 + > 1

[PATCH RFC 1/4] thermal/core: Emit a warning if the thermal zone is updated without ops

2020-12-09 Thread Daniel Lezcano
The actual code is silently ignoring a thermal zone update when a driver is requesting it without a get_temp ops set. That looks not correct, as the caller should not have called this function if the thermal zone is unable to read the temperature. That makes the code less robust as the check

Re: [PATCH] cgroup: Fix memory leak when parsing multiple source parameters

2020-12-09 Thread kernel test robot
Hi Qinglang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on cgroup/for-next] [also build test WARNING on v5.10-rc7 next-20201209] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

Re: [PATCH] media: MAINTAINERS: correct entry in Amlogic GE2D driver section

2020-12-09 Thread Neil Armstrong
On 09/12/2020 08:46, Lukas Bulwahn wrote: > Commit aa821b2b9269 ("media: MAINTAINERS: Add myself as maintainer of the > Amlogic GE2D driver") introduced a new MAINTAINERS section, but the file > entry points to the wrong location. > > Hence, ./scripts/get_maintainer.pl --self-test=patterns warns:

[PATCH RFC 2/4] thermal/core: Add critical and hot ops

2020-12-09 Thread Daniel Lezcano
Currently there is no way to the sensors to directly call an ops in interrupt mode without calling thermal_zone_device_update assuming all the trip points are defined. A sensor may want to do something special if a trip point is hot or critical. This patch adds the critical and hot ops to the

[PATCH RFC 4/4] thermal/core: Remove notify ops

2020-12-09 Thread Daniel Lezcano
With the remove of the notify user in a previous patch, the ops is no longer needed, remove it. Signed-off-by: Daniel Lezcano --- drivers/thermal/thermal_core.c | 3 --- include/linux/thermal.h| 2 -- 2 files changed, 5 deletions(-) diff --git a/drivers/thermal/thermal_core.c

[PATCH RFC 3/4] thermal/drivers/acpi: Use hot and critical ops

2020-12-09 Thread Daniel Lezcano
The acpi driver wants to do a netlink notification in case of a hot or critical trip point. Implement the corresponding ops to be used for the thermal zone and use them instead of the notify ops. Signed-off-by: Daniel Lezcano --- drivers/acpi/thermal.c | 30 ++ 1

Re: [PATCH v4] PM: domains: create debugfs nodes when adding power domains

2020-12-09 Thread Rafael J. Wysocki
On Tue, Dec 8, 2020 at 9:39 PM Greg Kroah-Hartman wrote: > > On Tue, Dec 08, 2020 at 11:19:55AM -0800, Thierry Strudel wrote: > > debugfs nodes were created in genpd_debug_init alled in late_initcall > > preventing power domains registered though loadable modules to have > > a debugfs entry. > >

Re: [PATCH v1 2/4] cpufreq: schedutil: Adjust utilization instead of frequency

2020-12-09 Thread Rafael J. Wysocki
On Wed, Dec 9, 2020 at 6:16 AM Viresh Kumar wrote: > > On 08-12-20, 18:01, Rafael J. Wysocki wrote: > > On Tue, Dec 8, 2020 at 9:52 AM Viresh Kumar wrote: > > > > > > On 07-12-20, 17:29, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > > > > > When avoiding reduction of the

Re: [PATCH v5 2/3] usb: serial: xr_serial: Add gpiochip support

2020-12-09 Thread Johan Hovold
On Tue, Dec 08, 2020 at 06:22:50PM +0530, Manivannan Sadhasivam wrote: > On Tue, Dec 08, 2020 at 01:41:52PM +0100, Linus Walleij wrote: > > On Tue, Dec 8, 2020 at 10:57 AM Johan Hovold wrote: > > I think if this driver already has unique line-names per-gpiochip > > we could actually make it

Re: [PATCH net] bonding: reduce rtnl lock contention in mii monitor thread

2020-12-09 Thread Jarod Wilson
On Tue, Dec 8, 2020 at 3:35 PM Jay Vosburgh wrote: > > Jarod Wilson wrote: > > >I'm seeing a system get stuck unable to bring a downed interface back up > >when it's got an updelay value set, behavior which ceased when logging > >spew was removed from bond_miimon_inspect(). I'm monitoring logs

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-09 Thread Catalin Marinas
On Wed, Dec 09, 2020 at 01:25:18PM +, Marc Zyngier wrote: > On 2020-12-09 12:44, Catalin Marinas wrote: > > On Tue, Dec 08, 2020 at 06:21:12PM +, Marc Zyngier wrote: > > > On 2020-12-08 17:21, Catalin Marinas wrote: > > > > On Mon, Dec 07, 2020 at 07:03:13PM +, Marc Zyngier wrote: > >

Re: [PATCH V2 0/2] mm/debug_vm_pgtable: Some minor updates

2020-12-09 Thread Gerald Schaefer
On Wed, 9 Dec 2020 08:11:13 +0530 Anshuman Khandual wrote: > > > On 12/1/20 5:49 PM, Anshuman Khandual wrote: > > This series contains some cleanups and new test suggestions from Catalin > > from an earlier discussion. > > > > https://lore.kernel.org/linux-mm/20201123142237.GF17833@gaia/ > >

Re: [PATCH v5 2/3] usb: serial: xr_serial: Add gpiochip support

2020-12-09 Thread Johan Hovold
On Tue, Dec 08, 2020 at 01:41:52PM +0100, Linus Walleij wrote: > On Tue, Dec 8, 2020 at 10:57 AM Johan Hovold wrote: > > Well we started discussing this back when we only had the sysfs > > interface which suffered from the same problem. I thought the chardev > > interface was supposed to get rid

Re: [PATCH bpf-next v4 2/4] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-09 Thread KP Singh
On Wed, Dec 9, 2020 at 2:29 PM Florent Revest wrote: > > This needs two new helpers, one that works in a sleepable context (using > sock_gen_cookie which disables/enables preemption) and one that does not > (for performance reasons). Both take a struct sock pointer and need to > check it for

Re: [PATCH 1/5] ASoC: codecs/jz47xx: Use regmap_{set,clear}_bits

2020-12-09 Thread Mark Brown
On Mon, 7 Dec 2020 12:53:33 +, Paul Cercueil wrote: > Use regmap_{set,clear}_bits instead of regmap_update_bits, when > applicable. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/5] ASoC: codecs/jz47xx: Use regmap_{set,clear}_bits

Re: [PATCH] ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140

2020-12-09 Thread Mark Brown
On Tue, 8 Dec 2020 14:04:14 +0800, Chris Chiu wrote: > Tha ARCHOS Cesium 140 tablet has problem with the jack-sensing, > thus the heaset functions are not working. > > Add quirk for this model to select the correct input map, jack-detect > options and channel map to enable jack sensing and

Re: [PATCH v3] checkpatch: add --fix option to include linux checks

2020-12-09 Thread Dwaipayan Ray
> Dwaipayan, can you run this rule from checkpatch.pl on all files in > the current linux-next tree and share all findings with me? > > Maybe, we can fix a few places and improve the rule. > > Lukas > Hi, I am actually a bit confused here. I couldn't find any particular place in documentation

Re: [PATCH 1/3] Add TX sending hardware timestamp.

2020-12-09 Thread Geva, Erez
On 09/12/2020 15:48, Willem de Bruijn wrote: > On Wed, Dec 9, 2020 at 9:37 AM Erez Geva wrote: >> >> Configure and send TX sending hardware timestamp from >> user space application to the socket layer, >> to provide to the TC ETC Qdisc, and pass it to >> the interface network driver. >> >>

Re: [PATCH v2] iio: core: register chardev only if needed

2020-12-09 Thread Andy Shevchenko
On Thu, Dec 3, 2020 at 11:55 AM Alexandru Ardelean wrote: > > We only need a chardev if we need to support buffers and/or events. > > With this change, a chardev will be created only if an IIO buffer is > attached OR an event_interface is configured. > > Otherwise, no chardev will be created, and

Re: [PATCH net-next v2 1/4] vm_sockets: Include flags field in the vsock address data structure

2020-12-09 Thread Paraschiv, Andra-Irina
On 09/12/2020 12:48, Stefano Garzarella wrote: On Tue, Dec 08, 2020 at 10:42:22AM -0800, Jakub Kicinski wrote: On Tue, 8 Dec 2020 20:23:24 +0200 Paraschiv, Andra-Irina wrote: >> --- a/include/uapi/linux/vm_sockets.h >> +++ b/include/uapi/linux/vm_sockets.h >> @@ -145,7 +145,7 @@ >> >>  

Re: [PATCH v1, 4/5] soc: mediatek: cmdq: add address shift in jump

2020-12-09 Thread Chun-Kuang Hu
Hi, Yongqiang: Nicolas Boichat 於 2020年12月5日 週六 下午3:30寫道: > > On Sat, Dec 5, 2020 at 12:16 PM Yongqiang Niu > wrote: > > > > Add address shift when compose jump instruction > > to compatible with 35bit format. > > This looks reasonable, but task->cmdq->shift_pa is not new and was > introduced as

Re: [External] Re: [PATCH v7 06/15] mm/hugetlb: Disable freeing vmemmap if struct page size is not power of two

2020-12-09 Thread Muchun Song
On Wed, Dec 9, 2020 at 6:10 PM David Hildenbrand wrote: > > On 09.12.20 11:06, David Hildenbrand wrote: > > On 09.12.20 11:03, Muchun Song wrote: > >> On Wed, Dec 9, 2020 at 5:57 PM David Hildenbrand wrote: > >>> > >>> On 30.11.20 16:18, Muchun Song wrote: > We only can free the tail

Re: [PATCH] staging: rtl8712: check register_netdev() return value

2020-12-09 Thread Greg KH
On Wed, Dec 09, 2020 at 11:01:24PM +0800, shaojie.d...@isrc.iscas.ac.cn wrote: > From: "shaojie.dong" > > Function register_netdev() can fail, so we should check it's return value > > Signed-off-by: shaojie.dong I doubt you sign your name with a '.' in it, right? Please resend with the

Re: [PATCH v2 0/7] tty: add flag to suppress ready signalling on open

2020-12-09 Thread Johan Hovold
On Wed, Dec 09, 2020 at 03:30:33PM +0100, Greg Kroah-Hartman wrote: > On Wed, Dec 02, 2020 at 12:39:35PM +0100, Johan Hovold wrote: > > This series adds a new NORDY port flag to suppress raising the > > modem-control lines on open to signal DTE readiness. > > > > This can be used to implement a

Re: [PATCH net] bonding: reduce rtnl lock contention in mii monitor thread

2020-12-09 Thread Jarod Wilson
On Tue, Dec 8, 2020 at 2:38 PM Jakub Kicinski wrote: > > On Sat, 5 Dec 2020 18:43:54 -0500 Jarod Wilson wrote: > > I'm seeing a system get stuck unable to bring a downed interface back up > > when it's got an updelay value set, behavior which ceased when logging > > spew was removed from

Re: [PATCH v3] s390/pci: fix CPU address in MSI for directed IRQ

2020-12-09 Thread Naresh Kamboju
On Thu, 26 Nov 2020 at 22:32, Alexander Gordeev wrote: > > The directed MSIs are delivered to CPUs whose address is > written to the MSI message data. The current code assumes > that a CPU logical number (as it is seen by the kernel) > is also that CPU address. > > The above assumption is not

Re: [External] linux-next: build failure after merge of the pm tree

2020-12-09 Thread Mark Pearson
Hi Jon, On 09/12/2020 09:33, Jonathan Corbet wrote: > On Wed, 9 Dec 2020 08:56:31 -0500 Mark Pearson > wrote: > >> I do see: WARNING: document isn't included in any toctree but I >> think this is benign - I believe I'm getting it just because I >> converted the file to .rst (as requested by

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-09 Thread Matthew Wilcox
On Wed, Dec 09, 2020 at 03:46:28PM +0100, Stanislaw Gruszka wrote: > At this point of release cycle we should probably go with revert, > but I think the main problem is that BPF and ERROR_INJECTION use > function that is not intended to be used externally. For external users >

Re: [PATCH net-next] net: rxrpc: convert comma to semicolon

2020-12-09 Thread David Howells
Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Reviewed-by: David Howells

[PATCH] staging: rtl8712: check register_netdev() return value

2020-12-09 Thread shaojie . dong
From: "shaojie.dong" Function register_netdev() can fail, so we should check it's return value Signed-off-by: shaojie.dong --- drivers/staging/rtl8712/hal_init.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/hal_init.c

[rcu:dev.2020.12.08b] BUILD SUCCESS 7d9ce80dd1253cef9317fa5e45023c6971605f49

2020-12-09 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a004-20201209 i386 randconfig-a005-20201209 i386 randconfig-a001-20201209 i386

RE: [PATCH V3 1/7] remoteproc: elf: support platform specific memory hook

2020-12-09 Thread Peng Fan
> Subject: RE: [PATCH V3 1/7] remoteproc: elf: support platform specific > memory hook > > Hi Bjorn, > > > Subject: Re: [PATCH V3 1/7] remoteproc: elf: support platform specific > > memory hook > > > > On Fri 04 Dec 01:40 CST 2020, Peng Fan (OSS) wrote: > > > > > From: Peng Fan > > > > > > To

[rcu:dev.2020.12.08c] BUILD REGRESSION 0168e03a513cd576ca6ab24f428ce85cec1e3ff3

2020-12-09 Thread kernel test robot
-20201208 x86_64 randconfig-a003-20201208 i386 randconfig-a004-20201209 i386 randconfig-a005-20201209 i386 randconfig-a001-20201209 i386 randconfig-a002-20201209 i386 randconfig-a006-20201209 i386

Re: [PATCH 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-09 Thread Heiko Carstens
On Wed, Dec 09, 2020 at 08:07:04AM +0530, Anshuman Khandual wrote: > >> + if (seg->end + 1 > VMEM_MAX_PHYS || seg->end + 1 < seg->start_addr) { > >> + rc = -ERANGE; > >> + goto out_resource; > >> + } > >> + ... > >> +struct range arch_get_mappable_range(void) > >> +{ > >> +

Re: [PATCH] power: supply: axp288_fuel_gauge: Add the ECS EF20EA to the blacklist

2020-12-09 Thread Hans de Goede
Hi, On 12/9/20 5:50 AM, Chris Chiu wrote: > The ECS EF20EA laptop ships an AXP288 but it is actually using a > different, separate FG chip for AC and battery monitoring. On this > laptop we need to keep using the regular ACPI driver and disable the > AXP288 FG to avoid reporting two batteries to

Re: [PATCH v2 sl-b 1/5] mm: Add mem_dump_obj() to print source of memory block

2020-12-09 Thread Paul E. McKenney
On Wed, Dec 09, 2020 at 08:17:10AM +, Christoph Hellwig wrote: > Your two new exports don't actually seem to get used in modular code > at all in this series. Indeed, and I either need to remove the exports or make my test code in kernel/rcu/rcuscale.o suitable for upstreaming. Or find the

Re: [RFC PATCH v7] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-12-09 Thread Li, Aubrey
On 2020/12/9 21:09, Vincent Guittot wrote: > On Wed, 9 Dec 2020 at 11:58, Li, Aubrey wrote: >> >> On 2020/12/9 16:15, Vincent Guittot wrote: >>> Le mercredi 09 déc. 2020 à 14:24:04 (+0800), Aubrey Li a écrit : Add idle cpumask to track idle cpus in sched domain. Every time a CPU enters

Re: [PATCH] dyndbg: fix use before null check

2020-12-09 Thread Greg Kroah-Hartman
On Mon, Nov 23, 2020 at 11:43:34AM -0700, Jim Cromie wrote: > commit a2d375eda771 ("dyndbg: refine export, rename to > dynamic_debug_exec_queries()") > > Above commit copies a string before checking for null pointer, fix > this, and add a pr_err. Also trim comment, and add return val info. The

Re: [PATCH] lkdtm: don't move ctors to .rodata

2020-12-09 Thread Greg Kroah-Hartman
On Tue, Dec 08, 2020 at 01:20:56PM -0800, Kees Cook wrote: > On Mon, Dec 07, 2020 at 05:05:33PM +, Mark Rutland wrote: > > When building with KASAN and LKDTM, clang may implictly generate an > > asan.module_ctor function in the LKDTM rodata object. The Makefile moves > > the

Re: [RFC] fpga: dfl: a prototype uio driver

2020-12-09 Thread Tom Rix
On 12/9/20 12:56 AM, Xu Yilun wrote: > Hi Tom: > > On Mon, Dec 07, 2020 at 05:07:05AM -0800, Tom Rix wrote: >> On 12/7/20 12:02 AM, Greg KH wrote: >>> On Sun, Dec 06, 2020 at 01:55:54PM -0800, t...@redhat.com wrote: From: Tom Rix >From [PATCH 0/2] UIO support for dfl devices

Re: [PATCH 1/3] Add TX sending hardware timestamp.

2020-12-09 Thread Willem de Bruijn
On Wed, Dec 9, 2020 at 9:37 AM Erez Geva wrote: > > Configure and send TX sending hardware timestamp from > user space application to the socket layer, > to provide to the TC ETC Qdisc, and pass it to > the interface network driver. > > - New flag for the SO_TXTIME socket option. > - New

Urgent: BUG: PPP ioctl Transport endpoint is not connected

2020-12-09 Thread Martin Zaharinov
Hi All I have problem with latest kernel release And the problem is base on this late problem : https://www.mail-archive.com/search?l=net...@vger.kernel.org=subject:%22Re%5C%3A+ppp%5C%2Fpppoe%2C+still+panic+4.15.3+in+ppp_push%22=newest=1 I have same problem in kernel 5.6 > now I use kernel

Re: [RFC][PATCH] ftrace/selftests: Add binary test to verify ring buffer timestamps

2020-12-09 Thread Steven Rostedt
On Wed, 9 Dec 2020 08:39:54 +0900 Masami Hiramatsu wrote: > > OK. I'll look at how to make this for both cases (embedded and not). > > Because, my current case is to copy the selftests to the machine and run > > them there. So my use case requires the build to happen at test time. But I > > can

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-09 Thread Stanislaw Gruszka
On Mon, Dec 07, 2020 at 05:12:52PM -0800, Alexei Starovoitov wrote: > > > > > > > >>> -noinline int __add_to_page_cache_locked(struct page *page, > > > > > > > >>> +static noinline int __add_to_page_cache_locked(struct page > > > > > > > >>> *page, > > > > > > > >>>

Re: [PATCH v1 2/5] vfio: platform: Switch to use platform_get_mem_or_io_resource()

2020-12-09 Thread Greg Kroah-Hartman
On Thu, Dec 03, 2020 at 03:07:19PM +0200, Andy Shevchenko wrote: > On Thu, Dec 03, 2020 at 01:54:38PM +0100, Auger Eric wrote: > > Hi Andy, > > > > On 10/27/20 6:58 PM, Andy Shevchenko wrote: > > > Switch to use new platform_get_mem_or_io_resource() instead of > > > home grown analogue. > > > >

Re: [PATCH v3 0/7] Improve s0ix flows for systems i219LM

2020-12-09 Thread Hans de Goede
Hi, On 12/8/20 5:14 PM, Alexander Duyck wrote: > On Tue, Dec 8, 2020 at 1:30 AM Hans de Goede wrote: >> >> Hi, >> >> On 12/8/20 6:08 AM, Neftin, Sasha wrote: >>> On 12/7/2020 17:41, Limonciello, Mario wrote: > First of all thank you for working on this. > > I must say though that I

Re: [PATCH v2] vfio iommu type1: Improve vfio_iommu_type1_pin_pages performance

2020-12-09 Thread Eric Farman
On 12/9/20 6:54 AM, Cornelia Huck wrote: On Tue, 8 Dec 2020 21:55:53 +0800 "xuxiaoyang (C)" wrote: On 2020/11/21 15:58, xuxiaoyang (C) wrote: vfio_pin_pages() accepts an array of unrelated iova pfns and processes each to return the physical pfn. When dealing with large arrays of

Re: [PATCH v3 3/5] tracing: Update synth command errors

2020-12-09 Thread Steven Rostedt
On Wed, 9 Dec 2020 22:51:14 +0900 Masami Hiramatsu wrote: > This makes sense. Anyway, what I considered were > - synthetic_events interface doesn't provide syntax error reports > - synthetic_events interface is not self-reproducive*. > > *) I meant > > $ cat synthetic_events > saved_events > $

Re: [Linux-stm32] [PATCH] remoteproc: stm32: don't print an error on probe deferral

2020-12-09 Thread Arnaud POULIQUEN
On 12/9/20 3:06 PM, Ahmad Fatoum wrote: > Hello Arnaud, > > On Wed, 2020-12-09 at 14:12 +0100, Arnaud Pouliquen wrote: >> From: Etienne Carriere >> >> Change stm32 remoteproc driver to not generate an error message >> when device probe operation is deferred for the reset controller. >> >>

Re: [PATCH net-next] net: thunderbolt: convert comma to semicolon

2020-12-09 Thread Mika Westerberg
On Wed, Dec 09, 2020 at 09:38:52PM +0800, Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Acked-by: Mika Westerberg

Re: [patch 1/3] speakup: Add synth parameter to io functions

2020-12-09 Thread Greg KH
On Mon, Nov 30, 2020 at 11:26:41PM +0100, Samuel Thibault wrote: > This merely adds the missing synth parameter to all io functions. > > Signed-off-by: Samuel Thibault This patch breaks the build :( Can you rebase and resend this whole series, as the other patches do not apply anymore due to

Re: tracer_init_tracefs really slow

2020-12-09 Thread Lucas Stach
Hi Steven, Am Montag, den 07.12.2020, 14:47 -0500 schrieb Steven Rostedt: On Mon, 07 Dec 2020 17:24:58 +0100 Lucas Stach wrote: > I would be happy to test a patch on our whimpy machines, though. :) Let me know if this helps: -- Steve diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c

Re: [PATCH 0/4] Reduce scanning of runqueues in select_idle_sibling

2020-12-09 Thread Mel Gorman
On Tue, Dec 08, 2020 at 03:34:57PM +, Mel Gorman wrote: > Changelog since v1 > o Drop single-pass patch > (vincent) > o Scope variables used for SIS_AVG_CPU > (dietmar) > o Remove redundant assignment

Re: [PATCH 2/3] block: blk_interposer - sample

2020-12-09 Thread Mike Snitzer
On Wed, Dec 09 2020 at 8:01am -0500, Sergei Shtepa wrote: > This sample demonstrates how to use blk_interposer. > It show how to properly connect the interposer module to kernel, > and perform the simplest monitoring of the number of bio. > > Signed-off-by: Sergei Shtepa > --- >

Re: [PATCH v8 0/7] mtd: spi-nor: keep lock bits if they are non-volatile

2020-12-09 Thread Vignesh Raghavendra
Hi Michael, On Thu, 3 Dec 2020 17:29:52 +0100, Michael Walle wrote: > I bundled this as a series, because otherwise there will be conflicts > because the "remove global protection flag" patches modify the same lines > as the main patch. > > There are now two more patches: > mtd: spi-nor: sst:

Re: [RFC PATCH v7] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-12-09 Thread Mel Gorman
On Wed, Dec 09, 2020 at 02:24:04PM +0800, Aubrey Li wrote: > Add idle cpumask to track idle cpus in sched domain. Every time > a CPU enters idle, the CPU is set in idle cpumask to be a wakeup > target. And if the CPU is not in idle, the CPU is cleared in idle > cpumask during scheduler tick to

Re: [PATCH net-next] net: mv88e6xxx: convert comma to semicolon

2020-12-09 Thread Andrew Lunn
On Wed, Dec 09, 2020 at 09:39:38PM +0800, Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Reviewed-by: Andrew Lunn Andrew

Re: [PATCH] tty: Protect disc_data in n_tty_close and n_tty_flush_buffer

2020-12-09 Thread Greg KH
On Wed, Dec 09, 2020 at 05:59:21PM +0800, Yan.Gao wrote: > n_tty_flush_buffer can happen in parallel with n_tty_close that the > tty->disc_data will be set to NULL. n_tty_flush_buffer accesses > tty->disc_data, so we must prevent n_tty_close clear tty->disc_data > while n_tty_flush_buffer has a

Re: [External] linux-next: build failure after merge of the pm tree

2020-12-09 Thread Jonathan Corbet
On Wed, 9 Dec 2020 08:56:31 -0500 Mark Pearson wrote: > I do see: >WARNING: document isn't included in any toctree > but I think this is benign - I believe I'm getting it just because I > converted the file to .rst (as requested by Andy Shevchenko). If this is > important and needs to be

Re: [linux-sunxi] [PATCH 5/8] clk: sunxi-ng: Add support for the Allwinner H616 CCU

2020-12-09 Thread Clément Péron
Hi Andre, I try to review this, and compare against the vendor Kernel On Wed, 2 Dec 2020 at 14:54, Andre Przywara wrote: > > While the clocks are fairly similar to the H6, many differ in tiny > details, so a separate clock driver seems indicated. > > Derived from the H6 clock driver, and

Re: [PATCH v1] ARM: imx: mach-imx6ul: remove 14x14 EVK specific PHY fixup

2020-12-09 Thread Fabio Estevam
On Wed, Dec 9, 2020 at 9:21 AM Oleksij Rempel wrote: > > Remove board specific PHY fixup introduced by commit: > > | 709bc0657fe6f9f5 ("ARM: imx6ul: add fec MAC refrence clock and phy fixup > init") > > This fixup addresses boards with a specific configuration: a KSZ8081RNA > PHY with attached

[PATCH -next 3/3] arm64: dts: sparx5: Add SGPIO irq support

2020-12-09 Thread Lars Povlsen
This enables irq support for the SGPIO input banks, allowing SGPIO control signals to generate interrupts based on the signal state. This f.ex. allows the SFP driver to avoid polling of module detect, tx fault, loss of signal etc. control signals that may be connected via the SGPIO controller.

Re: [PATCH v2 0/7] tty: add flag to suppress ready signalling on open

2020-12-09 Thread Greg Kroah-Hartman
On Wed, Dec 02, 2020 at 12:39:35PM +0100, Johan Hovold wrote: > This series adds a new NORDY port flag to suppress raising the > modem-control lines on open to signal DTE readiness. > > This can be used to implement a NORDY termios control flag to complement > HUPCL, which controls lowering of

[PATCH -next 2/3] dt-bindings: pinctrl: pinctrl-microchip-sgpio: Add irq support

2020-12-09 Thread Lars Povlsen
This describe the new bindings for the added IRQ support in the pinctrl-microchip-sgpio driver. Signed-off-by: Lars Povlsen --- .../bindings/pinctrl/microchip,sparx5-sgpio.yaml | 16 1 file changed, 16 insertions(+) diff --git

[PATCH -next 1/3] pinctrl: pinctrl-microchip-sgpio: Add irq support (for sparx5)

2020-12-09 Thread Lars Povlsen
This adds 'interrupt-controller' features for the signals available on the Microchip SGPIO controller, however only for controller versions on the Sparx5 platform (or later). Signed-off-by: Lars Povlsen --- drivers/pinctrl/pinctrl-microchip-sgpio.c | 187 +- 1 file changed,

[PATCH -next 0/3] pinctrl: pinctrl-microchip-sgpio: Add interrupt controller support

2020-12-09 Thread Lars Povlsen
This adds 'interrupt-controller' features for the signals available on the Microchip SGPIO controller. Due to hardware limitations this feature is limited to Sparx5 platform (or later). Lars Povlsen (3): pinctrl: pinctrl-microchip-sgpio: Add irq support (for sparx5) dt-bindings: pinctrl:

RE: [PATCH v13 05/15] iommu/smmuv3: Get prepared for nested stage support

2020-12-09 Thread Shameerali Kolothum Thodi
Hi Eric, > -Original Message- > From: Eric Auger [mailto:eric.au...@redhat.com] > Sent: 18 November 2020 11:22 > To: eric.auger@gmail.com; eric.au...@redhat.com; > io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; > k...@vger.kernel.org; kvm...@lists.cs.columbia.edu;

Re: [PATCH v2 1/4] KVM: PPC: Allow nested guest creation when L0 hv_guest_state > L1

2020-12-09 Thread Fabiano Rosas
Ravi Bangoria writes: > On powerpc, L1 hypervisor takes help of L0 using H_ENTER_NESTED > hcall to load L2 guest state in cpu. L1 hypervisor prepares the > L2 state in struct hv_guest_state and passes a pointer to it via > hcall. Using that pointer, L0 reads/writes that state directly > from/to

Re: [RFC PATCH v2] checkpatch: rewrite Kconfig parsing

2020-12-09 Thread Nicolai Fischer
On 12/8/20 7:58 PM, Joe Perches wrote: > On Tue, 2020-12-08 at 18:18 +0100, Nicolai Fischer wrote: >> Checkpatch currently only warns if the help text is too short. >> To determine this the diff gets parsed for keywords starting >> a new entry, but several kinds of false positives can occur with

Re: [PATCH v2 15/24] proc/fd: In proc_readfd_common use task_lookup_next_fd_rcu

2020-12-09 Thread Al Viro
On Tue, Dec 08, 2020 at 10:24:57PM -0600, Eric W. Biederman wrote: > Al Viro writes: > > > On Tue, Dec 08, 2020 at 04:38:09PM -0600, Eric W. Biederman wrote: > > > >> Is there any reason we don't simply rcu free the files_struct? > >> That would remove the need for the task_lock entirely. > > >

RE: [EXTERNAL] Re: [PATCH] PCI: Mark AMD Raven iGPU ATS as broken

2020-12-09 Thread Deucher, Alexander
[AMD Public Use] > -Original Message- > From: Merger, Edgar [AUTOSOL/MAS/AUGS] > Sent: Wednesday, December 9, 2020 2:59 AM > To: Deucher, Alexander ; Huang, Ray > ; Kuehling, Felix > Cc: Will Deacon ; linux-kernel@vger.kernel.org; > linux- p...@vger.kernel.org;

[PATCH v2 1/1] hisi_sas: Fix possible buffer overflows in prep_ssp_v3_hw

2020-12-09 Thread Xiaohui Zhang
From: Zhang Xiaohui prep_ssp_v3_hw() calls memcpy() without checking the destination size may trigger a buffer overflower. buf_cmd should be a ssp_tmf_iu struct through the analysis of the command below: buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) + sizeof(struct ssp_frame_hdr); Then

Re: [PATCH v2 4/4] MAINTAINERS: Add lib/test_scanf.c to VSPRINTF

2020-12-09 Thread Petr Mladek
On Mon 2020-11-30 14:58:00, Richard Fitzgerald wrote: > Adds the new scanf test to the VSPRINTF group. > > Signed-off-by: Richard Fitzgerald I would prefer to squash this into the 2nd patch that adds the file. But anyway: Reviewed-by: Petr Mladek Best Regards, Petr

Re: [PATCH v2 3/4] selftests: lib: Add wrapper script for test_scanf

2020-12-09 Thread Petr Mladek
On Mon 2020-11-30 14:57:59, Richard Fitzgerald wrote: > Adds a wrapper shell script for the test_scanf module. > > Signed-off-by: Richard Fitzgerald Reviewed-by: Petr Mladek Best Regards, Petr

Re: [PATCH v2 2/4] lib: test_scanf: Add tests for sscanf number conversion

2020-12-09 Thread Petr Mladek
On Mon 2020-11-30 14:57:58, Richard Fitzgerald wrote: > Adds test_sscanf to test various number conversion cases, as > number conversion was previously broken. > > This also tests the simple_strtoxxx() functions exported from > vsprintf.c. It is impressive. Honestly, I do not feel to be expert

Re: [PATCH net 1/4] net: freescale/fman: Split the main resource region reservation

2020-12-09 Thread Patrick Havelange
area. I'm assuming this is the problem you are trying to address here, besides the stack corruption issue. Yes exactly. I did not add this behaviour (having a main region and subdrivers using subregions), I'm just trying to correct what is already there. For example: this is some content of

<    5   6   7   8   9   10   11   12   13   14   >