Re: [PATCH 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread William Kucharski
On 10/1/19 5:32 AM, Kirill A. Shutemov wrote: On Tue, Oct 01, 2019 at 05:21:26AM -0600, William Kucharski wrote: On Oct 1, 2019, at 4:45 AM, Kirill A. Shutemov wrote: On Tue, Sep 24, 2019 at 05:52:13PM -0700, Matthew Wilcox wrote: diff --git a/mm/huge_memory.c b/mm/huge_memory.c index

Re: [PATCH v3] drm/amdgpu: fix multiple memory leaks in acp_hw_init

2019-10-01 Thread Koenig, Christian
Am 30.09.19 um 23:26 schrieb Navid Emamdoost: > In acp_hw_init there are some allocations that needs to be released in > case of failure: > > 1- adev->acp.acp_genpd should be released if any allocation attemp for > adev->acp.acp_cell, adev->acp.acp_res or i2s_pdata fails. > 2- all of those

Re: [PATCH v1 4/4] usb: host: xhci-tegra: Switch to use %ptT

2019-10-01 Thread Mathias Nyman
On 1.10.2019 14.56, Andy Shevchenko wrote: On Fri, Jan 04, 2019 at 09:30:09PM +0200, Andy Shevchenko wrote: Use %ptT instead of open coded variant to print content of time64_t type in human readable format. Any comments on this? Untested, but looks ok to me. xhci-tegra.c is written by

Re: [PATCH v2 0/3] Add a unified parameter "nopvspin"

2019-10-01 Thread Zhenzhong Duan
On 2019/9/30 20:08, Zhenzhong Duan wrote: There are cases folks want to disable spinlock optimization for debug/test purpose. Xen and hyperv already have parameters "xen_nopvspin" and "hv_nopvspin" to support that, but kvm doesn't. The first patch adds that feature to KVM guest with "nopvspin".

Re: [PATCH v2 1/2] dt-bindings: interconnect: Add OSM L3 DT bindings

2019-10-01 Thread Sibi Sankar
Hey Georgi, On 2019-09-27 04:46, Georgi Djakov wrote: Hi Sibi, On 8/21/19 02:11, Sibi Sankar wrote: Add bindings for Operating State Manager (OSM) L3 interconnect provider on SDM845 SoCs. Signed-off-by: Sibi Sankar --- .../bindings/interconnect/qcom,osm-l3.yaml| 56

Re: [PATCH] i2c: i2c-stm32f7: fix a race in slave mode with arbitration loss irq

2019-10-01 Thread Pierre Yves MORDRET
Hi Reviewed-by: Pierre-Yves MORDRET Thx On 10/1/19 10:51 AM, Fabrice Gasnier wrote: > When in slave mode, an arbitration loss (ARLO) may be detected before the > slave had a chance to detect the stop condition (STOPF in ISR). > This is seen when two master + slave adapters switch their roles.

Re: [PATCH v2 2/3] mm, page_owner: decouple freeing stack trace from debug_pagealloc

2019-10-01 Thread Qian Cai
On Tue, 2019-10-01 at 14:51 +0300, Kirill A. Shutemov wrote: > On Tue, Oct 01, 2019 at 10:07:44AM +0200, Vlastimil Babka wrote: > > On 10/1/19 1:49 AM, Qian Cai wrote: > > > > > > > > > > On Sep 30, 2019, at 5:43 PM, Vlastimil Babka wrote: > > > > > > > > Well, my use case is shipping

Re: [PATCH] ARM: dts: kirkwood: synology: Fix rs5c372 RTC entry

2019-10-01 Thread Andrew Lunn
On Sat, Sep 28, 2019 at 12:53:44PM +0200, Walter Schweizer wrote: > In the rtc-rs5c372.c driver the compatible entry has been renamed > from rs5c372 to rs5c372a. Most dts files have been adapted. > This patch completes the change. > > Signed-off-by: Walter Schweizer Reviewed-by: Andrew Lunn

Re: [RFC PATCH v2 0/3] livepatch: Clear relocation targets on a module removal

2019-10-01 Thread Miroslav Benes
On Thu, 5 Sep 2019, Miroslav Benes wrote: > Updated version with Petr's feedback. It looks a bit different and > better now (I would say). Not that it should be considered before we > decide what to do with late module patching, but I finished it before > the discussion started and someone could

Re: [PATCH v2 2/3] mm, page_owner: decouple freeing stack trace from debug_pagealloc

2019-10-01 Thread Kirill A. Shutemov
On Tue, Oct 01, 2019 at 08:26:28AM -0400, Qian Cai wrote: > On Tue, 2019-10-01 at 14:51 +0300, Kirill A. Shutemov wrote: > > On Tue, Oct 01, 2019 at 10:07:44AM +0200, Vlastimil Babka wrote: > > > On 10/1/19 1:49 AM, Qian Cai wrote: > > > > > > > > > > > > > On Sep 30, 2019, at 5:43 PM, Vlastimil

[PATCH net 0/2] Update MT7629 to support PHYLINK API

2019-10-01 Thread MarkLee
This patch target to update mt7629 eth driver and dts to support PHYLINK API MarkLee (2): net: ethernet: mediatek: Fix MT7629 missing GMII mode support arm: dts: mediatek: Fix mt7629 dts to reflect the latest dt-binding arch/arm/boot/dts/mt7629-rfb.dts| 13 -

[PATCH net 2/2] arm: dts: mediatek: Fix mt7629 dts to reflect the latest dt-binding

2019-10-01 Thread MarkLee
* Removes mediatek,physpeed property from dtsi that is useless in PHYLINK * Set gmac0 to fixed-link sgmii 2.5Gbit mode * Set gmac1 to gmii mode that connect to a internal gphy Signed-off-by: MarkLee --- arch/arm/boot/dts/mt7629-rfb.dts | 13 - arch/arm/boot/dts/mt7629.dtsi| 2

[PATCH net 1/2] net: ethernet: mediatek: Fix MT7629 missing GMII mode support

2019-10-01 Thread MarkLee
Add missing configuration for mt7629 gmii mode support Signed-off-by: MarkLee --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index

Re: [PATCH v2 2/3] mm, page_owner: decouple freeing stack trace from debug_pagealloc

2019-10-01 Thread Vlastimil Babka
On 10/1/19 2:26 PM, Qian Cai wrote: > On Tue, 2019-10-01 at 14:51 +0300, Kirill A. Shutemov wrote: >> On Tue, Oct 01, 2019 at 10:07:44AM +0200, Vlastimil Babka wrote: >>> On 10/1/19 1:49 AM, Qian Cai wrote: >> >> DEBUG_PAGEALLOC is much more intrusive debug option. Not all architectures >> support

Re: [PATCH 3/3] KVM: x86/vPMU: Add lazy mechanism to release perf_event per vPMC

2019-10-01 Thread Like Xu
Hi Peter, On 2019/10/1 16:23, Peter Zijlstra wrote: On Mon, Sep 30, 2019 at 03:22:57PM +0800, Like Xu wrote: + union { + u8 event_count :7; /* the total number of created perf_events */ + bool enable_cleanup :1; That's atrocious, don't ever create a bitfield

Re: [PATCH v2 2/3] mm, page_owner: decouple freeing stack trace from debug_pagealloc

2019-10-01 Thread Vlastimil Babka
On 10/1/19 2:32 PM, Vlastimil Babka wrote: > On 10/1/19 2:26 PM, Qian Cai wrote: >> On Tue, 2019-10-01 at 14:51 +0300, Kirill A. Shutemov wrote: >>> On Tue, Oct 01, 2019 at 10:07:44AM +0200, Vlastimil Babka wrote: On 10/1/19 1:49 AM, Qian Cai wrote: >>> >>> DEBUG_PAGEALLOC is much more

Re: [PATCH v1 4/4] usb: host: xhci-tegra: Switch to use %ptT

2019-10-01 Thread Andy Shevchenko
On Tue, Oct 01, 2019 at 03:20:46PM +0300, Mathias Nyman wrote: > On 1.10.2019 14.56, Andy Shevchenko wrote: > > On Fri, Jan 04, 2019 at 09:30:09PM +0200, Andy Shevchenko wrote: > > > Use %ptT instead of open coded variant to print content of > > > time64_t type in human readable format. > > > >

Re: [RFC PATCH 06/22] thunderbolt: Add support for lane bonding

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:14PM +0300, Mika Westerberg wrote: > Lane bonding allows aggregating the two 10/20 Gb/s (depending on the > generation) lanes into a single 20/40 Gb/s bonded link. This allows > sharing the full bandwidth more efficiently. In order to establish lane > bonding we need

Re: [PATCH 1/3] ARM: dts: exynos: Add interrupt to DMC controller in Exynos5422

2019-10-01 Thread Lukasz Luba
Hi Krzysztof, On 9/27/19 10:53 AM, Krzysztof Kozlowski wrote: > On Wed, Sep 25, 2019 at 06:18:11PM +0200, Lukasz Luba wrote: >> Add interrupt to Dynamic Memory Controller in Exynos5422 and Odroid >> XU3-family boards. It will be used instead of devfreq polling mode >> governor. The interrupt is

Re: [RFC PATCH 07/22] thunderbolt: Add default linking between ports if not provided by DROM

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:15PM +0300, Mika Westerberg wrote: > Some cases the DROM information is not correct or is simply missing. What is "DROM"? > This prevents establishing lane bonding even if it would be possible > otherwise. To make this work better provide default linking between >

[PATCH v3 0/4] Add a unified parameter "nopvspin"

2019-10-01 Thread Zhenzhong Duan
There are cases folks want to disable spinlock optimization for debug/test purpose. Xen and hyperv already have parameters "xen_nopvspin" and "hv_nopvspin" to support that, but kvm doesn't. The first patch adds that feature to KVM guest with "nopvspin". For compatibility reason original

[PATCH v3 3/4] xen: Mark "xen_nopvspin" parameter obsolete and map it to "nopvspin"

2019-10-01 Thread Zhenzhong Duan
Fix stale description of "xen_nopvspin" as we use qspinlock now. Signed-off-by: Zhenzhong Duan Reviewed-by: Juergen Gross Cc: Jonathan Corbet Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" ---

Re: [RFC PATCH 09/22] thunderbolt: Convert basic adapter register names to follow the USB4 spec

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:17PM +0300, Mika Westerberg wrote: > Now that USB4 spec has names for these basic registers we can use them > instead. This makes it easier to match certain register to the spec. > > No functional changes. > > Signed-off-by: Mika Westerberg This is nice to see,

Re: [RFC PATCH 08/22] thunderbolt: Add downstream PCIe port mappings for Alpine and Titan Ridge

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:16PM +0300, Mika Westerberg wrote: > In order to keep PCIe hierarchies consistent across hotplugs, add > hard-coded PCIe downstream port to Thunderbolt port for Alpine Ridge and > Titan Ridge as well. Oh, that makes me nervous, how could a hard-coded pcie port ever

[PATCH v3 4/4] x86/hyperv: Mark "hv_nopvspin" parameter obsolete and map it to "nopvspin"

2019-10-01 Thread Zhenzhong Duan
Includes asm/hypervisor.h in order to reference x86_hyper_type. Signed-off-by: Zhenzhong Duan Cc: Jonathan Corbet Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Stephen Hemminger Cc: Sasha Levin Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" ---

Re: [RFC PATCH 10/22] thunderbolt: Convert PCIe adapter register names to use USB4 names

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:18PM +0300, Mika Westerberg wrote: > Now that USB4 spec has names for these PCIe adapter registers we can use > them instead. This makes it easier to match certain register to the spec. > > No functional changes. Same here, can we merge this now? thanks, greg k-h

Re: [PATCH net 1/2] net: ethernet: mediatek: Fix MT7629 missing GMII mode support

2019-10-01 Thread Andrew Lunn
On Tue, Oct 01, 2019 at 08:31:49PM +0800, MarkLee wrote: > Add missing configuration for mt7629 gmii mode support > > Signed-off-by: MarkLee Hi Mark Since this is for net, it should have a Fixes: tag. Thanks Andrew

[PATCH v3 2/4] x86/kvm: Change print code to use pr_*() format

2019-10-01 Thread Zhenzhong Duan
pr_*() is preferred than printk(KERN_* ...), after change all the print in arch/x86/kernel/kvm.c will have "KVM: xxx" style. No functional change. Suggested-by: Vitaly Kuznetsov Signed-off-by: Zhenzhong Duan Cc: Paolo Bonzini Cc: Radim Krcmar Cc: Sean Christopherson Cc: Vitaly Kuznetsov

Re: [RFC PATCH 11/22] thunderbolt: Convert DP adapter register names to follow the USB4 spec

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:19PM +0300, Mika Westerberg wrote: > Now that USB4 spec has names for these DP adapter registers we can use > them instead. This makes it easier to match certain register to the spec. > > No functional changes. And here :)

Re: arch/arm/crypto/aes-ce-core.S:467: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode

2019-10-01 Thread Ard Biesheuvel
On Tue, 1 Oct 2019 at 13:39, kbuild test robot wrote: > > Hi Ard, > > FYI, the error/warning still remains. Should be fixed by https://lore.kernel.org/linux-crypto/20190917085001.792-1-ard.biesheu...@arm.com/ sent out ~2 weeks ago. > > tree:

[PATCH v3 1/4] x86/kvm: Add "nopvspin" parameter to disable PV spinlocks

2019-10-01 Thread Zhenzhong Duan
There are cases where a guest tries to switch spinlocks to bare metal behavior (e.g. by setting "xen_nopvspin" on XEN platform and "hv_nopvspin" on HYPER_V). That feature is missed on KVM, add a new parameter "nopvspin" to disable PV spinlocks for KVM guest. This new parameter is also used to

Re: [RFC PATCH 12/22] thunderbolt: Add Display Port CM handshake for Titan Ridge devices

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:20PM +0300, Mika Westerberg wrote: > Titan Ridge devices and newer need an additional connection manager > handshake in order to do proper Display Port tunneling so implement it > here. > > Signed-off-by: Mika Westerberg > --- > drivers/thunderbolt/tb_regs.h | 3

Re: [PATCH 1/2] mailmap: add new email address for Martin Kepplinger

2019-10-01 Thread Jonathan Corbet
On Tue, 24 Sep 2019 08:28:02 +0200 Martin Kepplinger wrote: > Include my new email address for tracking my contributions. > > Signed-off-by: Martin Kepplinger Applied, thanks (and the CREDITS patch too). jon

Re: [RFC PATCH 01/22] thunderbolt: Introduce tb_switch_is_icm()

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:10:05PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:09PM +0300, Mika Westerberg wrote: > > We currently differentiate between SW CM and ICM by looking directly at > > You should spell out what "SW CM" and "ICM" means please :) Indeed, sorry about

Re: [PATCH -next] treewide: remove unused argument in lock_release()

2019-10-01 Thread Qian Cai
On Mon, 2019-09-30 at 09:29 +0200, Peter Zijlstra wrote: > On Thu, Sep 19, 2019 at 12:09:40PM -0400, Qian Cai wrote: > > Since the commit b4adfe8e05f1 ("locking/lockdep: Remove unused argument > > in __lock_release"), @nested is no longer used in lock_release(), so > > remove it from all

[PATCH] PM / devfreq: exynos-ppmu: remove useless assignment

2019-10-01 Thread Marek Szyprowski
The error code is propagated to the caller, so there is no need to keep it additionally in the unused variable. Signed-off-by: Marek Szyprowski --- drivers/devfreq/event/exynos-ppmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/devfreq/event/exynos-ppmu.c

Re: [RFC PATCH 17/22] thunderbolt: Add initial support for USB4

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:25PM +0300, Mika Westerberg wrote: > USB4 is a public spec based on Thunderbolt protocol. There are some > differences in register layouts and flows. In addition to PCIe and DP > tunneling, USB4 supports tunneling of USB 3.x. USB4 is also backward > compatible with

Re: [RFC PATCH 03/22] thunderbolt: Log warning if adding switch fails

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:18:04PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:11PM +0300, Mika Westerberg wrote: > > If we fail to add a switch for some reason log a warning with the error > > code. This is useful for debugging. > > > > Signed-off-by: Mika Westerberg > >

Re: [PATCH 2/2] docs: security: update base LSM documentation file

2019-10-01 Thread Jonathan Corbet
On Wed, 25 Sep 2019 13:06:28 -0700 Kees Cook wrote: > > +always appears first in the stack of LSM hooks. A > > +:c:func:`security_add_hooks()` function (in ``security/security.c``) > > IIUC, the :c:func:`...()` marking isn't needed any more, just having a > word followed by "()" should

Re: [RFC PATCH 00/22] thunderbolt: Add support for USB4

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:08PM +0300, Mika Westerberg wrote: > Hi all, > > I'm sending this as RFC because the series is still missing important > features such as power management so not ready for merging. However, I > think it is good to get any early feedback from the community. We are >

Re: [PATCH] PCI: Add Loongson vendor ID and device IDs

2019-10-01 Thread Bjorn Helgaas
On Tue, Oct 01, 2019 at 10:53:44AM +0800, Tiezhu Yang wrote: > On 09/30/2019 10:02 PM, Andrew Murray wrote: > > On Mon, Sep 30, 2019 at 12:55:20PM +0800, Tiezhu Yang wrote: > > > Add the Loongson vendor ID and device IDs to pci_ids.h > > > to be used in the future. > > > > > > The Loongson IDs

Re: [PATCH v10 2/3] arm64: mm: implement arch_faults_on_old_pte() on arm64

2019-10-01 Thread Will Deacon
On Mon, Sep 30, 2019 at 09:57:39AM +0800, Jia He wrote: > On arm64 without hardware Access Flag, copying fromuser will fail because > the pte is old and cannot be marked young. So we always end up with zeroed > page after fork() + CoW for pfn mappings. we don't always have a > hardware-managed

Cher Monsieur, madame

2019-10-01 Thread Bénédicte LAMOU
Cher Monsieur, madame, Je n'ai pas un autre moyen de communiquer avec vous que de vous faire parvenir ce mail. Je suis dans le désespoir et mon cœur saigne au moment ou je vous fais ce message qui j'espère retiendra votre attention. Je vous contacte aujourd'hui car bien vrai que l'on ne se

Re :

2019-10-01 Thread Marzouk Marmouri
Good day , my name is Marzouk Marmouri , i sent you a mail and there was no response , please confirm that you did get this mail for more details. Regards. Marzouk Marmouri

Re: [RFC PATCH 06/22] thunderbolt: Add support for lane bonding

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:38:08PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:14PM +0300, Mika Westerberg wrote: > > Lane bonding allows aggregating the two 10/20 Gb/s (depending on the > > generation) lanes into a single 20/40 Gb/s bonded link. This allows > > sharing the

Re: [PATCH v10 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-10-01 Thread Will Deacon
On Mon, Sep 30, 2019 at 09:57:40AM +0800, Jia He wrote: > When we tested pmdk unit test [1] vmmalloc_fork TEST1 in arm64 guest, there > will be a double page fault in __copy_from_user_inatomic of cow_user_page. > > Below call trace is from arm64 do_page_fault for debugging purpose > [

Re: [PATCH v2] scripts/sphinx-pre-install: add how to exit virtualenv usage message

2019-10-01 Thread Jonathan Corbet
On Wed, 18 Sep 2019 18:37:54 -0600 Shuah Khan wrote: > Add usage message on how to exit the virtualenv after documentation > work is done. > > Signed-off-by: Shuah Khan > --- > Changes since v1: > Changed the message based on Mauro's review comments. Applied, thanks. jon

[PATCH v2 4/4] memory: samsung: exynos5422-dmc: Add support for interrupt from performance counters

2019-10-01 Thread Lukasz Luba
Introduce a new interrupt driven mechanism for managing speed of the memory controller. The interrupts are generated due to performance counters overflow. The performance counters might track memory reads, writes, transfers, page misses, etc. In the basic algorithm tracking read transfers and

[PATCH v2 3/4] ARM: dts: exynos: map 0x10000 SFR instead of 0x100 in DMC Exynos5422

2019-10-01 Thread Lukasz Luba
There is a need to access registers at address offset near 0x1. These registers are private DMC performance counters, which might be used as interrupt trigger when overflow. Potential usage is to skip polling in devfreq framework and switch to interrupt managed bandwidth control.

[PATCH v2 0/4] Exynos5 DMC interrupt mode

2019-10-01 Thread Lukasz Luba
Hi all, This is a v2 patch set for the Exynos5 Dynamic Memory Controller driver which could be found in Krzysztof's tree [1]. It is on top of a merge of the two branches [1][2]. It adds interrupt mode which does not relay on devfreq polling. Instead of checking the device state by the framework,

[PATCH v2 1/4] dt-bindings: memory-controllers: Add Exynos5422 DMC interrupts description

2019-10-01 Thread Lukasz Luba
Add description for optional interrupt lines. It provides a new operation mode, which uses internal performance counters interrupt when overflow. This is more reliable than using default polling mode implemented in devfreq. Signed-off-by: Lukasz Luba ---

[PATCH v2 2/4] ARM: dts: exynos: Add interrupt to DMC controller in Exynos5422

2019-10-01 Thread Lukasz Luba
Add interrupt to Dynamic Memory Controller in Exynos5422 and Odroid XU3-family boards. It will be used instead of devfreq polling mode governor. The interrupt is connected to performance counters private for DMC, which might track utilisation of the memory channels. Signed-off-by: Lukasz Luba

Re: [PATCH v10 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-10-01 Thread Will Deacon
On Mon, Sep 30, 2019 at 09:57:38AM +0800, Jia He wrote: > We unconditionally set the HW_AFDBM capability and only enable it on > CPUs which really have the feature. But sometimes we need to know > whether this cpu has the capability of HW AF. So decouple AF from > DBM by new helper

Re: [RFC PATCH 17/22] thunderbolt: Add initial support for USB4

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:47:48PM +0200, Greg Kroah-Hartman wrote: > > - Thunderbolt Controller driver. This driver is required if you > > - want to hotplug Thunderbolt devices on Apple hardware or on PCs > > - with Intel Falcon Ridge or newer. > > + USB4 (Thunderbolt) driver.

Re: [PATCH] staging: rtl8188eu: fix null dereference when kzalloc fails

2019-10-01 Thread Dan Carpenter
On Fri, Sep 27, 2019 at 02:44:15PM -0700, Connor Kuehl wrote: > If kzalloc() returns NULL, the error path doesn't stop the flow of > control from entering rtw_hal_read_chip_version() which dereferences the > null pointer. Fix this by adding a 'goto' to the error path to more > gracefully handle

Re: [RFC PATCH 07/22] thunderbolt: Add default linking between ports if not provided by DROM

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:39:11PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:15PM +0300, Mika Westerberg wrote: > > Some cases the DROM information is not correct or is simply missing. > > What is "DROM"? It is "Device ROM". Essentially per-device information. I will spell

Re: [PATCH v3 1/5] arm64: vdso32: Introduce COMPAT_CC_IS_GCC

2019-10-01 Thread Will Deacon
On Thu, Sep 26, 2019 at 10:43:38PM +0100, Vincenzo Frascino wrote: > As reported by Will Deacon the .config file and the generated > include/config/auto.conf can end up out of sync after a set of > commands since CONFIG_CROSS_COMPILE_COMPAT_VDSO is not updated > correctly. > > The sequence can be

Re: [PATCH 0/3] clk: meson: g12a: fixes for DVFS

2019-10-01 Thread Jerome Brunet
On Thu 19 Sep 2019 at 11:36, Neil Armstrong wrote: > This is the first serie of fixes for DVFS support on G12a: > - Patch 1 fixes a rebase issue where a CLK_SET_RATE_NO_REPARENT > appeared on the wrong clock and a SET_RATE_PARENT went missing > - Patch 2 helps CCF use the right clock tree

Re: [PATCH 1/1] clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate

2019-10-01 Thread Jerome Brunet
On Sat 21 Sep 2019 at 17:04, Martin Blumenstingl wrote: > The meson-saradc driver manually sets the input clock for > sar_adc_clk_sel. Update the GXBB clock driver (which is used on GXBB, > GXL and GXM) so the rate settings on sar_adc_clk_div are propagated up > to sar_adc_clk_sel which will

Re: [PATCH 3/3] Staging: exfat: exfat_super.c Fixed coding style issues.

2019-10-01 Thread Dan Carpenter
On Sat, Sep 28, 2019 at 07:21:19PM -0500, Jesse Barton wrote: > Fixed Coding Style issues Which ones? > > Signed-off-by: Jesse Barton > --- > drivers/staging/exfat/exfat_super.c | 29 + > 1 file changed, 9 insertions(+), 20 deletions(-) > > diff --git

Re: [PATCH v2 1/4] dt-bindings: memory-controllers: Add Exynos5422 DMC interrupts description

2019-10-01 Thread Krzysztof Kozlowski
On Tue, Oct 01, 2019 at 02:54:33PM +0200, Lukasz Luba wrote: > Add description for optional interrupt lines. It provides a new operation > mode, which uses internal performance counters interrupt when overflow. > This is more reliable than using default polling mode implemented in > devfreq. > >

Re: [PATCH v2 2/3] mm, page_owner: decouple freeing stack trace from debug_pagealloc

2019-10-01 Thread Qian Cai
On Tue, 2019-10-01 at 14:35 +0200, Vlastimil Babka wrote: > On 10/1/19 2:32 PM, Vlastimil Babka wrote: > > On 10/1/19 2:26 PM, Qian Cai wrote: > > > On Tue, 2019-10-01 at 14:51 +0300, Kirill A. Shutemov wrote: > > > > On Tue, Oct 01, 2019 at 10:07:44AM +0200, Vlastimil Babka wrote: > > > > > On

Re: [PATCH v10 1/3] arm64: cpufeature: introduce helper cpu_has_hw_af()

2019-10-01 Thread Marc Zyngier
On Tue, 1 Oct 2019 13:54:47 +0100 Will Deacon wrote: > On Mon, Sep 30, 2019 at 09:57:38AM +0800, Jia He wrote: > > We unconditionally set the HW_AFDBM capability and only enable it on > > CPUs which really have the feature. But sometimes we need to know > > whether this cpu has the capability of

Re: [PATCH 2/3] Staging: exfat: exfat_super.c: fixed multiple coding style issues with camelcase and parentheses

2019-10-01 Thread Dan Carpenter
On Sat, Sep 28, 2019 at 07:22:33PM -0500, Jesse Barton wrote: > Fixed coding style issues with camelcase on functions and various parentheses > that were not needed > Do this as two separate patches. regards, dan carpenter

[PATCH] regulator: lochnagar: Add on_off_delay for VDDCORE

2019-10-01 Thread Charles Keepax
The VDDCORE regulator takes a good length of time to discharge down, so add an on_off_delay to ensure DCVDD is removed before it is powered on again. Signed-off-by: Charles Keepax --- drivers/regulator/lochnagar-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] scripts/setlocalversion: clear local varaible to make it work for sh

2019-10-01 Thread Geert Uytterhoeven
Hi Yamada-san, s/varaible/variable/ in subject. On Tue, Oct 1, 2019 at 2:17 PM Masahiro Yamada wrote: > Geert Uytterhoeven reports a strange side-effect of commit 858805b336be > ("kbuild: add $(BASH) to run scripts with bash-extension"), which > inserts the contents of a localversion file in

Re: [PATCH v3 3/5] arm64: vdso32: Fix compilation warning

2019-10-01 Thread Will Deacon
On Thu, Sep 26, 2019 at 10:43:40PM +0100, Vincenzo Frascino wrote: > As reported by Will Deacon the following compilation warning appears > during the compilation of the vdso32: > > In file included from ./arch/arm64/include/asm/thread_info.h:17:0, > from

[PATCH 1/3] ahci: tegra: use regulator_bulk_set_supply_names()

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the new regulator helper instead of a for loop. Signed-off-by: Bartosz Golaszewski --- drivers/ata/ahci_tegra.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c index

[PATCH 2/3] phy: tegra: use regulator_bulk_set_supply_names()

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the new regulator helper instead of a for loop. Signed-off-by: Bartosz Golaszewski --- drivers/phy/tegra/xusb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/tegra/xusb.c b/drivers/phy/tegra/xusb.c index

[PATCH 0/3] tegra: use regulator_bulk_set_supply_names()

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The regulator_bulk_set_supply_names() helper was merged upstream. Use it in a couple tegra drivers. Bartosz Golaszewski (3): ahci: tegra: use regulator_bulk_set_supply_names() phy: tegra: use regulator_bulk_set_supply_names() usb: host: xhci-tegra: use

[PATCH 3/3] usb: host: xhci-tegra: use regulator_bulk_set_supply_names()

2019-10-01 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the new regulator helper instead of a for loop. Signed-off-by: Bartosz Golaszewski --- drivers/usb/host/xhci-tegra.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c index

Re: [PATCH v3 2/5] arm64: vdso32: Detect binutils support for dmb ishld

2019-10-01 Thread Will Deacon
On Thu, Sep 26, 2019 at 10:43:39PM +0100, Vincenzo Frascino wrote: > As reported by Will Deacon, older versions of binutils that do not > support certain types of memory barriers can cause build failure of the > vdso32 library. > > Add a compilation time mechanism that detects if binutils

Re: [RFC PATCH 08/22] thunderbolt: Add downstream PCIe port mappings for Alpine and Titan Ridge

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:40:54PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:16PM +0300, Mika Westerberg wrote: > > In order to keep PCIe hierarchies consistent across hotplugs, add > > hard-coded PCIe downstream port to Thunderbolt port for Alpine Ridge and > > Titan Ridge

Re: [PATCH v3 0/5]arm64: vdso32: Address various issues

2019-10-01 Thread Will Deacon
On Thu, Sep 26, 2019 at 10:43:37PM +0100, Vincenzo Frascino wrote: > this patch series is meant to address the various compilation issues you > reported about arm64 vdso32. Thanks, I've commented on the patches. Also, when you respin, please can you drop the "As reported by Will Deacon ..." lines

ERROR: "__aeabi_uldivmod" [drivers/iio/common/hid-sensors/hid-sensor-iio-common.ko] undefined!

2019-10-01 Thread kbuild test robot
Hi Andy, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c commit: 473d12f7638c93acbd9296a8cd455b203d5eb528 iio: hid-sensor-attributes: Convert to use int_pow() date: 6

Re: [PATCH v3 1/5] arm64: vdso32: Introduce COMPAT_CC_IS_GCC

2019-10-01 Thread Catalin Marinas
On Tue, Oct 01, 2019 at 02:14:23PM +0100, Will Deacon wrote: > On Thu, Sep 26, 2019 at 10:43:38PM +0100, Vincenzo Frascino wrote: > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > > index 37c610963eee..0e5beb928af5 100644 > > --- a/arch/arm64/Kconfig > > +++ b/arch/arm64/Kconfig > > @@

Re: [RFC PATCH 09/22] thunderbolt: Convert basic adapter register names to follow the USB4 spec

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:41:26PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:17PM +0300, Mika Westerberg wrote: > > Now that USB4 spec has names for these basic registers we can use them > > instead. This makes it easier to match certain register to the spec. > > > > No

Re: [PATCH 2/3] Staging: exfat: exfat_super.c: fixed multiple coding style issues with camelcase and parentheses

2019-10-01 Thread Dan Carpenter
On Sun, Sep 29, 2019 at 09:52:29AM -0500, Jesse Barton wrote: > Changed Function Names: > ffsGetVolInfo -> ffs_get_vol_info > ffsLookupFile -> ffs_lookup_file > ffsCreateFile -> ffs_create_file > ffsReadFile -> ffs_read_file > ffsWriteFile -> ffs_write_file > ffsTruncateFile -> ffs_truncate_file >

Re: [PATCH 2/6] clk: meson: add a driver for the Meson8/8b/8m2 DDR clock controller

2019-10-01 Thread Jerome Brunet
On Sat 21 Sep 2019 at 17:18, Martin Blumenstingl wrote: > The Meson8/Meson8b/Meson8m2 SoCs embed a DDR clock controller in the > MMCBUS registers. There is no public documentation, but the u-boot GPL > sources from the Amlogic BSP show that the DDR clock controller is > identical on all three

[PATCH] powerpc/pseries: Remove confusing warning message.

2019-10-01 Thread Laurent Dufour
Since the commit 1211ee61b4a8 ("powerpc/pseries: Read TLB Block Invalidate Characteristics"), a warning message is displayed when booting a guest on top of KVM: lpar: arch/powerpc/platforms/pseries/lpar.c pseries_lpar_read_hblkrm_characteristics Error calling get-system-parameter (0xfffd)

Re: [RFC PATCH 12/22] thunderbolt: Add Display Port CM handshake for Titan Ridge devices

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:44:09PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:20PM +0300, Mika Westerberg wrote: > > Titan Ridge devices and newer need an additional connection manager > > handshake in order to do proper Display Port tunneling so implement it > > here. > > >

Re: [PATCH v1 4/4] usb: host: xhci-tegra: Switch to use %ptT

2019-10-01 Thread Thierry Reding
On Fri, Jan 04, 2019 at 09:30:09PM +0200, Andy Shevchenko wrote: > Use %ptT instead of open coded variant to print content of > time64_t type in human readable format. > > Cc: Mathias Nyman > Cc: Thierry Reding > Cc: Jonathan Hunter > Signed-off-by: Andy Shevchenko > --- >

Re: [PATCH v2 0/4] sched/fair: Active balancer RT/DL preemption fix

2019-10-01 Thread Juri Lelli
Hi Valentin, On 01/10/19 11:29, Valentin Schneider wrote: > (expanded the Cc list) > RT/DL folks, any thought on the thing? Even if I like your idea and it looks theoretically the right thing to do, I'm not sure we want it in practice if it adds complexity to CFS. I personally never noticed

Re: [PATCH v10 2/3] arm64: mm: implement arch_faults_on_old_pte() on arm64

2019-10-01 Thread Marc Zyngier
On Tue, 1 Oct 2019 13:50:32 +0100 Will Deacon wrote: > On Mon, Sep 30, 2019 at 09:57:39AM +0800, Jia He wrote: > > On arm64 without hardware Access Flag, copying fromuser will fail because > > the pte is old and cannot be marked young. So we always end up with zeroed > > page after fork() + CoW

Re: [PATCH 0/6] add the DDR clock controller on Meson8 and Meson8b

2019-10-01 Thread Jerome Brunet
On Mon 23 Sep 2019 at 22:49, Martin Blumenstingl wrote: > Hi Jerome, > > On Mon, Sep 23, 2019 at 12:06 PM Jerome Brunet wrote: >> >> On Sat 21 Sep 2019 at 17:18, Martin Blumenstingl >> wrote: >> >> > Meson8 and Meson8b SoCs embed a DDR clock controller in their MMCBUS >> > registers. This

[PATCH] KVM: x86: omit "impossible" pmu MSRs from MSR list

2019-10-01 Thread Paolo Bonzini
INTEL_PMC_MAX_GENERIC is currently 32, which exceeds the 18 contiguous MSR indices reserved by Intel for event selectors. Since some machines actually have MSRs past the reserved range, these may survive the filtering of msrs_to_save array and would be rejected by KVM_GET/SET_MSR. Cut the list to

Re: [PATCH v1 1/4] lib/vsprintf: Print time64_t in human readable format

2019-10-01 Thread Andy Shevchenko
On Tue, Oct 01, 2019 at 02:13:21PM +0200, Alexandre Belloni wrote: > On 01/10/2019 15:11:54+0300, Andy Shevchenko wrote: > > On Tue, Oct 01, 2019 at 01:48:16PM +0200, Alexandre Belloni wrote: > > > On 01/10/2019 14:36:55+0300, Andy Shevchenko wrote: > > > > On Mon, Sep 30, 2019 at 10:08:09PM

Re: [PATCH] selinux: Remove load size limit

2019-10-01 Thread Paul Moore
On Fri, Sep 20, 2019 at 9:55 PM zhanglin wrote: > Load size was limited to 64MB, this was legacy limitation due to vmalloc() > which was removed a while ago. > > Limiting load size to 64MB is both pointless and affects real world use > cases. > > Signed-off-by: zhanglin > --- >

RE: [RFC PATCH 01/22] thunderbolt: Introduce tb_switch_is_icm()

2019-10-01 Thread Mario.Limonciello
> -Original Message- > From: Mika Westerberg > Sent: Tuesday, October 1, 2019 7:47 AM > To: Greg Kroah-Hartman > Cc: linux-...@vger.kernel.org; Andreas Noever; Michael Jamet; Yehezkel Bernat; > Rajmohan Mani; Nicholas Johnson; Lukas Wunner; Alan Stern; Limonciello, Mario; > Anthony Wong;

Re: [PATCH v5 1/2] dt-bindings: timer: Convert Exynos MCT bindings to json-schema

2019-10-01 Thread Rob Herring
On Mon, 30 Sep 2019 17:44:17 +0200, Krzysztof Kozlowski wrote: > Convert Samsung Exynos Soc Multi Core Timer bindings to DT schema format > using json-schema. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v4: > 1. Do not mention interrupts-extended in the bindings (old

Re: [PATCH 1/2] can: D_CAN: perform a sofware reset on open

2019-10-01 Thread Kurt Van Dijck
On do, 26 sep 2019 08:50:44 +, Jeroen Hofstee wrote: > When the C_CAN interface is closed it is put in power down mode, but > does not reset the error counters / state. So reset the D_CAN on open, > so the reported state and the actual state match. > > According to [1], the C_CAN module

Re: [PATCH v5 2/2] dt-bindings: timer: Use defines instead of numbers in Exynos MCT examples

2019-10-01 Thread Rob Herring
On Mon, 30 Sep 2019 17:44:18 +0200, Krzysztof Kozlowski wrote: > Make the examples in Exynos Multi Core Timer bindings more readable and > bring them closer to real DTS by using defines for interrupt flags. > Fix also GIC interrupt type in example for Exynos4412 (from SPI to PPI). > >

Re: [PATCH 2/2] can: C_CAN: add bus recovery events

2019-10-01 Thread Kurt Van Dijck
On di, 01 okt 2019 09:40:57 +0200, Kurt Van Dijck wrote: > On do, 26 sep 2019 08:50:51 +, Jeroen Hofstee wrote: > > While the state is update when the error counters increase and decrease, > > there is no event when the bus recovers and the error counters decrease > > again. So add that event

Re: [PATCH 0/3] tegra: use regulator_bulk_set_supply_names()

2019-10-01 Thread Thierry Reding
On Tue, Oct 01, 2019 at 03:23:30PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The regulator_bulk_set_supply_names() helper was merged upstream. Use it > in a couple tegra drivers. > > Bartosz Golaszewski (3): > ahci: tegra: use regulator_bulk_set_supply_names() > phy:

Re: [PATCH v5 1/2] dt-bindings: at24: convert the binding document to yaml

2019-10-01 Thread Rob Herring
On Mon, Sep 30, 2019 at 10:59:56AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Convert the binding document for at24 EEPROMs from txt to yaml. The > compatible property uses a regex pattern to address all the possible > combinations of "vendor,model" strings. > >

Re: [PATCH v4 1/3] dt-bindings: dmaengine: dma-common: Change dma-channel-mask to uint32-array

2019-10-01 Thread Rob Herring
On Mon, 30 Sep 2019 14:40:53 +0300, Peter Ujfalusi wrote: > Make the dma-channel-mask to be usable for controllers with more than 32 > channels. > > Signed-off-by: Peter Ujfalusi > --- > Documentation/devicetree/bindings/dma/dma-common.yaml | 9 - > 1 file changed, 8 insertions(+), 1

Re: [PATCH v4 2/3] dt-bindings: dma: ti-edma: Document dma-channel-mask for EDMA

2019-10-01 Thread Rob Herring
On Mon, 30 Sep 2019 14:40:54 +0300, Peter Ujfalusi wrote: > Similarly to paRAM slots, channels can be used by other cores. > > The common dma-channel-mask property can be used for specifying the > available channels. > > Signed-off-by: Peter Ujfalusi > --- >

Re: [PATCH] usb: typec: tcpm: Fix a signedness bug in tcpm_fw_get_caps()

2019-10-01 Thread Guenter Roeck
On 10/1/19 4:54 AM, Dan Carpenter wrote: On Thu, Sep 26, 2019 at 05:53:10AM -0700, Guenter Roeck wrote: On Wed, Sep 25, 2019 at 02:02:19PM +0300, Dan Carpenter wrote: The "port->typec_caps.data" and "port->typec_caps.type" variables are enums and in this context GCC will treat them as an

Re: [RFC PATCH 00/22] thunderbolt: Add support for USB4

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:49:54PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:08PM +0300, Mika Westerberg wrote: > > Hi all, > > > > I'm sending this as RFC because the series is still missing important > > features such as power management so not ready for merging. However,

Re: [PATCH] sched: Avoid spurious lock dependencies

2019-10-01 Thread Peter Zijlstra
On Tue, Oct 01, 2019 at 05:06:56PM +0530, Srikar Dronamraju wrote: > > Subject: sched: Avoid spurious lock dependencies > > > > While seemingly harmless, __sched_fork() does hrtimer_init(), which, > > when DEBUG_OBJETS, can end up doing allocations. > > > > NIT: s/DEBUG_OBJETS/DEBUG_OBJECTS >

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