Re: [PATCH v2] scripts: Move ipc/ to kernel/ipc/: don't check the ipc dir

2019-09-26 Thread Joe Perches
On Thu, 2019-09-26 at 09:26 +0800, Yunfeng Ye wrote: > After the commit 76128326f97c ("toplevel: Move ipc/ to kernel/ipc/: move > the files"), we met some error messages: > > ./scripts/checkpatch.pl: > "Must be run from the top-level dir. of a kernel tree" > > ./scripts/get_maintainer.pl:

[PATCH] z3fold: claim page in the beginning of free

2019-09-26 Thread Vitaly Wool
There's a really hard to reproduce race in z3fold between z3fold_free() and z3fold_reclaim_page(). z3fold_reclaim_page() can claim the page after z3fold_free() has checked if the page was claimed and z3fold_free() will then schedule this page for compaction which may in turn lead to random page

[GIT PULL] add virtio-fs

2019-09-26 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/virtio-fs-5.4 [There's a trivial merge conflict under Documentation/] Virtio-fs allows exporting directory trees on the host and mounting them in guest(s). This isn't actually a new filesystem,

Re: [PATCH 0/7] add support for clocksource/clockevent DT selection

2019-09-26 Thread Claudiu.Beznea
On 25.09.2019 20:19, Daniel Lezcano wrote: > External E-Mail > > > Hi Claudiu, > > On 10/09/2019 15:47, Claudiu Beznea wrote: >> Hi, >> >> This series adds support to permit the selection of clocksource/clockevent >> via DT. > > Thanks for the proposal and taking care of making some progress

Re: [PATCH] KVM: nVMX: cleanup and fix host 64-bit mode checks

2019-09-26 Thread Paolo Bonzini
On 26/09/19 01:55, Krish Sadhukhan wrote: > > > On 09/25/2019 09:47 AM, Jim Mattson wrote: >> On Wed, Sep 25, 2019 at 9:34 AM Paolo Bonzini >> wrote: >>> KVM was incorrectly checking vmcs12->host_ia32_efer even if the "load >>> IA32_EFER" exit control was reset.  Also, some checks were not

Re: [PULL REQUEST] i2c for 5.4

2019-09-26 Thread Wolfram Sang
Hi Linus, > > - new driver for ICY, an Amiga Zorro card :) > > Christ. Will that thing _never_ die? Well, a couple of happy users there... > I don't know what the proper mutt incantation is to make it join the > modern world, but I'm sure one exists, and then your emails would get > names

[PATCH] async: Using current_work() to implement current_is_async()

2019-09-26 Thread Yunfeng Ye
current_is_async() can be implemented using current_work(), it's better not to be aware of the workqueue's internal information. Signed-off-by: Yunfeng Ye --- kernel/async.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/async.c b/kernel/async.c index

Re: [PATCH 4/4] arm64: Remove gettimeofday.S

2019-09-26 Thread Catalin Marinas
On Thu, Sep 26, 2019 at 07:03:53AM +0100, Vincenzo Frascino wrote: > gettimeofday.S was originally removed with the introduction of the > support for Unified vDSOs in arm64 and replaced with the C > implementation. > > The file seems again present in the repository due to a side effect of >

Re: [PATCH V2 1/2] string: Add stracpy and stracpy_pad mechanisms

2019-09-26 Thread Joe Perches
On Wed, 2019-09-25 at 14:50 -0700, Andrew Morton wrote: > On Tue, 23 Jul 2019 06:51:36 -0700 Joe Perches wrote: > > > Several uses of strlcpy and strscpy have had defects because the > > last argument of each function is misused or typoed. > > > > Add macro mechanisms to avoid this defect. > >

Re: [PATCH] vhost: introduce mdev based hardware backend

2019-09-26 Thread Michael S. Tsirkin
On Thu, Sep 26, 2019 at 12:54:27PM +0800, Tiwei Bie wrote: > This patch introduces a mdev based hardware vhost backend. > This backend is built on top of the same abstraction used > in virtio-mdev and provides a generic vhost interface for > userspace to accelerate the virtio devices in guest. >

[PATCH] quota: avoid increasing DQST_LOOKUPS when iterating over dirty/inuse list

2019-09-26 Thread Chengguang Xu
It is meaningless to increase DQST_LOOKUPS number while iterating over dirty/inuse list, so just avoid it. Signed-off-by: Chengguang Xu --- fs/quota/dquot.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 6e826b454082..00a3c6df2ea3 100644 ---

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

2019-09-26 Thread Catalin Marinas
On Thu, Sep 26, 2019 at 07:03:52AM +0100, Vincenzo Frascino wrote: > diff --git a/arch/arm64/include/asm/memory.h b/arch/arm64/include/asm/memory.h > index b61b50bf68b1..b1c8c43234c5 100644 > --- a/arch/arm64/include/asm/memory.h > +++ b/arch/arm64/include/asm/memory.h > @@ -228,11 +228,16 @@

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

2019-09-26 Thread Catalin Marinas
On Thu, Sep 26, 2019 at 07:03:51AM +0100, Vincenzo Frascino wrote: > diff --git a/arch/arm64/include/asm/vdso/compat_barrier.h > b/arch/arm64/include/asm/vdso/compat_barrier.h > index fb60a88b5ed4..3fd8fd6d8fc2 100644 > --- a/arch/arm64/include/asm/vdso/compat_barrier.h > +++

Re: [PATCH] soc: renesas: rcar-sysc: fix memory leak in rcar_sysc_pd_init

2019-09-26 Thread Simon Horman
Ni Navid, thanks for your patch. On Wed, Sep 25, 2019 at 04:03:53PM -0500, Navid Emamdoost wrote: > In rcar_sysc_pd_init when looping over info->areas errors may happen but > the error handling path does not clean up the intermediate allocated > memories. > > This patch changes the error

[v8 2/2] dt-bindings: mtd: Add Cadence NAND controller driver

2019-09-26 Thread Piotr Sroka
Document the bindings used by Cadence NAND controller driver Signed-off-by: Piotr Sroka Reviewed-by: Rob Herring --- Changes for v8: - none Changes for v7: - none Changes for v6: - add documentation for address-cells and size-cells - remove not needed space - put myself as maintainer of the

Re: [PATCH] sched/vtime: Fix guest/system mis-accounting on task switch

2019-09-26 Thread Peter Zijlstra
On Wed, Sep 25, 2019 at 11:42:42PM +0200, Frederic Weisbecker wrote: > vtime_account_system() assumes that the target task to account cputime > to is always the current task. This is most often true indeed except on > task switch where we call: > > vtime_common_task_switch(prev) >

[PATCH] ns2: Fix off by one bugs in ns2_pinmux_enable()

2019-09-26 Thread Dan Carpenter
The pinctrl->functions[] array has pinctrl->num_functions elements and the pinctrl->groups[] array is the same way. These are set in ns2_pinmux_probe(). So the > comparisons should be >= so that we don't read one element beyond the end of the array. Fixes: b5aa1006e4a9 ("pinctrl: ns2: add

[v8 1/2] mtd: rawnand: Add new Cadence NAND driver to MTD subsystem

2019-09-26 Thread Piotr Sroka
Add new Cadence NAND driver to MTD subsystem Signed-off-by: Piotr Sroka Reported-by: kbuild test robot Reported-by: Julia Lawall --- Changes for v8: - fix compilation waring in cadence_nand_attach_chip function - change reallocating DMA common buffer to be done after all chips are attached.

[PATCH] iio: imu: adis16480: clean up a condition

2019-09-26 Thread Dan Carpenter
The "t" variable is unsigned so it can't be less than zero. We really are just trying to prevent divide by zero bugs so just checking against zero is sufficient. Signed-off-by: Dan Carpenter --- drivers/iio/imu/adis16480.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[v8 0/2] mtd: rawnand: Add Cadence NAND controller driver

2019-09-26 Thread Piotr Sroka
Driver for Cadence HPNFC NAND flash controller. HW DMA interface Page write and page read operations are executed in Command DMA mode. Commands are defined by DMA descriptors. In CDMA mode controller own DMA engine is used (Master DMA mode). Other operations defined by nand_op_instr are executed

Hello

2019-09-26 Thread Edith Brown
-- Hello dear how are you? my name is Edith Brown i am a U.S military woman is my pleasure meeting you here best regards

Re: [PATCH v2] platform/x86: dell-laptop: fix broken kbd backlight on Inspiron 10xx

2019-09-26 Thread Pali Rohár
On Wednesday 25 September 2019 18:06:40 Andy Shevchenko wrote: > On Wed, Sep 25, 2019 at 12:48 PM Pacien TRAN-GIRARD > wrote: > > > > This patch adds a quirk disabling keyboard backlight support for the > > Dell Inspiron 1012 and 1018. > > > > Those models wrongly report supporting keyboard

[PATCH] net: phy: micrel: add Asym Pause workaround for KSZ9021

2019-09-26 Thread Hans Andersson
From: Hans Andersson The Micrel KSZ9031 PHY may fail to establish a link when the Asymmetric Pause capability is set. This issue is described in a Silicon Errata (DS8691D or DS8692D), which advises to always disable the capability. Micrel KSZ9021 has no errata, but has the same issue

Re: [PATCH] ACPICA: make acpi_load_table() return table index

2019-09-26 Thread Shevchenko, Andriy
On Wed, Sep 25, 2019 at 09:13:34PM +0300, Schmauss, Erik wrote: > > -Original Message- > > From: Ferry Toth > > Sent: Thursday, September 12, 2019 12:37 PM > > To: Moore, Robert ; Nikolaus Voss > > ; Shevchenko, Andriy > > ; Schmauss, Erik ; > > Rafael J. Wysocki > > Cc: Len Brown ;

Re: [PATCH 2/5] dt-bindings: mfd: da9062: add regulator voltage selection documentation

2019-09-26 Thread Marco Felsch
On 19-09-25 16:18, Adam Thomson wrote: > On 25 September 2019 16:52, Marco Felsch wrote: > > > Hi Adam, > > > > On 19-09-24 09:23, Adam Thomson wrote: > > > On 17 September 2019 13:43, Marco Felsch wrote: > > > > > > > Add the documentation which describe the voltage selection gpio support. > >

Re: [PATCH 1/4] arm64: vdso32: Introduce COMPAT_CC_IS_GCC

2019-09-26 Thread Catalin Marinas
On Thu, Sep 26, 2019 at 07:03:50AM +0100, Vincenzo Frascino wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 37c610963eee..afe8c948b493 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -110,7 +110,7 @@ config ARM64 > select GENERIC_STRNLEN_USER >

RE: [PATCH] firmware: imx: Skip return value check for some special SCU firmware APIs

2019-09-26 Thread Anson Huang
Hi, Marco > On 19-09-25 18:07, Anson Huang wrote: > > The SCU firmware does NOT always have return value stored in message > > header's function element even the API has response data, those > > special APIs are defined as void function in SCU firmware, so they > > should be treated as return

Re: [PATCH] async: Let kfree() out of the critical area of the lock

2019-09-26 Thread Yunfeng Ye
On 2019/9/25 23:20, Alexander Duyck wrote: > On Wed, 2019-09-25 at 20:52 +0800, Yunfeng Ye wrote: >> It's not necessary to put kfree() in the critical area of the lock, so >> let it out. >> >> Signed-off-by: Yunfeng Ye >> --- >> kernel/async.c | 6 +++--- >> 1 file changed, 3 insertions(+), 3

Re: [PATCH] udf: prevent memory leak in udf_new_inode

2019-09-26 Thread Jan Kara
On Wed 25-09-19 23:24:08, Al Viro wrote: > On Wed, Sep 25, 2019 at 04:39:03PM -0500, Navid Emamdoost wrote: > > In udf_new_inode if either udf_new_block or insert_inode_locked fials > > the allocated memory for iinfo->i_ext.i_data should be released. > > "... because of such-and-such reasons"

Re: [PATCH] firmware: imx: Skip return value check for some special SCU firmware APIs

2019-09-26 Thread Marco Felsch
Hi, On 19-09-25 18:07, Anson Huang wrote: > The SCU firmware does NOT always have return value stored in message > header's function element even the API has response data, those special > APIs are defined as void function in SCU firmware, so they should be > treated as return success always. >

Re: [PATCH 1/2] spi: Add call to spi_slave_abort() function when spidev driver is released

2019-09-26 Thread Lukasz Majewski
Hi Geert, > Hi Lukasz, > > On Thu, Sep 26, 2019 at 3:33 AM Lukasz Majewski wrote: > > This change is necessary for spidev devices (e.g. /dev/spidev3.0) > > working in the slave mode (like NXP's dspi driver for Vybrid SoC). > > > > When SPI HW works in this mode - the master is responsible for >

Re: [PATCH v3] dt-bindings: at24: convert the binding document to yaml

2019-09-26 Thread Bartosz Golaszewski
śr., 25 wrz 2019 o 22:38 Rob Herring napisał(a): > > 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. > > Signed-off-by: Bartosz

Re: [RFC PATCH] x86/doc/boot_protocol: Correct the description of "reloc"

2019-09-26 Thread Cao jin
On 9/26/19 2:01 PM, Ingo Molnar wrote: > * Cao jin wrote: > >> The fields marked with (reloc) actually are not dedicated for writing, >> but communicating info for relocatable kernel with boot loaders. For >> example: >> >> >> Field name: pref_address >>

Re: WARN_ON_ONCE in qla2x00_status_cont_entry

2019-09-26 Thread Daniel Wagner
On Wed, Sep 25, 2019 at 06:33:35PM -0700, Bart Van Assche wrote: > On 2019-09-25 05:39, Daniel Wagner wrote: > > So I after starring on the code I am not sure if the WARN_ON_ONCE is > > correct. It assumes that after processing one status continuation, > > there is no more work. Though it looks

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread Oscar Salvador
On Thu, Sep 26, 2019 at 11:34:05AM +1000, Alastair D'Silva wrote: > From: Alastair D'Silva > > On PowerPC, the address ranges allocated to OpenCAPI LPC memory > are allocated from firmware. These address ranges may be higher > than what older kernels permit, as we increased the maximum >

Re: [PATCH v2 3/3] platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning

2019-09-26 Thread Kefeng Wang
On 2019/9/26 15:32, Andy Shevchenko wrote: > On Thu, Sep 26, 2019 at 9:09 AM Kefeng Wang > wrote: >> On 2019/9/26 13:48, Andy Shevchenko wrote: >>> On Thu, Sep 26, 2019 at 4:29 AM Kefeng Wang >>> wrote: On 2019/9/25 23:04, Andy Shevchenko wrote: > On Fri, Sep 20, 2019 at 1:55 PM

Re: [PATCH net v2] vsock: Fix a lockdep warning in __vsock_release()

2019-09-26 Thread Stefano Garzarella
Hi Dexuan, On Thu, Sep 26, 2019 at 01:11:27AM +, Dexuan Cui wrote: > Lockdep is unhappy if two locks from the same class are held. > > Fix the below warning for hyperv and virtio sockets (vmci socket code > doesn't have the issue) by using lock_sock_nested() when __vsock_release() > is

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread Michal Hocko
On Thu 26-09-19 09:40:05, Oscar Salvador wrote: > On Thu, Sep 26, 2019 at 11:34:05AM +1000, Alastair D'Silva wrote: > > From: Alastair D'Silva > > @@ -291,6 +307,10 @@ int __ref __add_pages(int nid, unsigned long pfn, > > unsigned long nr_pages, > > unsigned long nr, start_sec, end_sec; > >

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread David Hildenbrand
On 26.09.19 09:43, Michal Hocko wrote: > On Thu 26-09-19 09:12:50, David Hildenbrand wrote: >> On 26.09.19 03:34, Alastair D'Silva wrote: >>> From: Alastair D'Silva >>> >>> On PowerPC, the address ranges allocated to OpenCAPI LPC memory >>> are allocated from firmware. These address ranges may be

Re: [PATCH] arm64: Allow disabling of the compat vDSO

2019-09-26 Thread Catalin Marinas
On Thu, Sep 26, 2019 at 01:06:50AM +0100, Vincenzo Frascino wrote: > On 9/25/19 6:08 PM, Catalin Marinas wrote: > > On Wed, Sep 25, 2019 at 09:53:16AM -0700, Nick Desaulniers wrote: > >> On Wed, Sep 25, 2019 at 6:09 AM Catalin Marinas > >> wrote: > >>> Suggestions for future improvements of the

[PATCH] scsi: qla2xxx: Remove WARN_ON_ONCE in qla2x00_status_cont_entry()

2019-09-26 Thread Daniel Wagner
Commit 88263208dd23 ("scsi: qla2xxx: Complain if sp->done() is not called from the completion path") introduced the WARN_ON_ONCE in qla2x00_status_cont_entry(). The assumption was that there is only one status continuations element. According to the firmware documentation it is possible that

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread Michal Hocko
On Thu 26-09-19 11:34:05, Alastair D'Silva wrote: > From: Alastair D'Silva > > On PowerPC, the address ranges allocated to OpenCAPI LPC memory > are allocated from firmware. These address ranges may be higher > than what older kernels permit, as we increased the maximum > permissable address in

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread Michal Hocko
On Thu 26-09-19 09:12:50, David Hildenbrand wrote: > On 26.09.19 03:34, Alastair D'Silva wrote: > > From: Alastair D'Silva > > > > On PowerPC, the address ranges allocated to OpenCAPI LPC memory > > are allocated from firmware. These address ranges may be higher > > than what older kernels

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread David Hildenbrand
On 26.09.19 09:40, Oscar Salvador wrote: > On Thu, Sep 26, 2019 at 11:34:05AM +1000, Alastair D'Silva wrote: >> From: Alastair D'Silva >> @@ -291,6 +307,10 @@ int __ref __add_pages(int nid, unsigned long pfn, >> unsigned long nr_pages, >> unsigned long nr, start_sec, end_sec; >> struct

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread Oscar Salvador
On Thu, Sep 26, 2019 at 11:34:05AM +1000, Alastair D'Silva wrote: > From: Alastair D'Silva > @@ -291,6 +307,10 @@ int __ref __add_pages(int nid, unsigned long pfn, > unsigned long nr_pages, > unsigned long nr, start_sec, end_sec; > struct vmem_altmap *altmap = restrictions->altmap; >

[RESEND PATCH] ARM/hw_breakpoint: add ARMv8.1/ARMv8.2 debug architecutre versions support in enable_monitor_mode()

2019-09-26 Thread Candle Sun
From: Candle Sun When ARMv8.1/ARMv8.2 cores are used in AArch32 mode, arch_hw_breakpoint_init() in arch/arm/kernel/hw_breakpoint.c will be used. >From ARMv8 specification, different debug architecture versions defined: * 0110 ARMv8, v8 Debug architecture. * 0111 ARMv8.1, v8 Debug architecture,

Re: [PATCH v1] mm/memory_hotplug: Don't take the cpu_hotplug_lock

2019-09-26 Thread Michal Hocko
On Thu 26-09-19 09:26:13, David Hildenbrand wrote: [...] > I'd like to hear what Michal thinks. If we do want the cpu hotplug lock, > we can at least restrict it to the call paths (e.g., online_pages()) > where the lock is really needed and document that. Completely agreed. Conflating cpu and

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread David Hildenbrand
On 26.09.19 09:12, David Hildenbrand wrote: > On 26.09.19 03:34, Alastair D'Silva wrote: >> From: Alastair D'Silva >> >> On PowerPC, the address ranges allocated to OpenCAPI LPC memory >> are allocated from firmware. These address ranges may be higher >> than what older kernels permit, as we

Re: [PATCH v2] ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule

2019-09-26 Thread David Miller
From: "Jason A. Donenfeld" Date: Tue, 24 Sep 2019 16:01:28 +0200 > Commit 7d9e5f422150 removed references from certain dsts, but accounting > for this never translated down into the fib6 suppression code. This bug > was triggered by WireGuard users who use wg-quick(8), which uses the >

Re: [PATCH v2 3/3] platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning

2019-09-26 Thread Andy Shevchenko
On Thu, Sep 26, 2019 at 9:09 AM Kefeng Wang wrote: > On 2019/9/26 13:48, Andy Shevchenko wrote: > > On Thu, Sep 26, 2019 at 4:29 AM Kefeng Wang > > wrote: > >> On 2019/9/25 23:04, Andy Shevchenko wrote: > >>> On Fri, Sep 20, 2019 at 1:55 PM Kefeng Wang > >>> wrote: > >>> You have to send to

[PATCH] staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E()

2019-09-26 Thread Denis Efremov
It's incorrect to compare HighestRate with 0x0b twice in the following manner "if (HighestRate > 0x0b) ... else if (HighestRate > 0x0b) ...". The "else if" branch is constantly false. The second comparision should be with 0x03 according to the max_rate_idx in ODM_RAInfo_Init(). Cc: Larry Finger

Re: [PATCH V2 1/2] string: Add stracpy and stracpy_pad mechanisms

2019-09-26 Thread Rasmus Villemoes
On 26/09/2019 02.01, Stephen Kitt wrote: > Le 25/09/2019 23:50, Andrew Morton a écrit : >> On Tue, 23 Jul 2019 06:51:36 -0700 Joe Perches wrote: >> >>> Several uses of strlcpy and strscpy have had defects because the >>> last argument of each function is misused or typoed. >>> >>> Add macro

Re: [PATCH v1] mm/memory_hotplug: Don't take the cpu_hotplug_lock

2019-09-26 Thread Michal Hocko
On Wed 25-09-19 14:20:59, Qian Cai wrote: > On Wed, 2019-09-25 at 19:48 +0200, Michal Hocko wrote: > > On Wed 25-09-19 12:01:02, Qian Cai wrote: > > > On Wed, 2019-09-25 at 09:02 +0200, David Hildenbrand wrote: > > > > On 24.09.19 20:54, Qian Cai wrote: > > > > > On Tue, 2019-09-24 at 17:11 +0200,

Re: [PATCH v1] mm/memory_hotplug: Don't take the cpu_hotplug_lock

2019-09-26 Thread David Hildenbrand
On 25.09.19 22:32, Qian Cai wrote: > On Wed, 2019-09-25 at 21:48 +0200, David Hildenbrand wrote: >> On 25.09.19 20:20, Qian Cai wrote: >>> On Wed, 2019-09-25 at 19:48 +0200, Michal Hocko wrote: On Wed 25-09-19 12:01:02, Qian Cai wrote: > On Wed, 2019-09-25 at 09:02 +0200, David

Re: [PATCH 1/2] devfreq: Rename devfreq_update_status() to devfreq_update_stats() and viceversa

2019-09-26 Thread Ben Dooks
/ On 2019-09-25 19:43, Matthias Kaehlcke wrote: devfreq has two functions with very similar names, devfreq_update_status() and devfreq_update_stats(). _update_status() currently updates frequency transitions statistics, while _update_stats() retrieves the device 'status'. The function names

workqueue: PF_MEMALLOC task 14771(cc1plus) is flushing !WQ_MEM_RECLAIM events:gen6_pm_rps_work

2019-09-26 Thread Zdenek Sojka
Hello, I've hit the following dmesg with a 5.3.1 kernel; it looks similar to https://lkml.org/lkml/2019/8/28/754 , which should have been fixed as noted in https://lkml.org/lkml/2019/8/28/763 (if the patch is in the 5.3 release) [ 2680.302771] [ cut here ] [

Re: [PATCH] hv_balloon: Add the support of hibernation

2019-09-26 Thread David Hildenbrand
On 25.09.19 22:03, Dexuan Cui wrote: >> From: linux-hyperv-ow...@vger.kernel.org >> [... snipped ...] >>> Anyhow, just some comments from my side :) I can see how Windows Server >>> worked around that issue right now by just XOR'ing both features. >>> >>> David / dhildenb >> >> Thanks for sharing

Re: [PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-26 Thread David Hildenbrand
On 26.09.19 03:34, Alastair D'Silva wrote: > From: Alastair D'Silva > > On PowerPC, the address ranges allocated to OpenCAPI LPC memory > are allocated from firmware. These address ranges may be higher > than what older kernels permit, as we increased the maximum > permissable address in commit

Re: [PATCH] riscv: move flush_icache_range/user_range() after flush_icache_all()

2019-09-26 Thread Kefeng Wang
On 2019/9/26 14:52, Andreas Schwab wrote: > https://lore.kernel.org/linux-riscv/mvm7e9spggv@suse.de/ > > Andreas. > Hi Andreas, my change is wrong. For no SMP, lkdtm built ok because flush_icache_all() is defined as local_flush_icache_all() macro, but for SMP, the reason of build error

Re: [PATCH] net: print proper warning on dst underflow

2019-09-26 Thread David Miller
From: "Jason A. Donenfeld" Date: Tue, 24 Sep 2019 11:09:37 +0200 > Proper warnings with stack traces make it much easier to figure out > what's doing the double free and create more meaningful bug reports from > users. > > Signed-off-by: Jason A. Donenfeld Applied, thanks.

RE: [EXT] Re: [V4 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-09-26 Thread Peng Ma
Hi Vinod, Ok, thanks. I will resend them after next Monday. Best Regards, Peng >-Original Message- >From: Vinod Koul >Sent: 2019年9月26日 0:34 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >linux-kernel@vger.kernel.org; dmaeng...@vger.kernel.org >Subject: Re: [EXT] Re: [V4 2/2]

Re: [PATCH 1/2] spi: Add call to spi_slave_abort() function when spidev driver is released

2019-09-26 Thread Geert Uytterhoeven
Hi Lukasz, On Thu, Sep 26, 2019 at 3:33 AM Lukasz Majewski wrote: > This change is necessary for spidev devices (e.g. /dev/spidev3.0) working > in the slave mode (like NXP's dspi driver for Vybrid SoC). > > When SPI HW works in this mode - the master is responsible for providing > CS and CLK

Re: [PATCH] riscv: move flush_icache_range/user_range() after flush_icache_all()

2019-09-26 Thread Andreas Schwab
https://lore.kernel.org/linux-riscv/mvm7e9spggv@suse.de/ Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH 1/1] MAINTAINERS: add Yanjun to FORCEDETH maintainers list

2019-09-26 Thread David Miller
From: rain.1986.08...@gmail.com Date: Mon, 23 Sep 2019 22:37:46 +0800 > From: Rain River > > Yanjun has been spending quite a lot of time fixing bugs > in FORCEDETH source code. I'd like to add Yanjun to maintainers > list. > > Signed-off-by: Rain River Applied, thank you.

Re: [PATCH 4/4] dmaengine: Add debugfs entries for PTDMA information

2019-09-26 Thread Sanjay R Mehta
On 9/24/2019 1:35 PM, gre...@linuxfoundation.org wrote: > [CAUTION: External Email] > > On Tue, Sep 24, 2019 at 07:33:02AM +, Mehta, Sanju wrote: >> +static const struct file_operations pt_debugfs_info_ops = { >> + .owner = THIS_MODULE, >> + .open = simple_open, >> + .read =

Re: [PATCH 4/5] dt-bindings: usb: dwc3: of-simple: add compatible for HiSi

2019-09-26 Thread Chunfeng Yun
On Wed, 2019-09-25 at 21:06 -0700, John Stultz wrote: > On Wed, Sep 25, 2019 at 6:34 PM Chunfeng Yun > wrote: > > On Wed, 2019-09-25 at 23:42 +, John Stultz wrote: > > > +++ b/Documentation/devicetree/bindings/usb/hisi,dwc3.txt > > > @@ -0,0 +1,52 @@ > > > +HiSi SuperSpeed DWC3 USB SoC

Re: [EXT] [PATCH v3] serial: imx: adapt rx buffer and dma periods

2019-09-26 Thread Ardelean, Alexandru
On Wed, 2019-09-25 at 10:14 -0500, Adam Ford wrote: > [External] > > On Fri, Sep 20, 2019 at 2:06 AM Philipp Puschmann > wrote: > > Hi Andy, > > > > Am 20.09.19 um 05:42 schrieb Andy Duan: > > > From: Philipp Puschmann Sent: Thursday, > > > September 19, 2019 10:51 PM > > > > Using only 4 DMA

[PATCH net] net: socionext: ave: Avoid using netdev_err() before calling register_netdev()

2019-09-26 Thread Kunihiko Hayashi
Until calling register_netdev(), ndev->dev_name isn't specified, and netdev_err() displays "(unnamed net_device)". ave 6500.ethernet (unnamed net_device) (uninitialized): invalid phy-mode setting ave: probe of 6500.ethernet failed with error -22 This replaces netdev_err() with

Re: [PATCH] bluetooth: hci_nokia: Save a few cycles in 'nokia_enqueue()'

2019-09-26 Thread Marcel Holtmann
Hi Christophe, > 'skb_pad()' a few lines above already initializes the "padded" byte to 0. > So there is no need to do it twice. > > All what is needed is to increase the len of the skb. So 'skb_put(..., 1)' > is enough here. > > Signed-off-by: Christophe JAILLET > --- >

Re: [PATCH net] Bluetooth: SMP: remove set but not used variable 'smp'

2019-09-26 Thread Marcel Holtmann
Hi Yue, > On Sep 23, 2019, at 16:05, YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > net/bluetooth/smp.c: In function 'smp_irk_matches': > net/bluetooth/smp.c:505:18: warning: > variable 'smp' set but not used [-Wunused-but-set-variable] > > net/bluetooth/smp.c: In

Re: [PATCHv2] Bluetooth: trivial: tidy up printk message output from btrtl.

2019-09-26 Thread Marcel Holtmann
Hi Rui, > v2: also remove new line from hci_h5.c > > The rtl_dev_* calls in the Realtek USB Bluetooth driver add unnecessary > device prefixes and new lines at the end of most messages, which make the > dmesg output look like this: > > [5.667121] sd 0:0:0:0: [sda] Attached SCSI disk > [

Re: [PATCH] Bluetooth: btrtl: Fix an issue for the incorrect error return code.

2019-09-26 Thread Marcel Holtmann
Hi Max, > It does not need the '-' for PTR_ERR(skb) because PTR_ERR(skb) will > return the negative value during errors. > > Signed-off-by: Max Chou > --- > drivers/bluetooth/btrtl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards

Re: [PATCH 4/4] dmaengine: Add debugfs entries for PTDMA information

2019-09-26 Thread Sanjay R Mehta
On 9/24/2019 1:35 PM, gre...@linuxfoundation.org wrote: > [CAUTION: External Email] > > On Tue, Sep 24, 2019 at 07:33:02AM +, Mehta, Sanju wrote: >> +static const struct file_operations pt_debugfs_info_ops = { >> + .owner = THIS_MODULE, >> + .open = simple_open, >> + .read =

Re: [PATCH v2 3/3] platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning

2019-09-26 Thread Kefeng Wang
On 2019/9/26 13:48, Andy Shevchenko wrote: > On Thu, Sep 26, 2019 at 4:29 AM Kefeng Wang > wrote: >> On 2019/9/25 23:04, Andy Shevchenko wrote: >>> On Fri, Sep 20, 2019 at 1:55 PM Kefeng Wang >>> wrote: >>> You have to send to proper mailing lists and people. >> Used get_maintainer.pl to

[PATCH 3/4] arm64: vdso32: Fix compilation warning

2019-09-26 Thread Vincenzo Frascino
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 ./include/linux/thread_info.h:38, from ./arch/arm64/include/asm/preempt.h:5,

[PATCH 1/4] arm64: vdso32: Introduce COMPAT_CC_IS_GCC

2019-09-26 Thread Vincenzo Frascino
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 reproduced as follows: $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-

[PATCH 2/4] arm64: vdso32: Detect binutils support for dmb ishld

2019-09-26 Thread Vincenzo Frascino
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 supports those instructions and configure the kernel accordingly. Cc: Will Deacon

[PATCH 0/4] arm64: vdso32: Address various issues

2019-09-26 Thread Vincenzo Frascino
Hi Will, this patch series is meant to address the various compilation issues you reported about arm64 vdso32. Please let me know if there is still something missing. Thanks, Vincenzo Cc: Will Deacon Cc: Catalin Marinas Cc: Thomas Gleixner Vincenzo Frascino (4): arm64: vdso32: Introduce

[PATCH 4/4] arm64: Remove gettimeofday.S

2019-09-26 Thread Vincenzo Frascino
gettimeofday.S was originally removed with the introduction of the support for Unified vDSOs in arm64 and replaced with the C implementation. The file seems again present in the repository due to a side effect of rebase. Remove the file again. Cc: Will Deacon Cc: Catalin Marinas

<    2   3   4   5   6   7