[PATCH v2] sched/core: Fix uclamp ABI bug, clean up and robustify sched_read_attr() ABI logic and code

2019-09-04 Thread Ingo Molnar
* Ingo Molnar wrote: > As an added bonus the bogus -EFBIG return is removed as well. > > This needs to be fixed before v5.3 is released. > > NOTE: one additional open question is whether to set attr->size to the > *larger* value if the kernel has a newer ABI. This would allow >

[PATCH v2 2/2] KVM: selftests: Test invalid bits in kvm_valid_regs and kvm_dirty_regs on s390x

2019-09-04 Thread Thomas Huth
Now that we disallow invalid bits in kvm_valid_regs and kvm_dirty_regs on s390x, too, we should also check this condition in the selftests. The code has been taken from the x86-version of the sync_regs_test. Reviewed-by: Janosch Frank Reviewed-by: Christian Borntraeger Reviewed-by: Cornelia Huck

[PATCH v2 0/2] KVM: s390: Check for invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread Thomas Huth
Avoid invalid bits in kvm_valid_regs and kvm_dirty_regs on s390x. v2: - Split the single patch from v1 into two separate patches (I've kept the Reviewed-bys from v1, but if you don't agree with the patch description of the 2nd patch, please complain) Thomas Huth (2): KVM: s390: Disallow

[PATCH v2 1/2] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread Thomas Huth
If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this clearly indicates that something went wrong in the KVM userspace application. The x86 variant of KVM already contains a check for bad bits, so let's do the same on s390x now, too. Reviewed-by: Janosch Frank Reviewed-by: Christian B

RE: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Jacky.Cao
Hi, > I'm not ok with the whitespace damage making this patch impossible to apply :) Sorry for the whitespace damage issue I didn't notice when I copied the content. Just now I submitted v2 for this patch with whitespace damage issue fix. Please help to confirm, thank you. Regards Jacky

[RFC v2 1/3] cpufreq: ti-cpufreq: add support for omap34xx and omap36xx

2019-09-04 Thread H. Nikolaus Schaller
This adds code and tables to read the silicon revision and eFuse (speed binned / 720 MHz grade) bits for selecting opp-v2 table entries. Since these bits are not always part of the syscon register range (like for am33xx, am43, dra7), we add code to directly read the register values using ioremap()

[RFC v2 3/3] ARM: dts: omap3: bulk convert compatible to be explicitly ti,omap3430 or ti,omap36xx

2019-09-04 Thread H. Nikolaus Schaller
According to omap.txt bindings documentation, matching the ti-cpufreq driver needs to specify explicitly if a board uses an omap3430 or omap36xx chip. This needs to add ti,omap3430 to most omap34xx boards and replace ti,omap3630 by ti,omap36xx for some omap36xx boards (most others already have do

[RFC v2 0/3] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-09-04 Thread H. Nikolaus Schaller
Changes V2: * merge separate patch to remove opp-v1 table from n950-n9 into the general omap3xxx.dtsi patch * add legacy compatibility to ti,omap3430 and ti,omap3630 for the ti-cpufreq driver * make driver and omap3xxx.dtsi patches pass checkpatch * add bulk patch to explicitly define compatibi

[RFC v2 2/3] ARM: dts: replace opp-v1 tables by opp-v2 for omap34xx and omap36xx

2019-09-04 Thread H. Nikolaus Schaller
In addition, move omap3 from whitelist to blacklist in cpufreq-dt-platdev in the same patch, because doing either first breaks operation and may make trouble in bisect. We also can remove opp-v1 table for omap3-n950-n9 since it is now automatically detected. Signed-off-by: H. Nikolaus Schaller -

[PATCH v3] sched/core: Fix uclamp ABI bug, clean up and robustify sched_read_attr() ABI logic and code

2019-09-04 Thread Ingo Molnar
* Ingo Molnar wrote: > + if (!access_ok(uattr, ksize) > return -EFAULT; How about we pretend that I never sent v2? ;-) -v3 attached. Build and minimally boot tested. Thanks, Ingo ==> From: Ingo Molnar Date: Wed, 4 Sep 2019 09:55:32 +0200 Subje

Re: [PATCH AUTOSEL 4.19 044/167] drm/amdgpu: validate user pitch alignment

2019-09-04 Thread Michel Dänzer
On 2019-09-03 10:16 p.m., Daniel Vetter wrote: > On Tue, Sep 3, 2019 at 10:01 PM Sasha Levin wrote: >> On Tue, Sep 03, 2019 at 07:03:47PM +0200, Greg KH wrote: >>> On Tue, Sep 03, 2019 at 06:40:43PM +0200, Michel Dänzer wrote: On 2019-09-03 6:23 p.m., Sasha Levin wrote: > From: Yu Zhao >

Re: PCI/kernel msi code vs GIC ITS driver conflict?

2019-09-04 Thread John Garry
On 03/09/2019 17:16, Marc Zyngier wrote: Hi John, On 03/09/2019 15:09, John Garry wrote: Hi Marc, Bjorn, Thomas, Hi Marc, We've come across a conflict with the kernel/pci msi code and GIC ITS driver on our arm64 system, whereby we can't unbind and re-bind a PCI device driver under special

Re: usb dma_mask fixups

2019-09-04 Thread Lee Jones
On Tue, 03 Sep 2019, Greg Kroah-Hartman wrote: > On Tue, Sep 03, 2019 at 10:46:09AM +0200, Christoph Hellwig wrote: > > Hi all, > > > > the first patch fixes the ohci-sm501 regression that Guenther reported > > due to the platform device dma_mask changes. The second one ports that > > fix to ano

Re: [PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-09-04 Thread Leo Yan
Hi Adrian, On Wed, Sep 04, 2019 at 10:26:13AM +0300, Adrian Hunter wrote: [...] > > Could you take chance to review my below replying? I'd like to get > > your confirmation before I send out offical patch. > > It is not necessary to do kallsyms__parse for x86_64, so it would be better > to che

arm64: ls1028a-qds: correct bus of rtc

2019-09-04 Thread Biwen Li
The rtc is on i2c2 bus(hardware), not on i2c1 channel 3, so correct it Signed-off-by: Biwen Li --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/b

Re: [PATCH V9 2/3] mmc: sdhci-pci-o2micro: Move functions in preparation to fix DLL lock phase shift issue

2019-09-04 Thread Adrian Hunter
On 29/08/19 8:40 PM, Shirley Her (SC) wrote: > Move functions in preparation to fix DLL lock phase shift issue > > Signed-off-by: Shirley Her Acked-by: Adrian Hunter So that is all 3 patches acked now. > --- > change in V9: > 1. modify subject and commit message to match the patch > > chang

[PATCH -next] usb: renesas_usbhs: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/renesas_usbhs/common.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/renesas_usbhs/common.c

Aktualizujte své upozornění na microsoft nyní:

2019-09-04 Thread James Forde
POTŘEBA OVĚŘENÍ MICROSOFTU Mnoho vašich příchozích zpráv bylo pozastaveno, protože ověřovací tým společnosti Microsoft neověřuje váš účet v e-mailové schránce. Abychom mohli přijímat vaše zprávy, ověřte se nyní, omlouváme se za případné nepříjemnosti a vážíme si

[PATCH -next] usb: gadget: at91_udc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/at91_udc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_udc.c b/dr

15 of your incoming messages has been suspended

2019-09-04 Thread James Forde
MICROSOFT NOTIFICATION MEMO 15 of your incoming messages has been suspended because your email box account needs to be verify now. Do Verify now to release your messages Microsoft Verification Team Microsoft Webmail .Inc . © 2019 Bon Sec

Re: [PATCH v2 1/2] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread David Hildenbrand
On 04.09.19 10:51, Thomas Huth wrote: > If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this > clearly indicates that something went wrong in the KVM userspace > application. The x86 variant of KVM already contains a check for > bad bits, so let's do the same on s390x now, too. > > Re

Re: [PATCH 3/3] dt-bindings: regulator: add regulator-fixed-clock binding

2019-09-04 Thread Rob Herring
On Wed, Sep 4, 2019 at 9:07 AM Philippe Schenker wrote: > > On Tue, 2019-09-03 at 09:45 +0100, Rob Herring wrote: > > On Tue, Sep 3, 2019 at 9:03 AM Philippe Schenker > > wrote: > > > This adds the documentation to the compatible regulator-fixed-clock > > > > Please explain what that is in this p

Re: [PATCH v2 2/2] KVM: selftests: Test invalid bits in kvm_valid_regs and kvm_dirty_regs on s390x

2019-09-04 Thread David Hildenbrand
On 04.09.19 10:52, Thomas Huth wrote: > Now that we disallow invalid bits in kvm_valid_regs and kvm_dirty_regs > on s390x, too, we should also check this condition in the selftests. > The code has been taken from the x86-version of the sync_regs_test. > > Reviewed-by: Janosch Frank > Reviewed-by:

RE: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-04 Thread Vitor Soares
From: Przemyslaw Gaj Date: Wed, Sep 04, 2019 at 05:47:18 > The 09/03/2019 11:57, Vitor Soares wrote: > > EXTERNAL MAIL > > > > > > From: Przemyslaw Gaj > > Date: Tue, Sep 03, 2019 at 12:13:57 > > > > > Hi Vitor, > > > > > > I'm sorry for the delay. > > > > > > The 09/03/2019 12:35, Vitor So

[PATCH -next] usb: isp1362-hcd: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/host/isp1362-hcd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers

Re: [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-04 Thread Jan Beulich
On 04.09.2019 02:20, Igor Druzhinin wrote: > If MCFG area is not reserved in E820, Xen by default will defer its usage > until Dom0 registers it explicitly after ACPI parser recognizes it as > a reserved resource in DSDT. Having it reserved in E820 is not > mandatory according to "PCI Firmware Spec

Re: [PATCH v2 1/2] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread Thomas Huth
On 04/09/2019 11.05, David Hildenbrand wrote: > On 04.09.19 10:51, Thomas Huth wrote: >> If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this >> clearly indicates that something went wrong in the KVM userspace >> application. The x86 variant of KVM already contains a check for >> bad b

Re: [PATCH v2 1/2] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread Christian Borntraeger
On 04.09.19 11:05, David Hildenbrand wrote: > On 04.09.19 10:51, Thomas Huth wrote: >> If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this >> clearly indicates that something went wrong in the KVM userspace >> application. The x86 variant of KVM already contains a check for >> bad

Re: [PATCH v2 1/2] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread David Hildenbrand
On 04.09.19 11:10, Thomas Huth wrote: > On 04/09/2019 11.05, David Hildenbrand wrote: >> On 04.09.19 10:51, Thomas Huth wrote: >>> If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this >>> clearly indicates that something went wrong in the KVM userspace >>> application. The x86 variant

Re: [PATCH v3 3/3] Powerpc64/Watchpoint: Rewrite ptrace-hwbreak.c selftest

2019-09-04 Thread Ravi Bangoria
On 8/28/19 11:44 AM, Christophe Leroy wrote: Le 10/07/2019 à 06:54, Ravi Bangoria a écrit : ptrace-hwbreak.c selftest is logically broken. On powerpc, when watchpoint is created with ptrace, signals are generated before executing the instruction and user has to manually singlestep the instr

[PATCH -next] usb: host: xhci-tegra: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/host/xhci-tegra.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/xhci-tegra.c b/driver

[PATCH] KVM: PPC: Book3S HV: Delete an unnecessary check before kfree() in __kvmhv_nested_page_fault()

2019-09-04 Thread Markus Elfring
From: Markus Elfring Date: Wed, 4 Sep 2019 11:00:20 +0200 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/powerpc

Re: [PATCH -tip v2] kprobes: Prohibit probing on BUG() and WARN() address

2019-09-04 Thread Naveen N. Rao
Masami Hiramatsu wrote: Since BUG() and WARN() may use a trap (e.g. UD2 on x86) to get the address where the BUG() has occurred, kprobes can not do single-step out-of-line that instruction. So prohibit probing on such address. Without this fix, if someone put a kprobe on WARN(), the kernel will

Re: [PATCH] printf: add support for printing symbolic error codes

2019-09-04 Thread Rasmus Villemoes
On 02/09/2019 17.29, Uwe Kleine-König wrote: > Hello Rasmus, > > On 8/30/19 11:46 PM, Rasmus Villemoes wrote: >> It has been suggested several times to extend vsnprintf() to be able >> to convert the numeric value of ENOSPC to print "ENOSPC". This is yet >> another attempt. Rather than adding anot

Re: [PATCH] scsi: virtio_scsi: unplug LUNs when events missed

2019-09-04 Thread Michael S. Tsirkin
On Tue, Sep 03, 2019 at 05:04:20PM +, Matt Lupfer wrote: > The event handler calls scsi_scan_host() when events are missed, which > will hotplug new LUNs. However, this function won't remove any > unplugged LUNs. The result is that hotunplug doesn't work properly when > the number of unplugge

Re: [PATCH v2 1/2] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread David Hildenbrand
On 04.09.19 11:11, Christian Borntraeger wrote: > > > On 04.09.19 11:05, David Hildenbrand wrote: >> On 04.09.19 10:51, Thomas Huth wrote: >>> If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this >>> clearly indicates that something went wrong in the KVM userspace >>> application. Th

Re: [PATCH v6 2/4] soundwire: core: add device tree support for slave devices

2019-09-04 Thread Vinod Koul
On 29-08-19, 17:35, Srinivas Kandagatla wrote: > This patch adds support to parsing device tree based > SoundWire slave devices. Applied, thanks -- ~Vinod

Re: [PATCH v6 1/4] dt-bindings: soundwire: add slave bindings

2019-09-04 Thread Vinod Koul
On 29-08-19, 17:35, Srinivas Kandagatla wrote: > This patch adds bindings for Soundwire Slave devices that includes how > SoundWire enumeration address and Link ID are used to represented in > SoundWire slave device tree nodes. Applied, thanks -- ~Vinod

Re: [PATCH v1 1/3] perf cs-etm: Refactor instruction size handling

2019-09-04 Thread Leo Yan
Hi Mathieu, On Tue, Sep 03, 2019 at 04:22:15PM -0600, Mathieu Poirier wrote: > On Fri, Aug 30, 2019 at 02:24:19PM +0800, Leo Yan wrote: > > There has several code pieces need to know the instruction size, but > > now every place calculates the instruction size separately. > > > > This patch refac

Re: [PATCH] printf: add support for printing symbolic error codes

2019-09-04 Thread Uwe Kleine-König
On 9/4/19 11:13 AM, Rasmus Villemoes wrote: > On 02/09/2019 17.29, Uwe Kleine-König wrote: >> Acked-by: Uwe Kleine-König > > Thanks. The buildbot apparently tried to compile the errcode.h header by > itself and complained that NULL was not defined, so I'll respin to make > it happy, and add a not

Re: [PATCH v2 1/2] KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs

2019-09-04 Thread Thomas Huth
On 04/09/2019 11.15, David Hildenbrand wrote: > On 04.09.19 11:11, Christian Borntraeger wrote: >> >> >> On 04.09.19 11:05, David Hildenbrand wrote: >>> On 04.09.19 10:51, Thomas Huth wrote: If unknown bits are set in kvm_valid_regs or kvm_dirty_regs, this clearly indicates that something

[PATCH net] net: sonic: remove dev_kfree_skb before return NETDEV_TX_BUSY

2019-09-04 Thread Mao Wenan
When dma_map_single is failed to map buffer, skb can't be freed before sonic driver return to stack with NETDEV_TX_BUSY, because this skb may be requeued to qdisc, it might trigger use-after-free. Fixes: d9fb9f384292 ("*sonic/natsemi/ns83829: Move the National Semi-conductor drivers") Signed-off-

Re: [PATCH v2 1/5] soundwire: Add compute_params callback

2019-09-04 Thread Vinod Koul
On 13-08-19, 09:35, Srinivas Kandagatla wrote: > From: Vinod Koul > > This callback allows masters to compute the bus parameters required. Applied this to help manage cross dependencies with various folks better, thanks -- ~Vinod

Re: [PATCH v2 2/5] soundwire: stream: make stream name a const pointer

2019-09-04 Thread Vinod Koul
On 13-08-19, 09:35, Srinivas Kandagatla wrote: > Make stream name const pointer Good catch, Applied, thanks -- ~Vinod

Re: [PATCH v3] sched/core: Fix uclamp ABI bug, clean up and robustify sched_read_attr() ABI logic and code

2019-09-04 Thread Dietmar Eggemann
On 04/09/2019 10:55, Ingo Molnar wrote: > > * Ingo Molnar wrote: > >> +if (!access_ok(uattr, ksize) >> return -EFAULT; > > How about we pretend that I never sent v2? ;-) > > -v3 attached. Build and minimally boot tested. > > Thanks, > > Ingo > This patch fixes the is

Re: [GIT PULL 1/3] soc: samsung: Exynos for v5.4

2019-09-04 Thread Arnd Bergmann
On Wed, Sep 4, 2019 at 10:37 AM Krzysztof Kozlowski wrote: > On Tue, 3 Sep 2019 at 19:21, Arnd Bergmann wrote: > > On Thu, Aug 22, 2019 at 8:35 PM Krzysztof Kozlowski wrote: > > I have drafted a related patch recently, regarding the related > > arch/arm/plat-samsung/cpu.c file. This is part of a

Re: [PATCH] soundwire: slave: Fix unused function warning on !ACPI

2019-09-04 Thread Vinod Koul
On 30-08-19, 11:56, Randy Dunlap wrote: > On 8/30/19 11:52 AM, Michal Suchanek wrote: > > Fixes the following warning on !ACPI systems: > > > > drivers/soundwire/slave.c:16:12: warning: ‘sdw_slave_add’ defined but > > not used [-Wunused-function] > > static int sdw_slave_add(struct sdw_bus *bus,

Re: Asus VivoBook Flip TP202NA-EH012T EMMC problem

2019-09-04 Thread Ulf Hansson
+ Kai Heng Feng On Sat, 31 Aug 2019 at 11:43, Óvári wrote: > > Hello, > > As per > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818407/comments/26 here > is an email. > > Information is provided at > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818407/comments/32 > > Please a

[PATCH -next] usb: gadget: bcm63xx_udc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/bcm63xx_udc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/udc/bcm63xx_u

Beachten Sie, dass Ihr E-Mail-Konto vor der Sperrung steht

2019-09-04 Thread James Forde
DRINGENDER HINWEIS ZUR MICROSOFT-ÜBERPRÜFUNG Beachten Sie, dass Ihr E-Mail-Konto vor der Sperrung steht, wenn Sie es jetzt nicht ordnungsgemäß bestätigen. Überprüfen Sie dies jetzt, da es sonst ausgesetzt wird. Microsoft Verification Team Microsoft Copyright ©

[PATCH net-next] r8152: adjust the settings of ups flags

2019-09-04 Thread Hayes Wang
The UPS feature only works for runtime suspend, so UPS flags only need to be set before enabling runtime suspend. Therefore, I create a struct to record relative information, and use it before runtime suspend. All chips could record such information, even though not all of them support the feature

[PATCH -next] usb: bdc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/bdc/bdc_core.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core

Re: [PATCH v4 00/12] Symbol Namespaces

2019-09-04 Thread Masahiro Yamada
On Wed, Sep 4, 2019 at 12:07 AM Matthias Maennich wrote: > > As of Linux 5.3-rc7, there are 31207 [1] exported symbols in the kernel. > That is a growth of roughly 1000 symbols since 4.17 (30206 [2]). There > seems to be some consensus amongst kernel devs that the export surface > is too large, an

Re: [PATCH v2] checkpatch: fix multiple const * types

2019-09-04 Thread Antonio Borneo
Hi Joe, can this series be queued for merge ? I just found I mess-up the mail thread references, so here are the latest versions: [1/4 V2] https://lore.kernel.org/lkml/20190508174347.13901-1-borneo.anto...@gmail.com/ [2/4] dropped [3/4] https://lore.kernel.org/lkml/20190508122721.7513-3-borneo

RE: [PATCH] staging: exfat: cleanup braces for if/else statements

2019-09-04 Thread David Laight
From: Valentin Vidic > Sent: 03 September 2019 19:12 > On Tue, Sep 03, 2019 at 06:32:49PM +0100, Al Viro wrote: > > On Tue, Sep 03, 2019 at 06:47:32PM +0200, Valentin Vidic wrote: > > > + } else if (uni == 0x) { > > > skip = TRUE; > > > > While we are a

[PATCH] perf jvmti: Link against tools/lib/string.h to have weak strlcpy()

2019-09-04 Thread Thomas Richter
That is needed in systems such some S/390 distros. [root@m35lp76 perf]# readelf -s jvmti/jvmti-in.o | fgrep strlcpy 408: 2bc8 216 FUNCWEAK DEFAULT 116 strlcpy [root@m35lp76 perf]# Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Thomas Richter --- tools/perf/jvmt

[PATCH -next] usb: gadget: gr_udc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/gr_udc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/gr_udc.c b/drivers

[PATCH -next] usb: gadget: pxa25x_udc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/pxa25x_udc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c

[PATCH -next] usb: gadget: pxa27x_udc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/pxa27x_udc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c

Re: [Patch V8 6/8] arm64: tegra: Enable xudc on Jetson TX1

2019-09-04 Thread Chunfeng Yun
On Wed, 2019-09-04 at 13:53 +0530, Nagarjuna Kristam wrote: > Enable XUSB device mode driver for USB0 slot on Jetson TX1. > > Signed-off-by: Nagarjuna Kristam > Reviewed-by: JC Kuo > --- > arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 31 > +- > 1 file changed, 30 in

[PATCH -next] usb: gadget: r8a66597-udc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/r8a66597-udc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/r8a66597-u

[PATCH 2/2] perf/stat: Fix a segmentation fault when using repeat forever

2019-09-04 Thread Srikar Dronamraju
Observe a segmentation fault when perf stat is asked to repeat forever with the interval option. Without fix: perf stat -r 0 -I 5000 -e cycles -a sleep 10 # time counts unit events 5.000211692 3,13,89,82,34,157 cycles 10.000380119 1,53,98,52,22,294 cycle

[PATCH 0/2] Perf/stat: Solve problems with repeat and interval

2019-09-04 Thread Srikar Dronamraju
There are some problems in perf stat when using a combination of repeat and interval options. This series tries to fix them. Srikar Dronamraju (2): perf/stat: Reset previous counts on repeat with interval perf/stat: Fix a segmentation fault when using repeat forever tools/perf/builtin-stat.c

[PATCH 1/2] perf/stat: Reset previous counts on repeat with interval

2019-09-04 Thread Srikar Dronamraju
When using perf stat with repeat and interval option, perf stat shows wrong values for events. The wrong values will be shown for the first interval on the second and subsequent repetitions. Without fix: perf stat -r 3 -I 2000 -e faults -e sched:sched_switch -a sleep 5 2.000282489

Re: [PATCH v2] cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available

2019-09-04 Thread Rafael J. Wysocki
On 8/29/2019 10:49 AM, Wanpeng Li wrote: From: Wanpeng Li The downside of guest side polling is that polling is performed even with other runnable tasks in the host. However, even if poll in kvm can aware whether or not other runnable tasks in the same pCPU, it can still incur extra overhead in

[PATCH -next] usb: gadget: renesas_usb3: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/renesas_usb3.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/renesas_usb3

[PATCH -next] usb: gadget: s3c-hsudc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/usb/gadget/udc/s3c-hsudc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/gadget/udc/s3c-hsudc.c b

Re: [PATCH net] net: sonic: remove dev_kfree_skb before return NETDEV_TX_BUSY

2019-09-04 Thread Thomas Bogendoerfer
On Wed, Sep 04, 2019 at 05:42:11PM +0800, Mao Wenan wrote: > When dma_map_single is failed to map buffer, skb can't be freed > before sonic driver return to stack with NETDEV_TX_BUSY, because > this skb may be requeued to qdisc, it might trigger use-after-free. > > Fixes: d9fb9f384292 ("*sonic/nat

RE: [PATCH] Input: elants_i2c - return real value of elants_i2c_initialize()

2019-09-04 Thread Johnny.Chuang
Hi Dmitry, Got it, let it dropped. Many thanks, Johnny -Original Message- From: 'Dmitry Torokhov' [mailto:dmitry.torok...@gmail.com] Sent: Tuesday, September 03, 2019 11:55 PM To: Johnny.Chuang Cc: linux-kernel@vger.kernel.org; linux-in...@vger.kernel.org; 'STRD2-蔡惠嬋'; 'STRD2-陳崇明經理'; '梁

Re: [PATCH 0/5] dmaengine: ti: edma: Multicore usage related fixes

2019-09-04 Thread Vinod Koul
On 23-08-19, 15:56, Peter Ujfalusi wrote: > Hi, > > When other cores want to use EDMA for their use cases Linux was not playing > nicely. > By design EDMA is supporting shared use with shadow regions. Linux is using > region0, others can be used by other cores. > > In order to not break multicore

Re: [PATCH V8 3/3] mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock phase shift issue

2019-09-04 Thread Ulf Hansson
On Wed, 21 Aug 2019 at 20:39, Shirley Her (SC) wrote: > > Fix data read/write error in HS200 mode due to chip DLL lock phase shift > > Signed-off-by: Shirley Her Applied for next, thanks! Kind regards Uffe > --- > change in V8: > 1. fix patch format error > > change in V7: > 1. change subje

Re: [PATCH V9 2/3] mmc: sdhci-pci-o2micro: Move functions in preparation to fix DLL lock phase shift issue

2019-09-04 Thread Ulf Hansson
On Thu, 29 Aug 2019 at 19:41, Shirley Her (SC) wrote: > > Move functions in preparation to fix DLL lock phase shift issue > > Signed-off-by: Shirley Her Applied for next, thanks! Kind regards Uffe > --- > change in V9: > 1. modify subject and commit message to match the patch > > change in V

Re: [PATCH V8 1/3] mmc: sdhci-pci-o2micro: Change O2 Host PLL and DLL register name

2019-09-04 Thread Ulf Hansson
On Wed, 21 Aug 2019 at 20:38, Shirley Her (SC) wrote: > > Change O2 Host PLL and DLL register name > > Signed-off-by: Shirley Her Applied for next, thanks! Kind regards Uffe > --- > change in V8: > 1. fix patch format error > > change in V7: > 1. change subject > > change in V6: > 1. chang

Re: [PATCH V7 5/5] mmc: host: sdhci-pci: Add Genesys Logic GL975x support

2019-09-04 Thread Adrian Hunter
On 4/09/19 3:58 AM, Ben Chuang wrote: > On Tue, Sep 3, 2019 at 6:05 AM Andy Shevchenko > wrote: >> >> On Fri, Aug 30, 2019 at 5:28 AM Ben Chuang wrote: >>> >>> From: Ben Chuang >>> >>> Add support for the GL9750 and GL9755 chipsets. >>> >>> Enable v4 mode and wait 5ms after set 1.8V signal enabl

Re: [PATCH v4 08/12] scripts: Coccinelle script for namespace dependencies.

2019-09-04 Thread Masahiro Yamada
On Wed, Sep 4, 2019 at 12:07 AM Matthias Maennich wrote: > > A script that uses the '.ns_deps' files generated by modpost to > automatically add the required symbol namespace dependencies to each > module. > > Usage: > 1) Move some symbols to a namespace with EXPORT_SYMBOL_NS() or define >DEFA

Re: [PATCH RESEND] fs/epoll: fix the edge-triggered mode for nested epoll

2019-09-04 Thread Roman Penyaev
On 2019-09-03 23:08, Jason Baron wrote: On 9/2/19 11:36 AM, Roman Penyaev wrote: Hi, This is indeed a bug. (quick side note: could you please remove efd[1] from your test, because it is not related to the reproduction of a current bug). Your patch lacks a good description, what exactly you've

Re: usb dma_mask fixups

2019-09-04 Thread Greg Kroah-Hartman
On Wed, Sep 04, 2019 at 09:57:36AM +0100, Lee Jones wrote: > On Tue, 03 Sep 2019, Greg Kroah-Hartman wrote: > > > On Tue, Sep 03, 2019 at 10:46:09AM +0200, Christoph Hellwig wrote: > > > Hi all, > > > > > > the first patch fixes the ohci-sm501 regression that Guenther reported > > > due to the pl

Re: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Greg KH
On Wed, Sep 04, 2019 at 08:52:12AM +, jacky@sony.com wrote: > Hi, > > > I'm not ok with the whitespace damage making this patch impossible to apply > > :) > > Sorry for the whitespace damage issue I didn't notice when I copied the > content. > Just now I submitted v2 for this patch wit

[PATCH] staging: exfat: remove the redundant check when kfree an object in exfat_destroy_inode

2019-09-04 Thread zhong jiang
kfree has taken the null check in account. hence it is unnecessary to add the null check before kfree the object. Just remove it. Signed-off-by: zhong jiang --- drivers/staging/exfat/exfat_super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/exfat/exfat_s

linux-next: manual merge of the usb tree with the pm tree

2019-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the usb tree got a conflict in: drivers/usb/roles/intel-xhci-usb-role-switch.c between commit: d2a90ebb6553 ("usb: roles: intel_xhci: Supplying software node for the role mux") from the pm tree and commit: 2be1fb64dfeb ("usb: roles: intel: Enable sta

[PATCH 0/3] UFS: Add support for SM8150 UFS

2019-09-04 Thread Vinod Koul
This series adds compatible strings for ufs hc and ufs qmp phy found in Qualcomm SM8150 SoC. Also update the qmp phy driver with version 4 and support for ufs phy. Vinod Koul (3): dt-bindings: ufs: Add sm8150 compatible string dt-bindings: phy-qcom-qmp: Add sm8150 UFS phy compatible string p

[PATCH 1/3] dt-bindings: ufs: Add sm8150 compatible string

2019-09-04 Thread Vinod Koul
Document "qcom,sm8150-ufshc" compatible string for UFS HC found on SM8150. Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt b/Documentation/devicetree

[PATCH v3 0/2] PCI: Add Intel PCIe Driver and respective dt-binding yaml file

2019-09-04 Thread Dilip Kota
Intel PCIe is synopsys based controller utilizes the Designware framework for host initialization and intel application specific register configurations. Changes on v3: Compared to v2, map_irq() patch is removed as it is no longer required for Intel PCIe driver. Intel PCIe driver

[PATCH 3/3] phy: qcom-qmp: Add SM8150 QMP UFS PHY support

2019-09-04 Thread Vinod Koul
SM8150 UFS PHY is v4 of QMP phy. Add support for V4 QMP phy register defines and support for SM8150 QMP UFS PHY. Signed-off-by: Vinod Koul --- drivers/phy/qualcomm/phy-qcom-qmp.c | 125 drivers/phy/qualcomm/phy-qcom-qmp.h | 96 + 2 files changed,

Re: Crash kernel with 256 MB reserved memory runs into OOM condition

2019-09-04 Thread Paul Menzel
Dear Dave, Thank you for your replies. On 2019-08-13 04:54, Dave Young wrote: > On 08/13/19 at 10:46am, Dave Young wrote: >> On 08/13/19 at 10:43am, Dave Young wrote: >>> On 08/12/19 at 11:50am, Michal Hocko wrote: On Mon 12-08-19 11:42:33, Paul Menzel wrote: > On a Dell PowerEdge R

[PATCH 2/3] dt-bindings: phy-qcom-qmp: Add sm8150 UFS phy compatible string

2019-09-04 Thread Vinod Koul
Document "qcom,sdm845-qmp-ufs-phy" compatible string for QMP UFS PHY found on SM8150. Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.

[PATCH v3 1/2] dt-bindings: PCI: intel: Add YAML schemas for the PCIe RC controller

2019-09-04 Thread Dilip Kota
The Intel PCIe RC controller is Synopsys Designware based PCIe core. Add YAML schemas for PCIe in RC mode present in Intel Universal Gateway soc. Signed-off-by: Dilip Kota --- changes on v3: Add the appropriate License-Identifier Rename intel,rst-interval to 'reset-assert-us'

[PATCH v3 2/2] dwc: PCI: intel: Intel PCIe RC controller driver

2019-09-04 Thread Dilip Kota
Add support to PCIe RC controller on Intel Universal Gateway SoC. PCIe controller is based of Synopsys Designware pci core. Signed-off-by: Dilip Kota --- changes on v3: Rename PCIe app logic registers with PCIE_APP prefix. PCIE_IOP_CTRL configuration is not required. Remove respec

Re: [PATCH -rcu dev 1/2] Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom of ->dynticks counter")

2019-09-04 Thread Paul E. McKenney
On Wed, Sep 04, 2019 at 12:59:10AM -0400, Joel Fernandes wrote: > On Tue, Sep 03, 2019 at 01:02:49PM -0700, Paul E. McKenney wrote: > [snip] > > > --- > > > include/linux/rcutiny.h | 3 -- > > > kernel/rcu/tree.c | 82 ++--- > > > 2 files changed, 19 ins

Re: [PATCH for 5.4] media: hantro: Fix s_fmt for dynamic resolution changes

2019-09-04 Thread Philipp Zabel
Hi Ezequiel, On Tue, 2019-09-03 at 14:12 -0300, Ezequiel Garcia wrote: > Commit 953aaa1492c53 ("media: rockchip/vpu: Prepare things to support > decoders") > changed the conditions under S_FMT was allowed for OUTPUT > CAPTURE buffers. > > However, and according to the mem-to-mem stateless decode

Re: [RFC][PATCH 01/13] sched/deadline: Impose global limits on sched_attr::sched_period

2019-09-04 Thread Steven Rostedt
On Mon, 2 Sep 2019 11:16:23 +0200 Peter Zijlstra wrote: > in sched_dl_period_handler(). And do: > > + preempt_disable(); > max = (u64)READ_ONCE(sysctl_sched_dl_period_max) * NSEC_PER_USEC; > min = (u64)READ_ONCE(sysctl_sched_dl_period_min) * NSEC_PER_USEC; > + preempt_enable(

Re: general protection fault in smack_socket_sendmsg

2019-09-04 Thread Tetsuo Handa
On 2019/09/04 8:17, Casey Schaufler wrote: > On 8/30/2019 10:33 PM, Hillf Danton wrote: >>> dashboard link: https://syzkaller.appspot.com/bug?extid=5fd781d646d4fcbdfeb0 > If you want to add a description and signed-off-by I will take this. Excuse me, but this bug was already closed as dup of "KASA

Re: [PATCH v13 0/8] Exynos5 Dynamic Memory Controller driver

2019-09-04 Thread Krzysztof Kozlowski
On Wed, 21 Aug 2019 at 12:43, Lukasz Luba wrote: > > Hi all, > > This is v13 which makes cosmetic changes. It is based on current mainline > (v5.3-rc5) with with devfreq/for-next where there is a PPMU patch [1]. > > The patch set adds support of Dynamic Memory Controller for Exynos5422 SoC. > The

Re: [PATCH 8/8] x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops

2019-09-04 Thread Mike Travis
Hi Christoph, I can do these and leave some comments as markers to find the code to remove later. The real problem is uv_mmrs.h is a generated file and the scripts cannot be easily redone. Basically they copy in the verilog definition files from the UV HUB design files and create kernel com

Re: [PATCH v1] tracing: Drop static keyword for exported ftrace_set_clr_event()

2019-09-04 Thread Steven Rostedt
On Mon, 2 Sep 2019 12:34:06 +0300 Andy Shevchenko wrote: > On Fri, Aug 30, 2019 at 05:04:24PM -0400, Steven Rostedt wrote: > > On Fri, 30 Aug 2019 22:32:28 +0300 > > Andy Shevchenko wrote: > > > > > When we export something, it shan't be static. > > > > I'm finally getting around to my pat

Re: [PATCH v3] /dev/mem: Bail out upon SIGKILL.

2019-09-04 Thread Tetsuo Handa
Ping? Syzbot is still reporting this problem. On 2019/08/26 22:44, Tetsuo Handa wrote: > On 2019/08/26 22:29, Greg Kroah-Hartman wrote: >> On Mon, Aug 26, 2019 at 10:13:25PM +0900, Tetsuo Handa wrote: >>> syzbot found that a thread can stall for minutes inside read_mem() or >>> write_mem() after t

Re: [PATCH net] net: sonic: remove dev_kfree_skb before return NETDEV_TX_BUSY

2019-09-04 Thread Eric Dumazet
On 9/4/19 11:42 AM, Mao Wenan wrote: > When dma_map_single is failed to map buffer, skb can't be freed > before sonic driver return to stack with NETDEV_TX_BUSY, because > this skb may be requeued to qdisc, it might trigger use-after-free. > > Fixes: d9fb9f384292 ("*sonic/natsemi/ns83829: Move

[PATCH v2] dt-bindings: serial: Convert riscv,sifive-serial to json-schema

2019-09-04 Thread Pragnesh Patel
Convert the riscv,sifive-serial binding to DT schema using json-schema. Signed-off-by: Pragnesh Patel --- Changes in v2: - Replace enum with items in compatible property .../devicetree/bindings/serial/sifive-serial.txt | 33 .../devicetree/bindings/serial/sifive-serial.yaml | 6

Re: [PATCH RFC 1/2] dt-bindings: interconnect: qcom: add msm8974 bindings

2019-09-04 Thread Brian Masney
On Tue, Sep 03, 2019 at 10:01:03PM -0700, Bjorn Andersson wrote: > On Mon 02 Sep 14:19 PDT 2019, Brian Masney wrote: > > + mmssnoc: interconnect@fc478000 { > > + reg = <0xfc478000 0x4000>; > > + compatible = "qcom,msm8974-mmssnoc"; > > + #interconnect-cel

Re: [PATCH v5 1/4] ftrace: Implement fs notification for tracing_max_latency

2019-09-04 Thread Paul E. McKenney
On Wed, Sep 04, 2019 at 12:00:39AM -0400, Joel Fernandes wrote: > [ Resending since I messed up my last email's headers! ] > > On Tue, Sep 03, 2019 at 03:25:59PM +0200, Viktor Rosendahl wrote: > > This patch implements the feature that the tracing_max_latency file, > > e.g. /sys/kernel/debug/traci

<    1   2   3   4   5   6   7   8   9   10   >