Re: [PATCH v6 09/19] PM / devfreq: tegra30: Use kHz units uniformly in the code

2019-10-02 Thread Dmitry Osipenko
02.10.2019 02:29, Chanwoo Choi пишет: > On 19. 8. 12. 오전 6:23, Dmitry Osipenko wrote: >> Now that all kHz-conversion related bugs are fixed, we can use the kHz >> uniformly. This makes code cleaner and avoids integer divisions in the >> code, which is useful in a case of Tegra30 that has Cortex A9

Re: [PATCH 3/3] bus: hisi_lpc: Expand build test coverage

2019-10-02 Thread Arnd Bergmann
On Wed, Oct 2, 2019 at 6:25 PM John Garry wrote: > On 02/10/2019 16:43, Arnd Bergmann wrote: > > On Tue, Oct 1, 2019 at 6:07 PM John Garry wrote: > >> > >> Currently the driver will only ever be built for ARM64 because it selects > >> CONFIG_INDIRECT_PIO, which itself depends on ARM64. > >> > >>

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-02 Thread Peter Zijlstra
On Wed, Oct 02, 2019 at 06:35:26PM +0200, Daniel Bristot de Oliveira wrote: > ftrace was already batching the updates, for instance, causing 3 IPIs to > enable > all functions. The text_poke() batching also works. But because of the limited > buffer [ see the reply to the patch 2/3 ], it is

Re: ptrace/strace and freezer oddities and v5.2+ kernels

2019-10-02 Thread Roman Gushchin
On Wed, Oct 02, 2019 at 12:18:54AM -0400, Bruce Ashfield wrote: > On Tue, Oct 1, 2019 at 10:01 PM Roman Gushchin wrote: > > > > On Tue, Oct 01, 2019 at 12:14:18PM -0400, Bruce Ashfield wrote: > > > Hi all, > > > > > > > Hi Bruce! > > > > > The Yocto project has an upcoming release this fall, and

Re: [PATCH v7 3/7] KVM: VMX: Pass through CET related MSRs to Guest

2019-10-02 Thread Jim Mattson
On Thu, Sep 26, 2019 at 7:17 PM Yang Weijiang wrote: > > CET MSRs pass through Guest directly to enhance performance. > CET runtime control settings are stored in MSR_IA32_{U,S}_CET, > Shadow Stack Pointer(SSP) are stored in MSR_IA32_PL{0,1,2,3}_SSP, > SSP table base address is stored in

renaming FIELD_SIZEOF to sizeof_member (was Re: [GIT PULL] treewide conversion to sizeof_member() for v5.4-rc1)

2019-10-02 Thread Kees Cook
On Thu, Sep 26, 2019 at 01:56:55PM -0700, Kees Cook wrote: > On Thu, Sep 26, 2019 at 01:06:01PM -0700, Linus Torvalds wrote: > > (a) why didn't this use the already existing and well-named macro > > that nobody really had issues with? > > That was suggested, but other folks wanted the more

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

2019-10-02 Thread Josh Poimboeuf
On Thu, Sep 05, 2019 at 02:45:12PM +0200, Miroslav Benes wrote: > Josh reported a bug: > > When the object to be patched is a module, and that module is > rmmod'ed and reloaded, it fails to load with: > > module: x86/modules: Skipping invalid relocation target, existing value is > nonzero

Re: [PATCH v2 7/9] arm64: dts: qcom: msm8998: Add PSCI cpuidle low power states

2019-10-02 Thread Jeffrey Hugo
On Wed, Oct 2, 2019 at 3:27 AM Niklas Cassel wrote: > > On Wed, Oct 02, 2019 at 11:19:50AM +0200, Niklas Cassel wrote: > > On Mon, Sep 30, 2019 at 04:20:15PM -0600, Jeffrey Hugo wrote: > > > Amit, the merged version of the below change causes a boot failure > > > (nasty hang, sometimes with RCU

Re: [PATCH v3 3/7] mm: Add write-protect and clean utilities for address space ranges

2019-10-02 Thread Matthew Wilcox
On Wed, Oct 02, 2019 at 11:06:43AM -0700, Linus Torvalds wrote: > On Wed, Oct 2, 2019 at 6:48 AM Thomas Hellström (VMware) > wrote: > > > > From: Thomas Hellstrom > > > > Add two utilities to a) write-protect and b) clean all ptes pointing into > > a range of an address space. [...] > Yes, it's

Re: [PATCH 0/2] peci: aspeed: Add AST2600 compatible

2019-10-02 Thread Jae Hyun Yoo
Hi Chia-Wei, On 10/1/2019 11:11 PM, Chia-Wei, Wang wrote: Update the Aspeed PECI driver with the AST2600 compatible string. A new comptabile string is needed for the extended HW feature of AST2600. Chia-Wei, Wang (2): peci: aspeed: Add AST2600 compatible string dt-bindings: peci: aspeed:

Re: [PATCH v3 3/7] mm: Add write-protect and clean utilities for address space ranges

2019-10-02 Thread Linus Torvalds
On Wed, Oct 2, 2019 at 6:48 AM Thomas Hellström (VMware) wrote: > > From: Thomas Hellstrom > > Add two utilities to a) write-protect and b) clean all ptes pointing into > a range of an address space. This one I still don't exactly love. I'm not entirely sure what rubs me the wrong way, but

Re: [PATCH -next 2/2] leds: add /sys/class/leds//current-trigger

2019-10-02 Thread Pavel Machek
Hi! > >>>diff --git a/Documentation/ABI/testing/sysfs-class-led > >>>b/Documentation/ABI/testing/sysfs-class-led > >>>index 5f67f7a..fdfed3f 100644 > >>>--- a/Documentation/ABI/testing/sysfs-class-led > >>>+++ b/Documentation/ABI/testing/sysfs-class-led > >>>@@ -61,3 +61,16 @@ Description: > >>>  

Re: [PATCH 10/11] xfs: use the iomap write page code

2019-10-02 Thread Brian Foster
On Tue, Oct 01, 2019 at 09:11:51AM +0200, Christoph Hellwig wrote: > Use the new iomap writeback code that was copied from XFS to perform > writeback. > > Signed-off-by: Christoph Hellwig > [darrick: reduce this patch only to convert the xfs writeback code] > Signed-off-by: Darrick J. Wong >

Re: [PATCH v7 2/7] kvm: vmx: Define CET VMCS fields and CPUID flags

2019-10-02 Thread Jim Mattson
On Thu, Sep 26, 2019 at 7:17 PM Yang Weijiang wrote: > > CET(Control-flow Enforcement Technology) is an upcoming Intel(R) > processor feature that blocks Return/Jump-Oriented Programming(ROP) > attacks. It provides the following capabilities to defend > against ROP/JOP style control-flow

Re: [PATCH -next 0/2] leds: add substitutes for /sys/class/leds//trigger

2019-10-02 Thread Pavel Machek
Hi! > Reading /sys/class/leds//trigger returns all available LED triggers. > However, this violates the "one value per file" rule of sysfs. > > This series provides a new /sys/devices/virtual/led-trigger/ directory and > /sys/class/leds//current-trigger. The new api follows the "one value > per

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-02 Thread JP
Hi all. On 10/2/19 5:21 PM, Gonsolo wrote: Hi! Antti has some great suggestions in that thread: https://lkml.org/lkml/2017/5/24/245 Also note https://lkml.org/lkml/2017/5/26/357 if you have access to a logic analyser. I read that thread. Unfortunately I'm not a hardware engineer

Re: [PATCH -next 2/2] leds: add /sys/class/leds//current-trigger

2019-10-02 Thread Dan Murphy
Jacek On 10/2/19 12:46 PM, Jacek Anaszewski wrote: Dan, On 10/2/19 5:47 PM, Dan Murphy wrote: Akinobu On 10/2/19 10:13 AM, Akinobu Mita wrote: Reading /sys/class/leds//trigger returns all available LED triggers. However, this violates the "one value per file" rule of sysfs. This provides

Re: [PATCH v3 2/7] mm: Add a walk_page_mapping() function to the pagewalk code

2019-10-02 Thread Linus Torvalds
On Wed, Oct 2, 2019 at 6:47 AM Thomas Hellström (VMware) wrote: > > From: Thomas Hellstrom > > For users that want to travers all page table entries pointing into a > region of a struct address_space mapping, introduce a walk_page_mapping() > function. This looks non-offensive to me. My main

Re: Build regressions/improvements in v5.4-rc1

2019-10-02 Thread Paul Burton
Hi Geert, On Wed, Oct 02, 2019 at 11:17:26AM +0200, Geert Uytterhoeven wrote: > > 15 error regressions: > > + /kisskb/build/tmp/cc1Or5dj.s: Error: can't resolve `_start' {*UND* > > section} - `L0 ' {.text section}: => 663, 1200, 222, 873, 1420 > > + /kisskb/build/tmp/cc2uWmof.s: Error:

[PATCH] samples/bpf: Fix broken samples.

2019-10-02 Thread KP Singh
From: KP Singh Rename asm_goto_workaround.h to asm_workaround.h and add a workaround for the newly added "asm_inline" in: commit eb111869301e ("compiler-types.h: add asm_inline definition") Add missing include for which was removed from perf-sys.h in: commit 91854f9a077e ("perf tools:

Re: [PATCH -next 2/2] leds: add /sys/class/leds//current-trigger

2019-10-02 Thread Jacek Anaszewski
Dan, On 10/2/19 5:47 PM, Dan Murphy wrote: > Akinobu > > On 10/2/19 10:13 AM, Akinobu Mita wrote: >> Reading /sys/class/leds//trigger returns all available LED triggers. >> However, this violates the "one value per file" rule of sysfs. >> >> This provides /sys/class/leds//current-trigger which

[PATCH] dt-bindings: memory-controllers: exynos5422-dmc: Correct example syntax and memory region

2019-10-02 Thread Krzysztof Kozlowski
After adding the interrupt properties to Exynos5422 DMC bindings example, the mapped memory region must be big enough to access performance counters registers. Fix also syntax errors (semicolons) and adjust indentation. Signed-off-by: Krzysztof Kozlowski --- Rebased on top of my for-next

Re: net-next/master boot bisection: v5.3-13203-gc01ebd6c4698 on bcm2836-rpi-2-b

2019-10-02 Thread Guillaume Tucker
On 02/10/2019 18:26, Masahiro Yamada wrote: > On Thu, Oct 3, 2019 at 2:24 AM David Miller wrote: >> >> From: Guillaume Tucker >> Date: Wed, 2 Oct 2019 18:21:31 +0100 >> >>> It seems like this isn't the case on the Raspberry Pi 2b with >>> bcm2835_defconfig. Here's an example of the kernel

[PATCH] staging: wlan-ng: fix uninitialized variable

2019-10-02 Thread Denis Efremov
The result variable in prism2_connect() can be used uninitialized on path !channel --> ... --> is_wep --> sme->key --> sme->key_idx >= NUM_WEPKEYS. This patch initializes result with 0. Cc: Greg Kroah-Hartman Cc: sta...@vger.kernel.org Signed-off-by: Denis Efremov ---

[PATCH] platform/x86: toshiba_acpi: do not select INPUT_POLLDEV

2019-10-02 Thread Dmitry Torokhov
The driver does not use polling mode of input devices, and this config option is going away, so let's not reference it. Signed-off-by: Dmitry Torokhov --- drivers/platform/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig

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

2019-10-02 Thread Krzysztof Kozlowski
On Wed, Oct 02, 2019 at 08:04:55AM +0200, Lukasz Luba wrote: > 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

Re: [PATCHv3] ARM: drivers/amba: release and cleanup the resource to allow for deferred probe

2019-10-02 Thread Russell King - ARM Linux admin
On Wed, Oct 02, 2019 at 09:35:51AM -0500, Dinh Nguyen wrote: > With commit "79bdcb202a35 ARM: 8906/1: drivers/amba: add reset control to > amba bus probe", the amba bus driver needs to be deferred probe because the > reset driver is probed later. However with a deferred probe, the call to >

Re: [PATCH] mm: thp: move deferred split queue to memcg's nodeinfo

2019-10-02 Thread Yang Shi
On 10/2/19 1:43 AM, Michal Hocko wrote: On Wed 02-10-19 06:16:43, Yang Shi wrote: The commit 87eaceb3faa59b9b4d940ec9554ce251325d83fe ("mm: thp: make deferred split shrinker memcg aware") makes deferred split queue per memcg to resolve memcg pre-mature OOM problem. But, all nodes end up

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

2019-10-02 Thread Krzysztof Kozlowski
On Wed, Oct 02, 2019 at 08:04:54AM +0200, Lukasz Luba wrote: > 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

Re: net-next/master boot bisection: v5.3-13203-gc01ebd6c4698 on bcm2836-rpi-2-b

2019-10-02 Thread Masahiro Yamada
On Thu, Oct 3, 2019 at 2:24 AM David Miller wrote: > > From: Guillaume Tucker > Date: Wed, 2 Oct 2019 18:21:31 +0100 > > > It seems like this isn't the case on the Raspberry Pi 2b with > > bcm2835_defconfig. Here's an example of the kernel errors: > > This has been fixed upstream I believe, it

Re: [PATCH] mm thp: shrink deferred split THPs harder

2019-10-02 Thread Yang Shi
On 10/2/19 1:40 AM, Michal Hocko wrote: On Wed 02-10-19 07:56:50, Yang Shi wrote: The deferred split THPs may get accumulated with some workloads, they would get shrunk when memory pressure is hit. Now we use DEFAULT_SEEKS to determine how many objects would get scanned then split if

Re: [PATCH v7 1/7] KVM: CPUID: Fix IA32_XSS support in CPUID(0xd,i) enumeration

2019-10-02 Thread Jim Mattson
On Thu, Sep 26, 2019 at 7:17 PM Yang Weijiang wrote: > > The control bits in IA32_XSS MSR are being used for new features, > but current CPUID(0xd,i) enumeration code doesn't support them, so > fix existing code first. > > The supervisor states in IA32_XSS haven't been used in public > KVM code,

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

2019-10-02 Thread Krzysztof Kozlowski
On Wed, Oct 02, 2019 at 08:04:53AM +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 connected to performance counters private > for DMC, which might

Re: net-next/master boot bisection: v5.3-13203-gc01ebd6c4698 on bcm2836-rpi-2-b

2019-10-02 Thread David Miller
From: Guillaume Tucker Date: Wed, 2 Oct 2019 18:21:31 +0100 > It seems like this isn't the case on the Raspberry Pi 2b with > bcm2835_defconfig. Here's an example of the kernel errors: This has been fixed upstream I believe, it was some ARM assembler issue or something like that. In any

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

2019-10-02 Thread Krzysztof Kozlowski
On Wed, Oct 02, 2019 at 08:04:52AM +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] wil6210: check len before memcpy() calls

2019-10-02 Thread Kalle Valo
Denis Efremov wrote: > memcpy() in wmi_set_ie() and wmi_update_ft_ies() is called with > src == NULL and len == 0. This is an undefined behavior. Fix it > by checking "ie_len > 0" before the memcpy() calls. > > As suggested by GCC documentation: > "The pointers passed to memmove (and similar

Re: [PATCH v2] ar5523: check NULL before memcpy() in ar5523_cmd()

2019-10-02 Thread Kalle Valo
Denis Efremov wrote: > memcpy() call with "idata == NULL && ilen == 0" results in undefined > behavior in ar5523_cmd(). For example, NULL is passed in callchain > "ar5523_stat_work() -> ar5523_cmd_write() -> ar5523_cmd()". This patch > adds ilen check before memcpy() call in ar5523_cmd() to

Re: net-next/master boot bisection: v5.3-13203-gc01ebd6c4698 on bcm2836-rpi-2-b

2019-10-02 Thread Guillaume Tucker
On 02/10/2019 11:05, kernelci.org bot wrote: > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * This automated bisection report was sent to you on the basis * > * that you may be involved with the breaking commit it has * > * found. No manual investigation has been done

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

2019-10-02 Thread Sean Christopherson
On Mon, Sep 30, 2019 at 08:44:39PM +0800, Zhenzhong Duan wrote: > 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

Re: [PATCH v13 8/8] ARM: exynos_defconfig: enable DMC driver

2019-10-02 Thread Krzysztof Kozlowski
On Wed, Aug 21, 2019 at 12:43:03PM +0200, Lukasz Luba wrote: > Enable driver for Exynos5422 Dynamic Memory Controller supporting > dynamic frequency and voltage scaling in Exynos5422 SoCs. > > Signed-off-by: Lukasz Luba > --- > arch/arm/configs/exynos_defconfig | 1 + Thanks, applied. Best

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

2019-10-02 Thread Sean Christopherson
On Mon, Sep 30, 2019 at 08:44:38PM +0800, Zhenzhong Duan wrote: > 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:

[PATCH] rsi: fix potential null dereference in rsi_probe()

2019-10-02 Thread Denis Efremov
The id pointer can be NULL in rsi_probe(). It is checked everywhere except for the else branch in the idProduct condition. The patch adds NULL check before the id dereference in the rsi_dbg() call. Fixes: 54fdb318c111 ("rsi: add new device model for 9116") Cc: Amitkumar Karwar Cc: Siva

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

2019-10-02 Thread Sean Christopherson
On Mon, Sep 30, 2019 at 08:44:37PM +0800, Zhenzhong Duan wrote: > 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 This wasn't really suggested by Vitaly,

We bring your gadget back to life

2019-10-02 Thread Just Repair
Hello, Let us repair your phone or gadget right on the spot visit us today https://www.justrepair.net or come into our location https://goo.gl/maps/k5iRbeJyggiXnZSG6 Give us a nice review and we`ll make you a big discount Thank you, Ameer

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

2019-10-02 Thread Sean Christopherson
On Mon, Sep 30, 2019 at 08:44:36PM +0800, Zhenzhong Duan wrote: > 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

Re: [PATCH 5/7] irqchip/irq-bcm2836: Add support for the 7211 interrupt controller

2019-10-02 Thread Florian Fainelli
On 10/2/19 5:40 AM, Marc Zyngier wrote: > On Tue, 1 Oct 2019 15:48:40 -0700 > Florian Fainelli wrote: > >> The root interrupt controller on 7211 is about identical to the one >> existing on BCM2836, except that the SMP cross call are done through the >> standard ARM GIC-400 interrupt

[GIT PULL 0/7] EFI fixes for v5.4

2019-10-02 Thread Ard Biesheuvel
The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-urgent for you to fetch changes up to

[PATCH 2/7] efivar/ssdt: don't iterate over EFI vars if no SSDT override was specified

2019-10-02 Thread Ard Biesheuvel
The kernel command line option efivar_ssdt= allows the name to be specified of an EFI variable containing an ACPI SSDT table that should be loaded into memory by the OS, and treated as if it was provided by the firmware. Currently, that code will always iterate over the EFI variables and compare

Stop breaking the CSRNG

2019-10-02 Thread Kurt Roeckx
Hi, As OpenSSL, we want cryptograhic secure random numbers. Before getrandom(), Linux never provided a good API for that, both /dev/random and /dev/urandom have problems. getrandom() fixed that, so we switched to it were available. It was possible to combine /dev/random and /dev/urandom, and get

[PATCH 1/6] gpio: xgene: remove redundant error message

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no need to emit an error message on probe failure unless we're printing some meaningful info. Otherwise the core driver code will inform us about a probe error. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-xgene.c | 23 +++ 1

[PATCH 3/6] gpio: em: use devm_platform_ioremap_resource()

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no need to use the nocache variant of ioremap(). Switch to using devm_platform_ioremap_resource(). Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-em.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git

Re: [PATCH v2,RESEND] tpm: Detach page allocation from tpm_buf

2019-10-02 Thread Jarkko Sakkinen
On Wed, Oct 02, 2019 at 01:45:30PM +0300, Jarkko Sakkinen wrote: > As has been seen recently, binding the buffer allocation and tpm_buf > together is sometimes far from optimal. The buffer might come from the > caller namely when tpm_send() is used by another subsystem. In addition we > can

[PATCH 2/6] gpio: xgene: use devm_platform_ioremap_resource()

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no need to use the nocache variant of ioremap(). Switch to using devm_platform_ioremap_resource(). Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-xgene.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git

[PATCH 6/6] gpio: htc-egpio: remove redundant error message

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no need to emit an error message on probe failure unless we're printing some meaningful info. Otherwise the core driver code will inform us about a probe error. Also: the driver currently drops info about errors propagated from called functions by default to

[PATCH 5/6] gpio: htc-egpio: use devm_platform_ioremap_resource()

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no need to use the nocache variant of ioremap(). Switch to using devm_platform_ioremap_resource(). Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-htc-egpio.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git

[PATCH 4/6] gpio: ath79: use devm_platform_ioremap_resource()

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no need to use the nocache variant of ioremap(). Switch to using devm_platform_ioremap_resource(). Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-ath79.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

[PATCH 0/6] gpio: replace nocache ioremap functions with devm_platform_ioremap_resource()

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski According to Arnd Bergmann: "The only architecture that actually has a difference between ioremap() and ioremap_nocache() seems to be ia64. I would generally assume that any driver using ioremap_nocache() that is not ia64 specific should just use ioremap()." This

Re: [PATCH v2] fs: affs: fix a memory leak in affs_remount

2019-10-02 Thread Navid Emamdoost
Thanks David, On Wed, Oct 2, 2019 at 4:22 AM David Sterba wrote: > > On Mon, Sep 30, 2019 at 04:01:10PM -0500, Navid Emamdoost wrote: > > In affs_remount if data is provided it is duplicated into new_opts. > > The allocated memory for new_opts is only released if pare_options fail. > > The

Re: [PATCH] MAINTAINERS: Add me for Linux Kernel memory consistency model (LKMM)

2019-10-02 Thread Paul E. McKenney
On Wed, Oct 02, 2019 at 11:28:37AM -0400, Joel Fernandes (Google) wrote: > Quite interested in the LKMM, I have submitted patches before and used > it a lot. I would like to be a part of the maintainers for this project. > > Cc: Paul McKenney > Suggested-by: Alan Stern > Signed-off-by: Joel

Re: [PATCH] x86/PCI: Remove D0 PME capability on AMD FCH xHCI

2019-10-02 Thread Bjorn Helgaas
On Wed, Oct 02, 2019 at 01:32:07PM +0800, Kai-Heng Feng wrote: > On Oct 2, 2019, at 08:07, Bjorn Helgaas wrote: > > On Mon, Sep 02, 2019 at 10:52:52PM +0800, Kai-Heng Feng wrote: > >> There's an xHCI device that doesn't wake when a USB 2.0 device gets > >> plugged to its USB 3.0 port. The

Re: [PATCH v3 0/3] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2019-10-02 Thread Song Liu
On Tue, Oct 1, 2019 at 5:55 PM Jens Axboe wrote: > > On 10/1/19 5:12 PM, Song Liu wrote: > > On Fri, Sep 20, 2019 at 8:58 AM Eugene Syromiatnikov > > wrote: > >> > >> Hello. > >> > >> This is a small fix of a typo (or, more specifically, some remnant of > >> the old patch version spelling) in

RE: [RFC PATCH 19/22] thunderbolt: Add support for Time Management Unit

2019-10-02 Thread Mani, Rajmohan
Hi Mika, > -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: Tuesday, October 01, 2019 4:38 AM > To: linux-...@vger.kernel.org > Cc: Andreas Noever ; Jamet, Michael > ; Mika Westerberg > ; Yehezkel Bernat > ; Mani, Rajmohan ; > Nicholas Johnson ;

Re: [PATCH 02/20] staging: wfx: add support for I/O access

2019-10-02 Thread Jerome Pouiller
On Wednesday 2 October 2019 18:42:14 CEST Greg Kroah-Hartman wrote: > On Wed, Oct 02, 2019 at 04:29:09PM +, Jerome Pouiller wrote: [...] > > > > Hi Andrew, > > > > I did not forget your suggestion. However, if everyone is agree with that, > > I'd > > prefer to address it in a next pull

Re: [PATCH 1/3] KVM: X86: Add "nopvspin" parameter to disable PV spinlocks

2019-10-02 Thread Sean Christopherson
On Tue, Oct 01, 2019 at 05:47:00PM +0800, Zhenzhong Duan wrote: > > On 2019/10/1 16:39, Vitaly Kuznetsov wrote: > >Zhenzhong Duan writes: > > > >>On 2019/9/30 23:41, Vitaly Kuznetsov wrote: > >>>Zhenzhong Duan writes: > >>> > There are cases where a guest tries to switch spinlocks to bare

[PATCH] perf script: Allow --time with --reltime

2019-10-02 Thread Andi Kleen
From: Andi Kleen The original --reltime patch forbid --time with --reltime. But it turns out --time doesn't really care about --reltime, because the relative time is only used at final output, while the time filtering always works earlier on absolute time. So just remove the check and allow

Re: [PATCH v2 1/2] x86,sched: Add support for frequency invariance

2019-10-02 Thread kbuild test robot
Hi Giovanni, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [cannot apply to v5.4-rc1 next-20191002] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

[PATCH v3 07/10] ARM: dts: keystone: Rename "msmram" node to "sram"

2019-10-02 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the "msmram" node to "sram". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/keystone-k2e.dtsi | 2 +- arch/arm/boot/dts/keystone-k2g.dtsi

[PATCH v3 10/10] ARM: dts: omap: Rename "ocmcram" node to "sram"

2019-10-02 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the "ocmcram" node to "sram". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/omap4.dtsi | 2 +- arch/arm/boot/dts/omap5.dtsi | 2 +- 2

[PATCH v3 09/10] ARM: dts: am: Rename "ocmcram" node to "sram"

2019-10-02 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the "ocmcram" node to "sram". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/am33xx.dtsi | 2 +- arch/arm/boot/dts/am4372.dtsi | 2 +- 2

[PATCH v3 05/10] ARM: dts: dove: Rename "sa-sram" node to "sram"

2019-10-02 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the "sa-sram" node to "sram". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/dove.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 08/10] ARM: dts: tegra: Rename "iram" node to "sram"

2019-10-02 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the "iram" node to "sram". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/tegra20.dtsi | 2 +- arch/arm/boot/dts/tegra30.dtsi | 2 +- 2

[PATCH v3 04/10] arm64: dts: tegra: Rename sysram node to "sram"

2019-10-02 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the "sysram" node to "sram". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 2 +-

[PATCH v3 03/10] ARM: dts: exynos: Rename SysRAM node to "sram"

2019-10-02 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the SysRAM node from "sysram" to "sram". The child nodes stay as before as "smp-sysram" to match their real purpose. This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof

[PATCH v3 06/10] ARM: dts: imx: Rename "iram" node to "sram"

2019-10-02 Thread Krzysztof Kozlowski
The device node name should reflect generic class of a device so rename the "iram" node to "sram". This will be also in sync with upcoming DT schema. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/imx27.dtsi | 2 +- arch/arm/boot/dts/imx31.dtsi | 2 +-

[PATCH v3 01/10] dt-bindings: sram: Convert SRAM bindings to json-schema

2019-10-02 Thread Krzysztof Kozlowski
Convert generic mmio-sram bindings to DT schema format using json-schema. Require the address/size cells to be 1, not equal to root node. Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. Add Rob as maintainer, 2. Use "contains" for compatible, 3. Fix address and size cells to 1, 4.

[PATCH v3 02/10] dt-bindings: sram: Convert Samsung Exynos SYSRAM bindings to json-schema

2019-10-02 Thread Krzysztof Kozlowski
Convert Samsung Exynos SYSRAM bindings to DT schema format using json-schema. Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. Use sram as name of node in example. Changes since v1: 1. Indent example with four spaces (more readable). ---

Re: [PATCH 02/20] staging: wfx: add support for I/O access

2019-10-02 Thread Greg Kroah-Hartman
On Wed, Oct 02, 2019 at 04:29:09PM +, Jerome Pouiller wrote: > On Thursday 19 September 2019 18:34:48 CEST Andrew Lunn wrote: > > On Thu, Sep 19, 2019 at 10:52:35AM +, Jerome Pouiller wrote: > > > +static int wfx_sdio_copy_from_io(void *priv, unsigned int reg_id, > > > +

Re: [PATCH v2] rtl8xxxu: add bluetooth co-existence support for single antenna

2019-10-02 Thread Kalle Valo
Chris Chiu writes: > On Wed, Oct 2, 2019 at 12:29 PM Kalle Valo wrote: > >> Failed to apply, please rebase on top of wireless-drivers-next. >> >> fatal: sha1 information is lacking or useless >> (drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h). >> error: could not build fake ancestor >>

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-02 Thread Daniel Bristot de Oliveira
On 27/08/2019 20:06, Peter Zijlstra wrote: > Move ftrace over to using the generic x86 text_poke functions; this > avoids having a second/different copy of that code around. > > This also avoids ftrace violating the (new) W^X rule and avoids > fragmenting the kernel text page-tables, due to no

Re: [PATCH 2/3] x86/alternatives,jump_label: Provide better text_poke() batching interface

2019-10-02 Thread Daniel Bristot de Oliveira
Hi Peter, On 27/08/2019 20:06, Peter Zijlstra wrote: > Adding another text_poke_bp_batch() user made me realize the interface > is all sorts of wrong. The text poke vector should be internal to the > implementation. > > This then results in a trivial interface: > > text_poke_queue() - which

[RFC PATCH] leds: core: Fix LED_COLOR_MAX_ID

2019-10-02 Thread Dan Murphy
The LED_COLOR_MAX_ID is incorrect. THe MAX_ID should be the last COLOR_ID in the list. If an array was allocate with MAX_ID the allocation would be correct but the meaning is wrong. So for array allocation the code should use LED_NUM_COLOR_IDS which will allocate MAX_ID + 1. Whent the code

Re: [PATCH bpf-next 2/2] selftests/bpf: correct path to include msg + path

2019-10-02 Thread Song Liu
> On Oct 2, 2019, at 5:04 AM, Ivan Khoronzhuk > wrote: > > The "path" buf is supposed to contain path + printf msg up to 24 bytes. > It will be cut anyway, but compiler generates truncation warns like: > > " > samples/bpf/../../tools/testing/selftests/bpf/cgroup_helpers.c: In > function

Re: [PATCH 02/20] staging: wfx: add support for I/O access

2019-10-02 Thread Jerome Pouiller
On Thursday 19 September 2019 18:34:48 CEST Andrew Lunn wrote: > On Thu, Sep 19, 2019 at 10:52:35AM +, Jerome Pouiller wrote: > > +static int wfx_sdio_copy_from_io(void *priv, unsigned int reg_id, > > + void *dst, size_t count) > > +{ > > + struct wfx_sdio_priv

Re: [PATCH bpf-next 1/2] selftests/bpf: add static to enable_all_controllers()

2019-10-02 Thread Song Liu
> On Oct 2, 2019, at 5:04 AM, Ivan Khoronzhuk > wrote: > > Add static to enable_all_controllers() to get rid from annoying warn: > > samples/bpf/../../tools/testing/selftests/bpf/cgroup_helpers.c:44:5: > warning: no previous prototype for ‘enable_all_controllers’ > [-Wmissing-prototypes] >

Re: [PATCH 3/3] bus: hisi_lpc: Expand build test coverage

2019-10-02 Thread John Garry
On 02/10/2019 16:43, Arnd Bergmann wrote: On Tue, Oct 1, 2019 at 6:07 PM John Garry wrote: Currently the driver will only ever be built for ARM64 because it selects CONFIG_INDIRECT_PIO, which itself depends on ARM64. Expand build test coverage for the driver to other architectures by only

Re: [PATCH] scatterlist: Comment on pages for sg_set_page()

2019-10-02 Thread Alan Mikhak
On Wed, Oct 2, 2019 at 7:27 AM Jason Gunthorpe wrote: > > On Tue, Oct 01, 2019 at 11:32:50AM -0700, Alan Mikhak wrote: > > From: Alan Mikhak > > > > Update the description of sg_set_page() to communicate current > > requirements for the page pointer parameter. > > > > Signed-off-by: Alan Mikhak

Re: [RFC][PATCH] sysctl: Remove the sysctl system call

2019-10-02 Thread Andi Kleen
There were some really old glibc versions that used the system call, but I believe they have a reasonable fall back, and may not be used much anymore. Acked-by: Andi Kleen -Andi

RE: [Discussion v2] Usecases for the per-task latency-nice attribute

2019-10-02 Thread David Laight
From: Parth Shah > Sent: 30 September 2019 11:44 ... > 5> Separating AVX512 tasks and latency sensitive tasks on separate cores > ( -Tim Chen ) > === > Another usecase we are considering is to segregate those workload that

Re: [PATCH 3/3] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-10-02 Thread Greg KH
On Wed, Oct 02, 2019 at 08:42:04AM -0700, Jerry Snitselaar wrote: > On Wed Oct 02 19, Jerry Snitselaar wrote: > > On Wed Oct 02 19, Sasha Levin wrote: > > > On Wed, Oct 02, 2019 at 03:57:58PM +0200, Greg KH wrote: > > > > On Wed, Oct 02, 2019 at 04:14:44PM +0300, Jarkko Sakkinen wrote: > > > > >

[PATCH 4/4] dt-bindings: iio: adc: exynos: Use defines instead of clock numbers

2019-10-02 Thread Krzysztof Kozlowski
Make the examples in Exynos ADC bindings more readable and bring them closer to real DTS by using defines for clocks. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/iio/adc/samsung,exynos-adc.yaml | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 3/4] dt-bindings: rtc: s3c: Include generic dt-schema bindings

2019-10-02 Thread Krzysztof Kozlowski
Include the generic rtc.yaml bindings in Samsung S3C RTC bindings. This brings the requirement of proper node names and adds parsing of additional properties. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/rtc/s3c-rtc.yaml | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 1/4] dt-bindings: samsung: Indent examples with four spaces

2019-10-02 Thread Krzysztof Kozlowski
Change the indentation of examples used in json-schema bindings from two to four spaces as this makes the code easier to read and seems to be preferred in other files. Signed-off-by: Krzysztof Kozlowski --- .../bindings/arm/samsung/exynos-chipid.yaml | 4 +-

[PATCH 2/4] dt-bindings: rtc: s3c: Use defines instead of clock numbers

2019-10-02 Thread Krzysztof Kozlowski
Make the examples in S3C RTC bindings more readable and bring them closer to real DTS by using defines for clocks. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/rtc/s3c-rtc.yaml | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [alsa-devel] [PATCH 2/2] soundwire: depend on ACPI || OF

2019-10-02 Thread Pierre-Louis Bossart
On 10/2/19 3:33 AM, Michal Suchanek wrote: Now devicetree is supposrted for probing sondwire as well. typos... also it'd be simpler to squash the two patches together and add in the commit message a mention that the s390 builds without ACPI and without OF. Fixes: a2e484585ad3

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

2019-10-02 Thread Mario.Limonciello
> -Original Message- > From: Yehezkel Bernat > Sent: Wednesday, October 2, 2019 10:37 AM > To: Limonciello, Mario > Cc: Mika Westerberg; linux-...@vger.kernel.org; Andreas Noever; Michael > Jamet; Rajmohan Mani; nicholas.johnson-opensou...@outlook.com.au; Lukas > Wunner;

Re: [PATCH v4 2/6] dt-bindings: samsung: Update the CHIP ID binding documentation

2019-10-02 Thread Sylwester Nawrocki
On 10/2/19 17:48, Krzysztof Kozlowski wrote: > This will create conflicts with conversion to dt-schema (already picked > up by Rob). > > Can you convert this patch to dt-schema format and send it for Rob? Sure, I will convert the patch. -- Regards, Sylwester

Re: [PATCH 1/4] iio: pressure: bmp280: use bulk regulator ops

2019-10-02 Thread Bartosz Golaszewski
śr., 2 paź 2019 o 15:06 kbuild test robot napisał(a): > > Hi Bartosz, > > I love your patch! Yet something to improve: > > [auto build test ERROR on iio/togreg] > [cannot apply to v5.4-rc1 next-20191002] > [if your patch is applied to the wrong git tree, please drop us

[PATCH] power: supply: max17042_battery: fix some usage of uninitialized variables

2019-10-02 Thread Yizhuo
Several functions in this file are trying to use regmap_read() to initialize the specific variable, however, if regmap_read() fails, the variable could be uninitialized but used directly, which is potentially unsafe. The return value of regmap_read() should be checked and handled. The same case

Re: [PATCH v4 1/6] opp: Handle target/min/max voltage in dev_pm_opp_adjust_voltage()

2019-10-02 Thread Sylwester Nawrocki
On 10/2/19 16:33, Krzysztof Kozlowski wrote: > On Tue, Sep 10, 2019 at 02:36:13PM +0200, Sylwester Nawrocki wrote: >> To be squashed with patch "PM / OPP: Support adjusting OPP voltages >> at runtime". >> >> Signed-off-by: Sylwester Nawrocki >> --- >> >> drivers/opp/core.c | 10 -- >>

Re: General protection fault in `switch_mm_irqs_off()`

2019-10-02 Thread Paul Menzel
[CC: +affected coreboot folks, +coreboot mailing list] Dear Thomas, More affected people discussed this issue on the coreboot mailing list [1]. On 2019-01-14 18:37, Lendacky, Thomas wrote: > On 1/14/19 11:09 AM, Paul Menzel wrote: >> On 01/14/19 18:00, Lendacky, Thomas wrote: >>> On 1/10/19

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