Re: [Patch v3 1/3] media: ov5640: add PIXEL_RATE control

2019-10-07 Thread Sakari Ailus
On Mon, Oct 07, 2019 at 10:17:03AM -0500, Benoit Parrot wrote: > Sakari Ailus wrote on Mon [2019-Oct-07 > 11:03:20 +0300]: > > On Fri, Oct 04, 2019 at 12:24:16PM -0500, Benoit Parrot wrote: > > > @@ -2657,6 +2669,12 @@ static int ov5640_init_controls(struct ov5640_dev > > > *sensor) > > > /* w

Re: [PATCH] usb:cdns3: Fix for CV CH9 running with g_zero driver.

2019-10-07 Thread Peter Chen
On 19-10-07 07:39:11, Pawel Laszczak wrote: > Patch fixes issue with Halt Endnpoint Test observed %s/Endnpoint/Endpoint > > during using g_zero > driver as DUT. Bug occurred only on some testing board. g_zero is legacy, please use configfs function source_sink or loopback instead. > > Endpoint

Re: [PATCH 11/16] x86/cpu: Print VMX features as separate line item in /proc/cpuinfo

2019-10-07 Thread Paolo Bonzini
On 07/10/19 21:56, Sean Christopherson wrote: > On Mon, Oct 07, 2019 at 07:12:37PM +0200, Paolo Bonzini wrote: >> On 04/10/19 23:56, Sean Christopherson wrote: >>> diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c >>> index cb2e49810d68..4eec8889b0ff 100644 >>> --- a/arch/x86/ker

Re: [PATCH 10/16] x86/cpu: Detect VMX features on Intel, Centaur and Zhaoxin CPUs

2019-10-07 Thread Paolo Bonzini
On 07/10/19 21:54, Sean Christopherson wrote: >> For QEMU, we're defining a feature as supported if a feature can be >> turned both on and off. Since msr_low and msr_high can be defined >> respectively as must-be-one and can-be-one, the features become >> "msr_high & ~msr_low". > > That makes sen

Re: [PATCH 02/10] iio: imu: adis: add unlocked read/write function versions

2019-10-07 Thread Ardelean, Alexandru
On Mon, 2019-10-07 at 22:16 +0100, Jonathan Cameron wrote: > On Sun, 6 Oct 2019 10:12:01 +0100 > Jonathan Cameron wrote: > > > On Thu, 26 Sep 2019 14:18:04 +0300 > > Alexandru Ardelean wrote: > > > > > This will allow more flexible control to group reads & writes into a > > > single > > > lock

Re: [PATCH 2/2] iio: light: Add support for ADUX1020 sensor

2019-10-07 Thread Ardelean, Alexandru
On Mon, 2019-10-07 at 15:40 +0530, Manivannan Sadhasivam wrote: > [External] > Hey, Comments inline. I thought I sent an initial review, but seems to have gotten lost [maybe in my email client]. Oh well. I managed to re-do it anyway. I tried to group them this time. The more prominent part is

[PATCH] MAINTAINERS: csky: Add mailing list for csky

2019-10-07 Thread guoren
From: Guo Ren Add mailing list and it's convenient for maintain C-SKY subsystem. Signed-off-by: Guo Ren --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 55199ef..d8fc16d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3556,6 +3556,7 @@ F:

Re: [PATCH] proc:fix confusing macro arg name

2019-10-07 Thread linmiaohe
Add suitable additional cc's as Andrew Morton suggested. Get cc list from get_maintainer script: [root@localhost mm]# ./scripts/get_maintainer.pl 0001-proc-fix-confusing-macro-arg-name.patch Alexey Dobriyan (reviewer:PROC FILESYSTEM) linux-kernel@vger.kernel.org (open list:PROC FILESYSTEM) linux

Re: [PATCH -next] misc: watch_queue: Fix build error

2019-10-07 Thread Yuehaibing
On 2019/9/4 20:20, David Howells wrote: > Thanks, I've folded that in. This issue still occur in linux-next 20191008 : drivers/misc/watch_queue.c: In function ‘watch_queue_account_mem’: drivers/misc/watch_queue.c:315:38: error: ‘struct user_struct’ has no member named ‘locked_vm’; did you mean ‘

Re: [PATCH 08/11] xfs: use a struct iomap in xfs_writepage_ctx

2019-10-07 Thread Christoph Hellwig
On Tue, Oct 08, 2019 at 08:54:24AM +1100, Dave Chinner wrote: > > + if (whichfork == XFS_COW_FORK) > > + flags |= IOMAP_F_SHARED; > > That seems out of place - I don't see anywhere in this patch that > moves/removes setting the IOMAP_F_SHARED flag. i.e this looks like a > change of beh

Re: [PATCH 00/32] Kill pr_warning in the whole linux code

2019-10-07 Thread Kefeng Wang
Hi all, On 2019/10/2 16:55, Petr Mladek wrote: > Linus, > > On Fri 2019-09-20 14:25:12, Kefeng Wang wrote: >> There are pr_warning and pr_warng to show WARNING level message, >> most of the code using pr_warn, number based on next-20190919, >> >> pr_warn: 5189 pr_warning: 546 (tools: 398, other

Linux 5.3.5

2019-10-07 Thread Greg KH
I'm announcing the release of the 5.3.5 kernel. All users of the 5.3 kernel series must upgrade. The updated 5.3.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.3.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.148

2019-10-07 Thread Greg KH
diff --git a/Makefile b/Makefile index d6f1a056b233..feecefa13ca6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 147 +SUBLEVEL = 148 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/mm/fault.c b/arch/ar

Linux 5.2.20

2019-10-07 Thread Greg KH
I'm announcing the release of the 5.2.20 kernel. All users of the 5.2 kernel series must upgrade. Note, this is the LAST 5.2 kernel to be released, it is now end-of-life. You must move to the 5.3.y kernel series at this point in time. The updated 5.2.y git tree can be found at: git://git

Linux 4.19.78

2019-10-07 Thread Greg KH
I'm announcing the release of the 4.19.78 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.78

2019-10-07 Thread Greg KH
diff --git a/Makefile b/Makefile index aeabc6459acc..440c5b5c4f4b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 77 +SUBLEVEL = 78 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm/Kconfig b/arch/arm/

Linux 4.14.148

2019-10-07 Thread Greg KH
I'm announcing the release of the 4.14.148 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.9.196

2019-10-07 Thread Greg KH
diff --git a/Makefile b/Makefile index bee0218e3fb5..194c35eff19c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 195 +SUBLEVEL = 196 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 5ca207ada852..253

Linux 4.9.196

2019-10-07 Thread Greg KH
I'm announcing the release of the 4.9.196 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.196

2019-10-07 Thread Greg KH
diff --git a/Makefile b/Makefile index 721fa569a680..9eaf50527883 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 195 +SUBLEVEL = 196 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 0d20cd594017..7

Linux 4.4.196

2019-10-07 Thread Greg KH
I'm announcing the release of the 4.4.196 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] usb: gadget: udc: Fix assignment of 0/1 to bool variables

2019-10-07 Thread Michal Simek
On 07. 10. 19 20:15, Saurav Girepunje wrote: > Use true/false assignment for below bool variables in udc-xilinx.c: > > bool buffer0ready; > bool buffer1ready; > bool is_in; > bool is_iso; > > Signed-off-by: Saurav Girepunje > --- > drivers/usb/gadget/udc/udc-xilinx.c | 36 ++

Re: [PATCH 02/11] iomap: copy the xfs writeback code to iomap.c

2019-10-07 Thread Christoph Hellwig
On Tue, Oct 08, 2019 at 08:43:53AM +1100, Dave Chinner wrote: > > +static int > > +iomap_ioend_compare(void *priv, struct list_head *a, struct list_head *b) > > +{ > > + struct iomap_ioend *ia, *ib; > > + > > + ia = container_of(a, struct iomap_ioend, io_list); > > + ib = container_of(b, stru

Re: [PATCH v2 for 5.4 2/4] media: hantro: Fix H264 max frmsize supported on RK3288

2019-10-07 Thread Jonas Karlman
On 2019-10-08 07:27, Tomasz Figa wrote: > Hi Ezequiel, Jonas, > > On Tue, Oct 8, 2019 at 2:46 AM Ezequiel Garcia wrote: >> From: Jonas Karlman >> >> TRM specify supported image size 48x48 to 4096x2304 at step size 16 pixels, >> change frmsize max_width/max_height to match TRM. >> >> Fixes: 760327

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-07 Thread Geert Uytterhoeven
On Tue, Oct 8, 2019 at 1:30 AM Guenter Roeck wrote: > m68k: > > c2p_iplan2.c:(.text+0x98): undefined reference to `c2p_unsupported' > > I don't know the status. Fall-out from the (non)inline optimization. Patch available: https://lore.kernel.org/lkml/20190927094708.11563-1-ge...@linux-m68k.org/

[PATCH] csky: Add setup_initrd check code

2019-10-07 Thread guoren
From: Guo Ren We should give some necessary check for initrd just like other architectures and it seems that setup_initrd() could be a common code for all architectures. Signed-off-by: Guo Ren --- arch/csky/kernel/setup.c | 3 --- arch/csky/mm/init.c | 44

Re: [PATCH v2 for 5.4 3/4] media: hantro: Fix motion vectors usage condition

2019-10-07 Thread Jonas Karlman
On 2019-10-08 05:29, Tomasz Figa wrote: > Hi Jonas, > > On Tue, Oct 8, 2019 at 3:33 AM Jonas Karlman wrote: >> On 2019-10-07 19:45, Ezequiel Garcia wrote: >>> From: Francois Buergisser >>> >>> The setting of the motion vectors usage and the setting of motion >>> vectors address are currently done

Re: [PATCH v3 4/6] x86/alternatives: Add and use text_gen_insn() helper

2019-10-07 Thread Masami Hiramatsu
On Mon, 07 Oct 2019 10:17:20 +0200 Peter Zijlstra wrote: > Provide a simple helper function to create common instruction > encodings. Thanks for using correct INSN_OPCODE:) This looks good to me. Reviewed-by: Masami Hiramatsu Thanks, > > Signed-off-by: Peter Zijlstra (Intel) > Cc: Steven R

RE: [RFC/RFT][PATCH v8] cpuidle: New timer events oriented governor for tickless systems

2019-10-07 Thread Doug Smythies
On 2019.10.06 08:34 Rafael J. Wysocki wrote: > On Sun, Oct 6, 2019 at 4:46 PM Doug Smythies wrote: >> On 2019.10.01 02:32 Rafael J. Wysocki wrote: >>> On Sun, Sep 29, 2019 at 6:05 PM Doug Smythies wrote: On 2019.09.26 09:32 Doug Smythies wrote: > If the deepest idle state is disable

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-07 Thread Walter Wu
On Mon, 2019-10-07 at 15:33 +0200, Dmitry Vyukov wrote: > On Mon, Oct 7, 2019 at 2:33 PM Walter Wu wrote: > > On Mon, 2019-10-07 at 14:19 +0200, Dmitry Vyukov wrote: > > > On Mon, Oct 7, 2019 at 2:03 PM Walter Wu > > > wrote: > > > My idea was just to always print "heap-out-of-bounds" and don't

Re: [PATCH] sched: rt: Make RT capacity aware

2019-10-07 Thread Qais Yousef
On 10/07/19 11:14, Dietmar Eggemann wrote: > On 23/09/2019 13:52, Qais Yousef wrote: > > On 09/20/19 14:52, Dietmar Eggemann wrote: > >>> 2. The fallback mechanism means we either have to call cpupri_find() > >>> twice once to find filtered lowest_rq and the other to return the > >>> no

Re: [PATCH 09/11] xfs: remove the fork fields in the writepage_ctx and ioend

2019-10-07 Thread Christoph Hellwig
On Tue, Oct 08, 2019 at 08:59:44AM +1100, Dave Chinner wrote: > On Sun, Oct 06, 2019 at 05:46:06PM +0200, Christoph Hellwig wrote: > > In preparation for moving the writeback code to iomap.c, replace the > > XFS-specific COW fork concept with the iomap IOMAP_F_SHARED flag. > > "In preparation for

Re: [PATCH TRIVIAL v2] gpu: Fix Kconfig indentation

2019-10-07 Thread Jani Nikula
On Mon, 07 Oct 2019, Krzysztof Kozlowski wrote: > On Mon, 7 Oct 2019 at 18:09, Alex Deucher wrote: >> >> On Mon, Oct 7, 2019 at 7:39 AM Jani Nikula >> wrote: >> > >> > On Fri, 04 Oct 2019, Krzysztof Kozlowski wrote: >> > > drivers/gpu/drm/i915/Kconfig | 12 +- >> > > drivers/gpu/

[PATCH] iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 29

2019-10-07 Thread You-Sheng Yang
Follow-up for commit fddbfeece9c7 ("iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36"). There is no GEO_TX_POWER_LIMIT command support for all revisions of FW version 29, either. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204151 Signed-off-by: You-Sheng Yang --- dri

Re: [PATCH 1/3] regulator: core: fix boot-on regulators use_count usage

2019-10-07 Thread Marco Felsch
On 19-10-07 19:29, Mark Brown wrote: > On Mon, Oct 07, 2019 at 11:34:29AM +0200, Marco Felsch wrote: > > > Sorry that won't fix my problem. If I drop the regulator-boot-on state > > the fixed-regulator will disable this regulator but disable/enable this > > regulator is only valid during suspend/r

Re: [RFC PATCH 2/3] perf tools: Add support for "report" for some spe events

2019-10-07 Thread Tan Xiaojun
On 2019/10/4 21:46, James Clark wrote: > Hi Xiaojun, > > I wanted to ask if you are still working on this? > > I've noticed that it doesn't apply cleanly to perf/core anymore and I was > working on re-basing it. > Would you be interested in me posting my progress? > > I was also interested in d

Re: [RESEND PATCH 0/2] Add bluetooth support for Orange Pi 3

2019-10-07 Thread Maxime Ripard
On Mon, Oct 07, 2019 at 10:31:50PM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > (Re-send for Maxime, with already applied patches dropped. Nothing new.) > > This series implements bluetooth support for Xunlong Orange Pi 3 board. > > The board uses AP6256 WiFi/BT 5.0 chip. > > Summary

Re: [PATCH] x86/purgatory: Make sure we fail the build if purgatory.ro has missing symbols

2019-10-07 Thread Hans de Goede
HI, On 07-10-2019 23:52, Arvind Sankar wrote: On Mon, Oct 07, 2019 at 10:31:49PM +0200, Hans de Goede wrote: HI, On 07-10-2019 22:05, Nathan Chancellor wrote: On Mon, Oct 07, 2019 at 07:55:46PM +0200, Hans de Goede wrote: Since we link purgatory.ro with -r aka we enable "incremental linking"

Re: [PATCH] cgroup, blkcg: prevent dirty inodes to pin dying memory cgroups

2019-10-07 Thread Roman Gushchin
On Tue, Oct 08, 2019 at 03:06:31PM +1100, Dave Chinner wrote: > On Fri, Oct 04, 2019 at 03:11:04PM -0700, Roman Gushchin wrote: > > This is a RFC patch, which is not intended to be merged as is, > > but hopefully will start a discussion which can result in a good > > solution for the described prob

Re: [PATCH] rtl8xxxu: make arrays static, makes object smaller

2019-10-07 Thread Chris Chiu
On Mon, Oct 7, 2019 at 9:53 PM Colin King wrote: > > From: Colin Ian King > > Don't populate const arrays on the stack but instead make them > static. Makes the object code smaller by 60 bytes. > > Before: >textdata bss dec hex filename > 151338768 0 239015d5

Re: [PATCH v2 for 5.4 2/4] media: hantro: Fix H264 max frmsize supported on RK3288

2019-10-07 Thread Tomasz Figa
Hi Ezequiel, Jonas, On Tue, Oct 8, 2019 at 2:46 AM Ezequiel Garcia wrote: > > From: Jonas Karlman > > TRM specify supported image size 48x48 to 4096x2304 at step size 16 pixels, > change frmsize max_width/max_height to match TRM. > > Fixes: 760327930e10 ("media: hantro: Enable H264 decoding on r

Re: [PATCH 4.4 00/36] 4.4.196-stable review

2019-10-07 Thread Greg Kroah-Hartman
On Mon, Oct 07, 2019 at 03:36:46PM -0700, Guenter Roeck wrote: > On 10/7/19 7:49 AM, Greg Kroah-Hartman wrote: > > On Mon, Oct 07, 2019 at 05:53:55AM -0700, Guenter Roeck wrote: > > > On 10/6/19 10:18 AM, Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle for the 4.4.196

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-07 Thread Al Viro
On Mon, Oct 07, 2019 at 09:14:51PM -0700, Linus Torvalds wrote: > On Mon, Oct 7, 2019 at 9:09 PM Linus Torvalds > wrote: > > > > Try the attached patch, and then count the number of "rorx" > > instructions in the kernel. Hint: not many. On my personal config, > > this triggers 15 times in the whol

[PATCH] rcu: Avoid to modify mask_ofl_ipi in sync_rcu_exp_select_node_cpus()

2019-10-07 Thread Boqun Feng
"mask_ofl_ipi" is used for iterate CPUs which IPIs are needed to send to, however in the IPI sending loop, "mask_ofl_ipi" along with another variable "mask_ofl_test" might also get modified to record which CPU's quiesent state can be reported by sync_rcu_exp_select_node_cpus(). Two variables seems

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-07 Thread Al Viro
On Mon, Oct 07, 2019 at 09:09:14PM -0700, Linus Torvalds wrote: > > 1) cross-architecture user_access_begin_dont_use(): on everything > > except x86 it's empty, on x86 - __uaccess_begin_nospec(). > > No, just do a proper range check, and use user_access_begin() > > Stop trying to optimize that r

Re: [PATCH 0/7] pinctrl: Fixes for AST2600 support

2019-10-07 Thread Joel Stanley
On Tue, 8 Oct 2019 at 04:41, Andrew Jeffery wrote: > > Hello, > > This series resolves several issues found in testing by Johnny Huang from > ASPEED, who also contributed the patches to fix them. We'll have more patches > from him in the near future (which I'm pretty happy about). For the series:

Re: [PATCH v22 16/24] x86/vdso: Add support for exception fixup in vDSO functions

2019-10-07 Thread Sean Christopherson
On Mon, Oct 07, 2019 at 03:04:12PM +0300, Jarkko Sakkinen wrote: > On Mon, Oct 07, 2019 at 11:10:24AM +0300, Jarkko Sakkinen wrote: > > Actually, maybe like this: > > > > struct sgx_enclave_add_page_desc { > > __u64 addr; > > __u64 offset; > > __u64 secinfo; > > __u16 mrmas

[PATCH 7/7] pinctrl: aspeed-g6: Rename SD3 to EMMC and rework pin groups

2019-10-07 Thread Andrew Jeffery
From: Johnny Huang AST2600 EMMC support 3 types DAT bus sizes (1, 4 and 8-bit), corresponding to 3 groups: EMMCG1, EMMCG4 and EMMCG8 Fixes: 58dc52ad00a0 ("pinctrl: aspeed: Add AST2600 pinmux support") Signed-off-by: Johnny Huang Signed-off-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl

[PATCH 4/7] pinctrl: aspeed-g6: Fix I3C3/I3C4 pinmux configuration

2019-10-07 Thread Andrew Jeffery
From: Johnny Huang The documentation to configure I3C3/FSI1 and I3C4/FSI2 was initially unclear. Fixes: 58dc52ad00a0 ("pinctrl: aspeed: Add AST2600 pinmux support") Signed-off-by: Johnny Huang [AJ: Tweak commit message, resolve rebase conflicts] Signed-off-by: Andrew Jeffery --- drivers/pinct

[PATCH 5/7] pinctrl: aspeed-g6: Make SIG_DESC_CLEAR() behave intuitively

2019-10-07 Thread Andrew Jeffery
Signal descriptors can represent multi-bit bitfields and so have explicit "enable" and "disable" states. However many descriptor instances only describe a single bit, and so the SIG_DESC_SET() macro is provides an abstraction for the single-bit cases: Its expansion configures the "enable" state to

[PATCH 6/7] pinctrl: aspeed-g6: Fix UART13 group pinmux

2019-10-07 Thread Andrew Jeffery
From: Johnny Huang When UART13G1 is set the pinmux configuration in SCU4B8 for UART13G0 should be cleared. Fixes: 58dc52ad00a0 ("pinctrl: aspeed: Add AST2600 pinmux support") Signed-off-by: Johnny Huang [AJ: Tweak commit message] Signed-off-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctr

[PATCH 3/7] pinctrl: aspeed-g6: Fix I2C14 SDA description

2019-10-07 Thread Andrew Jeffery
The I2C function the pin participated in was incorrectly named SDA14 which lead to a failure to mux: [6.884344] No function I2C14 found on pin 7 (7). Found signal(s) MACLINK4, SDA14, GPIOA7 for function(s) MACLINK4, SDA14, GPIOA7 Fixes: 58dc52ad00a0 ("pinctrl: aspeed: Add AST2600 pinmux supp

[PATCH 2/7] pinctrl: aspeed-g6: Sort pins for sanity

2019-10-07 Thread Andrew Jeffery
Some pins crept in that weren't ordered in the list. Signed-off-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c b/drivers/pinctrl/aspeed/pinc

[PATCH 0/7] pinctrl: Fixes for AST2600 support

2019-10-07 Thread Andrew Jeffery
Hello, This series resolves several issues found in testing by Johnny Huang from ASPEED, who also contributed the patches to fix them. We'll have more patches from him in the near future (which I'm pretty happy about). The major issue resolved is the way I grouped the eMMC pins. What I had was ug

[PATCH 1/7] dt-bindings: pinctrl: aspeed-g6: Rework SD3 function and groups

2019-10-07 Thread Andrew Jeffery
Rename SD3 functions and groups to EMMC to better reflect their intended use before the binding escapes too far into the wild. Also clean up the SD3 pin groups to eliminate some silliness that slipped through the cracks (SD3DAT[4-7]) by unifying them into three new groups: EMMCG1, EMMCG4 and EMMCG8

Re: [PATCH V8 2/2] arm64/mm: Enable memory hot remove

2019-10-07 Thread Anshuman Khandual
On 10/07/2019 07:47 PM, Catalin Marinas wrote: > On Mon, Sep 23, 2019 at 11:13:45AM +0530, Anshuman Khandual wrote: >> The arch code for hot-remove must tear down portions of the linear map and >> vmemmap corresponding to memory being removed. In both cases the page >> tables mapping these regio

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-07 Thread Linus Torvalds
On Mon, Oct 7, 2019 at 9:09 PM Linus Torvalds wrote: > > Try the attached patch, and then count the number of "rorx" > instructions in the kernel. Hint: not many. On my personal config, > this triggers 15 times in the whole kernel build (not counting > modules). .. and four of them are in perf_ca

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-07 Thread Linus Torvalds
On Mon, Oct 7, 2019 at 9:09 PM Linus Torvalds wrote: > > Try the attached patch, and then count the number of "rorx" > instructions in the kernel. Hint: not many. On my personal config, > this triggers 15 times in the whole kernel build (not counting > modules). So here's a serious patch that doe

[PATCH] staging: octeon: Remove typedef declaration

2019-10-07 Thread Wambui Karuga
Fixes checkpatch.pl warning: do not add new typedefs in drivers/staging/octeon/octeon-stubs.h:41 Signed-off-by: Wambui Karuga --- drivers/staging/octeon/octeon-stubs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/stagi

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-07 Thread Linus Torvalds
On Mon, Oct 7, 2019 at 8:29 PM Al Viro wrote: > > For x86? Sure, why not... Note, BTW, that for short constant-sized > copies we *do* STAC/CLAC at the call site - see those > __uaccess_begin_nospec(); > in raw_copy_{from,to}_user() in the switches... Yeah, an that code almost ne

RE: [EXT] Re: [v2 2/2] arm64: dts: ls1028a: Update the DT node definition for dpclk

2019-10-07 Thread Wen He
> -Original Message- > From: Shawn Guo > Sent: 2019年10月7日 20:35 > To: Wen He > Cc: linux-de...@linux.nxdi.nxp.com; Leo Li ; Rob Herring > ; Mark Rutland ; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org > Subject: [EXT] Re: [v2 2/2] arm

linux-next: Tree for Oct 8

2019-10-07 Thread Stephen Rothwell
Hi all, Changes since 20191004: My fixes tree is empty again. The hid tree lost its build failure. The net-next tree gained a semantic conflict against the net tree. The bpf-next tree gained a conflict against the bpf tree. The drm-misc tree gained a semantic conflict against the v4l-dvb tree

Re: [PATCH] cgroup, blkcg: prevent dirty inodes to pin dying memory cgroups

2019-10-07 Thread Dave Chinner
On Fri, Oct 04, 2019 at 03:11:04PM -0700, Roman Gushchin wrote: > This is a RFC patch, which is not intended to be merged as is, > but hopefully will start a discussion which can result in a good > solution for the described problem. > > -- > > We've noticed that the number of dying cgroups on ou

Re: [PATCH v22 07/24] x86/sgx: Add wrappers for ENCLS leaf functions

2019-10-07 Thread Sean Christopherson
On Fri, Oct 04, 2019 at 11:45:13AM +0200, Borislav Petkov wrote: > On Tue, Sep 03, 2019 at 05:26:38PM +0300, Jarkko Sakkinen wrote: > > +/** > > + * ENCLS_FAULT_FLAG - flag signifying an ENCLS return code is a trapnr > > + * > > + * ENCLS has its own (positive value) error codes and also generates

checkpatch error

2019-10-07 Thread Zhenzhong Duan
Hi, When I run checkpatch.pl with a patch doing reverting operation, it reports a false positive error, Should I ignore the error or it's a bug? 0001-Revert-KVM-X86-Fix-setup-the-virt_spin_lock_key-befo.patch --- ERROR: Please use git

Re: [linux-sunxi] [PATCH] bus: sunxi-rsb: Make interrupt handling more robust

2019-10-07 Thread Samuel Holland
On 10/7/19 10:19 AM, Chen-Yu Tsai wrote: > On Sun, Aug 25, 2019 at 1:50 AM Samuel Holland wrote: >> >> The RSB controller has two registers for controlling interrupt inputs: >> RSB_INTE, which has bits for each possible interrupt, and the global >> interrupt enable bit in RSB_CTRL. >> >> Currently

Re: [PATCH 02/15] fs: Introduce i_blocks_per_page

2019-10-07 Thread Dave Chinner
On Fri, Oct 04, 2019 at 12:28:12PM -0700, Matthew Wilcox wrote: > On Wed, Sep 25, 2019 at 06:36:50PM +1000, Dave Chinner wrote: > > I'm actually working on abstrcting this code from both block size > > and page size via the helpers below. We ahve need to support block > > size > page size, and so t

[PATCH] PCI/MSI: Fix restoring of MSI-X vector control's mask bit

2019-10-07 Thread Jian-Hong Pan
MSI-X vector control's bit 0 is the mask bit, which masks the corresponding interrupt request, or not. Other reserved bits might be used for other purpose by device vendors. For example, the values of Kingston NVMe SSD's MSI-X vector control are neither 0, nor 1, but other values [1]. The original

linux-next: manual merge of the akpm tree with the hyperv tree

2019-10-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm tree got a conflict in: lib/Kconfig.debug between commit: 54dc8d00a0be ("drivers: hv: vmbus: Introduce latency testing") from the hyperv tree and patch: "kernel-hacking: create submenu for arch special debugging options" from the akpm tree.

Re: [PATCH v2 for 5.4 3/4] media: hantro: Fix motion vectors usage condition

2019-10-07 Thread Tomasz Figa
Hi Jonas, On Tue, Oct 8, 2019 at 3:33 AM Jonas Karlman wrote: > > On 2019-10-07 19:45, Ezequiel Garcia wrote: > > From: Francois Buergisser > > > > The setting of the motion vectors usage and the setting of motion > > vectors address are currently done under different conditions. > > > > When de

Re: [PATCH] lib/list-test: add a test for the 'list' doubly linked list

2019-10-07 Thread Kees Cook
On Mon, Oct 07, 2019 at 02:36:33PM -0700, David Gow wrote: > +config LIST_TEST > + bool "KUnit Test for Kernel Linked-list stuctures" I missed this the first time through: typo of "structures" -- Kees Cook

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-07 Thread Al Viro
On Mon, Oct 07, 2019 at 11:26:35AM -0700, Linus Torvalds wrote: > But on x86, if we move the STAC/CLAC out of the low-level copy > routines and into the callers, we'll have a _lot_ of churn. I thought > it would be mostly a "teach objtool" thing, but we have lots of > different versions of it. Not

Re: [RFC PATCH v1 2/3] usb: chipidea: set mode for usb phy driver

2019-10-07 Thread Peter Chen
On 19-10-07 15:46:06, Igor Opaniuk wrote: > From: Igor Opaniuk > > After enters one specific role, notify usb phy driver. > > Signed-off-by: Li Jun > Signed-off-by: Igor Opaniuk > --- > > drivers/usb/chipidea/ci.h | 21 ++--- > 1 file changed, 18 insertions(+), 3 deletions(-)

Re: [PATCH 1/6] arm64: dts: rockchip: Fix rk3399-roc-pc pwm2 pin

2019-10-07 Thread djw
Jagan Teki writes: > Hi Heiko, > > On Mon, Sep 30, 2019 at 2:51 AM Heiko Stuebner wrote: >> >> Hi Jagan, >> >> Am Donnerstag, 19. September 2019, 07:28:17 CEST schrieb Jagan Teki: >> > ROC-PC is not able to boot linux console if PWM2_d is >> > unattached to any pinctrl logic. >> > >> > To be pre

Re: [linux-sunxi] [PATCH 2/2] power: supply: axp20x_usb_power: add applied max Vbus support for AXP813

2019-10-07 Thread Chen-Yu Tsai
On Tue, Oct 8, 2019 at 11:09 AM Icenowy Zheng wrote: > 于 2019年10月8日 GMT+08:00 上午12:07:05, Chen-Yu Tsai 写到: > >Hi, > > > >On Wed, Oct 2, 2019 at 7:27 PM Icenowy Zheng wrote: > >> > >> AXP813 PMIC has two Vbus maximum value settings -- one is the default > >> value, which is currently the only sup

Re: [PATCH 4.4 00/36] 4.4.196-stable review

2019-10-07 Thread Guenter Roeck
On 10/7/19 6:49 PM, Sasha Levin wrote: On Mon, Oct 07, 2019 at 04:16:51PM -0700, Guenter Roeck wrote: On 10/7/19 4:07 PM, Sasha Levin wrote: On Mon, Oct 07, 2019 at 04:49:51PM +0200, Greg Kroah-Hartman wrote: On Mon, Oct 07, 2019 at 05:53:55AM -0700, Guenter Roeck wrote: On 10/6/19 10:18 AM,

Re: [PATCH v2] mfd: intel-lpss: use devm_ioremap_uc for MMIO

2019-10-07 Thread AceLan Kao
Confirmed the patch works well on Dell XPS 7390 2-in-1 machine. Tested-by: AceLan Kao Tuowen Zhao 於 2019年10月8日 週二 上午2:43寫道: > > Some BIOS erroneously specifies write-combining BAR for intel-lpss-pci > in MTRR. This will cause the system to hang during boot. If possible, > this bug could be corr

Re: [linux-sunxi] [PATCH 2/2] power: supply: axp20x_usb_power: add applied max Vbus support for AXP813

2019-10-07 Thread Icenowy Zheng
于 2019年10月8日 GMT+08:00 上午12:07:05, Chen-Yu Tsai 写到: >Hi, > >On Wed, Oct 2, 2019 at 7:27 PM Icenowy Zheng wrote: >> >> AXP813 PMIC has two Vbus maximum value settings -- one is the default >> value, which is currently the only supported one; the other is the >> really applied value, which is se

[PATCH v3] arm64: dts: enable otg mode for dwc3 usb ip on layerscape

2019-10-07 Thread Yinbo Zhu
layerscape otg function should be supported HNP SRP and ADP protocol accroing to rm doc, but dwc3 code not realize it and use id pin to detect who is host or device(0 is host 1 is device) this patch is to enable OTG mode on ls1028ardb ls1088ardb and ls1046ardb in dts Signed-off-by: Yinbo Zhu ---

linux-next: build failure after merge of the staging tree

2019-10-07 Thread Stephen Rothwell
Hi all, After merging the staging tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from include/linux/byteorder/big_endian.h:5, from arch/powerpc/include/uapi/asm/byteorder.h:14, from include/asm-generic/bitops/le.h:6,

Re: [PATCH v2 2/2] reset: Reset controller driver for Intel LGM SoC

2019-10-07 Thread Dilip Kota
Hi Martin,Philipp, On 10/8/2019 3:53 AM, Martin Blumenstingl wrote: Hi Philipp, On Thu, Oct 3, 2019 at 4:19 PM Philipp Zabel wrote: [...] because the register layout was greatly simplified for the newer SoCs (for which there is reset-intel) compared to the older ones (reset-lantiq). Dilip's s

Re: linux-next: Signed-off-by missing for commit in the kbuild-current tree

2019-10-07 Thread Masahiro Yamada
Hi Stephen, On Tue, Oct 8, 2019 at 5:05 AM Stephen Rothwell wrote: > > Hi all, > > Commit > > da6221f246f9 ("scripts: setlocalversion: fix a bashism") > > is missing a Signed-off-by from its committer. I fixed it now. Thanks! > -- > Cheers, > Stephen Rothwell -- Best Regards Masahiro Yam

Re: [PATCH v2] arm64: armv8_deprecated: Checking return value for memory allocation

2019-10-07 Thread Yunfeng Ye
On 2019/10/7 23:37, Will Deacon wrote: > On Mon, Oct 07, 2019 at 06:06:35PM +0800, Yunfeng Ye wrote: >> There are no return value checking when using kzalloc() and kcalloc() for >> memory allocation. so add it. >> >> Signed-off-by: Yunfeng Ye >> --- >> v1 -> v2: >> - return error code when mem

Re: [PATCH RFC 2/3] mtd: rawnand: Add support Macronix Block Protection function

2019-10-07 Thread masonccyang
Hi Miquel, > > > > > Macronix AC series support using SET/GET_FEATURES to change > > > Block Protection and Unprotection. > > > > > > MTD default _lock/_unlock function replacement by manufacturer > > > postponed initialization. > > > > Why would we do that? > > > > Anyway your solution loo

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

2019-10-07 Thread Justin He (Arm Technology China)
> -Original Message- > From: Justin He (Arm Technology China) > Sent: 2019年10月8日 9:55 > To: Marc Zyngier ; Will Deacon > Cc: Catalin Marinas ; Mark Rutland > ; James Morse ; > Matthew Wilcox ; Kirill A. Shutemov > ; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; li

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

2019-10-07 Thread Zhenzhong Duan
On 2019/10/7 22:46, Boris Ostrovsky wrote: On 10/6/19 3:49 AM, Zhenzhong Duan wrote: On 2019/10/4 22:52, Boris Ostrovsky wrote: On 10/3/19 10:02 AM, Zhenzhong Duan wrote:   void __init kvm_spinlock_init(void)   { -    /* Does host kernel support KVM_FEATURE_PV_UNHALT? */ -    if (!kvm_par

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

2019-10-07 Thread Justin He (Arm Technology China)
Hi Will > -Original Message- > From: Will Deacon > Sent: 2019年10月1日 20:54 > To: Justin He (Arm Technology China) > Cc: Catalin Marinas ; Mark Rutland > ; James Morse ; Marc > Zyngier ; Matthew Wilcox ; Kirill A. > Shutemov ; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kern

Re: [PATCH RFC 3/3] mtd: rawnand: Add support Macronix power down mode

2019-10-07 Thread masonccyang
Hi Miquel, > > +int nand_power_down_op(struct nand_chip *chip) > > +{ > > + int ret; > > + > > + if (nand_has_exec_op(chip)) { > > + struct nand_op_instr instrs[] = { > > + NAND_OP_CMD(NAND_CMD_POWER_DOWN, 0), > > + }; > > + > > + struct nand_operation op = NAND_OPE

Re: [PATCH] media: vimc: Make capture devices and subdevices use different link_validates

2019-10-07 Thread Helen Koike
On 10/6/19 9:42 PM, Helen Koike wrote: > Hi Nícolas, > > Thanks for you patch, just some small comments below. > > On 10/6/19 4:14 PM, Nícolas F. R. A. Prado wrote: >> Instead of validating the links to capture devices and subdevices with >> the same function, use the default v4l function for

Re: [PATCH] sgi-gru: simplify procfs code some more

2019-10-07 Thread Dimitri Sivanich
While a reduction in object size is welcome, in this case it does come at the expense of some clarity, as field sizes are no longer as clear. Nevertheless, will add my ack. Acked-by: Dimitri Sivanich On Mon, Oct 07, 2019 at 11:30:46AM -0700, Joe Perches wrote: > Use seq_puts and simple string ou

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

2019-10-07 Thread Justin He (Arm Technology China)
Hi Will and Marc > -Original Message- > From: Marc Zyngier > Sent: 2019年10月1日 21:32 > To: Will Deacon > Cc: Justin He (Arm Technology China) ; Catalin > Marinas ; Mark Rutland > ; James Morse ; > Matthew Wilcox ; Kirill A. Shutemov > ; linux-arm-ker...@lists.infradead.org; > linux-kernel

Re: [PATCH 4.4 00/36] 4.4.196-stable review

2019-10-07 Thread Sasha Levin
On Mon, Oct 07, 2019 at 04:16:51PM -0700, Guenter Roeck wrote: On 10/7/19 4:07 PM, Sasha Levin wrote: On Mon, Oct 07, 2019 at 04:49:51PM +0200, Greg Kroah-Hartman wrote: On Mon, Oct 07, 2019 at 05:53:55AM -0700, Guenter Roeck wrote: On 10/6/19 10:18 AM, Greg Kroah-Hartman wrote: This is the s

RE: [PATCH] ACPI: PM: Revert "ACPI / PM: Blacklist Low Power S0 Idle _DSM for Dell XPS13 9360"

2019-10-07 Thread Mario.Limonciello
> On 26.09.19 18:08, Mario Limonciello wrote: > > This reverts part of > > commit 71630b7a832f ("ACPI / PM: Blacklist Low Power S0 Idle _DSM for > > Dell XPS13 9360") to remove the S0ix blacklist for the XPS 9360. > > > > The problems with this system occurred in one possible NVME SSD when > > putt

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-07 Thread Anand Moon
Hi Martin. On Tue, 8 Oct 2019 at 01:40, Martin Blumenstingl wrote: > > On Mon, Oct 7, 2019 at 3:17 PM Anand Moon wrote: > [...] > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > index c9a867ac32d4..72f6a7dca0d6 100644 > > --- a/arch/arm64/configs/defconfig > > +++

Re: [PATCH V2 2/3] arm64: dts: imx8mm-evk: Add i2c3 support

2019-10-07 Thread Fabio Estevam
Hi Anson, On Mon, Oct 7, 2019 at 10:28 PM Anson Huang wrote: > > Enable i2c3 for i.MX8MM EVK board. > > Signed-off-by: Anson Huang You could combine this patch with 3/3.

Re: [PATCH RFC 1/3] symlink.7: document magic-links more completely

2019-10-07 Thread Aleksa Sarai
On 2019-10-07, Jann Horn wrote: > On Thu, Oct 3, 2019 at 4:56 PM Aleksa Sarai wrote: > > Traditionally, magic-links have not been a well-understood topic in > > Linux. Given the new changes in their semantics (related to the link > > mode of trailing magic-links), it seems like a good opportunity

[PATCH V2 2/3] arm64: dts: imx8mm-evk: Add i2c3 support

2019-10-07 Thread Anson Huang
Enable i2c3 for i.MX8MM EVK board. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts index f6

[PATCH V2 3/3] arm64: dts: imx8mm-evk: Enable pca6416 on i2c3 bus

2019-10-07 Thread Anson Huang
Enable pca6416 on i.MX8MM EVK board's i2c3 bus. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts inde

[PATCH V2 1/3] arm64: dts: imx8mm-evk: Adjust i2c nodes following alphabetical sort

2019-10-07 Thread Anson Huang
The iomuxc node is being put at end of file because of its huge pinctrl data. I2C devices should be placed in alphabetical sort. Signed-off-by: Anson Huang --- new patch. --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 124 +-- 1 file changed, 62 insertions(+), 62 dele

RE: [PATCH 1/2] arm64: dts: imx8mm-evk: Add i2c3 support

2019-10-07 Thread Anson Huang
Hi, Shawn > On Thu, Sep 19, 2019 at 05:46:47PM +0800, Anson Huang wrote: > > Enable i2c3 for i.MX8MM EVK board. > > > > Signed-off-by: Anson Huang > > --- > > arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 14 ++ > > 1 file changed, 14 insertions(+) > > > > diff --git a/arch/arm64/bo

  1   2   3   4   5   6   7   8   9   10   >