Re: [RFT v4 5/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos4412

2019-09-23 Thread Marek Szyprowski
On 23.09.2019 18:14, Krzysztof Kozlowski wrote: > Multi Core Timer node has interrupts routed to two different parents - > GIC and combiner. This was modeled with a interrupt-map within a > subnode but can be expressed in an easier and more common way, directly > in the node itself. > > Tested o

Re: [RFT v4 4/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos4210

2019-09-23 Thread Marek Szyprowski
On 23.09.2019 18:14, Krzysztof Kozlowski wrote: > Multi Core Timer node has interrupts routed to two different parents - > GIC and combiner. This was modeled with a interrupt-map within a > subnode but can be expressed in an easier and more common way, directly > in the node itself. > > Signed-o

Re: [RFT v4 6/8] ARM: dts: exynos: Remove MCT subnode for interrupt map on Exynos5250

2019-09-23 Thread Marek Szyprowski
On 23.09.2019 18:14, Krzysztof Kozlowski wrote: > Multi Core Timer node has interrupts routed to two different parents - > GIC and combiner. This was modeled with a interrupt-map within a > subnode but can be expressed in an easier and more common way, directly > in the node itself. > > Signed-o

Re: [RFC patch 00/15] entry: Provide generic implementation for host and guest entry/exit work

2019-09-23 Thread Christian Borntraeger
On 19.09.19 17:03, Thomas Gleixner wrote: > When working on a way to move out the posix cpu timer expiry out of the > timer interrupt context, I noticed that KVM is not handling pending task > work before entering a guest. A quick hack was to add that to the x86 KVM > handling loop. The discussi

[PATCH v1] seccomp: simplify secure_computing()

2019-09-23 Thread Christian Brauner
Afaict, the struct seccomp_data argument to secure_computing() is unused by all current callers. So let's remove it. The argument was added in [1]. It was added because having the arch supply the syscall arguments used to be faster than having it done by secure_computing() (cf. Andy's comment in [2

[PATCH v6 5/6] drm/i915/gvt: Deliver async primary plane page flip events at vblank

2019-09-23 Thread Tina Zhang
From: Kechen Lu Only sync primary plane page flip events are checked and delivered as the display refresh events before, this patch tries to deliver async primary page flip events bounded by vblanks. To deliver correct async page flip, the new async flip bitmap is introduced and in vblank emulat

[PATCH v6 3/6] drm/i915/gvt: Register vGPU display event irq

2019-09-23 Thread Tina Zhang
Gvt-g emulates and injects the vGPU's display interrupts in kernel space. However the dma-buf based framebuffer consumer in the user land (e.g. Qemu vfio/display) may also need to be notified by this event. Register the display irq as VFIO_IRQ_SUBTYPE_GFX_DISPLAY_IRQ to each vGPU, so that the disp

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

2019-09-23 Thread Justin He (Arm Technology China)
Hi Catalin Please see an important comment inline, thanks > -Original Message- > From: Catalin Marinas > Sent: 2019年9月24日 1:05 > To: Justin He (Arm Technology China) > Cc: Will Deacon ; Mark Rutland > ; James Morse ; Marc > Zyngier ; Matthew Wilcox ; Kirill A. > Shutemov ; linux-arm- > k

[PATCH v6 6/6] drm/i915/gvt: Add cursor plane reg update trap emulation handler

2019-09-23 Thread Tina Zhang
From: Kechen Lu This patch adds the cursor plane CURBASE reg update trap handler in order to: - Deliver the cursor refresh event at each vblank emulation, the flip_done_event bit check is supposed to do here. If cursor plane updates happen, deliver the cursor refresh events. - Support the sync

[PATCH v6 4/6] drm/i915/gvt: Deliver vGPU refresh event to userspace

2019-09-23 Thread Tina Zhang
Deliver the display refresh events to the user land. Userspace can use the irq mask/unmask mechanism to disable or enable the event delivery. As we know, delivering refresh event at each vblank safely avoids tearing and unexpected event overwhelming, but there are still spaces to optimize. For ha

[PATCH v6 1/6] vfio: Define device specific irq type capability

2019-09-23 Thread Tina Zhang
Cap the number of irqs with fixed indexes and use capability chains to chain device specific irqs. v2: - Irq capability index starts from 1. Signed-off-by: Tina Zhang Signed-off-by: Eric Auger --- include/uapi/linux/vfio.h | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(

[PATCH v6 0/6] Deliver vGPU display refresh event to userspace

2019-09-23 Thread Tina Zhang
This series sends the vGPU display refresh events to user land. A vGPU display IRQ is proposed to notify user space with all the display updates events. With this IRQ supported by vendor driver, user space can stop the display update timer and fully depend on getting the notification if an update

[PATCH v6 2/6] vfio: Introduce vGPU display irq type

2019-09-23 Thread Tina Zhang
Introduce vGPU specific irq type VFIO_IRQ_TYPE_GFX, and VFIO_IRQ_SUBTYPE_GFX_DISPLAY_IRQ as the subtype for vGPU display. Introduce vfio_irq_info_cap_display_plane_events capability to notify user space with the vGPU's plane update events v3: - Add more description to VFIO_IRQ_SUBTYPE_GFX_DISPLAY

Re: [PATCH 1/2] pwm: Add different PWM output types support

2019-09-23 Thread Uwe Kleine-König
On Mon, Sep 23, 2019 at 10:43:43PM -0700, Guru Das Srinagesh wrote: > On Mon, Sep 16, 2019 at 04:01:46PM +0200, Thierry Reding wrote: > > On Fri, Sep 13, 2019 at 03:57:43PM -0700, Guru Das Srinagesh wrote: > > > From: Fenglin Wu > > > > > > Normally, PWM channel has fixed output until software re

Re: [PATCH v4 0/2] Add an API for edac device, for mulriple errors

2019-09-23 Thread Robert Richter
On 23.09.19 20:17:39, Hanna Hawa wrote: > Add an API for EDAC device to report for multiple errors, and move the > old report function to use the new API. > > Changes from v3: > > - Move count check to inline function > - Fix count variable describtion > (Reported-by: kbuild tes

Re: [PATCH] seccomp: remove unused arg from secure_computing()

2019-09-23 Thread Christian Brauner
On Mon, Sep 23, 2019 at 11:41:59AM -0700, Andy Lutomirski wrote: > On Mon, Sep 23, 2019 at 2:49 AM Borislav Petkov wrote: > > > > On Fri, Sep 20, 2019 at 03:19:09PM +0200, Christian Brauner wrote: > > > While touching seccomp code I realized that the struct seccomp_data > > > argument to secure_co

[PATCH 1/2] mailmap: add new email address for Martin Kepplinger

2019-09-23 Thread Martin Kepplinger
Include my new email address for tracking my contributions. Signed-off-by: Martin Kepplinger --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index edcac87e76c8..70105bb57650 100644 --- a/.mailmap +++ b/.mailmap @@ -151,6 +151,7 @@ Mark Brown Mark Yao Mar

[PATCH 2/2] CREDITS: update email address for Martin Kepplinger

2019-09-23 Thread Martin Kepplinger
Employers change - Linux stays. Also, add my (long time valid) GPG key fingerprint to the contact details. Signed-off-by: Martin Kepplinger --- CREDITS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CREDITS b/CREDITS index 8b67a85844b5..53c556a0c54e 100644 --- a/CREDITS ++

Re: [PATCH] seccomp: remove unused arg from secure_computing()

2019-09-23 Thread Christian Brauner
On Mon, Sep 23, 2019 at 09:34:46PM +0200, Borislav Petkov wrote: > On Mon, Sep 23, 2019 at 11:41:59AM -0700, Andy Lutomirski wrote: > > On Mon, Sep 23, 2019 at 2:49 AM Borislav Petkov wrote: > > > > > > On Fri, Sep 20, 2019 at 03:19:09PM +0200, Christian Brauner wrote: > > > > While touching secco

Re: Ben sent 132 patches and Sasa sent 203 patches..woohooo!

2019-09-23 Thread Bhaskar Chowdhury
On 07:52 Tue 24 Sep 2019, Willy Tarreau wrote: On Tue, Sep 24, 2019 at 11:00:06AM +0530, Bhaskar Chowdhury wrote: Is this kind of heaving patching done before?? I can't recollect. Yes it's being done, and quite frankly Bhaskar, this e-mail as well as all your other automated ones ("thanks a bu

Re: [PATCH] staging: rtl8188eu: remove dead code in do-while conditional step

2019-09-23 Thread Dan Carpenter
On Mon, Sep 23, 2019 at 03:38:39PM -0500, Larry Finger wrote: > This patch is correct; however, the do..while loop will always be executed s/correct/harmless/. > once, thus you could remove the loop and the loop variable bcmd_down. > > @greg: If you would prefer a two-step process, then this one

RE: [PATCH v2] thermal: qoriq: add thermal monitor unit version 2 support

2019-09-23 Thread Anson Huang
> -Original Message- > From: Yuantian Tang > Sent: Tuesday, September 24, 2019 11:17 AM > To: edubez...@gmail.com; rui.zh...@intel.com; Anson Huang > > Cc: daniel.lezc...@linaro.org; Leo Li ; linux- > p...@vger.kernel.org; linux-kernel@vger.kernel.org; Andy Tang > > Subject: [PATCH v2]

Re: [PATCH] staging: rtl8188eu: remove dead code in do-while conditional step

2019-09-23 Thread Dan Carpenter
On Mon, Sep 23, 2019 at 12:48:06PM -0700, Connor Kuehl wrote: > @@ -103,7 +102,7 @@ static s32 FillH2CCmd_88E(struct adapter *adapt, u8 > ElementID, u32 CmdLen, u8 *p > adapt->HalData->LastHMEBoxNum = > (h2c_box_num+1) % RTL88E_MAX_H2C_BOX_NUMS; > > - } wh

RE: [PATCH] scsi: qedf: Add port_id getter

2019-09-23 Thread Saurav Kashyap
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org On > Behalf Of Daniel Wagner > Sent: Monday, September 23, 2019 4:08 PM > To: qlogic-storage-upstr...@cavium.com > Cc: linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org; Daniel Wagner > > Subject: [PATCH] scsi: qedf: A

Re: [PATCH 1/2] pwm: Add different PWM output types support

2019-09-23 Thread Guru Das Srinagesh
On Mon, Sep 16, 2019 at 08:25:24PM +0200, Uwe Kleine-König wrote: > Hello, > > On Fri, Sep 13, 2019 at 03:57:43PM -0700, Guru Das Srinagesh wrote: > > From: Fenglin Wu > > > > Normally, PWM channel has fixed output until software request to change > > its settings. There are some PWM devices whi

[v2] mtd: rawnand: Change calculating of position page containing BBM

2019-09-23 Thread Piotr Sroka
Change calculating of position page containing BBM If none of BBM flags are set then function nand_bbm_get_next_page reports EINVAL. It causes that BBM is not read at all during scanning factory bad blocks. The result is that the BBT table is build without checking factory BBM at all. For Micron

Re: [PATCH v7 00/12] implement KASLR for powerpc/fsl_booke/32

2019-09-23 Thread Jason Yan
Hi Scott, Can you test v7 to see if it works to load a kernel at a non-zero address? Thanks, On 2019/9/20 17:45, Jason Yan wrote: This series implements KASLR for powerpc/fsl_booke/32, as a security feature that deters exploit attempts relying on knowledge of the location of kernel internals.

Re: Ben sent 132 patches and Sasa sent 203 patches..woohooo!

2019-09-23 Thread Willy Tarreau
On Tue, Sep 24, 2019 at 11:00:06AM +0530, Bhaskar Chowdhury wrote: > Is this kind of heaving patching done before?? I can't recollect. Yes it's being done, and quite frankly Bhaskar, this e-mail as well as all your other automated ones ("thanks a bunch") after each and every release do not bring a

Re: [PATCH 1/2] pwm: Add different PWM output types support

2019-09-23 Thread Guru Das Srinagesh
On Mon, Sep 16, 2019 at 04:01:46PM +0200, Thierry Reding wrote: > On Fri, Sep 13, 2019 at 03:57:43PM -0700, Guru Das Srinagesh wrote: > > From: Fenglin Wu > > > > Normally, PWM channel has fixed output until software request to change > > its settings. There are some PWM devices which their outpu

[RESEND v7 1/2] media: venus: Add codec data table

2019-09-23 Thread Aniket Masule
Add vpp cycles for different types of codec. It indicates the cycles required by video hardware to process each macroblock. Add vsp cycles, cycles required by stream processor. Initialize the codec data with core resources. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/core.

[RESEND v7 2/2] media: venus: Update clock scaling

2019-09-23 Thread Aniket Masule
Current clock scaling calculations are same for vpu4 and previous versions. For vpu4, Clock scaling calculations are updated with cycles/mb and bitrate. This helps in getting precise clock required. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/helpers.c | 157 ++

[RESEND v7 0/2]media: venus: Update clock scaling

2019-09-23 Thread Aniket Masule
In this patch series, clock scaling and core selection methods are updated. Current clock scaling is same for vpu4 and previous versions. Introducing load calculations using vpp cycles, which indicates the cycles required by video hardware to process each macroblock. Also adding vsp cycles, cycles

Ben sent 132 patches and Sasa sent 203 patches..woohooo!

2019-09-23 Thread Bhaskar Chowdhury
Is this kind of heaving patching done before?? I can't recollect. Thanks, Bhaskar signature.asc Description: PGP signature

Re: [PATCH V7 0/2] mailbox: arm: introduce smc triggered mailbox

2019-09-23 Thread André Przywara
On 23/09/2019 07:36, Peng Fan wrote: Hi Peng, thanks for the update! > From: Peng Fan > > V7: > Typo fix > #mbox-cells changed to 0 > Add a new header file arm-smccc-mbox.h > Use ARM_SMCCC_IS_64 > > Andre, > The function_id is still kept in arm_smccc_mbox_cmd, because arm,func-id > property

Re: [PATCH] ARM: don't export unused return_address()

2019-09-23 Thread Masahiro Yamada
On Sat, Sep 7, 2019 at 12:47 AM Arnd Bergmann wrote: > > Without the frame pointer enabled, return_address() is an inline > function and does not need to be exported, as shown by this warning: > > WARNING: "return_address" [vmlinux] is a static EXPORT_SYMBOL_GPL > > Move the EXPORT_SYMBOL_GPL() in

Re: [PATCH v7 10/21] RISC-V: KVM: Handle MMIO exits for VCPU

2019-09-23 Thread Anup Patel
On Mon, Sep 23, 2019 at 7:03 PM Paolo Bonzini wrote: > > On 23/09/19 15:09, Anup Patel wrote: > >>> +#ifndef CONFIG_RISCV_ISA_C > >>> + "li %[tilen], 4\n" > >>> +#else > >>> + "li %[tilen], 2\n" > >>> +#endif > >> > >> Can you use an assembler directive to f

Re: general protection fault in xsk_map_update_elem

2019-09-23 Thread Björn Töpel
On 2019-09-24 00:50, Daniel Borkmann wrote: On Mon, Sep 23, 2019 at 08:49:11AM -0700, syzbot wrote: Hello, syzbot found the following crash on: HEAD commit:b41dae06 Merge tag 'xfs-5.4-merge-7' of git://git.kernel.o.. git tree: net-next console output: https://syzkaller.appspot.com/x/

Re: [PATCH] base: soc: Export soc_device_to_device API

2019-09-23 Thread Greg KH
On Mon, Sep 23, 2019 at 02:35:33PM -0700, mnala...@codeaurora.org wrote: > On 2019-09-19 23:10, Greg KH wrote: > > On Thu, Sep 19, 2019 at 08:36:51PM -0700, Bjorn Andersson wrote: > > > On Thu 19 Sep 15:45 PDT 2019, Greg KH wrote: > > > > > > > On Thu, Sep 19, 2019 at 03:40:17PM -0700, Bjorn Ander

[PATCH RESEND] gen-insn-attr-x86.awk: Fix regexp warnings

2019-09-23 Thread Alexander Kapshuk
gawk 5.0.1 generates the regexp warnings shown below: GEN /home/sasha/torvalds/tools/objtool/arch/x86/lib/inat-tables.c awk: ../arch/x86/tools/gen-insn-attr-x86.awk:260: warning: regexp escape sequence `\:' is not a known regexp operator awk: ../arch/x86/tools/gen-insn-attr-x86.awk:350: (FIL

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

2019-09-23 Thread Anshuman Khandual
On 09/23/2019 04:24 PM, David Hildenbrand wrote: > On 23.09.19 12:52, Michal Hocko wrote: >> On Mon 16-09-19 11:17:37, Anshuman Khandual wrote: >>> In add_memory_resource() the memory range to be hot added first gets into >>> the memblock via memblock_add() before arch_add_memory() is called on

[rcu:dev.2019.09.23a 50/77] kernel//rcu/update.c:871:3: note: in expansion of macro 'kfree_rcu'

2019-09-23 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.09.23a head: 97de53b94582c208ee239178b208b8e8b9472585 commit: 89538f9f8dda5e7738d71f179f9321740b680734 [50/77] rcu: Add crude self-test for early boot kfree_rcu() config: sparc64-allmodconfig (attac

linux-kernel@vger.kernel.org

2019-09-23 Thread Ran Wang
Hi Alan, On Monday, September 23, 2019 23:01, Alan Stern wrote: > > On Mon, 23 Sep 2019, Ran Wang wrote: > > > USB 2.0 Embedded Host PET Automated Test (CH6) 6.7.23 A-UUT > > "Unsupported Device" Message require to stop enumerating device with > > VID=0x1a0a PID=0x0201 and pop message to declare

Re: [GIT PULL] SafeSetID LSM changes for 5.4

2019-09-23 Thread Micah Morton
On Mon, Sep 23, 2019 at 5:45 PM Linus Torvalds wrote: > > On Mon, Sep 23, 2019 at 4:35 PM James Morris > wrote: > > > > My understanding is that SafeSetID is shipping in ChromeOS -- this was > > part of the rationale for merging it. > > Well, if even the developer didn't test it for two months,

RE: [PATCH v2] usb: dwc3: enable otg mode for dwc3 usb ip on layerscape

2019-09-23 Thread Yinbo Zhu
Hi, Change in v2: move the otg property from dtsi to dts. Regards, Yinbo Zhu. -Original Message- From: Yinbo Zhu Sent: 2019年9月24日 11:29 To: Shawn Guo ; Leo Li ; Rob Herring ; Mark Rutland Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei Pan ; Ran Wang ; linux-arm

Re: [PATCH 1/1] PCI: iproc: Invalidate PAXB address mapping before programming it

2019-09-23 Thread Abhishek Shah
Hi Bjorn/Lorenzo, Can you please help review this patch? Regards, Abhishek On Fri, Sep 6, 2019 at 7:41 PM Abhishek Shah wrote: > > Hi Andrew, > > > On Fri, Sep 6, 2019 at 3:31 PM Andrew Murray wrote: > > > > On Fri, Sep 06, 2019 at 02:55:19PM +0530, Abhishek Shah wrote: > > > Hi Andrew, > >

[PATCH v2] usb: dwc3: enable otg mode for dwc3 usb ip on layerscape

2019-09-23 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 ---

[PATCH v2] thermal: qoriq: add thermal monitor unit version 2 support

2019-09-23 Thread Yuantian Tang
Thermal Monitor Unit v2 is introduced on new Layscape SoC. Compared to v1, TMUv2 has a little different register layout and digital output is fairly linear. Signed-off-by: Yuantian Tang --- v2: - refine the code: remove redundant variable, rename variable etc. drivers/thermal/qoriq_ther

linux-kernel@vger.kernel.org

2019-09-23 Thread Ran Wang
Hi Greg, On Monday, September 23, 2019 19:07, Greg Kroah-Hartman wrote: > > On Mon, Sep 23, 2019 at 06:51:02PM +0800, Ran Wang wrote: > > USB 2.0 Embedded Host PET Automated Test (CH6) 6.7.23 A-UUT > > "Unsupported Device" Message require to stop enumerating device with > > VID=0x1a0a PID=0x0201

Re: [PATCH V8 2/2] mailbox: introduce ARM SMC based mailbox

2019-09-23 Thread kbuild test robot
Hi Peng, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190920] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the ba

Re: [PATCH v4 05/10] mm: Return faster for non-fatal signals in user mode faults

2019-09-23 Thread Peter Xu
On Mon, Sep 23, 2019 at 07:54:47PM -0700, Matthew Wilcox wrote: > On Tue, Sep 24, 2019 at 10:47:21AM +0800, Peter Xu wrote: > > On Mon, Sep 23, 2019 at 11:03:49AM -0700, Linus Torvalds wrote: > > > On Sun, Sep 22, 2019 at 9:26 PM Peter Xu wrote: > > > > > > > > This patch is a preparation of remov

RE: [PATCH v5 2/3] dmaengine: imx-sdma: fix dma freezes

2019-09-23 Thread Robin Gong
On 2019-9-23 21:58 Philipp Puschmann wrote: > For some years and since many kernel versions there are reports that the RX > UART SDMA channel stops working at some point. The workaround was to > disable DMA for RX. This commit fixes the problem itself. Cyclic DMA transfers > are used by uart and o

RE: [EXT] Re: [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts

2019-09-23 Thread Yinbo Zhu
Hi Shawn Guo, I see that you had merged my patch, but I don't see that in url = git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git master branch. Please help check. Regards, Yinbo Zhu -Original Message- From: Shawn Guo Sent: 2019年8月19日 21:11 To: Yinbo Zhu Cc: Leo Li ; R

Re: [PATCH V8 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-23 Thread Florian Fainelli
On 9/23/2019 6:14 PM, Peng Fan wrote: > From: Peng Fan > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > actions in software layers running in the EL2 or EL3 exception levels. > The term "ARM" here relates to the SMC instruction as part of the ARM > instruction se

[PATCH] remoteproc: debug: Remove unneeded NULL check

2019-09-23 Thread Ding Xiang
debugfs_remove_recursive will do NULL check, so remove the redundant null check Signed-off-by: Ding Xiang --- drivers/remoteproc/remoteproc_debugfs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c index 8cd

Re: [PATCH -next] scsi: hisi_sas: Make three functions static

2019-09-23 Thread Martin K. Petersen
YueHaibing, > Fix sparse warnings: > > drivers/scsi/hisi_sas/hisi_sas_main.c:3686:6: > warning: symbol 'hisi_sas_debugfs_release' was not declared. Should it be > static? > drivers/scsi/hisi_sas/hisi_sas_main.c:3708:5: > warning: symbol 'hisi_sas_debugfs_alloc' was not declared. Should it be

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

2019-09-23 Thread Biwen Li
The patch fix a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- Change in v3: - update property name fsl,rcpm-scfg -> fsl,ippdexpcr-alt-addr Change in v2: - None arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 file changed

[v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-23 Thread Biwen Li
The 'fsl,ippdexpcr-alt-addr' property is used to handle an errata A-008646 on LS1021A Signed-off-by: Biwen Li --- Change in v3: - rename property name fsl,rcpm-scfg -> fsl,ippdexpcr-alt-addr Change in v2: - update desc of the property 'fsl,rcpm-scfg' Documentation/dev

[v3,1/3] soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

2019-09-23 Thread Biwen Li
Description: - Reading configuration register RCPM_IPPDEXPCR1 always return zero Workaround: - Save register RCPM_IPPDEXPCR1's value to register SCFG_SPARECR8.(uboot's psci also need reading value from the register SCFG_SPARECR8 to set regist

Re: [PATCH 14/17] KVM: monolithic: x86: inline more exit handlers in vmx.c

2019-09-23 Thread Andrea Arcangeli
On Mon, Sep 23, 2019 at 09:55:27PM -0400, Andrea Arcangeli wrote: > This commit I reverted adds literally 3 inlines called by 3 functions, > in a very fast path, how many bytes of .text difference did you expect > by dropping some call/ret from a very fast path when you asked me to > test it? I mea

RE: [PATCH V8 2/2] mailbox: introduce ARM SMC based mailbox

2019-09-23 Thread Peng Fan
Hi Florian > Subject: Re: [PATCH V8 2/2] mailbox: introduce ARM SMC based mailbox > > Hi Peng, > > On 9/23/2019 6:14 PM, Peng Fan wrote: > > From: Peng Fan > > > > This mailbox driver implements a mailbox which signals transmitted > > data via an ARM smc (secure monitor call) instruction. The m

Re: [PATCH v4 05/10] mm: Return faster for non-fatal signals in user mode faults

2019-09-23 Thread Matthew Wilcox
On Tue, Sep 24, 2019 at 10:47:21AM +0800, Peter Xu wrote: > On Mon, Sep 23, 2019 at 11:03:49AM -0700, Linus Torvalds wrote: > > On Sun, Sep 22, 2019 at 9:26 PM Peter Xu wrote: > > > > > > This patch is a preparation of removing that special path by allowing > > > the page fault to return even fast

Re: [Patch v4] storvsc: setup 1:1 mapping between hardware queue and CPU queue

2019-09-23 Thread Martin K. Petersen
Long, > storvsc doesn't use a dedicated hardware queue for a given CPU > queue. When issuing I/O, it selects returning CPU (hardware queue) > dynamically based on vmbus channel usage across all channels. Applied to 5.4/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH v5 5/6] platform/x86: huawei-wmi: Add fn-lock support

2019-09-23 Thread Ayman Bagabas
Huawei Matebook laptops uses Fn key and toggle to access F1-F12 keys. Along with that, there is this feature called fn-lock that inverts the behavior of this Fn key and the F1-F12 row. Signed-off-by: Ayman Bagabas --- drivers/platform/x86/huawei-wmi.c | 85 +++ 1 file

[PATCH] pinctrl: cherryview: restore Strago DMI workaround for all versions

2019-09-23 Thread Dmitry Torokhov
This is essentially a revert of: e3f72b749da2 pinctrl: cherryview: fix Strago DMI workaround 86c5dd6860a6 pinctrl: cherryview: limit Strago DMI workarounds to version 1.0 because even with 1.1 versions of BIOS there are some pins that are configured as interrupts but not claimed by any driver, an

[PATCH v5 6/6] platform/x86: huawei-wmi: Add debugfs support

2019-09-23 Thread Ayman Bagabas
Add a debugfs interface that can be used to call the WMI management interface function if available. Signed-off-by: Ayman Bagabas --- drivers/platform/x86/huawei-wmi.c | 97 +++ 1 file changed, 97 insertions(+) diff --git a/drivers/platform/x86/huawei-wmi.c b/driver

[PATCH v5 4/6] platform/x86: huawei-wmi: Add battery charging thresholds

2019-09-23 Thread Ayman Bagabas
Control battery charge thresholds through the battery API and driver's attributes. Setting battery charging thresholds can introduce a race condition with MACH-WX9 where two or more threads are trying to read/write values from/to EC memory. Signed-off-by: Ayman Bagabas --- drivers/platform/x86/

[PATCH v5 1/6] platform/x86: huawei-wmi: Move to platform driver

2019-09-23 Thread Ayman Bagabas
Move from WMI driver to platform driver. This move is necessary since the driver is no longer a hotkeys driver only. Platform driver makes it easier for users to access sysfs attributes under (i.e. /sys/devices/platform/huawei-wmi) compared to wmi driver. Use WMI device UID, AMW0 has a UID of HWMI

[PATCH v5 0/6] platform/x86: Huawei WMI laptop extras driver

2019-09-23 Thread Ayman Bagabas
Changes in v5: * Fix a possible buffer overflow error. Changes in v4: * Use int and bint for module params. Changes in v3: * Kconfig changes * Fix NULL cast to int warning. * Add ACPI_BATTERY as a dependency. Changes in v2: * Use battery charge control API. This patch series introduce changes t

[PATCH v5 2/6] platform/x86: huawei-wmi: Add quirks and module parameters

2019-09-23 Thread Ayman Bagabas
Introduce quirks and module parameters. 3 quirks are added: 1. Fixes reporting brightness keys twice since it's already handled by acpi-video. 2. Some models need a short delay when setting battery thresholds to prevent a race condition when two processes read/write. (will be used later) 3. M

[PATCH v5 3/6] platform/x86: huawei-wmi: Implement huawei wmi management

2019-09-23 Thread Ayman Bagabas
Huawei Matebook laptops come with a WMI management interface that can control various aspects of the device. This interface is also found on the old Matebook X released in 2017. Use that to control the mic mute LED. Signed-off-by: Ayman Bagabas --- drivers/platform/x86/huawei-wmi.c | 217 ++

Re: [PATCH V8 2/2] mailbox: introduce ARM SMC based mailbox

2019-09-23 Thread Florian Fainelli
Hi Peng, On 9/23/2019 6:14 PM, Peng Fan wrote: > From: Peng Fan > > This mailbox driver implements a mailbox which signals transmitted data > via an ARM smc (secure monitor call) instruction. The mailbox receiver > is implemented in firmware and can synchronously return data when it > returns ex

Re: [PATCH v4 05/10] mm: Return faster for non-fatal signals in user mode faults

2019-09-23 Thread Peter Xu
On Mon, Sep 23, 2019 at 11:03:49AM -0700, Linus Torvalds wrote: > On Sun, Sep 22, 2019 at 9:26 PM Peter Xu wrote: > > > > This patch is a preparation of removing that special path by allowing > > the page fault to return even faster if we were interrupted by a > > non-fatal signal during a user-mo

Re: [GIT PULL] Backlight for v5.4

2019-09-23 Thread pr-tracker-bot
The pull request you sent on Tue, 24 Sep 2019 00:05:54 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git > tags/backlight-next-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d0b3cfee333eb7eecb6ce72f06f5a02d249b9bdf Thank you! -- Deet-doot

Re: [GIT PULL] MFD for v5.4

2019-09-23 Thread pr-tracker-bot
The pull request you sent on Tue, 24 Sep 2019 00:08:48 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git mfd-next-5.4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4c07e2ddab5b6b57dbcb09aedbda1f484d5940cc Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] PCI changes for v5.4

2019-09-23 Thread pr-tracker-bot
The pull request you sent on Mon, 23 Sep 2019 17:58:22 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > tags/pci-v5.4-changes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/299d14d4c31aff3b37a03894e012edf8421676ee Thank you! -- Deet-doot-dot

[RESEND PATCH RFC] rtc: Fix the AltCentury value on AMD/Hygon platform

2019-09-23 Thread Jinke Fan
When using following operations: date -s "21190910 19:20:00" hwclock -w to change date from 2019 to 2119 for test, it will fail on Hygon Dhyana and AMD Zen CPUs, while the same operations run ok on Intel i7 platform. MC146818 driver use function mc146818_set_time() to set register RTC_FREQ_SELECT(

Re: [PATCH] scsi: qedf: Remove always false 'tmp_prio < 0' statement

2019-09-23 Thread Martin K. Petersen
Austin, > Since tmp_prio is declared as u8, the following statement is always false. >tmp_prio < 0 > > So remove 'always false' statement. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH v4 09/11] PCI: layerscape: Add EP mode support for ls1088a and ls2088a

2019-09-23 Thread Xiaowei Bao
Add PCIe EP mode support for ls1088a and ls2088a, there are some difference between LS1 and LS2 platform, so refactor the code of the EP driver. Signed-off-by: Xiaowei Bao --- v2: - This is a new patch for supporting the ls1088a and ls2088a platform. v3: - Adjust the some struct assignment ord

[PATCH v4 10/11] arm64: dts: layerscape: Add PCIe EP node for ls1088a

2019-09-23 Thread Xiaowei Bao
Add PCIe EP node for ls1088a to support EP mode. Signed-off-by: Xiaowei Bao --- v2: - Remove the pf-offset proparty. v3: - No change. v4: - No change. arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 31 ++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/bo

[PATCH v4 02/11] PCI: designware-ep: Add the doorbell mode of MSI-X in EP mode

2019-09-23 Thread Xiaowei Bao
Add the doorbell mode of MSI-X in DWC EP driver. Signed-off-by: Xiaowei Bao Reviewed-by: Andrew Murray --- v2: - Remove the macro of no used. v3: - No change. v4: - Modify the commit message. drivers/pci/controller/dwc/pcie-designware-ep.c | 14 ++ drivers/pci/controller/dwc/pci

[PATCH v4 01/11] PCI: designware-ep: Add multiple PFs support for DWC

2019-09-23 Thread Xiaowei Bao
Add multiple PFs support for DWC, due to different PF have different config space, we use func_conf_select callback function to access the different PF's config space, the different chip company need to implement this callback function when use the DWC IP core and intend to support multiple PFs fea

[PATCH v4 03/11] PCI: designware-ep: Move the function of getting MSI capability forward

2019-09-23 Thread Xiaowei Bao
Move the function of getting MSI capability to the front of init function, because the init function of the EP platform driver will use the return value by the function of getting MSI capability. Signed-off-by: Xiaowei Bao Reviewed-by: Andrew Murray --- v2: - No change. v3: - No change. v4: -

[PATCH v4 04/11] PCI: designware-ep: Modify MSI and MSIX CAP way of finding

2019-09-23 Thread Xiaowei Bao
Each PF of EP device should have it's own MSI or MSIX capabitily struct, so create a dw_pcie_ep_func struct and remove the msi_cap and msix_cap to this struct from dw_pcie_ep, and manage the PFs with a list. Signed-off-by: Xiaowei Bao --- v3: - This is a new patch, to fix the issue of MSI and MS

[PATCH v4 00/11] Add the multiple PF support for DWC and Layerscape

2019-09-23 Thread Xiaowei Bao
Add the PCIe EP multiple PF support for DWC and Layerscape, add the doorbell MSIX function for DWC, use list to manage the PF of one PCIe controller, and refactor the Layerscape EP driver due to some platforms difference. Xiaowei Bao (11): PCI: designware-ep: Add multiple PFs support for DWC P

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

2019-09-23 Thread Xiaowei Bao
Add LS1088a in pci_device_id table so that pci-epf-test can be used for testing PCIe EP in LS1088a. Signed-off-by: Xiaowei Bao --- v2: - No change. v3: - No change. v4: - Use a maco to define the LS1088a device ID. drivers/misc/pci_endpoint_test.c | 2 ++ 1 file changed, 2 insertions(+) di

[PATCH v4 07/11] PCI: layerscape: Modify the way of getting capability with different PEX

2019-09-23 Thread Xiaowei Bao
The different PCIe controller in one board may be have different capability of MSI or MSIX, so change the way of getting the MSI capability, make it more flexible. Signed-off-by: Xiaowei Bao --- v2: - Remove the repeated assignment code. v3: - Use ep_func msi_cap and msix_cap to decide the msi_

[PATCH v4 08/11] PCI: layerscape: Modify the MSIX to the doorbell mode

2019-09-23 Thread Xiaowei Bao
dw_pcie_ep_raise_msix_irq was never called in the exisitng driver before, because the ls1046a platform don't support the MSIX feature and msix_capable was always set to false. Now that add the ls1088a platform with MSIX support, but the existing dw_pcie_ep_raise_msix_irq doesn't work, so use the do

[PATCH v4 06/11] PCI: layerscape: Fix some format issue of the code

2019-09-23 Thread Xiaowei Bao
Fix some format issue of the code in EP driver. Signed-off-by: Xiaowei Bao Reviewed-by: Andrew Murray --- v2: - No change. v3: - No change. v4: - No change. drivers/pci/controller/dwc/pci-layerscape-ep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/con

[PATCH v4 05/11] dt-bindings: pci: layerscape-pci: Add compatible strings for ls1088a and ls2088a

2019-09-23 Thread Xiaowei Bao
Add compatible strings for ls1088a and ls2088a. Signed-off-by: Xiaowei Bao --- v2: - No change. v3: - Use one valid combination of compatible strings. v4: - Add the comma between the two compatible. Documentation/devicetree/bindings/pci/layerscape-pci.txt | 2 ++ 1 file changed, 2 insertions

[rcu:dev.2019.09.23a 61/77] htmldocs: kernel/rcu/tree.c:2706: warning: Function parameter or member 'krcp' not described in 'kfree_rcu_cpu_work'

2019-09-23 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.09.23a head: 97de53b94582c208ee239178b208b8e8b9472585 commit: 3cc794ad18bfc6e46d58411b53f2784388d5bb85 [61/77] rcu: Add multiple in-flight batches of kfree_rcu() work reproduce: make htmldocs If yo

Re: [PATCH v3 18/26] scsi: pm80xx: Use PCI_STD_NUM_BARS

2019-09-23 Thread Martin K. Petersen
Denis, > Replace the magic constant (6) with define PCI_STD_NUM_BARS > representing the number of PCI BARs. Applied to 5.4/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[rcu:dev.2019.09.23a 65/77] kernel//rcu/tree.c:2770:3: error: implicit declaration of function 'kfree'; did you mean 'kvfree'?

2019-09-23 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.09.23a head: 97de53b94582c208ee239178b208b8e8b9472585 commit: 06b68648e6084488b79de47a2cfa307a1b9668b9 [65/77] rcu: Remove kfree_rcu() special casing and lazy-callback handling config: x86_64-randco

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

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

Re: WARNING: locking bug in selinux_netlbl_socket_connect

2019-09-23 Thread Paul Moore
On Sat, Sep 21, 2019 at 11:50 AM syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:f97c81dc Merge tag 'armsoc-late' of git://git.kernel.org/p.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=127b709d60 > kernel config:

RE: [PATCH] thermal: qoriq: add thermal monitor unit version 2 support

2019-09-23 Thread Andy Tang
Hi Anson, Points are taken. Will send out the next version. Thanks, Andy > -Original Message- > From: Anson Huang > Sent: 2019年9月24日 10:11 > To: Andy Tang ; Zhang Rui ; > edubez...@gmail.com > Cc: daniel.lezc...@linaro.org; Leo Li ; > linux...@vger.kernel.org; linux-kernel@vger.kernel.or

RE: [PATCH] thermal: qoriq: add thermal monitor unit version 2 support

2019-09-23 Thread Anson Huang
Hi, Andy > Subject: RE: [PATCH] thermal: qoriq: add thermal monitor unit version 2 > support > > Hi Anson, > > Thanks for your review. Please see my reply inline. > > > -Original Message- > > From: Anson Huang > > Sent: 2019年9月24日 9:17 > > To: Zhang Rui ; Andy Tang ; > > edubez...@gmail

[WTF?] aafs_create_symlink() weirdness

2019-09-23 Thread Al Viro
static struct dentry *aafs_create_symlink(const char *name, struct dentry *parent, const char *target, void *private, const struc

RE: [PATCH] thermal: qoriq: add thermal monitor unit version 2 support

2019-09-23 Thread Andy Tang
Hi Anson, Thanks for your review. Please see my reply inline. > -Original Message- > From: Anson Huang > Sent: 2019年9月24日 9:17 > To: Zhang Rui ; Andy Tang ; > edubez...@gmail.com > Cc: daniel.lezc...@linaro.org; Leo Li ; > linux...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject:

[no subject]

2019-09-23 Thread Mr/Mrs Frances. Patrick
-- One million two hundred thousand euros (1,200,000 €) has been donated to you by Frances and Patrick Connolly, we are from County Armagh in Northern Ireland, We won the EuroMillions lottery jackpot of 115 million euros. Email us for more details: frances.connoll...@gmail.com

Re: [PATCH 14/17] KVM: monolithic: x86: inline more exit handlers in vmx.c

2019-09-23 Thread Andrea Arcangeli
On Tue, Sep 24, 2019 at 03:25:34AM +0200, Paolo Bonzini wrote: > On 24/09/19 03:00, Andrea Arcangeli wrote: > > Before and after this specific commit there is a difference with gcc 8.3. > > > > full patchset applied > > > > 753699 879719616 851286 cfd56 build/arch/x86/kvm/kvm-intel.ko >

  1   2   3   4   5   6   7   8   >