KASAN: slab-out-of-bounds Read in fib6_nh_get_excptn_bucket

2019-09-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:505a8ec7 Revert "drm/i915/userptr: Acquire the page lock a.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=176a083160 kernel config: https://syzkaller.appspot.com/x/.config?x=861a6f31647968de da

Re: [PATCH] irqchip/sifive-plic: add irq_mask and irq_unmask

2019-09-16 Thread Christoph Hellwig
With the fixes it seems to still work fine on the Kendryte KD210. Although currently only the serial interrupt is tested and this might not be a very exhaustive test case..

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: h6: Use sigma-delta modulation for audio PLL

2019-09-16 Thread Chen-Yu Tsai
On Sat, Sep 14, 2019 at 9:51 PM Jernej Skrabec wrote: > > Audio devices needs exact clock rates in order to correctly reproduce > the sound. Until now, only integer factors were used to configure H6 > audio PLL which resulted in inexact rates. Fix that by adding support > for fractional factors us

INFO: task hung in ovs_dp_cmd_new

2019-09-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:2339cd6c bpf: fix precision tracking of stack slots git tree: bpf console output: https://syzkaller.appspot.com/x/log.txt?x=14707b0160 kernel config: https://syzkaller.appspot.com/x/.config?x=b89bb446a3faaba4 dashboard link:

Re: [PATCH v3 4/4] x86/mce: Add Zhaoxin LMCE support

2019-09-16 Thread Tony W Wang-oc
On Mon, Sep 16, 2019, Luck, Tony wrote: >On Mon, Sep 16, 2019 at 11:37:18AM +, Tony W Wang-oc wrote: >> Zhaoxin newer CPUs support LMCE that compatible with Intel's >> "Machine-Check Architecture", so add support for Zhaoxin LMCE >> in mce/core.c. >> >> Signed-off-by: Tony W Wang-oc >> --- >>

[PATCH] rtlwifi: rtl8723ae: Remove unused 'rtstatus' variable

2019-09-16 Thread Austin Kim
'rtstatus' local variable is not used, so remove it for clean-up. Signed-off-by: Austin Kim --- drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c b/drivers/net/wireless/realtek/rtlwifi/

Re: [PATCH] x86/microcode: Add an option to reload microcode even if revision is unchanged

2019-09-16 Thread Borislav Petkov
On Tue, Sep 17, 2019 at 08:37:10AM +0200, Thomas Gleixner wrote: > So what happens if the ucode update "fixes" one of the executed > instructions on the fly? Is that guaranteed to be safe? There is nothing > which says so. You'd expect that when you load microcode on the core, the one thread does

[RESEND PATCH] mm/hugetlb: topdown mmap supports for hugepage

2019-09-16 Thread shile . zhang
From: Shile Zhang Similar to other arches, this adds topdown mmap support for hugepage in user process address space allocation. It allows mmap big size hugepage. This patch copied from the implementation in arch/x86. Signed-off-by: Shile Zhang --- arch/arm/include/asm/page.h | 1 + arch/arm/

Re: [PATCH] ath9k: remove unneeded variable

2019-09-16 Thread Kalle Valo
Ding Xiang wrote: > "len" is unneeded,just return 0 > > Signed-off-by: Ding Xiang ALWAYS build check your patches! I admit that ATH_DUMP_BTCOEX() is an evil macro as it uses len variable in secret, but if you had compiled your patch you would have noticed this immeadiately. In file included f

Re: [PATCH] x86/microcode: Add an option to reload microcode even if revision is unchanged

2019-09-16 Thread Thomas Gleixner
Raj, On Mon, 16 Sep 2019, Raj, Ashok wrote: > On Mon, Sep 16, 2019 at 12:36:11PM +0200, Thomas Gleixner wrote: > > That said, there is also a distinct lack of information about micro code > > loading in a safe way in general. We absolutely do not know whether a micro > > code update affects any in

Re: KMSAN: uninit-value in usb_autopm_put_interface

2019-09-16 Thread Dmitry Vyukov
On Mon, Sep 16, 2019 at 10:31 PM Alan Stern wrote: > > On Mon, 16 Sep 2019, syzbot wrote: > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:014077b5 DO-NOT-SUBMIT: usb-fuzzer: main usb gadget fuzzer.. > > git tree: https://github.com/google/kmsan.git master >

Re: [PATCH 2/3] spi: dw: Add basic runtime PM support

2019-09-16 Thread Geert Uytterhoeven
Hi Gareth, On Mon, Sep 16, 2019 at 6:14 PM Gareth Williams wrote: > > On Mon, Sep 16, 2019 at 15:36 PM Geert Uytterhoeven > > wrote: > > On Fri, Sep 13, 2019 at 2:13 PM Gareth Williams > > wrote: > > > From: Phil Edworthy > > > > > > Enable runtime PM so that the clock used to access the regis

Re: [PATCH 5/5] ocxl: Provide additional metadata to userspace

2019-09-16 Thread Alastair D'Silva
On Tue, 2019-09-17 at 11:43 +1000, Alastair D'Silva wrote: > From: Alastair D'Silva > > This patch exposes the OpenCAPI device serial number to > userspace. > > It also includes placeholders for the LPC & special purpose > memory information (which will be populated in a subsequent patch) > to a

Re: [PATCH] staging: comedi: drivers: prevent memory leak

2019-09-16 Thread Dan Carpenter
On Mon, Sep 16, 2019 at 09:41:43PM -0500, Navid Emamdoost wrote: > In das1800_attach, the buffer allocated via kmalloc_array needs to be > released if an error happens. > > Signed-off-by: Navid Emamdoost Commedit calls ->detach() if the ->attach() fails so this patch would lead to a double free.

Re: [RFC PATCH v7] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-09-16 Thread Kalle Valo
Chris Chiu writes: > On Mon, Aug 12, 2019 at 11:21 PM Jes Sorensen wrote: >> >> On 8/12/19 10:32 AM, Kalle Valo wrote: >> >> Signed-off-by: Jes Sorensen >> > >> > This is marked as RFC so I'm not sure what's the plan. Should I apply >> > this? >> >> I think it's at a point where it's worth appl

Re: [PATCH v4 1/5] locking/qspinlock: Rename arch_mcs_spin_unlock_contended to arch_mcs_pass_lock and make it more generic

2019-09-16 Thread Hanjun Guo
Hi Alex, On 2019/9/6 22:25, Alex Kogan wrote: > The new macro should accept the value to be stored into the lock argument > as another argument. This allows using the same macro in cases where the > value to be stored when passing the lock is different from 1. > > Signed-off-by: Alex Kogan > Rev

[PATCH 3/3] dmaengine: sf-pdma: add platform DMA support for HiFive Unleashed A00

2019-09-16 Thread Green Wan
Link: https://www.kernel.org/doc/html/v4.17/driver-api/dmaengine/ Link: https://static.dev.sifive.com/FU540-C000-v1.0.pdf Add PDMA driver, sf-pdma, to enable DMA engine on HiFive Unleashed Rev A00 board. - Implement dmaengine APIs, support MEM_TO_MEM async copy. - Tested by DMA Test client - S

[PATCH 2/3] riscv: dts: add support for PDMA device of HiFive Unleashed Rev A00

2019-09-16 Thread Green Wan
Add PDMA support to (arch/riscv/boot/dts/sifive/fu540-c000.dtsi) Signed-off-by: Green Wan --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi index 42b5e

Re: [PATCH] iommu/qcom: Simplify a test in 'qcom_iommu_add_device()'

2019-09-16 Thread Dan Carpenter
On Mon, Sep 16, 2019 at 10:29:36PM +0200, Christophe JAILLET wrote: > 'iommu_group_get_for_dev()' never returns NULL, so this test can be > simplified a bit. > It used to until commit 72dcac633475 ("iommu: Warn once when device_group callback returns NULL"). Reviewed-by: Dan Carpenter regards,

Re: [PATCH v2] extcon-intel-cht-wc: Don't reset USB data connection at probe

2019-09-16 Thread Hans de Goede
Hi, On 16-09-2019 23:15, Yauhen Kharuzhy wrote: Intel Cherry Trail Whiskey Cove extcon driver connect USB data lines to PMIC at driver probing for further charger detection. This causes reset of USB data sessions and removing all devices from bus. If system was booted from Live CD or USB dongle,

[PATCH 1/3] dt-bindings: dmaengine: sf-pdma: add bindins for SiFive PDMA

2019-09-16 Thread Green Wan
Add DT bindings document for Platform DMA(PDMA) driver of board, HiFive Unleashed Rev A00. Signed-off-by: Green Wan --- .../bindings/dma/sifive,fu540-c000-pdma.yaml | 63 +++ MAINTAINERS | 5 ++ 2 files changed, 68 insertions(+) create mode 10

[PATCH 3/3] arm64: dts: meson: a1: add pinctrl controller support

2019-09-16 Thread Qianggui Song
add peripheral pinctrl controller to a1 soc Signed-off-by: Qianggui Song Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch

[PATCH 2/3] pinctrl: meson-a1: add pinctrl driver for Meson A1 Soc

2019-09-16 Thread Qianggui Song
Add pinctrl driver for Meson A1 Soc which share the same register layout of pinmux with previous Meson-G12A, however there is difference for gpio and pin config register in A1. The register layout is as below: /* first bank */ /* addr */ - P_PADCTRL_GPIOP_I base + 0x00 << 2 -

[PATCH 1/3] pinctrl: add compatible for Amlogic Meson A1 pin controller

2019-09-16 Thread Qianggui Song
Add new compatible name for Amlogic's Meson-A1 pin controller add a dt-binding header file which document the detail pin names. Signed-off-by: Qianggui Song Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- .../devicetree/bindings/pinctrl/meson,pinctrl.txt | 1 + include/dt-bindings/

[PATCH 0/3] pinctrl: meson-a1: add pinctrl driver

2019-09-16 Thread Qianggui Song
This patchset adds Pin controller driver support for Meson-A1 Soc which shares the same register layout of pinmux with previous Meson-G12A, however there is difference for gpio and pin config registers in A1. This patchset is based on A1 DTBv4[1]. [1] https://lore.kernel.org/linux-amlogic/156827

[PATCH 0/3] dmaengine: sf-pdma: Add platform dma driver

2019-09-16 Thread Green Wan
Add PDMA driver support for SiFive HiFive Unleashed RevA00 board. Mainly follows DMAengine controller doc[1] to implement and take other DMA drivers as reference. Such as - drivers/dma/fsl-edma.c - drivers/dma/dw-edma/ - drivers/dma/pxa-dma.c Using DMA test client[2] to test. Detailed data

RE: [PATCH V3 0/4] clk: imx8m: fix glitch/mux

2019-09-16 Thread Peng Fan
Hi Stephen, Shawn, > Subject: [PATCH V3 0/4] clk: imx8m: fix glitch/mux Sorry to ping early. Is there a chance to land this patchset in 5.3 release? Thanks, Peng. > > From: Peng Fan > > V3: > Add cover-letter > > V2: > Added patch [2,3,4]/4 and avoid glitch when prepare > > There is two

Re: [PATCH -tip v4 0/4] x86: kprobes: Prohibit kprobes on Xen/KVM emulate prefixes

2019-09-16 Thread Masami Hiramatsu
Hi Peter, Could you review this version? Thank you, On Fri, 6 Sep 2019 22:13:37 +0900 Masami Hiramatsu wrote: > Hi, > > Here is the 4th version of patches to handle Xen/KVM emulate > prefix by x86 instruction decoder. > > These patches allow x86 instruction decoder to decode > Xen and KVM e

Re: [RFC PATCH 03/15] spi: make `cs_change_delay` the first user of the `spi_delay` logic

2019-09-16 Thread Ardelean, Alexandru
On Mon, 2019-09-16 at 14:43 +0100, Mark Brown wrote: > [External] > > On Mon, Sep 16, 2019 at 01:04:42PM +, Ardelean, Alexandru wrote: > > On Mon, 2019-09-16 at 13:47 +0100, Mark Brown wrote: > > > That v3 seems to be a small subset of this series? > > Ack. > > V3 is the first 4 patches from t

Re: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-16 Thread Ju Hyung Park
On Tue, Sep 17, 2019 at 2:47 PM Greg KH wrote: > It's the fact that it actually was in a form that could be merged, no > one has done that with the sdfat code :) Well, I'm more than happy to help if you guys are happy with merging the new base. > What fixes? That's what I'm asking here. I gave

Re: [PATCH] clk: at91: allow 24 Mhz clock as input for PLL

2019-09-16 Thread Eugen.Hristev
On 16.09.2019 22:52, Stephen Boyd wrote: > Quoting eugen.hris...@microchip.com (2019-09-10 23:39:20) >> From: Eugen Hristev >> >> The PLL input range needs to be able to allow 24 Mhz crystal as input >> Update the range accordingly in plla characteristics struct >> >> Signed-off-by: Eugen Hrist

Re: [RFC PATCH 8/9] soundwire: intel: remove platform devices and provide new interface

2019-09-16 Thread Greg KH
On Mon, Sep 16, 2019 at 04:23:41PM -0500, Pierre-Louis Bossart wrote: > +/** > + * sdw_intel_probe() - SoundWire Intel probe routine > + * @parent_handle: ACPI parent handle > + * @res: resource data > + * > + * This creates SoundWire Master and Slave devices below the controller. > + * All the inf

Re: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-16 Thread Greg KH
On Tue, Sep 17, 2019 at 02:31:34PM +0900, Park Ju Hyung wrote: > On Tue, 17 Sep 2019 00:19:36 -0400, "Valdis Klētnieks" said: > > I'm working off a somewhat cleaned up copy of Samsung's original driver, > > because that's what I had knowledge of. If the sdfat driver is closer to > > being > > mer

Re: [PATCH 4/5] clk: qcom: Initialise clock drivers earlier

2019-09-16 Thread Amit Kucheria
On Tue, Sep 17, 2019 at 1:24 AM Stephen Boyd wrote: > > Quoting Amit Kucheria (2019-09-11 15:32:33) > > Initialise the clock drivers on sdm845 and qcs404 in core_initcall so we > > can have earlier access to cpufreq during booting. > > > > Signed-off-by: Amit Kucheria > > --- > > Did you want thi

Re: pci: endpoint test BUG

2019-09-16 Thread Kishon Vijay Abraham I
On 16/09/19 4:52 PM, Lorenzo Pieralisi wrote: > On Mon, Sep 16, 2019 at 10:06:30AM +0800, Hillf Danton wrote: >> >> On Sun, 15 Sep 2019 09:34:37 -0700 >>> >>> Kernel is 5.3-rc8 on x86_64. >>> >>> Loading and removing the pci-epf-test module causes a BUG. >>> >>> >>> [40928.435755] calling pci_ep

Re: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-16 Thread Park Ju Hyung
On Tue, 17 Sep 2019 00:19:36 -0400, "Valdis Klētnieks" said: > I'm working off a somewhat cleaned up copy of Samsung's original driver, > because that's what I had knowledge of. If the sdfat driver is closer to > being > mergeable, I'd not object if that got merged instead. Greg, as Valdis menti

Dear Friend,

2019-09-16 Thread Aisha Gaddafi
Dear Friend, I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Gaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi). I have investment funds

Re: Linux 5.3-rc8

2019-09-16 Thread Willy Tarreau
On Mon, Sep 16, 2019 at 06:46:07PM -0700, Matthew Garrett wrote: > >Well, the patch actually made getrandom() return en error too, but you > >seem more interested in the hypotheticals than in arguing actualities. > > If you want to be safe, terminate the process. This is an interesting approach.

RE: [v2,1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A

2019-09-16 Thread Biwen Li
Hi all, the linux patches depended by RCPM driver,FlexTimer driver and FlexTimer dts, need apply these patches as follows: 1. RCPM driver: https://patchwork.kernel.org/series/162731/mbox/ (https://patchwork.kernel.org/patch/11105279/) 2. FlexTimer dts:

Re: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-16 Thread Gao Xiang
Hi, On Tue, Sep 17, 2019 at 12:02:01PM +0900, Namjae Jeon wrote: > We are excited to see this happening and would like to state that we > appreciate > time and > effort which people put into upstreaming exfat. Thank you! > > However, if possible, can we step back a little bit and re-consider it?

[PATCH] tracing/kprobe: Fix NULL pointer access in trace_porbe_unlink()

2019-09-16 Thread Masami Hiramatsu
Fix NULL pointer access in trace_probe_unlink() by initializing trace_probe.list correctly in trace_probe_init(). In the error case of trace_probe_init(), it can call trace_probe_unlink() before initializing trace_probe.list member. This causes NULL pointer dereference at list_del_init() in trace_

Re: [PATCH v2] sched: fix migration to invalid cpu in __set_cpus_allowed_ptr

2019-09-16 Thread Pavan Kondeti
On Mon, Sep 16, 2019 at 06:53:28AM +, KeMeng Shi wrote: > Oops occur when running qemu on arm64: > Unable to handle kernel paging request at virtual address 08effe40 > Internal error: Oops: 9607 [#1] SMP > Process migration/0 (pid: 12, stack limit = 0x084e3736) > pstate:

Re: linux-next: Tree for Sep 16 (kernel/sched/core.c)

2019-09-16 Thread Randy Dunlap
On 9/16/19 3:38 PM, Mark Brown wrote: > Hi all, > > Changes since 20190915: > on x86_64: when CONFIG_CGROUPS is not set: CC kernel/sched/core.o ../kernel/sched/core.c: In function ‘uclamp_update_active_tasks’: ../kernel/sched/core.c:1081:23: error: storage size of ‘it’ isn’t known str

Re: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-16 Thread 'Greg KH'
On Tue, Sep 17, 2019 at 12:02:01PM +0900, Namjae Jeon wrote: > We are excited to see this happening and would like to state that we > appreciate > time and > effort which people put into upstreaming exfat. Thank you! > > However, if possible, can we step back a little bit and re-consider it? We >

[v2,3/3] Documentation: dt: binding: fsl: Add 'fsl,rcpm-scfg' property

2019-09-16 Thread Biwen Li
The 'fsl,rcpm-scfg' property is used to fix a bug that FlexTimer cannot wakeup system in deep sleep on LS1021A Signed-off-by: Biwen Li --- Change in v2: - update desc of the property 'fsl,rcpm-scfg' Documentation/devicetree/bindings/soc/fsl/rcpm.txt | 13 + 1 file changed, 1

[v2,1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A

2019-09-16 Thread Biwen Li
Why: - Cannot write register RCPM_IPPDEXPCR1 on LS1021A, Register RCPM_IPPDEXPCR1's default value is zero. So the register value that reading from register RCPM_IPPDEXPCR1 is always zero. How: - Save register RCPM_IPPDEXPCR1's value to register SCFG_SPARECR8.(uboot'

[v2,2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep

2019-09-16 Thread Biwen Li
The patch fix a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- Change in v2: - None arch/arm/boot/dts/ls1021a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi in

Re: [PATCH V7 3/3] arm64/mm: Enable memory hot remove

2019-09-16 Thread Anshuman Khandual
On 09/13/2019 03:39 PM, Catalin Marinas wrote: > On Fri, Sep 13, 2019 at 11:28:01AM +0530, Anshuman Khandual wrote: >> On 09/13/2019 01:45 AM, Catalin Marinas wrote: >>> On Tue, Sep 03, 2019 at 03:15:58PM +0530, Anshuman Khandual wrote: @@ -770,6 +1022,28 @@ int __meminit vmemmap_populate(u

Re: [PATCH 2/5] powerpc: Map & release OpenCAPI LPC memory

2019-09-16 Thread kbuild test robot
Hi Alastair, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190916] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-16 Thread Valdis Klētnieks
On Tue, 17 Sep 2019 12:02:01 +0900, "Namjae Jeon" said: > We are excited to see this happening and would like to state that we > appreciate time and > effort which people put into upstreaming exfat. Thank you! The hard part - getting Microsoft to OK merging an exfat driver - is done. All we need

[PATCH] fs/affs: release memory if affs_init_bitmap fails

2019-09-16 Thread Navid Emamdoost
In affs_init_bitmap, on error handling path we may release the allocated memory. Signed-off-by: Navid Emamdoost --- fs/affs/bitmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/affs/bitmap.c b/fs/affs/bitmap.c index 5ba9ef2742f6..745ed2cc4b51 100644 --- a/fs/affs/bitmap.c +++ b/fs/aff

[GIT PULL] soundwire updates for v5.4-rc1

2019-09-16 Thread Vinod Koul
Hi greg, First apologies for sending this very late, I had to go out of town and didn't have internet access, but I should have done better Anyhow, here are the changes collected for v5.4-rc1 and as usual they have been sitting in linux-next. The following changes since commit 5f9e832c137075045d

[PATCH v2] ixgbe: Use memset_explicit directly in crypto cases

2019-09-16 Thread zhong jiang
It's better to use memset_explicit() to replace memset() in crypto cases. Signed-off-by: zhong jiang --- drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet

Re: [PATCH V5 2/5] input: keyboard: imx_sc: Add i.MX system controller key support

2019-09-16 Thread kbuild test robot
Hi Anson, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190916] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Anson

[git pull] m68knommu changes for v5.4

2019-09-16 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Only a single change, fix up header include in ColdFire specific GPIO handling code. Regards Greg The following changes since commit f74c2bb98776e2de508f4d607cd519873065118e: Linux 5.3-rc8 (2019-09-08 13:33:15 -0700

Re: [RFC v4 0/3] vhost: introduce mdev based hardware backend

2019-09-16 Thread Jason Wang
On 2019/9/17 上午9:02, Tiwei Bie wrote: This RFC is to demonstrate below ideas, a) Build vhost-mdev on top of the same abstraction defined in the virtio-mdev series [1]; b) Introduce /dev/vhost-mdev to do vhost ioctls and support setting mdev device as backend; Now the userspace API lo

[PATCH] rpmsg: char: release allocated memory

2019-09-16 Thread Navid Emamdoost
In rpmsg_eptdev_write_iter, if copy_from_iter_full fails the allocated buffer needs to be released. Signed-off-by: Navid Emamdoost --- drivers/rpmsg/rpmsg_char.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg_char.c inde

Re: [PATCH v1 0/2] spi: cadence-qspi: Add cadence-qspi support for Intel LGM SoC

2019-09-16 Thread Ramuthevar, Vadivel MuruganX
Hi Vignesh,    Thank you for the review comments and suggestions. On 17/9/2019 12:50 AM, Vignesh Raghavendra wrote: Hi, On 16/09/19 1:08 PM, Ramuthevar,Vadivel MuruganX wrote: patch 1: Add YAML for cadence-qspi devicetree cdocumentation. patch 2: cadence-qspi controller driver to support QSPI

Re: [PATCH 1/3] ixgbe: Use kzfree() rather than its implementation.

2019-09-16 Thread zhong jiang
On 2019/9/17 10:43, Jakub Kicinski wrote: > On Wed, 4 Sep 2019 10:39:10 +0800, zhong jiang wrote: >> Use kzfree() instead of memset() + kfree(). >> >> Signed-off-by: zhong jiang >> --- >> drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 9 +++-- >> 1 file changed, 3 insertions(+), 6 deletions

[PATCH RESEND V5 3/5] arm64: dts: imx8qxp: Add scu key node

2019-09-16 Thread Anson Huang
Add scu key node for i.MX8QXP, disabled by default as it depends on board design. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts

RE: [PATCH V5 1/5] dt-bindings: fsl: scu: add scu key binding

2019-09-16 Thread Anson Huang
Sorry, please ignore this version, it has build issue, just resent the patch series. Anson. > Subject: [PATCH V5 1/5] dt-bindings: fsl: scu: add scu key binding > > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system > controller, the system controller is in charge of system pow

[PATCH RESEND V5 1/5] dt-bindings: fsl: scu: add scu key binding

2019-09-16 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and scu key event etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu key event, add binding doc for i.M

[PATCH RESEND V5 2/5] input: keyboard: imx_sc: Add i.MX system controller key support

2019-09-16 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and scu key etc.. Adds i.MX system controller key driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu key'

[PATCH RESEND V5 5/5] arm64: defconfig: Enable CONFIG_KEYBOARD_IMX_SC_KEY as module

2019-09-16 Thread Anson Huang
Select CONFIG_KEYBOARD_IMX_SC_KEY as module by default to support i.MX8QXP scu key driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0a70e10..9c

[PATCH RESEND V5 4/5] arm64: dts: imx8qxp-mek: Enable scu key

2019-09-16 Thread Anson Huang
Enable scu key for i.MX8QXP MEK board. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 1946805

Re: [PATCH] mm/hotplug: Reorder memblock_[free|remove]() calls in try_remove_memory()

2019-09-16 Thread Anshuman Khandual
On 09/16/2019 02:20 PM, Anshuman Khandual wrote: > > > On 09/16/2019 12:06 PM, Mike Rapoport wrote: >> On Mon, Sep 16, 2019 at 11:17:37AM +0530, Anshuman Khandual wrote: >>> In add_memory_resource() the memory range to be hot added first gets into >>> the memblock via memblock_add() before arc

Re: [PATCH 2/3] nfp: Drop unnecessary continue in nfp_net_pf_alloc_vnics

2019-09-16 Thread zhong jiang
On 2019/9/17 10:45, Jakub Kicinski wrote: > On Wed, 4 Sep 2019 11:46:23 +0800, zhong jiang wrote: >> Continue is not needed at the bottom of a loop. >> >> Signed-off-by: zhong jiang >> --- >> drivers/net/ethernet/netronome/nfp/nfp_net_main.c | 4 +--- >> 1 file changed, 1 insertion(+), 3 deletion

Re: [PATCH] lockdep: Make print_lock() address visible

2019-09-16 Thread Kees Cook
On Mon, Sep 16, 2019 at 06:39:46PM -0700, keesc...@chromium.org wrote: > commit 519248f36d6f3c80e176f6fa844c10d94f1f5990 > Author: Paul E. McKenney > Date: Thu May 30 05:39:25 2019 -0700 > > lockdep: Make print_lock() address visible > > Security is a wonderful thing, but so is the

Re: [PATCH] usercopy: Skip HIGHMEM page checking

2019-09-16 Thread Kees Cook
On Mon, Sep 16, 2019 at 05:32:09PM -0700, Matthew Wilcox wrote: > On Mon, Sep 16, 2019 at 02:32:56PM -0700, Kees Cook wrote: > > When running on a system with >512MB RAM with a 32-bit kernel built with: > > > > CONFIG_DEBUG_VIRTUAL=y > > CONFIG_HIGHMEM=y > > CONFIG_HARDENED_USERCOPY=y

Re: [GIT PULL] platform-drivers-x86 for 5.4-1

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Fri, 13 Sep 2019 20:06:55 +0300: > git://git.infradead.org/linux-platform-drivers-x86.git > tags/platform-drivers-x86-v5.4-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ad062195731bea1624ce7160e79e0fcdaa25c1b5 Thank you! -- Deet-doot

RE: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-16 Thread Namjae Jeon
We are excited to see this happening and would like to state that we appreciate time and effort which people put into upstreaming exfat. Thank you! However, if possible, can we step back a little bit and re-consider it? We would prefer to see upstream the code which we are currently using in our p

[PATCH V5 2/5] input: keyboard: imx_sc: Add i.MX system controller key support

2019-09-16 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and scu key etc.. Adds i.MX system controller key driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu key'

[PATCH V5 4/5] arm64: dts: imx8qxp-mek: Enable scu key

2019-09-16 Thread Anson Huang
Enable scu key for i.MX8QXP MEK board. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 1946805

[PATCH V5 1/5] dt-bindings: fsl: scu: add scu key binding

2019-09-16 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and scu key event etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu key event, add binding doc for i.M

[PATCH V5 5/5] arm64: defconfig: Enable CONFIG_KEYBOARD_IMX_SC_KEY as module

2019-09-16 Thread Anson Huang
Select CONFIG_KEYBOARD_IMX_SC_KEY as module by default to support i.MX8QXP scu key driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0a70e10..9c

[PATCH V5 3/5] arm64: dts: imx8qxp: Add scu key node

2019-09-16 Thread Anson Huang
Add scu key node for i.MX8QXP, disabled by default as it depends on board design. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts

Re: [PATCH 1/1] powerpc: mm: Check if serialize_against_pte_lookup() really needs to run

2019-09-16 Thread Aneesh Kumar K.V
On 9/17/19 2:25 AM, Leonardo Bras wrote: If a process (qemu) with a lot of CPUs (128) try to munmap() a large chunk of memory (496GB) mapped with THP, it takes an average of 275 seconds, which can cause a lot of problems to the load (in qemu case, the guest will lock for this time). Trying to fi

Re: [GIT PULL] x86/hyperv changes for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 15:18:51 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-hyperv-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e2bddc20b562ee23046ad541cf29314e4aebd934 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] x86/asm changes for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 14:34:54 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/df4c0b18f2a2798f1e3ae9dcf58c024bb33e4202 Thank you! -- Deet-doot-dot, I am a bo

Re: [GIT PULL] x86/mm changes for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 15:25:10 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ac51667b5b95f1209aa97af780cecf0cf6f4003f Thank you! -- Deet-doot-dot, I am a bot

Re: [GIT PULL] x86/cpu changes for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 14:53:27 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cpu-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/22331f895298bd23ca9f99f6a237aae883c9e1c7 Thank you! -- Deet-doot-dot, I am a bo

Re: [GIT PULL] x86/vmware changes for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 15:36:46 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-vmware-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7ac63f6ba5db5e2e81e4674551d6f9ec58e70618 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] x86/entry changes for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 14:58:11 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-entry-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e0d60a1e68a3fbf42cdf3546004e00230d9048ba Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] x86/build change for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 14:42:56 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fc6fd1392a8f3d5f3d722ad9c92314477c1a2a35 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] x86/platform changes for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 15:31:09 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-platform-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6f24671485d0d0eaeaccd910fa8148db72aac089 Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] x86/boot change for v5.4

2019-09-16 Thread pr-tracker-bot
The pull request you sent on Mon, 16 Sep 2019 14:39:43 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/49a21e52a6baeea076301fd944268fd0d1f75be1 Thank you! -- Deet-doot-dot, I am a b

Re: [PATCH 2/3] nfp: Drop unnecessary continue in nfp_net_pf_alloc_vnics

2019-09-16 Thread Jakub Kicinski
On Wed, 4 Sep 2019 11:46:23 +0800, zhong jiang wrote: > Continue is not needed at the bottom of a loop. > > Signed-off-by: zhong jiang > --- > drivers/net/ethernet/netronome/nfp/nfp_net_main.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/net/ethernet/netro

Re: [PATCH v4 3/5] vimc: move duplicated IS_SRC and IS_SINK to common header

2019-09-16 Thread Shuah Khan
On 9/16/19 4:42 AM, Helen Koike wrote: On 9/15/19 8:52 PM, Shuah Khan wrote: On 9/15/19 1:25 PM, Helen Koike wrote: Hi Shuah, On 9/6/19 11:42 PM, Shuah Khan wrote: Move duplicated IS_SRC and IS_SINK dfines to common header. Rename them to VIMC_IS_SRC and VIM_IS_SINK. Signed-off-by: Shuah K

Re: [PATCH 1/3] ixgbe: Use kzfree() rather than its implementation.

2019-09-16 Thread Jakub Kicinski
On Wed, 4 Sep 2019 10:39:10 +0800, zhong jiang wrote: > Use kzfree() instead of memset() + kfree(). > > Signed-off-by: zhong jiang > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/drivers/net/ethernet/intel/

RE: [PATCH V4 2/5] input: keyboard: imx_sc: Add i.MX system controller key support

2019-09-16 Thread Anson Huang
Hi, Dmitry > On Mon, Sep 16, 2019 at 10:52:50AM +0800, Anson Huang wrote: > > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller > > inside, the system controller is in charge of controlling power, clock > > and scu key etc.. > > > > Adds i.MX system controller key driver support, Li

Re: [RFC PATCH v2] mm: initialize struct pages reserved by ZONE_DEVICE driver.

2019-09-16 Thread Toshiki Fukasawa
On 2019/09/09 16:46, David Hildenbrand wrote: > Let's take a step back here to understand the issues I am aware of. I > think we should solve this for good now: > > A PFN walker takes a look at a random PFN at a random point in time. It > finds a PFN with SECTION_MARKED_PRESENT && !SECTION_IS_ONLI

[PATCH] staging: comedi: drivers: prevent memory leak

2019-09-16 Thread Navid Emamdoost
In das1800_attach, the buffer allocated via kmalloc_array needs to be released if an error happens. Signed-off-by: Navid Emamdoost --- drivers/staging/comedi/drivers/das1800.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/das1800.

Re: Re: [PATCH] connector: report comm change event when modifying /proc/pid/task/tid/comm

2019-09-16 Thread KeMeng Shi
>(2) What prevents proc_comm_connector(p) running concurrently with itself > via the prctl()? The locking seems to be confined to set_task_comm(). To be honest, I did not consider the concurrence problem at beginning. And some comm change events may lost or are reported repeatly as follows: set nam

RE: [PATCH v6 1/3] PM: wakeup: Add routine to help fetch wakeup source object.

2019-09-16 Thread Ran Wang
Hi Rafael, On Wednesday, August 21, 2019 11:16, Ran Wang wrote: > > Some user might want to go through all registered wakeup sources and doing > things accordingly. For example, SoC PM driver might need to do HW > programming to prevent powering down specific IP which wakeup source > depending on

Re: [PATCH RFC 01/14] mm: memcg: subpage charging API

2019-09-16 Thread Roman Gushchin
On Mon, Sep 16, 2019 at 02:56:11PM +0200, Johannes Weiner wrote: > On Thu, Sep 05, 2019 at 02:45:45PM -0700, Roman Gushchin wrote: > > Introduce an API to charge subpage objects to the memory cgroup. > > The API will be used by the new slab memory controller. Later it > > can also be used to implem

Re: [PATCH RFC 04/14] mm: vmstat: convert slab vmstat counter to bytes

2019-09-16 Thread Roman Gushchin
On Mon, Sep 16, 2019 at 02:38:40PM +0200, Johannes Weiner wrote: > On Thu, Sep 05, 2019 at 02:45:48PM -0700, Roman Gushchin wrote: > > In order to prepare for per-object slab memory accounting, > > convert NR_SLAB_RECLAIMABLE and NR_SLAB_UNRECLAIMABLE vmstat > > items to bytes. > > > > To make sur

Re: Linux 5.3-rc8

2019-09-16 Thread Matthew Garrett
On 16 September 2019 18:41:36 GMT-07:00, Linus Torvalds wrote: >On Mon, Sep 16, 2019 at 6:24 PM Matthew Garrett >wrote: >> >> Exactly the scenario where you want getrandom() to block, yes. > >It *would* block. Just not forever. It's already not forever - there's enough running in the background

Re: [PATCH] mm: remove redundant assignment of entry

2019-09-16 Thread Wei Yang
On Mon, Sep 16, 2019 at 10:15:16PM +0100, Will Deacon wrote: >On Sat, Sep 14, 2019 at 12:03:26AM +, Wei Yang wrote: >> On Mon, Jul 08, 2019 at 04:27:40PM +0800, Wei Yang wrote: >> >Since ptent will not be changed after previous assignment of entry, it >> >is not necessary to do the assignment a

Re: BUG: sleeping function called from invalid context in tcf_chain0_head_change_cb_del

2019-09-16 Thread Cong Wang
On Mon, Sep 16, 2019 at 4:39 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:1609d760 Merge tag 'for-linus' of git://git.kernel.org/pub.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=10236abe60 > kernel config:

Re: [PATCH v4 9/9] hugetlb_cgroup: Add hugetlb_cgroup reservation docs

2019-09-16 Thread shuah
On 9/10/19 5:31 PM, Mina Almasry wrote: Add docs for how to use hugetlb_cgroup reservations, and their behavior. Signed-off-by: Mina Almasry Acked-by: Hillf Danton --- .../admin-guide/cgroup-v1/hugetlb.rst | 84 --- 1 file changed, 73 insertions(+), 11 deletions(-)

  1   2   3   4   5   6   7   8   9   >