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

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

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

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 23901

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

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

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

[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

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

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

[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 ---

[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 ---

[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 ---

[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

[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

[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

[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

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

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

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

[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

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

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]

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

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

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

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. >> >>

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

[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

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

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.

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

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

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

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

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

[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

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

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

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

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;

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

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;

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 =

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

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; >

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

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 > >

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

[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

[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

[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

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

Re: mount on tmpfs failing to parse context option

2019-10-07 Thread Al Viro
On Mon, Oct 07, 2019 at 05:50:31PM -0700, Hugh Dickins wrote: [sorry for being MIA - had been sick through the last week, just digging myself from under piles of mail; my apologies] > (tmpfs, very tiresomely, supports a NUMA "mpol" mount option which can > have commas in it e.g "mpol=bind:0,2":

RE: [PATCH 2/6] dt-bindings: Add DT binding for PCIE GEN4 EP of the layerscape

2019-10-07 Thread Xiaowei Bao
> -Original Message- > From: Rob Herring > Sent: 2019年10月1日 6:22 > To: Xiaowei Bao > Cc: Z.q. Hou ; bhelg...@google.com; > mark.rutl...@arm.com; shawn...@kernel.org; Leo Li > ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. Lian > ; andrew.mur...@arm.com; Mingkai Hu > ;

Re: [PATCH v7 02/13] dt-bindings: soc: Add MT8183 power dt-bindings

2019-10-07 Thread Weiyi Lu
On Wed, 2019-08-28 at 11:39 +0200, Matthias Brugger wrote: > > On 28/08/2019 11:11, Weiyi Lu wrote: > > Add power dt-bindings of MT8183 and introduces "BASIC" and > > "SUBSYS" clock types in binding document. > > The "BASIC" type is compatible to the original power control with > > clock name

RE: [PATCH v4 11/11] misc: pci_endpoint_test: Add LS1088a in pci_device_id table

2019-10-07 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年9月30日 22:57 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo > Li ; kis...@ti.com; lorenzo.pieral...@arm.com; M.h. > Lian ; Mingkai Hu ; Roy > Zang ; jingooh...@gmail.com; >

[PATCH net-next 0/6] net: hns3: add some new feature

2019-10-07 Thread Huazhong Tan
This patch-set includes some new features for the HNS3 ethernet controller driver. [patch 01/06] adds support for configuring VF link status on the host. [patch 02/06] adds support for configuring VF spoof check. [patch 03/06] adds support for configuring VF trust. [patch 04/06] adds support

[PATCH net-next 6/6] net: hns3: support tx-scatter-gather-fraglist feature

2019-10-07 Thread Huazhong Tan
From: Yunsheng Lin The hardware supports up to 8 TX BD for non-tso skb and up to 63 TX BD for TSO skb. Currently, the hns3 driver supports RX skb with fraglist when HW GRO is enabled, when the stack forwards a RX skb with fraglist, the stack need to linearize the skb before sending to other

[PATCH net-next 3/6] net: hns3: add support for setting VF trust

2019-10-07 Thread Huazhong Tan
From: Jian Shen This patch adds supports for setting VF trust by host. If specified VF is trusted, then it can enable promisc(include allmulti mode). If a trusted VF enabled promisc, and being untrusted, host will disable promisc mode for this VF. For VF will update its promisc mode from

[PATCH net-next 1/6] net: hns3: add support for setting VF link status on the host

2019-10-07 Thread Huazhong Tan
From: Yufeng Mo This patch adds support to configure VF link properties. The options are auto, enable, and disable. Even if the PF is down, the communication between VFs will be normal if the VFs are set to enable. The commands are as follows: 'ip link set vf state ' change the VF status 'ip

[PATCH net-next 4/6] net: hns3: add support for configuring bandwidth of VF on the host

2019-10-07 Thread Huazhong Tan
From: Yonglong Liu This patch adds support for configuring bandwidth of VF on the host for HNS3 drivers. Signed-off-by: Yonglong Liu Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hnae3.h| 4 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c| 14 ++-

[PATCH net-next 5/6] net: hns3: add support for configuring VF MAC from the host

2019-10-07 Thread Huazhong Tan
This patch adds support of configuring VF MAC from the host for the HNS3 driver. BTW, the parameter init in the hns3_init_mac_addr is unnecessary now, since the MAC address will not read from NCL_CONFIG when doing reset, so it should be removed, otherwise it will affect VF's MAC address

[PATCH net-next 2/6] net: hns3: add support for spoof check setting

2019-10-07 Thread Huazhong Tan
From: Jian Shen This patch adds support for spoof check configuration for VFs. When it is enabled, "spoof checking" is done for both mac address and VLAN. For each VF, the HW ensures that the source MAC address (or VLAN) of every outgoing packet exists in the MAC-list (or VLAN-list) configured

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

2019-10-07 Thread Justin He (Arm Technology China)
Hi Will and Marc Sorry for the late response, just came back from a vacation. > -Original Message- > From: Marc Zyngier > Sent: 2019年10月1日 21:19 > To: Will Deacon > Cc: Justin He (Arm Technology China) ; Catalin > Marinas ; Mark Rutland > ; James Morse ; > Matthew Wilcox ; Kirill A.

Re: [PATCH v2] KVM: Don't shrink/grow vCPU halt_poll_ns if host side polling is disabled

2019-10-07 Thread Wanpeng Li
ping, On Sun, 29 Sep 2019 at 09:07, Wanpeng Li wrote: > > From: Wanpeng Li > > Don't waste cycles to shrink/grow vCPU halt_poll_ns if host > side polling is disabled. > > Acked-by: Marcelo Tosatti > Cc: Marcelo Tosatti > Signed-off-by: Wanpeng Li > --- > v1 -> v2: > * fix coding style > >

[PATCH 1/3] regulator: rk808: Constify rk817 regulator_ops

2019-10-07 Thread Axel Lin
These regulator_ops variables never need to be modified, make them const so compiler can put them to .rodata. Signed-off-by: Axel Lin --- drivers/regulator/rk808-regulator.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/rk808-regulator.c

[PATCH 3/3] regulator: rk808: Remove rk817_set_suspend_voltage function

2019-10-07 Thread Axel Lin
The implement is exactly the same as rk808_set_suspend_voltage, so just use rk808_set_suspend_voltage instead. Signed-off-by: Axel Lin --- drivers/regulator/rk808-regulator.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git

[PATCH 2/3] regulator: rk808: Fix warning message in rk817_set_ramp_delay

2019-10-07 Thread Axel Lin
The default in rk817_set_ramp_delay is 25MV rather than 10MV. Signed-off-by: Axel Lin --- drivers/regulator/rk808-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index

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: > This change adds a KUnit test for the kernel doubly linked list > implementation in include/linux/list.h > > Note that, at present, it only tests the list_ types (not the > singly-linked hlist_), and does not yet test all of the >

RE: [PATCH 1/3] arm64: dts: imx8mq: Use correct clock for usdhc's ipg clk

2019-10-07 Thread Anson Huang
Hi, Shawn > On Thu, Sep 19, 2019 at 01:05:57PM +0800, Anson Huang wrote: > > On i.MX8MQ, usdhc's ipg clock is from IMX8MQ_CLK_IPG_ROOT, assign it > > explicitly instead of using IMX8MQ_CLK_DUMMY. > > > > Signed-off-by: Anson Huang > > Fixes tag? OK, added them in V2. Thanks, Anson

[PATCH V2 3/3] arm64: dts: imx8mn: Use correct clock for usdhc's ipg clk

2019-10-07 Thread Anson Huang
On i.MX8MN, usdhc's ipg clock is from IMX8MN_CLK_IPG_ROOT, assign it explicitly instead of using IMX8MN_CLK_DUMMY. Fixes: 6c3debcbae47 ("arm64: dts: freescale: Add i.MX8MN dtsi support") Signed-off-by: Anson Huang --- Changes since V1: - Add fixes tag. ---

[PATCH V2 2/3] arm64: dts: imx8mm: Use correct clock for usdhc's ipg clk

2019-10-07 Thread Anson Huang
On i.MX8MM, usdhc's ipg clock is from IMX8MM_CLK_IPG_ROOT, assign it explicitly instead of using IMX8MM_CLK_DUMMY. Fixes: a05ea40eb384 ("arm64: dts: imx: Add i.mx8mm dtsi support") Signed-off-by: Anson Huang --- Changes since V1: - Add fixes tag. ---

[PATCH V2 1/3] arm64: dts: imx8mq: Use correct clock for usdhc's ipg clk

2019-10-07 Thread Anson Huang
On i.MX8MQ, usdhc's ipg clock is from IMX8MQ_CLK_IPG_ROOT, assign it explicitly instead of using IMX8MQ_CLK_DUMMY. Fixes: 748f908cc882 ("arm64: add basic DTS for i.MX8MQ") Signed-off-by: Anson Huang --- Changes since V1: - Add fixes tag. --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4

Re: mount on tmpfs failing to parse context option

2019-10-07 Thread Hugh Dickins
On Mon, 7 Oct 2019, Laura Abbott wrote: > On 9/30/19 12:07 PM, Laura Abbott wrote: > > Hi, > > > > Fedora got a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1757104 > > of a failure to parse options with the context mount option. From the > > reporter: > > > > > > $ unshare -rm mount

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

2019-10-07 Thread Anson Huang
Hi, Marco > On 19-10-07 09:15, 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 v6 14/14] riscv: Make mmap allocation top-down by default

2019-10-07 Thread Atish Patra
On Mon, 2019-10-07 at 05:11 -0400, Alex Ghiti wrote: > On 10/4/19 10:12 PM, Atish Patra wrote: > > On Thu, 2019-08-08 at 02:17 -0400, Alexandre Ghiti wrote: > > > In order to avoid wasting user address space by using bottom-up > > > mmap > > > allocation scheme, prefer top-down scheme when

Re: [PATCH] x86/cpu/vmware: use the full form of inl in VMWARE_PORT

2019-10-07 Thread Kees Cook
On Mon, Oct 07, 2019 at 12:21:29PM -0700, Sami Tolvanen wrote: > LLVM's assembler doesn't accept the short form inl (%%dx) instruction, > but instead insists on the output register to be explicitly specified: > > :1:7: error: invalid operand for instruction > inl (%dx) >

Re: [PATCH] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility

2019-10-07 Thread Steve Longerbeam
On 10/2/19 2:31 PM, Tim Harvey wrote: On Fri, Sep 27, 2019 at 1:43 PM Niklas Söderlund wrote: Hi Tim, On 2019-09-27 12:26:40 -0700, Tim Harvey wrote: On Fri, Sep 27, 2019 at 12:04 PM Niklas Söderlund wrote: Hi Tim, Sorry for taking to so long to look at this. On 2019-09-23 15:04:47

Re: [PATCH 4/4] riscv: remove the switch statement in do_trap_break()

2019-10-07 Thread Vincent Chen
Sorry, I missed the comment. Christoph's suggestion is also good to me. I will modify it as you suggested. Thanks On Tue, Oct 8, 2019 at 12:31 AM Paul Walmsley wrote: > > On Mon, 7 Oct 2019, Christoph Hellwig wrote: > > > On Mon, Oct 07, 2019 at 09:08:23AM -0700, Paul Walmsley wrote: > > >

linux-next: build warning after merge of the sound-asoc tree

2019-10-07 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: sound/soc/jz4740/jz4740-i2s.c: In function 'jz4740_i2s_dev_probe': sound/soc/jz4740/jz4740-i2s.c:500:29: warning: unused variable 'match' [-Wunused-variable] 500 | const struct

Re: ehci-pci breakage with dma-mapping changes in 5.4-rc2

2019-10-07 Thread Arvind Sankar
On Mon, Oct 07, 2019 at 06:10:55PM -0400, Arvind Sankar wrote: > On Mon, Oct 07, 2019 at 08:47:54PM +0200, Christoph Hellwig wrote: > > On Mon, Oct 07, 2019 at 02:32:07PM -0400, Arvind Sankar wrote: > > > On Mon, Oct 07, 2019 at 01:58:57PM -0400, Arvind Sankar wrote: > > > > On Mon, Oct 07, 2019

Re: [RFC][PATCH v2 2/5] usb: dwc3: Execute GCTL Core Soft Reset while switch mdoe for Hisilicon Kirin Soc

2019-10-07 Thread John Stultz
On Mon, Oct 7, 2019 at 4:39 PM Jack Pham wrote: > > Hi John, Yu, Felipe, > > On Mon, Oct 07, 2019 at 05:55:50PM +, John Stultz wrote: > > From: Yu Chen > > > > A GCTL soft reset should be executed when switch mode for dwc3 core > > of Hisilicon Kirin Soc. > > > > Cc: Greg Kroah-Hartman > >

linux-next: manual merge of the sound-asoc tree with the sound tree

2019-10-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the sound-asoc tree got a conflict in: sound/soc/samsung/Kconfig between commit: 82e8d723e9e6 ("sound: Fix Kconfig indentation") from the sound tree and commits: 03081cc370b9 ("ASoC: samsung: arndale: Add support for WM1811 CODEC") dca6408d6f7e

Re: [PATCH] arm64: fix alternatives with LLVM's integrated assembler

2019-10-07 Thread Sami Tolvanen
On Mon, Oct 7, 2019 at 2:34 PM Nick Desaulniers wrote: > Should the definition of the ALTERNATIVE macro > (arch/arm64/include/asm/alternative.h#L295) also be updated in this > patch to not pass `1` as the final parameter? No, that's the default value for cfg in case the caller omits the

Re: [PATCH] tpm: add check after commands attribs tab allocation

2019-10-07 Thread Jerry Snitselaar
On Mon Oct 07 19, Tadeusz Struk wrote: devm_kcalloc() can fail and return NULL so we need to check for that. Fixes: 58472f5cd4f6f ("tpm: validate TPM 2.0 commands") Signed-off-by: Tadeusz Struk --- drivers/char/tpm/tpm2-cmd.c |4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH v3 1/2] tpm: Use GFP_KERNEL for allocating struct tpm_buf

2019-10-07 Thread Jerry Snitselaar
On Mon Oct 07 19, James Bottomley wrote: From: James Bottomley Subject: [PATCH] tpm: use GFP kernel for tpm_buf allocations The current code uses GFP_HIGHMEM, which is wrong because GFP_HIGHMEM (on 32 bit systems) is memory ordinarily inaccessible to the kernel and should only be used for

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

2019-10-07 Thread Randy Dunlap
On 10/7/19 2:04 PM, Geert Uytterhoeven wrote: > Hi Randy, > > On Mon, Oct 7, 2019 at 10:48 PM Randy Dunlap wrote: >> On 10/7/19 12:18 AM, Geert Uytterhoeven wrote: >>> Below is the list of build error/warning regressions/improvements in >>> v5.4-rc2[1] compared to v5.3[2]. >>> >>> Summarized:

  1   2   3   4   5   6   7   8   9   10   >