Re: [PATCH 4.19 041/133] Revert "usb/ohci-platform: Fix a warning when hibernating"

2020-07-20 Thread Sasha Levin
On Mon, Jul 20, 2020 at 11:07:22PM +0200, Pavel Machek wrote: Hi! On Mon 2020-07-20 17:36:28, Greg Kroah-Hartman wrote: This reverts commit c83258a757687ffccce37ed73dba56cc6d4b8a1b. Eugeniu Rosca writes: On Thu, Jul 09, 2020 at 09:00:23AM +0200, Eugeniu Rosca wrote: >After integrating

[PATCH V1 2/2] mmc: sdhci-pci-o2micro: Add HW tuning for SDR104 mode

2020-07-20 Thread shirley her
Add HW tuning support for SD host controller in SDR104 mode Signed-off-by: Shirley Her --- Change in V1: 1. Add HW tuning for SDR104 mode instead of SW tuning 2. Change clock base to 208Mhz in SDR104 mode 3. Add CMD and DATA line reset after HW tuning command ---

Re: [PATCH v3 4/4] io_uring: add support for zone-append

2020-07-20 Thread Jens Axboe
On 7/20/20 7:15 PM, Matthew Wilcox wrote: >> Also, the completed size should be in res in the first cqe to follow >> io_uring current interface, no ?. The second cqe would use the res64 >> field to return the written offset. Wasn't that the plan ? > > two cqes for one sqe seems like a bad idea to

[RESEND][PATCH] dts: hi3660: Add support for basic usb gadget on Hikey960

2020-07-20 Thread John Stultz
This patch adds basic core dwc3, usb phy and rt1711h nodes for usb support on Hikey960. This does not enable the mux/hub functionality on the board, so the USB-A host ports will not function, but does allow the USB-C port to function in gadget mode (unfortunately not in host, as the hub/mux

RE: [PATCH 2/7] firmware: imx: scu: Support reception of messages of any size

2020-07-20 Thread Peng Fan
> Subject: [PATCH 2/7] firmware: imx: scu: Support reception of messages of > any size Could fast_ipc be used for your case? I am not fans to use the legacy method which is error prone. Thanks, Peng. > > From: Franck LENORMAND > > The word of a message can arrive in any order and the current

Re: [PATCH net-next v2 1/2] hinic: add support to handle hw abnormal event

2020-07-20 Thread luobin (L)
On 2020/7/21 2:13, Jakub Kicinski wrote: > On Sat, 18 Jul 2020 16:58:29 +0800 Luo bin wrote: >> add support to handle hw abnormal event such as hardware failure, >> cable unplugged,link error >> >> Signed-off-by: Luo bin >> --- >> V1~V2: add link extended state >> V0~V1: fix auto build test

RE: [PATCH 1/7] firmware: imx: scu-rm: Add Resource Management APIs

2020-07-20 Thread Peng Fan
Hi Franck, > Subject: [PATCH 1/7] firmware: imx: scu-rm: Add Resource Management APIs Are you using an old base? This was already in tree. Regards, Peng. > > From: Franck LENORMAND > > This patch adds the imx_sc_rm_is_resource_owned indicating if a specific > resource is owned by the

Re: [PATCH] ipmi/watchdog: add missing newlines when printing parameters by sysfs

2020-07-20 Thread Xiongfeng Wang
Hi Corey, Thanks for your reply ! On 2020/7/21 3:52, Corey Minyard wrote: > On Mon, Jul 20, 2020 at 10:03:25AM +0800, Xiongfeng Wang wrote: >> When I cat some ipmi_watchdog parameters by sysfs, it displays as >> follows. It's better to add a newline for easy reading. >> >> root@(none):/# cat

[PATCH V1 1/2] mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1

2020-07-20 Thread shirley her
Add bug fix for O2 host controller Seabird1 Signed-off-by: Shirley Her --- change in V1: 1. Add quriks2 and mmc->caps2 for Seabird1 2. Add get_cd support for Seabird1 --- drivers/mmc/host/sdhci-pci-o2micro.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH 2/5] drm: rockchip: add missing registers for RK3188【请注意,邮件由linux-rockchip-bounces+andy.yan=rock-chips....@lists.infradead.org代发】

2020-07-20 Thread Andy Yan
Hi Alex: On 7/20/20 10:46 PM, Alex Bee wrote: Hi Andy, Am 20.07.20 um 10:22 schrieb Andy Yan: Hi Alex: On 7/19/20 4:03 AM, Alex Bee wrote: This patch adds dither_up, dsp_lut_en, data_blank and dsp_data_swap registers to enable their respective functionality for RK3188's VOP. Signed-off-by:

Re: [PATCH 1/1] riscv: Enable ARCH_HAS_FAST_MULTIPLIER for RV64I

2020-07-20 Thread Palmer Dabbelt
On Wed, 08 Jul 2020 22:19:22 PDT (-0700), maoche...@eswin.com wrote: Enable ARCH_HAS_FAST_MULTIPLIER on RV64I which works fine on GCC-9.3 and GCC-10.1 PS2: remove ARCH_SUPPORTS_INT128 because of RV64I already enabled. Signed-off-by: Chenxi Mao --- arch/riscv/Kconfig | 1 + 1 file changed, 1

Re: [PATCH v4 4/4] dt-bindings: timer: Add CLINT bindings

2020-07-20 Thread Atish Patra
On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: > > We add DT bindings documentation for CLINT device. > > Signed-off-by: Anup Patel > Reviewed-by: Palmer Dabbelt > Tested-by: Emil Renner Berhing > --- > .../bindings/timer/sifive,clint.yaml | 58 +++ > 1 file

Re: [PATCH v3 4/4] io_uring: add support for zone-append

2020-07-20 Thread Matthew Wilcox
On Tue, Jul 21, 2020 at 12:59:59AM +, Damien Le Moal wrote: > On 2020/07/21 5:17, Kanchan Joshi wrote: > > On Mon, Jul 20, 2020 at 10:44 PM Matthew Wilcox wrote: > >> struct io_uring_cqe { > >> __u64 user_data; /* sqe->data submission passed back */ > >> - __s32 res;

Re: [PATCH v2 1/6] riscv: Fixup __vdso_gettimeofday broke dynamic ftrace

2020-07-20 Thread Palmer Dabbelt
On Wed, 08 Jul 2020 19:19:09 PDT (-0700), guo...@kernel.org wrote: From: Guo Ren For linux-5.8-rc1, enable ftrace of riscv will cause boot panic: [2.388980] Run /sbin/init as init process [2.529938] init[39]: unhandled signal 4 code 0x1 at 0x003ff449e000 [2.531078] CPU: 0 PID:

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-20 Thread Atish Patra
On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: > > We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > RISC-V NoMMU kernel). > > The CLINT MMIO device provides three things: > 1. 64bit free running counter register > 2. 64bit per-CPU time compare registers > 3. 32bit per-CPU

Re: [PATCH v4 00/75] x86: SEV-ES Guest Support

2020-07-20 Thread Erdem Aktas
Hi, It looks like there is an expectation that the bootloader will start from the 64bit entry point in header_64.S. With the current patch series, it will not boot up if the bootloader jumps to the startup_32 entry, which might break some default distro images. What are supported bootloaders and

Re: [PATCH] net: hsr: check for return value of skb_put_padto()

2020-07-20 Thread David Miller
From: Murali Karicheri Date: Mon, 20 Jul 2020 12:43:27 -0400 > skb_put_padto() can fail. So check for return type and return NULL > for skb. Caller checks for skb and acts correctly if it is NULL. > > Fixes: 6d6148bc78d2 ("net: hsr: fix incorrect lsdu size in the tag of HSR > frames for small

Re: [PATCH v1] ethernet: myri10ge: use generic power management

2020-07-20 Thread David Miller
From: Vaibhav Gupta Date: Mon, 20 Jul 2020 21:49:31 +0530 > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above

Re: [PATCH v3 4/4] io_uring: add support for zone-append

2020-07-20 Thread Damien Le Moal
On 2020/07/21 5:17, Kanchan Joshi wrote: > On Mon, Jul 20, 2020 at 10:44 PM Matthew Wilcox wrote: >> >> On Mon, Jul 20, 2020 at 10:19:57PM +0530, Kanchan Joshi wrote: >>> On Fri, Jul 10, 2020 at 7:41 PM Kanchan Joshi wrote: If we are doing this for zone-append (and not general cases),

Re: [PATCH v3 net-next 00/16] qed, qede: add support for new operating modes

2020-07-20 Thread David Miller
From: Alexander Lobakin Date: Mon, 20 Jul 2020 21:07:59 +0300 > This series covers the support for the following: > - new port modes; > - loopback modes, previously missing; > - new speed/link modes; > - several FEC modes; > - multi-rate transceivers; > > and also cleans up and optimizes

Re: [PATCH] ath10k: Add interrupt summary based CE processing

2020-07-20 Thread Peter Oh
My previous email wasn't sent out. At first I gave these 3 patches. ath10k: Add interrupt summary based CE processing https://patchwork.kernel.org/patch/11628299/ ath10k: Keep track of which interrupts fired, don't poll them https://patchwork.kernel.org/patch/11654631/ ath10k: Get rid of

Re: [PATCH v3 10/11] PM, libnvdimm: Add runtime firmware activation support

2020-07-20 Thread Dan Williams
On Mon, Jul 20, 2020 at 5:14 PM Vishal Verma wrote: > > On Mon, 2020-07-20 at 17:02 -0700, Randy Dunlap wrote: > > Hi Dan, > > > > Documentation comments below: > > Dan, Randy, > > I'm happy to fix these up when applying. Sounds good. Thanks Vishal.

Re: [PATCH v3 10/11] PM, libnvdimm: Add runtime firmware activation support

2020-07-20 Thread Dan Williams
On Mon, Jul 20, 2020 at 5:02 PM Randy Dunlap wrote: > > Hi Dan, > > Documentation comments below: > > On 7/20/20 3:08 PM, Dan Williams wrote: > > Abstract platform specific mechanics for nvdimm firmware activation > > behind a handful of generic ops. At the bus level ->activate_state() > >

Re: [PATCH] Smack: fix use-after-free in smk_write_relabel_self()

2020-07-20 Thread Casey Schaufler
On 7/20/2020 5:38 PM, Eric Biggers wrote: > On Wed, Jul 08, 2020 at 01:15:20PM -0700, Eric Biggers wrote: >> From: Eric Biggers >> >> smk_write_relabel_self() frees memory from the task's credentials with >> no locking, which can easily cause a use-after-free because multiple >> tasks can share

Re: [PATCH] ath10k: Add interrupt summary based CE processing

2020-07-20 Thread Peter Oh
Since IPQ4019 doesn't support per CE based interrupt summary, I doubt if this change is correct. + ath10k_ce_engine_int_status_clear(ar, ctrl_addr, + wm_regs->cc_mask | wm_regs->wm_mask); On Mon, Jul 20, 2020 at 5:53 PM Peter Oh wrote: > > At first

Re: [PATCH v3 1/2] riscv: Support R_RISCV_ADD64 and R_RISCV_SUB64 relocs

2020-07-20 Thread Palmer Dabbelt
On Tue, 14 Jul 2020 00:40:43 PDT (-0700), ker...@esmil.dk wrote: These are needed for the __jump_table in modules using static keys/jump-labels with the layout from HAVE_ARCH_JUMP_LABEL_RELATIVE on 64bit kernels. Signed-off-by: Emil Renner Berthing Reviewed-by: Björn Töpel Tested-by: Björn

Re: [PATCH v2][next] phy: samsung-ufs: Fix IS_ERR argument

2020-07-20 Thread Gustavo A. R. Silva
On 7/20/20 19:46, Alim Akhtar wrote: > Hi Gustavo, > >> -Original Message- >> From: Gustavo A. R. Silva >> Sent: 20 July 2020 18:57 >> To: Kishon Vijay Abraham I ; Vinod Koul ; >> Seungwon Jeon ; Alim Akhtar >> ; Kiwoong Kim >> Cc: linux-kernel@vger.kernel.org; Gustavo A. R. Silva >

Re: [PATCH] sis: switch from 'pci_' to 'dma_' API

2020-07-20 Thread David Miller
From: Christophe JAILLET Date: Mon, 20 Jul 2020 15:36:09 +0200 > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > >

Re: [PATCH] r6040: switch from 'pci_' to 'dma_' API

2020-07-20 Thread David Miller
From: Christophe JAILLET Date: Mon, 20 Jul 2020 15:02:42 +0200 > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > >

RE: [PATCH][next] phy: samsung-ufs: fix check on failed devm_clk_get call for rx1_symbol_clk

2020-07-20 Thread Alim Akhtar
Hello Colin, > -Original Message- > From: Colin King > Sent: 20 July 2020 22:00 > To: Kishon Vijay Abraham I ; Vinod Koul ; > Seungwon Jeon ; Kiwoong Kim > ; Alim Akhtar > Cc: kernel-janit...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH][next] phy: samsung-ufs: fix

Re: [PATCH] net: packetengines: switch from 'pci_' to 'dma_' API

2020-07-20 Thread David Miller
From: Christophe JAILLET Date: Mon, 20 Jul 2020 14:29:12 +0200 > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > >

RE: [PATCH v2][next] phy: samsung-ufs: Fix IS_ERR argument

2020-07-20 Thread Alim Akhtar
Hi Gustavo, > -Original Message- > From: Gustavo A. R. Silva > Sent: 20 July 2020 18:57 > To: Kishon Vijay Abraham I ; Vinod Koul ; > Seungwon Jeon ; Alim Akhtar > ; Kiwoong Kim > Cc: linux-kernel@vger.kernel.org; Gustavo A. R. Silva > Subject: [PATCH v2][next] phy: samsung-ufs: Fix

Re: [PATCH net] rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA

2020-07-20 Thread David Miller
From: David Howells Date: Mon, 20 Jul 2020 12:41:46 +0100 > rxrpc_sendmsg() returns EPIPE if there's an outstanding error, such as if > rxrpc_recvmsg() indicating ENODATA if there's nothing for it to read. > > Change rxrpc_recvmsg() to return EAGAIN instead if there's nothing to read > as this

Re: [PATCH v4 1/4] RISC-V: Add mechanism to provide custom IPI operations

2020-07-20 Thread Atish Patra
On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: > > We add mechanism to set custom IPI operations so that CLINT driver > from drivers directory can provide custom IPI operations. > > Signed-off-by: Anup Patel > Tested-by: Emil Renner Berhing > --- > arch/riscv/include/asm/clint.h | 25

Re: [PATCH] arch, net: remove the last csum_partial_copy() leftovers

2020-07-20 Thread David Miller
From: Christoph Hellwig Date: Mon, 20 Jul 2020 13:36:09 +0200 > Most of the tree only uses and implements csum_partial_copy_nocheck, > but the c6x and lib/checksum.c implement a csum_partial_copy that > isn't used anywere except to define csum_partial_copy. Get rid of > this pointless alias. >

RE: [PATCH] iommu/arm-smmu-v3: remove the approach of MSI polling for CMD SYNC

2020-07-20 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Friday, July 17, 2020 9:06 PM > To: 'Robin Murphy' ; w...@kernel.org; > j...@8bytes.org > Cc: linux-kernel@vger.kernel.org; Linuxarm ; > linux-arm-ker...@lists.infradead.org; io...@lists.linux-foundation.org; > Zengtao (B) >

Re: [PATCH] net-sysfs: add a newline when printing 'tx_timeout' by sysfs

2020-07-20 Thread David Miller
From: Xiongfeng Wang Date: Mon, 20 Jul 2020 19:17:49 +0800 > - return sprintf(buf, "%lu", trans_timeout); > + return sprintf(buf, "%lu\n", trans_timeout); Better to replace it with 'fmt_ulong'.

Re: [PATCH] ath10k: Add interrupt summary based CE processing

2020-07-20 Thread Peter Oh
I've run 3 units and one of them happens the problem always while the other 2 are barely happening. On Mon, Jul 20, 2020 at 5:33 PM Peter Oh wrote: > > I'm getting this panic on IPQ4019 system after cherry-picked this > single patch on top of working system. > > [ 14.226184] ath10k_ahb

Re: [PATCH net-next v2 0/4] net: dsa: Setup dsa_netdev_ops

2020-07-20 Thread David Miller
From: Florian Fainelli Date: Sun, 19 Jul 2020 20:49:50 -0700 > This patch series addresses the overloading of a DSA CPU/management > interface's netdev_ops for the purpose of providing useful information > from the switch side. > > Up until now we had duplicated the existing netdev_ops

Re: [PATCH net-next] net: fs_enet: remove redundant null check

2020-07-20 Thread David Miller
From: Zhang Changzhong Date: Mon, 20 Jul 2020 19:12:33 +0800 > Because clk_prepare_enable and clk_disable_unprepare already > checked NULL clock parameter, so the additional checks are > unnecessary, just remove them. > > Signed-off-by: Zhang Changzhong Applied.

Re: [PATCH] ath10k: Add interrupt summary based CE processing

2020-07-20 Thread Doug Anderson
Hi, On Mon, Jul 20, 2020 at 5:33 PM Peter Oh wrote: > > I'm getting this panic on IPQ4019 system after cherry-picked this > single patch on top of working system. > > [ 14.226184] ath10k_ahb a00.wifi: failed to receive initialized > event from target: 8000 A bit of a shot in the dark,

Re: [PATCH v15 7/9] nvmet-passthru: Add passthru code to process commands

2020-07-20 Thread Sagi Grimberg
On Mon, Jul 20, 2020 at 05:01:19PM -0600, Logan Gunthorpe wrote: On 2020-07-20 4:35 p.m., Sagi Grimberg wrote: passthru commands are in essence REQ_OP_DRV_IN/REQ_OP_DRV_OUT, which means that the driver shouldn't need the ns at all. So if you have a dedicated request queue (mapped to the I/O

Re: [PATCH] clk: qcom: ipq8074: Add correct index for PCIe clocks

2020-07-20 Thread Stephen Boyd
Quoting Sivaprakash Murugesan (2020-07-15 22:32:50) > The PCIe clocks GCC_PCIE0_AXI_S_BRIDGE_CLK, GCC_PCIE0_RCHNG_CLK_SRC, > GCC_PCIE0_RCHNG_CLK are wrongly added to the gcc reset group. > > Move them to the gcc clock group. > > Reported-by: kernel test robot > Signed-off-by: Sivaprakash

Re: [PATCH 5/5] mm/hugetl.c: warn out if expected count of huge pages adjustment is not achieved

2020-07-20 Thread Mike Kravetz
On 7/19/20 11:26 PM, Baoquan He wrote: > A customer complained that no any message is printed out when failed to > allocate explicitly specified number of persistent huge pages. That > specifying can be done by writing into /proc/sys/vm/nr_hugepages to > increase the persisten huge pages. > > In

Re: [PATCH] Smack: fix use-after-free in smk_write_relabel_self()

2020-07-20 Thread Eric Biggers
On Wed, Jul 08, 2020 at 01:15:20PM -0700, Eric Biggers wrote: > From: Eric Biggers > > smk_write_relabel_self() frees memory from the task's credentials with > no locking, which can easily cause a use-after-free because multiple > tasks can share the same credentials structure. > > Fix this by

Re: [PATCH] ath10k: Add interrupt summary based CE processing

2020-07-20 Thread Peter Oh
I'm getting this panic on IPQ4019 system after cherry-picked this single patch on top of working system. [ 14.226184] ath10k_ahb a00.wifi: failed to receive initialized event from target: 8000 [ 14.326406] !#% P L F<005> [0008] [ 14.326447] Unable to handle kernel NULL pointer

Re: [PATCH] Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation

2020-07-20 Thread Fangrui Song
On 2020-07-20, Nick Desaulniers wrote: On Mon, Jul 20, 2020 at 11:16 AM Nathan Chancellor wrote: On Mon, Jul 20, 2020 at 11:12:22AM -0700, Fangrui Song wrote: > When CROSS_COMPILE is set (e.g. aarch64-linux-gnu-), if > $(CROSS_COMPILE)elfedit is found at /usr/bin/aarch64-linux-gnu-, >

Re: [PATCH 2/5] MIPS: Loongson64: Process ISA Node in DeviceTree

2020-07-20 Thread Rob Herring
On Mon, Jul 20, 2020 at 1:54 AM Jiaxun Yang wrote: > > Previously, we're hardcoding resserved ISA I/O Space in code, now > we're processing reverved I/O via DeviceTree directly. Using the ranges > property to determine the size and address of reserved I/O space. > > Signed-off-by: Jiaxun Yang >

Re: [PATCH 6/7] KVM: x86: Use common definition for kvm_nested_vmexit tracepoint

2020-07-20 Thread Sean Christopherson
On Mon, Jul 20, 2020 at 06:52:15PM +0200, Vitaly Kuznetsov wrote: > Sean Christopherson writes: > > +TRACE_EVENT_KVM_EXIT(kvm_nested_vmexit); > > > > /* > > * Tracepoint for #VMEXIT reinjected to the guest > > diff --git a/arch/x86/kvm/vmx/nested.c b/arch/x86/kvm/vmx/nested.c > > index

[PATCH] i2c: i2c-qcom-geni: Fix DMA transfer race

2020-07-20 Thread Douglas Anderson
When I have KASAN enabled on my kernel and I start stressing the touchscreen my system tends to hang. The touchscreen is one of the only things that does a lot of big i2c transfers and ends up hitting the DMA paths in the geni i2c driver. It appears that KASAN adds enough delay in my system to

Re: kernel BUG at include/linux/swapops.h:LINE!

2020-07-20 Thread Matthew Wilcox
On Mon, Jul 20, 2020 at 04:51:44PM -0700, Andrew Morton wrote: > On Sun, 19 Jul 2020 14:10:19 -0700 syzbot > wrote: > > > syzbot has found a reproducer for the following issue on: > > > > HEAD commit:4c43049f Add linux-next specific files for 20200716 > > git tree: linux-next > >

Re: [PATCH 1/5] of_address: Add bus type match for pci ranges parser

2020-07-20 Thread Rob Herring
On Mon, Jul 20, 2020 at 1:49 AM Jiaxun Yang wrote: > > So the parser can be used to parse range property of different bus > types, such as ISA bus. Regular MMIO buses are actually already supported, but not ISA. > > As they're all using PCI-like method of range property, there is no need >

[PATCH 1/1] iommu/vt-d: Skip TE disabling on quirky gfx dedicated iommu

2020-07-20 Thread Lu Baolu
The VT-d spec requires (10.4.4 Global Command Register, TE field) that: Hardware implementations supporting DMA draining must drain any in-flight DMA read/write requests queued within the Root-Complex before completing the translation enable command and reflecting the status of the command

Re: [PATCH v2 01/11] xen/manage: keep track of the on-going suspend mode

2020-07-20 Thread Anchal Agarwal
On Mon, Jul 20, 2020 at 11:37:05AM +0200, Roger Pau Monné wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you can confirm the sender and know the > content is safe. > > > > On Sat, Jul 18, 2020 at 09:47:04PM -0400,

Re: [PATCH v3 10/11] PM, libnvdimm: Add runtime firmware activation support

2020-07-20 Thread Vishal Verma
On Mon, 2020-07-20 at 17:02 -0700, Randy Dunlap wrote: > Hi Dan, > > Documentation comments below: Dan, Randy, I'm happy to fix these up when applying. > > On 7/20/20 3:08 PM, Dan Williams wrote: > > Abstract platform specific mechanics for nvdimm firmware activation > > behind a handful of

Re: [PATCH v3 net-next 00/16] qed, qede: add support for new operating modes

2020-07-20 Thread Jakub Kicinski
On Mon, 20 Jul 2020 21:07:59 +0300 Alexander Lobakin wrote: > This series covers the support for the following: > - new port modes; > - loopback modes, previously missing; > - new speed/link modes; > - several FEC modes; > - multi-rate transceivers; > > and also cleans up and optimizes

[PATCH] spi: spi-cadence: add support for chip select high

2020-07-20 Thread Shreyas Joshi
The spi cadence driver should support spi-cs-high in mode bits so that the peripherals that needs the chip select to be high active can use it. Add the SPI-CS-HIGH flag in the supported mode bits. Signed-off-by: Shreyas Joshi --- drivers/spi/spi-cadence.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] timers: Recalculate next timer interrupt only when necessary

2020-07-20 Thread Frederic Weisbecker
The nohz tick code recalculates the timer wheel's next expiry on each idle loop iteration. On the other hand, the base next expiry is now always cached and updated upon timer enqueue and execution. Only timer dequeue may leave base->next_expiry out of date (but then its stale value won't ever go

Re: [PATCH v15 7/9] nvmet-passthru: Add passthru code to process commands

2020-07-20 Thread Keith Busch
On Mon, Jul 20, 2020 at 04:28:26PM -0700, Sagi Grimberg wrote: > On 7/20/20 4:17 PM, Keith Busch wrote: > > On Mon, Jul 20, 2020 at 05:01:19PM -0600, Logan Gunthorpe wrote: > > > On 2020-07-20 4:35 p.m., Sagi Grimberg wrote: > > > > > > > passthru commands are in essence

Re: KASAN: use-after-free Read in userfaultfd_release (2)

2020-07-20 Thread Daniel Colascione
On 7/20/20 9:00 AM, Al Viro wrote: On Mon, Jul 13, 2020 at 04:45:12PM +0800, Hillf Danton wrote: Bridge the gap between slab free and the fput in task work wrt file's private data. No. This @@ -2048,6 +2055,7 @@ SYSCALL_DEFINE1(userfaultfd, int, flags) fd =

Re: [PATCH 1/3] gpio: mxc: Support module build

2020-07-20 Thread John Stultz
On Fri, Jul 17, 2020 at 5:01 AM Linus Walleij wrote: > > Greg, John, > > we need some guidance here. See below. > > On Thu, Jul 16, 2020 at 4:38 PM Anson Huang wrote: > > [Me] > > > On Wed, Jul 15, 2020 at 4:44 AM Anson Huang > > > > > I tried to replace the subsys_initcall() with > > > >

Re: [PATCH net] net: bcmgenet: add missed clk_disable_unprepare in bcmgenet_probe

2020-07-20 Thread David Miller
From: Zhang Changzhong Date: Mon, 20 Jul 2020 17:36:34 +0800 > The driver forgets to call clk_disable_unprepare() in error path after > a success calling for clk_prepare_enable(). > > Fix to goto err_clk_disable if clk_prepare_enable() is successful. > > Fixes: c80d36ff63a5 ("net: bcmgenet:

Re: [PATCH v2 01/11] xen/manage: keep track of the on-going suspend mode

2020-07-20 Thread Anchal Agarwal
On Sat, Jul 18, 2020 at 09:47:04PM -0400, Boris Ostrovsky wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you can confirm the sender and know the > content is safe. > > > > (Roger, question for you at the very end) > >

Re: [PATCH v3 10/11] PM, libnvdimm: Add runtime firmware activation support

2020-07-20 Thread Randy Dunlap
Hi Dan, Documentation comments below: On 7/20/20 3:08 PM, Dan Williams wrote: > Abstract platform specific mechanics for nvdimm firmware activation > behind a handful of generic ops. At the bus level ->activate_state() > indicates the unified state (idle, busy, armed) of all DIMMs on the bus, >

Re: [PATCH v7 0/2] net: macb: Wake-on-Lan magic packet GEM and MACB handling

2020-07-20 Thread David Miller
From: Date: Mon, 20 Jul 2020 10:56:51 +0200 > Here is the second part of support for WoL magic-packet on the current macb > driver. This one > is addressing the bulk of the feature and is based on current net-next/master. > > MACB and GEM code must co-exist and as they don't share exactly the

Re: kernel BUG at include/linux/swapops.h:LINE!

2020-07-20 Thread Andrew Morton
On Sun, 19 Jul 2020 14:10:19 -0700 syzbot wrote: > syzbot has found a reproducer for the following issue on: > > HEAD commit:4c43049f Add linux-next specific files for 20200716 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=12c5608710 > kernel

Re: [PATCH 4.4 00/58] 4.4.231-rc1 review

2020-07-20 Thread Shuah Khan
On 7/20/20 9:36 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.231 release. There are 58 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma

2020-07-20 Thread Ralph Campbell
On 7/20/20 4:16 PM, Jason Gunthorpe wrote: On Mon, Jul 20, 2020 at 01:49:09PM -0700, Ralph Campbell wrote: On 7/20/20 12:59 PM, Jason Gunthorpe wrote: On Mon, Jul 20, 2020 at 12:54:53PM -0700, Ralph Campbell wrote: diff --git a/include/linux/migrate.h b/include/linux/migrate.h index

Re: [PATCH 4.9 00/86] 4.9.231-rc1 review

2020-07-20 Thread Shuah Khan
On 7/20/20 9:35 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.231 release. There are 86 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 4.14 000/125] 4.14.189-rc1 review

2020-07-20 Thread Shuah Khan
On 7/20/20 9:35 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.189 release. There are 125 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-20 Thread kernel test robot
Hi Jay, Thank you for the patch! Yet something to improve: [auto build test ERROR on vfio/next] [also build test ERROR on linux/master linus/master v5.8-rc6 next-20200720] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

Re: [PATCH 4.19 000/133] 4.19.134-rc1 review

2020-07-20 Thread Shuah Khan
On 7/20/20 9:35 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.134 release. There are 133 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH v2] dt-bindings: hwmon: adm1272: add analog-temperature1-enable binding

2020-07-20 Thread Guenter Roeck
On Mon, Jul 20, 2020 at 08:14:22PM +, Chu Lin wrote: > Problem: > adm1272 and adm1278 supports temperature sampling. The > current way of enabling it requires the user manually unbind the device > from the driver, flip the temperature sampling control bit and then bind > the device back

Re: [PATCH 5.4 000/215] 5.4.53-rc1 review

2020-07-20 Thread Shuah Khan
On 7/20/20 9:34 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.53 release. There are 215 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 5.7 000/243] 5.7.10-rc2 review

2020-07-20 Thread Shuah Khan
On 7/20/20 1:16 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.7.10 release. There are 243 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v2] AF_PACKET doesnt strip VLAN information

2020-07-20 Thread David Miller
From: Stephen Hemminger Date: Mon, 20 Jul 2020 13:56:50 -0700 > It matters because the problem is generic, not just to the netvsc driver. > For example, BPF programs and netfilter rules will see different packets > when send is through AF_PACKET than they would see for sends from the > kernel

Re: [PATCH v4 1/7] ipq806x: gcc: add support for child probe

2020-07-20 Thread Stephen Boyd
Quoting Amit Kucheria (2020-07-20 02:41:44) > On Thu, Jul 16, 2020 at 7:58 AM Ansuel Smith wrote: > > > > Add support for child probing needed for tsens driver that share the > > seme regs of gcc for this platform. > > Typo: same > Otherwise reviewed-by? Because I can throw this into the clk

[PATCH v4] Makefile: Add clang-tidy and static analyzer support to makefile

2020-07-20 Thread Nathan Huckleberry
This patch adds clang-tidy and the clang static-analyzer as make targets. The goal of this patch is to make static analysis tools usable and extendable by any developer or researcher who is familiar with basic c++. The current static analysis tools require intimate knowledge of the internal

Re: [PATCH v2 0/2 net] bitfield.h cleanups

2020-07-20 Thread David Miller
From: Nick Desaulniers Date: Mon, 20 Jul 2020 12:48:38 -0700 > Hi David, bumping for review. If it's not active in my networking patchwork you can't just bump your original submission like this. You have to submit your series entirely again. And if it is in patchwork, such "bumping" is %100

Re: [PATCH] drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets

2020-07-20 Thread Stephen Boyd
Quoting khs...@codeaurora.org (2020-07-20 15:48:13) > On 2020-07-20 13:18, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2020-07-07 11:41:25) > >> drivers/gpu/drm/msm/dp/dp_power.c | 32 +- > >> drivers/gpu/drm/msm/dp/dp_power.h | 1 + > >> drivers/gpu/drm/msm/dp/dp_reg.h

Re: [PATCH 2/2] kvm: mmu: page_track: Fix RCU list API usage

2020-07-20 Thread Paul E. McKenney
On Mon, Jul 20, 2020 at 07:43:50PM +0530, Naresh Kamboju wrote: > On Sun, 19 Jul 2020 at 21:38, Paul E. McKenney wrote: > > > > On Sun, Jul 19, 2020 at 05:52:44PM +0530, Naresh Kamboju wrote: > > > On Sat, 18 Jul 2020 at 05:43, Paul E. McKenney wrote: > > > > > > > > On Sat, Jul 18, 2020 at

Re: [PATCH v8 00/12] PCI: brcmstb: enable PCIe for STB chips

2020-07-20 Thread Florian Fainelli
On 7/15/20 7:35 AM, Jim Quinlan wrote: > Patchset Summary: > Enhance a PCIe host controller driver. Because of its unusual design > we are foced to change dev->dma_pfn_offset into a more general role > allowing multiple offsets. See the 'v1' notes below for more info. Christoph, Robin,

Re: [PATCH v15 7/9] nvmet-passthru: Add passthru code to process commands

2020-07-20 Thread Sagi Grimberg
On 7/20/20 4:17 PM, Keith Busch wrote: On Mon, Jul 20, 2020 at 05:01:19PM -0600, Logan Gunthorpe wrote: On 2020-07-20 4:35 p.m., Sagi Grimberg wrote: passthru commands are in essence REQ_OP_DRV_IN/REQ_OP_DRV_OUT, which means that the driver shouldn't need the ns at all. So if you have a

Re: [PATCH v3] net: hyperv: add support for vlans in netvsc driver

2020-07-20 Thread David Miller
From: Sriram Krishnan Date: Mon, 20 Jul 2020 22:15:51 +0530 > + if (skb->protocol == htons(ETH_P_8021Q)) { > + u16 vlan_tci = 0; > + skb_reset_mac_header(skb); Please place an empty line between basic block local variable declarations and actual code. > +

Re: [PATCH v4 3/6] dt-bindings: remoteproc: Add common TI SCI rproc bindings

2020-07-20 Thread Suman Anna
On 7/20/20 5:17 PM, Rob Herring wrote: On Fri, 17 Jul 2020 18:47:57 -0500, Suman Anna wrote: Add a bindings document that lists the common TI SCI properties used by the K3 R5F and DSP remoteproc devices. Signed-off-by: Suman Anna --- v4: Addressed both of Rob's review comments on

Re: [PATCH v2 1/4] mm/page_alloc: fix non cma alloc context

2020-07-20 Thread Andrew Morton
On Mon, 20 Jul 2020 13:56:15 +0900 js1...@gmail.com wrote: > Currently, preventing cma area in page allocation is implemented by using > current_gfp_context(). However, there are two problems of this > implementation. > > First, this doesn't work for allocation fastpath. In the fastpath, >

Re: [PATCH] bus: brcmstb_gisb: Shorten prints

2020-07-20 Thread Florian Fainelli
On 7/9/20 4:27 PM, Florian Fainelli wrote: > Do not print the full function name (brcmstb_gisb_arb_decode_addr) which > is quite long, and reduces our chances to printing a full line, instead > just use "GISB: " as a prefix for these prints. > > Signed-off-by: Florian Fainelli Applied to

Re: [PATCH] ARM: brcmstb: Add debug UART entry for 72614

2020-07-20 Thread Florian Fainelli
On 7/9/20 4:24 PM, Florian Fainelli wrote: > Signed-off-by: Florian Fainelli Applied to soc/next, thanks! -- Florian

Re: [PATCH] ARM: bcm: Enable BCM7038_L1_IRQ for ARCH_BRCMSTB

2020-07-20 Thread Florian Fainelli
On 7/9/20 4:45 PM, Florian Fainelli wrote: > ARCH_BRCMSTB makes use of the irq-bcm7038-l1.c irqchip driver, enable > it. > > Signed-off-by: Florian Fainelli Applied to soc/next, thanks! -- Florian

Re: [PATCH] cpufreq: intel_pstate: Implement passive mode with HWP enabled

2020-07-20 Thread Francisco Jerez
"Rafael J. Wysocki" writes: > On Fri, Jul 17, 2020 at 2:21 AM Francisco Jerez wrote: >> >> "Rafael J. Wysocki" writes: >> >> > On Wed, Jul 15, 2020 at 11:35 PM Francisco Jerez >> > wrote: >> >> >> >> "Rafael J. Wysocki" writes: >> >> >> >> > On Wed, Jul 15, 2020 at 2:09 AM Francisco Jerez

Re: [PATCH 24/24] net: pass a sockptr_t into ->setsockopt

2020-07-20 Thread David Miller
From: Stefan Schmidt Date: Mon, 20 Jul 2020 16:19:38 +0200 > For the ieee802154 part: > > Acked-by: Stefan Schmidt Please do not quote an entire patch just to add an ACK, trim it just to the commit message, or even less. Thank you.

Re: [PATCH v15 7/9] nvmet-passthru: Add passthru code to process commands

2020-07-20 Thread Keith Busch
On Mon, Jul 20, 2020 at 05:01:19PM -0600, Logan Gunthorpe wrote: > On 2020-07-20 4:35 p.m., Sagi Grimberg wrote: > > > passthru commands are in essence REQ_OP_DRV_IN/REQ_OP_DRV_OUT, which > > means that the driver shouldn't need the ns at all. So if you have a > > dedicated request queue (mapped

Re: [PATCH 2/2] iio: afe: rescale: Implement write_raw

2020-07-20 Thread Paul Cercueil
Hi Jonathan, Le sam. 15 févr. 2020 à 18:32, Jonathan Cameron a écrit : On Mon, 10 Feb 2020 19:54:38 -0300 Paul Cercueil wrote: Implement write_raw by converting the value if writing the scale, or just calling the managed channel driver's write_raw otherwise. Signed-off-by: Paul

Re: [PATCH 04/21] dt-binding: mediatek: Add binding for mt8192 IOMMU and SMI

2020-07-20 Thread Rob Herring
On Sat, Jul 11, 2020 at 02:48:29PM +0800, Yong Wu wrote: > This patch adds decriptions for mt8192 IOMMU and SMI. > > mt8192 also is MTK IOMMU gen2 which uses ARM Short-Descriptor translation > table format. The M4U-SMI HW diagram is as below: > > EMI >

Re: [PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma

2020-07-20 Thread Jason Gunthorpe
On Mon, Jul 20, 2020 at 01:49:09PM -0700, Ralph Campbell wrote: > > On 7/20/20 12:59 PM, Jason Gunthorpe wrote: > > On Mon, Jul 20, 2020 at 12:54:53PM -0700, Ralph Campbell wrote: > > > > > diff --git a/include/linux/migrate.h b/include/linux/migrate.h > > > > > index 3e546cbf03dd..620f2235d7d4

Re: [PATCH v2 1/4] mm/page_alloc: fix non cma alloc context

2020-07-20 Thread Andrew Morton
On Mon, 20 Jul 2020 13:56:15 +0900 js1...@gmail.com wrote: > Currently, preventing cma area in page allocation is implemented by using > current_gfp_context(). However, there are two problems of this > implementation. > > First, this doesn't work for allocation fastpath. In the fastpath, >

Re: [PATCH v15 7/9] nvmet-passthru: Add passthru code to process commands

2020-07-20 Thread Sagi Grimberg
Thanks for the review Christoph. I think I should be able to make all the requested changes in the next week or two. On 2020-07-20 1:35 p.m., Sagi Grimberg wrote: I'm still not so happy about having to look up the namespace and still wonder if we should generalize the connect_q to a

Re: [PATCH] mm/vmstat: don't do count if no needs

2020-07-20 Thread Andrew Morton
On Mon, 20 Jul 2020 13:42:45 +0800 Alex Shi wrote: > > For couple of vmstat account funcs, the caller usually doesn't check the > delta value, if delta == 0, irq or atomic operator is a waste. That's > better to be skipped, also add unlikey() since !delta is less happened. > > ... > > ---

Re: [PATCH v5 1/5] docs: IOMMU user API

2020-07-20 Thread Jacob Pan
Hi Eric, On Fri, 17 Jul 2020 15:32:58 +0200 Auger Eric wrote: > Hi Jacob, > > On 7/16/20 8:45 PM, Jacob Pan wrote: > > IOMMU UAPI is newly introduced to support communications between > > guest virtual IOMMU and host IOMMU. There has been lots of > > discussions on how it should work with VFIO

Re: [PATCH] scripts/decode_stacktrace: strip all base path prefixes

2020-07-20 Thread Andrew Morton
On Mon, 20 Jul 2020 09:44:29 +0200 Jiri Slaby wrote: > When addr2line returns more than one location, decode_stacktrace does > not currently remove base path from the paths. So the result might look > like (line wrapped here): > ptrace_stop (include/linux/freezer.h:57 > >

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