Re: [PATCH 1/1] watchdog: remove unneeded inclusion of

2020-10-13 Thread Leizhen (ThunderTown)
On 2020/9/8 11:34, Leizhen (ThunderTown) wrote: > > > On 2020/9/8 10:40, Guenter Roeck wrote: >> On 9/7/20 12:50 AM, Leizhen (ThunderTown) wrote: >>> Hi, Wim Van Sebroeck, Guenter Roeck: >>> What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago. >>> >> >> The patch is in my wa

[RFC v2 2/7] KVM: VMX: Expose IA32_PKRS MSR

2020-10-13 Thread Chenyi Qiang
Protection Keys for Supervisor Pages (PKS) uses IA32_PKRS MSR (PKRS) at index 0x6E1 to allow software to manage supervisor protection key rights. For performance consideration, PKRS intercept will be disabled so that the guest can access the PKRS without VM exits. PKS introduces dedicated control f

[RFC v2 3/7] KVM: MMU: Rename the pkru to pkr

2020-10-13 Thread Chenyi Qiang
PKRU represents the PKU register utilized in the protection key rights check for user pages. Protection Keys for Superviosr Pages (PKS) extends the protection key architecture to cover supervisor pages. Rename the *pkru* related variables and functions to *pkr* which stands for both of the PKRU an

[kvm-unit-tests PATCH] x86: Add tests for PKS

2020-10-13 Thread Chenyi Qiang
This unit-test is intended to test the KVM support for Protection Keys for Supervisor Pages (PKS). If CR4.PKS is set in long mode, supervisor pkeys are checked in addition to normal paging protections and Access or Write can be disabled via a MSR update without TLB flushes when permissions change.

[RFC v2 7/7] KVM: VMX: Enable PKS for nested VM

2020-10-13 Thread Chenyi Qiang
PKS MSR passes through guest directly. Configure the MSR to match the L0/L1 settings so that nested VM runs PKS properly. Signed-off-by: Chenyi Qiang --- arch/x86/kvm/vmx/nested.c | 37 +++-- arch/x86/kvm/vmx/vmcs12.c | 2 ++ arch/x86/kvm/vmx/vmcs12.h | 6 +-

[RFC v2 4/7] KVM: MMU: Refactor pkr_mask to cache condition

2020-10-13 Thread Chenyi Qiang
pkr_mask bitmap indicates if protection key checks are needed for user pages currently. It is indexed by page fault error code bits [4:1] with PFEC.RSVD replaced by the ACC_USER_MASK from the page tables. Refactor it by reverting to the use of PFEC.RSVD. After that, PKS and PKU can share the same b

[RFC v2 1/7] KVM: VMX: Introduce PKS VMCS fields

2020-10-13 Thread Chenyi Qiang
PKS(Protection Keys for Supervisor Pages) is a feature that extends the Protection Key architecture to support thread-specific permission restrictions on supervisor pages. A new PKS MSR(PKRS) is defined in kernel to support PKS, which holds a set of permissions associated with each protection domi

[RFC v2 0/7] KVM: PKS Virtualization support

2020-10-13 Thread Chenyi Qiang
Protection Keys for Supervisor Pages(PKS) is a feature that extends the Protection Keys architecture to support thread-specific permission restrictions on supervisor pages. PKS works similar to an existing feature named PKU(protecting user pages). They both perform an additional check after all le

[RFC v2 5/7] KVM: MMU: Add support for PKS emulation

2020-10-13 Thread Chenyi Qiang
Advertise pkr_mask to cache the conditions where pretection key checks for supervisor pages are needed. When the accessed pages are those with a translation for which the U/S flag is 0 in at least one paging-structure entry controlling the translation, they are the supervisor pages and PKRS enforce

[RFC v2 6/7] KVM: X86: Expose PKS to guest and userspace

2020-10-13 Thread Chenyi Qiang
Existence of PKS is enumerated via CPUID.(EAX=7H,ECX=0):ECX[31]. It is enabled by setting CR4.PKS when long mode is active. PKS is only implemented when EPT is enabled and requires the support of VM_{ENTRY, EXIT}_LOAD_IA32_PKRS currently. Signed-off-by: Chenyi Qiang --- arch/x86/include/asm/kvm_

Re: [PATCH v2 2/3] dt-bindings: clock: Add YAML schemas for the QCOM Camera clock bindings.

2020-10-13 Thread Stephen Boyd
Quoting Taniya Das (2020-10-13 10:11:49) > diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml > b/Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml > new file mode 100644 > index 000..07bd38e > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/

Re: [PATCH RFC V3 3/9] x86/pks: Enable Protection Keys Supervisor (PKS)

2020-10-13 Thread Ira Weiny
On Tue, Oct 13, 2020 at 11:23:08AM -0700, Dave Hansen wrote: > On 10/9/20 12:42 PM, ira.we...@intel.com wrote: > > +/* > > + * PKS is independent of PKU and either or both may be supported on a CPU. > > + * Configure PKS if the cpu supports the feature. > > + */ > > Let's at least be consistent ab

Re: [PATCH v2 1/3] clk: qcom: clk-alpha-pll: Add support for controlling Agera PLLs

2020-10-13 Thread Stephen Boyd
Quoting Taniya Das (2020-10-13 10:11:48) > diff --git a/drivers/clk/qcom/clk-alpha-pll.c > b/drivers/clk/qcom/clk-alpha-pll.c > index 26139ef..17e1fc0 100644 > --- a/drivers/clk/qcom/clk-alpha-pll.c > +++ b/drivers/clk/qcom/clk-alpha-pll.c > @@ -1561,3 +1571,73 @@ const struct clk_ops clk_alpha_pl

Re: [PATCH v3 7/7] selftests/ftrace: Add test case for synthetic event syntax errors

2020-10-13 Thread Masami Hiramatsu
Hi Tom, On Tue, 13 Oct 2020 09:17:58 -0500 Tom Zanussi wrote: > Add a selftest that verifies that the syntax error messages and caret > positions are correct for most of the possible synthetic event syntax > error cases. > > Signed-off-by: Tom Zanussi > --- > .../trigger-synthetic_event_synta

Re: [PATCH v2 3/3] clk: qcom: camcc: Add camera clock controller driver for SC7180

2020-10-13 Thread Stephen Boyd
Quoting Taniya Das (2020-10-13 10:11:50) > diff --git a/drivers/clk/qcom/camcc-sc7180.c b/drivers/clk/qcom/camcc-sc7180.c > new file mode 100644 > index 000..e954d21 > --- /dev/null > +++ b/drivers/clk/qcom/camcc-sc7180.c > @@ -0,0 +1,1737 @@ [...] > + > +enum { > + P_BI_TCXO, > + P

Re: [PATCH v2 02/24] tools: docs: memory-model: fix references for some files

2020-10-13 Thread Paul E. McKenney
On Tue, Oct 13, 2020 at 12:38:36PM -0400, Alan Stern wrote: > On Tue, Oct 13, 2020 at 09:33:54AM -0700, Paul E. McKenney wrote: > > On Tue, Oct 13, 2020 at 02:14:29PM +0200, Mauro Carvalho Chehab wrote: > > > - The sysfs.txt file was converted to ReST and renamed; > > > - The control-dependencies.t

Re: [PATCH v6 70/80] rcu/tree: docs: document bkvcache new members at struct kfree_rcu_cpu

2020-10-13 Thread Paul E. McKenney
On Tue, Oct 13, 2020 at 10:46:08PM +0200, Mauro Carvalho Chehab wrote: > Em Tue, 13 Oct 2020 09:34:04 -0700 > "Paul E. McKenney" escreveu: > > > On Tue, Oct 13, 2020 at 01:54:25PM +0200, Mauro Carvalho Chehab wrote: > > > Changeset 53c72b590b3a ("rcu/tree: cache specified number of objects") > >

Re: [PATCH 2/6] dt-bindings: mfd: google,cros-ec: explicitly allow additional properties

2020-10-13 Thread Leizhen (ThunderTown)
On 2020/10/14 1:53, Dan Murphy wrote: > Zhen > > On 10/13/20 11:08 AM, Zhen Lei wrote: >> There are so many properties have not been described in this yaml file, >> and a lot of errors will be reported. Especially, some yaml files such as >> google,cros-ec-typec.yaml, extcon-usbc-cros-ec.yaml c

Re: [PATCH v2 3/4] clk: qcom: Add support to LPASS AUDIO_CC Glitch Free Mux clocks

2020-10-13 Thread Stephen Boyd
Quoting Srinivas Kandagatla (2020-09-25 03:31:14) > GFM Muxes in AUDIO_CC control clocks to LPASS WSA and RX Codec Macros. > This patch adds support to these muxes. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/clk/qcom/Kconfig| 6 + > drivers/clk/qcom/Makefile |

Re: [PATCH v2] drm/of: Consider the state in which the ep is disabled

2020-10-13 Thread Kever Yang
Hi Maintainers,     Does this patch ready to merge? On 2020/7/7 下午7:25, Sandy Huang wrote: don't mask possible_crtcs if remote-point is disabled. Signed-off-by: Sandy Huang --- drivers/gpu/drm/drm_of.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_of.c b/driver

Re: [PATCH v2 0/4] clk: qcom : add sm8250 LPASS GFM drivers

2020-10-13 Thread Stephen Boyd
Quoting Srinivas Kandagatla (2020-09-25 03:31:11) > This patchset adds support for GFM Muxes found in LPASS > (Low Power Audio SubSystem) IP in Audio Clock Controller > and Always ON clock controller. > > Clocks derived from these muxes are consumed by LPASS Digital Codec. > Currently the driver f

[tip:sched/urgent] BUILD SUCCESS da912c29a4a552588cbfa895487d9d5523b6faa7

2020-10-13 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-20201013 i386 randconfig-a006-20201013 i386 randconfig-a001-20201013 i386 randconfig-a003-20201013 i386

[tip:x86/asm] BUILD SUCCESS 3e626682046e30282979f7d71e054cd4c00069a7

2020-10-13 Thread kernel test robot
defconfig mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20201013 x86_64

[tip:objtool/core] BUILD SUCCESS ab0a40ea88204e1291b56da8128e2845fec8ee88

2020-10-13 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20201013 x86_64 randconfig-a002-20201013

[tip:master] BUILD SUCCESS 2c8a2700c3256eefe1e783a104b420af09424e54

2020-10-13 Thread kernel test robot
randconfig-a005-20201013 i386 randconfig-a006-20201013 i386 randconfig-a001-20201013 i386 randconfig-a003-20201013 i386 randconfig-a004-20201013 i386 randconfig-a002-20201013 x86_64 randconfig-a004-20201

Re: [PATCH v5 3/5] counter: Add character device interface

2020-10-13 Thread David Lechner
On 9/26/20 9:18 PM, William Breathitt Gray wrote: This patch introduces a character device interface for the Counter subsystem. Device data is exposed through standard character device read operations. Device data is gathered when a Counter event is pushed by the respective Counter device driver.

[PATCH v2] thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()

2020-10-13 Thread Jing Xiangfeng
ring_request_msix() misses to call ida_simple_remove() in an error path. Add a label 'err_ida_remove' and jump to it. Fixes: 046bee1f9ab8 ("thunderbolt: Add MSI-X support") Signed-off-by: Jing Xiangfeng --- drivers/thunderbolt/nhi.c | 17 ++--- 1 file changed, 14 insertions(+), 3 del

Re: [PATCH] interconnect: qcom: Simplify the vcd compare function

2020-10-13 Thread Mike Tipton
On 10/13/2020 10:19 AM, Georgi Djakov wrote: Let's simplify the cmp_vcd() function and replace the conditionals with just a single statement, which also improves readability. Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/bcm-voter.c | 15 --- 1 file changed, 4 insert

Re: [PATCH v1 08/10] bus: mhi: core: Move to an error state on any firmware load failure

2020-10-13 Thread Bhaumik Bhatt
On 2020-10-09 09:42, Manivannan Sadhasivam wrote: On Fri, Sep 18, 2020 at 07:02:33PM -0700, Bhaumik Bhatt wrote: Move MHI to a firmware download error state for a failure to find the firmware files or to load SBL or EBL image using BHI/BHIe. This helps detect an error state sooner and shortens t

[PATCH] ARM: dts: imx: add usb alias

2020-10-13 Thread peng . fan
From: Peng Fan Add usb alias for bootloader emulator the controller in correct order. Signed-off-by: Peng Fan --- arch/arm/boot/dts/imx6qdl.dtsi | 4 arch/arm/boot/dts/imx6sl.dtsi | 3 +++ arch/arm/boot/dts/imx6sll.dtsi | 2 ++ arch/arm/boot/dts/imx6sx.dtsi | 3 +++ arch/arm/boot/dts/im

Re: [PATCH v4 2/2] clk: qcom: Add display clock controller driver for SM8150 and SM8250

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-27 12:06:51) > Add support for the display clock controller found on SM8150 and SM8250. > > Signed-off-by: Jonathan Marek > Tested-by: Dmitry Baryshkov (SM8250) > --- Applied to clk-next

Re: [PATCH v4 1/2] dt-bindings: clock: add QCOM SM8150 and SM8250 display clock bindings

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-27 12:06:50) > Add device tree bindings for display clock controller for > Qualcomm Technology Inc's SM8150 and SM8250 SoCs. > > Signed-off-by: Jonathan Marek > Tested-by: Dmitry Baryshkov (SM8250) > --- Applied to clk-next

Re: [PATCH 6/6] dt-bindings: misc: correct the property name cmd-gpios to cmd-gpio

2020-10-13 Thread Leizhen (ThunderTown)
On 2020/10/14 1:32, Dan Murphy wrote: > Zhen > > On 10/13/20 11:08 AM, Zhen Lei wrote: >> The property name used in arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts is >> cmd-gpio. >> >> arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:235: >> cmd-gpio = <&gpio 155 GPIO_ACTIVE_HIGH>; >> >> Signed-off-by: Zhen Le

RE: [PATCH] vfio/platform: Replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-13 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, October 14, 2020 1:50 PM > To: Song Bao Hua (Barry Song) > Cc: tiantao (H) ; eric.au...@redhat.com; > coh...@redhat.com; k...@vger.kernel.org; linux-kernel@vger.kernel.org; > Linuxarm >

Re: [PATCH v3 4/5] clk: qcom: add video clock controller driver for SM8150

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-23 09:06:30) > Add support for the video clock controller found on SM8150 based devices. > > Derived from the downstream driver. > > Signed-off-by: Jonathan Marek > --- Applied to clk-next

Re: [PATCH v3 3/5] dt-bindings: clock: add SM8250 QCOM video clock bindings

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-23 09:06:29) > Add device tree bindings for video clock controller for SM8250 SoCs. > > Signed-off-by: Jonathan Marek > Reviewed-by: Rob Herring > --- Applied to clk-next

Re: [PATCH v3 5/5] clk: qcom: add video clock controller driver for SM8250

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-23 09:06:31) > Add support for the video clock controller found on SM8250 based devices. > > Derived from the downstream driver. > > Signed-off-by: Jonathan Marek > --- Applied to clk-next

Re: [PATCH v3 1/5] dt-bindings: clock: combine qcom,sdm845-videocc and qcom,sc7180-videocc

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-23 09:06:27) > These two bindings are almost identical, so combine them into one. This > will make it easier to add the sm8150 and sm8250 videocc bindings. > > Signed-off-by: Jonathan Marek > Reviewed-by: Rob Herring > --- Applied to clk-next

Re: [PATCH v3 2/5] dt-bindings: clock: add SM8150 QCOM video clock bindings

2020-10-13 Thread Stephen Boyd
Quoting Jonathan Marek (2020-09-23 09:06:28) > Add device tree bindings for video clock controller for SM8150 SoCs. > > Signed-off-by: Jonathan Marek > Reviewed-by: Rob Herring > --- Applied to clk-next

Re: [PATCH] interconnect: qcom: sdm845: Enable keepalive for the MM1 BCM

2020-10-13 Thread Mike Tipton
On 10/12/2020 12:40 PM, Georgi Djakov wrote: After enabling interconect scaling for display on the db845c board, s/interconect/interconnect/ in certain configurations the board hangs, while the following errors are observed on the console: Error sending AMC RPMH requests (-110) qcom_rpm

Re: [PATCH 1/6] dt-bindings: leds: choose correct color value of multi-led

2020-10-13 Thread Leizhen (ThunderTown)
On 2020/10/14 0:17, Dan Murphy wrote: > Zhen > > On 10/13/20 11:08 AM, Zhen Lei wrote: >> The color value of multi-led is fixed to "const: 8 #LED_COLOR_ID_MULTI", >> which is required by leds-class-multicolor.yaml. >> >> Signed-off-by: Zhen Lei >> --- >>   Documentation/devicetree/bindings/led

Re: [PATCH v1 07/10] bus: mhi: core: Move to SYS_ERROR regardless of RDDM capability

2020-10-13 Thread Bhaumik Bhatt
On 2020-10-09 09:32, Manivannan Sadhasivam wrote: On Fri, Sep 18, 2020 at 07:02:32PM -0700, Bhaumik Bhatt wrote: In some cases, the entry of device to RDDM execution environment can occur after a significant amount of time has elapsed after the SYS_ERROR state change event has arrived. This can

Re: [PATCH] clk: qcom: gcc-msm8994: Add missing clocks, resets and GDSCs

2020-10-13 Thread Stephen Boyd
Quoting Konrad Dybcio (2020-10-05 07:58:55) > This change adds GDSCs, resets and most of the missing > clocks to the msm8994 GCC driver. The remaining ones > are of local_vote_clk and gate_clk type, which are not > yet supported upstream. Also reorder them to match the > original downstream driver.

Re: [RESEND PATCH] spmi: prefix spmi bus device names with "spmi"

2020-10-13 Thread David Collins
On 10/2/20 2:39 PM, Stephen Boyd wrote: > I see things like this on my console: > > [1.684617] spmi spmi-0: PMIC arbiter version v5 (0x5000) > > and 'spmi' is the bus name I'm thinking about. But I think that's > because there isn't a driver attached. Nothing prints for the 0-00 > device

Re: [PATCH v3] qla2xxx: Return EBUSY on fcport deletion

2020-10-13 Thread Finn Thain
On Tue, 13 Oct 2020, Daniel Wagner wrote: > On Tue, Oct 13, 2020 at 10:59:18AM +1100, Finn Thain wrote: > > > > On Mon, 12 Oct 2020, Daniel Wagner wrote: > > > > > When the fcport is about to be deleted we should return EBUSY > > > instead of ENODEV. Only for EBUSY the request will be requeue

Re: [PATCH] vfio/platform: Replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-13 Thread Alex Williamson
On Wed, 14 Oct 2020 00:15:13 + "Song Bao Hua (Barry Song)" wrote: > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Wednesday, October 14, 2020 10:32 AM > > To: tiantao (H) > > Cc: eric.au...@redhat.com; coh...@redhat.com; k...@vger.kernel

Re: [PATCH next] iommu: intel: don't dereference iommu_device if IOMMU_API is not built

2020-10-13 Thread Lu Baolu
On 10/13/20 3:30 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Since commit c40c1018 ("iommu/vt-d: Gracefully handle DMAR units with no supported address widths") dmar.c needs struct iommu_device to be selected. We can drop this dependency by not dereferencing struct iommu_device

[PATCH v3 1/2] Documentation: x86: Rename resctrl_ui.rst and add two errata to the file

2020-10-13 Thread Fenghua Yu
Intel Memory Bandwidth Monitoring (MBM) counters may report system memory bandwidth incorrectly on some Intel processors. The errata are reported in erratum SKX99 [1], erratum BDF102 [2] and RDT reference manual [3]. To work around the errata, MBM total and local readings are corrected using a cor

[PATCH v3 0/2] x86/resctrl: Work around MBM errata

2020-10-13 Thread Fenghua Yu
Intel Memory Bandwidth Monitoring (MBM) counters may report system memory bandwidth incorrectly on some Intel processors. The errata are reported in erratum SKX99 [1], erratum BDF102 [2] and RDT reference manual [3]. The errata are worked around using a correction factor table. Since the correctio

[PATCH v3 2/2] x86/resctrl: Correct MBM total and local values

2020-10-13 Thread Fenghua Yu
Intel Memory Bandwidth Monitoring (MBM) counters may report system memory bandwidth incorrectly on some Intel processors. The errata SKX99 for Skylake server, BDF102 for Broadwell server, and the correction factor table are documented in Documentation/x86/resctrl.rst. Intel MBM counters track metr

Re: general protection fault in scsi_queue_rq

2020-10-13 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+0796b72dc61f223d8...@syzkaller.appspotmail.com Tested on: commit: 69f4ec1e scsi: hisi_sas: Recover PHY state according to th.. git tree: git://git.kernel.org/p

Re: [PATCH 09/18] clk: mvebu: ap80x-cpu: use semicolons rather than commas to separate statements

2020-10-13 Thread Stephen Boyd
Quoting Julia Lawall (2020-09-27 12:12:19) > Replace commas with semicolons. What is done is essentially described by > the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): > > // > @@ expression e1,e2; @@ > e1 > -, > +; > e2 > ... when any > // > > Signed-off-by: Julia Lawall

Re: [PATCH 10/18] clk: meson: use semicolons rather than commas to separate statements

2020-10-13 Thread Stephen Boyd
Quoting Julia Lawall (2020-09-27 12:12:20) > Replace commas with semicolons. What is done is essentially described by > the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): > > // > @@ expression e1,e2; @@ > e1 > -, > +; > e2 > ... when any > // > > Signed-off-by: Julia Lawall

Re: [PATCH 01/18] clk: uniphier: use semicolons rather than commas to separate statements

2020-10-13 Thread Stephen Boyd
Quoting Julia Lawall (2020-09-27 12:12:11) > Replace commas with semicolons. What is done is essentially described by > the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): > > // > @@ expression e1,e2; @@ > e1 > -, > +; > e2 > ... when any > // > > Signed-off-by: Julia Lawall

Re: [PATCH v2] Documentation: Chinese translation of Documentation/arm64/hugetlbpage.rst

2020-10-13 Thread Alex Shi
在 2020/10/13 下午8:36, Bailu Lin 写道: > This is a Chinese translated version of > Documentation/arm64/hugetlbpage.rst > > Signed-off-by: Bailu Lin > --- > Changes in v2: > - Fix Sphinx 2.4.4's waring by increasing underline' size. > --- > Documentation/arm64/hugetlbpage.rst | 2 + >

Re: [PATCH 3/3] timekeeping: remove arch_gettimeoffset

2020-10-13 Thread Thomas Gleixner
On Thu, Oct 08 2020 at 17:46, Arnd Bergmann wrote: > With Arm EBSA110 gone, nothing uses it any more, so the corresponding > code and the Kconfig option can be removed. Yay! It only took 11+ years to get rid of that. Feel free to route it through your tree. Acked-by: Thomas Gleixner

Re: [PATCH v10 0/8] Add Rockchip NFC drivers for RK3308 and others

2020-10-13 Thread Kever Yang
Hi Miquel and maintainers,     This patch set seems ready for upstream, could you pick and merge to linux-mtd? Thanks, - Kever On 2020/9/30 上午10:07, Yifeng Zhao wrote: Rockchp's NFC(Nand Flash Controller) has four versions: V600, V622, V800 and V900.This series patch can support all four v

Re: [PATCH v10 8/8] arm: dts: rockchip: Add NFC node for RK3036 SoC

2020-10-13 Thread Kever Yang
On 2020/9/30 上午10:09, Yifeng Zhao wrote: Add NAND FLASH Controller(NFC) node for RK3036 SoC. Signed-off-by: Yifeng Zhao --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes

Re: [PATCH v3 3/3] pinctrl: rockchip: create irq mapping in gpio_to_irq【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips....@lists.infradead.org代发】

2020-10-13 Thread Kever Yang
On 2020/10/13 下午2:37, Jianqun Xu wrote: Remove totally irq mappings create in probe, the gpio irq mapping will be created when do gpio_to_irq -> rockchip_gpio_to_irq -> irq_create_mapping This patch can speed up system boot on, also abandon many unused irq mappings'

Re: [PATCH v3 1/3] pinctrl: rockchip: make driver be tristate module【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips....@lists.infradead.org代发】

2020-10-13 Thread Kever Yang
On 2020/10/13 下午2:37, Jianqun Xu wrote: Make pinctrl-rockchip driver to be tristate module, support to build as a module, this is useful for GKI. Reviewed-by: Heiko Stuebner Signed-off-by: Jianqun Xu --- drivers/pinctrl/Kconfig| 2 +- drivers/pinctrl/pinctrl-rockchip.c | 13 +

Re: [PATCH v10 6/8] arm: dts: rockchip: Add NFC node for RV1108 SoC

2020-10-13 Thread Kever Yang
On 2020/9/30 上午10:09, Yifeng Zhao wrote: Add NAND FLASH Controller(NFC) node for RV1108 SoC. Signed-off-by: Yifeng Zhao --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes

Re: [PATCH v10 7/8] arm: dts: rockchip: Add NFC node for RK2928 and other SoCs

2020-10-13 Thread Kever Yang
On 2020/9/30 上午10:09, Yifeng Zhao wrote: Add NAND FLASH Controller(NFC) node for RK2928, RK3066, RK3168 and RK3188 SoCs. Signed-off-by: Yifeng Zhao --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None

Re: [PATCH v10 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-10-13 Thread Kever Yang
On 2020/9/30 上午10:07, Yifeng Zhao wrote: This driver supports Rockchip NFC (NAND Flash Controller) found on RK3308, RK2928, RKPX30, RV1108 and other SOCs. The driver has been tested using 8-bit NAND interface on the ARM based RK3308 platform. Support Rockchip SoCs and NFC versions: - PX30 and

Re: [PATCH v10 1/8] dt-bindings: mtd: Describe Rockchip RK3xxx NAND flash controller

2020-10-13 Thread Kever Yang
On 2020/9/30 上午10:07, Yifeng Zhao wrote: Documentation support for Rockchip RK3xxx NAND flash controllers Signed-off-by: Yifeng Zhao --- Changes in v10: None Changes in v9: None Changes in v8: - Fix make dt_binding_check error Changes in v7: - Fix some wrong define Changes in v6: - Fix som

Re: [PATCH v10 4/8] arm64: dts: rockchip: Add NFC node for RK3308 SoC

2020-10-13 Thread Kever Yang
On 2020/9/30 上午10:07, Yifeng Zhao wrote: From: Yifeng Zhao Add NAND FLASH Controller(NFC) node for RK3308 SoC. Signed-off-by: Yifeng Zhao Signed-off-by: Yifeng Zhao --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None

Re: [PATCH v10 5/8] arm64: dts: rockchip: Add NFC node for PX30 SoC

2020-10-13 Thread Kever Yang
On 2020/9/30 上午10:08, Yifeng Zhao wrote: Add NAND FLASH Controller(NFC) node for PX30 SoC. Signed-off-by: Yifeng Zhao --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes i

Re: [PATCH v3 2/3] pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips....@lists.infradead.org代发】

2020-10-13 Thread Kever Yang
On 2020/10/13 下午2:37, Jianqun Xu wrote: There need to enable pclk_gpio when do irq_create_mapping, since it will do access to gpio controller. Reviewed-by: Heiko Stuebner Signed-off-by: Jianqun Xu --- drivers/pinctrl/pinctrl-rockchip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a

Re: [PATCH v10 3/8] MAINTAINERS: add maintainers to ROCKCHIP NFC

2020-10-13 Thread Kever Yang
On 2020/9/30 上午10:07, Yifeng Zhao wrote: Add maintainers to ROCKCHIP NFC. Signed-off-by: Yifeng Zhao --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None MAI

Re: [PATCH v5 17/21] llist: Add nonatomic __llist_add() and __llist_dell_all()

2020-10-13 Thread Masami Hiramatsu
On Mon, 12 Oct 2020 18:24:54 +0200 Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > > > From: Peter Zijlstra > > > > Signed-off-by: Peter Zijlstra (Intel) > > Because you are forwarding this patch here, I've added your SOB: > > Signed-off-by: Masami Hiramatsu > > (Let me know if tha

Re: [PATCH] net/af_unix: Remove unused old_pid variable

2020-10-13 Thread Jakub Kicinski
On Sun, 11 Oct 2020 18:35:27 +0300 Or Cohen wrote: > Commit 109f6e39fa07c48f5801 ("af_unix: Allow SO_PEERCRED > to work across namespaces.") introduced the old_pid variable > in unix_listen, but it's never used. > Remove the declaration and the call to put_pid. > > Signed-off-by: Or Cohen Applie

Re: [PATCH v3 0/7] tracing: Synthetic event dynamic string fixes

2020-10-13 Thread Masami Hiramatsu
Hi Tom, On Tue, 13 Oct 2020 09:17:51 -0500 Tom Zanussi wrote: > This updates v2 to replace some of the v2 code with improved code from > Steve (tracing: Add synthetic event error logging) and (tracing: > Handle synthetic event array field type checking correctly) and remove > the synth_error_cle

Re: [PATCH net v2 1/2] socket: fix option SO_TIMESTAMPING_NEW

2020-10-13 Thread Jakub Kicinski
On Mon, 12 Oct 2020 22:10:31 -0700 Deepa Dinamani wrote: > > On Mon, Oct 12, 2020 at 5:36 AM Christian Eggers wrote: > > > v2: > > > - > > > - integrated proposal from Willem de Bruijn > > > - added Reviewed-by: from Willem and Deepa > > You may add my > Acked-by: Deepa Dinamani Applied

Re: [PATCH] nvme-pci: Disable Write Zeroes on Sandisk Skyhawk

2020-10-13 Thread Chaitanya Kulkarni
On 10/13/20 01:45, Kai-Heng Feng wrote: > Like commit 5611ec2b9814 ("nvme-pci: prevent SK hynix PC400 from using > Write Zeroes command"), Sandisk Skyhawk has the same issue: > [ 6305.633887] blk_update_request: operation not supported error, dev > nvme0n1, sector 340812032 op 0x9:(WRITE_ZEROES) f

RE: [PATCH] vfio/platform: Replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-13 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, October 14, 2020 10:32 AM > To: tiantao (H) > Cc: eric.au...@redhat.com; coh...@redhat.com; k...@vger.kernel.org; > linux-kernel@vger.kernel.org; Song Bao Hua (Barry Song) > ; Linuxarm >

Re: [PATCH 0/5] net: use semicolons rather than commas to separate statements

2020-10-13 Thread Jakub Kicinski
On Sun, 11 Oct 2020 12:34:53 +0200 Julia Lawall wrote: > These patches replace commas by semicolons. Commas introduce > unnecessary variability in the code structure and are hard to see. > This was done using the Coccinelle semantic patch > (http://coccinelle.lip6.fr/) shown below. Applied 3-5 to

Re: [PATCH v5 5/5] counter: 104-quad-8: Add IRQ support for the ACCES 104-QUAD-8

2020-10-13 Thread David Lechner
On 9/26/20 9:18 PM, William Breathitt Gray wrote: +static irqreturn_t quad8_irq_handler(int irq, void *quad8iio) +{ + struct quad8_iio *const priv = quad8iio; + const unsigned long base = priv->base; + unsigned long irq_status; + unsigned long channel; + u8 event; +

Re: [PATCH nf v2] netfilter: conntrack: connection timeout after re-register

2020-10-13 Thread Pablo Neira Ayuso
On Fri, Oct 09, 2020 at 10:05:48PM +0200, Florian Westphal wrote: > Jozsef Kadlecsik wrote: > > > The "delay unregister" remark was wrt. the "all rules were deleted" > > > case, i.e. add a "grace period" rather than acting right away when > > > conntrack use count did hit 0. > > > > Now I underst

Re: [PATCH v5 4/4] mm,hwpoison: drop unneeded pcplist draining

2020-10-13 Thread 堀口 直也
On Tue, Oct 13, 2020 at 04:44:47PM +0200, Oscar Salvador wrote: > memory_failure and soft_offline_path paths now drain pcplists by calling > get_hwpoison_page. > > memory_failure flags the page as HWPoison before, so that page cannot > longer go into a pcplist, and soft_offline_page only flags a p

Re: [PATCH v5 3/4] mm,hwpoison: take free pages off the buddy freelists for hugetlb

2020-10-13 Thread 堀口 直也
On Tue, Oct 13, 2020 at 04:44:46PM +0200, Oscar Salvador wrote: > Currently, free hugetlb get dissolved, but we also need to make sure > to take the poisoned subpage off the buddy frelists, so no one stumbles > upon it (see previous patch for more information). > > Signed-off-by: Oscar Salvador

Re: [PATCH v5 1/2] PCI/ERR: Call pci_bus_reset() before calling ->slot_reset() callback

2020-10-13 Thread Raj, Ashok
On Tue, Oct 13, 2020 at 04:45:01PM -0700, Kuppuswamy Sathyanarayanan wrote: > Currently if report_error_detected() or report_mmio_enabled() > functions requests PCI_ERS_RESULT_NEED_RESET, current > pcie_do_recovery() implementation does not do the requested > explicit device reset, but instead just

Re: [PATCH RFC V3 2/9] x86/fpu: Refactor arch_set_user_pkey_access() for PKS support

2020-10-13 Thread Ira Weiny
On Tue, Oct 13, 2020 at 10:50:05AM -0700, Dave Hansen wrote: > On 10/9/20 12:42 PM, ira.we...@intel.com wrote: > > +/* > > + * Update the pk_reg value and return it. > > How about: > > Replace disable bits for @pkey with values from @flags. Done. > > > + * Kernel users use the same flags

Re: [PATCH v2 2/2] drm/mediatek: mtk_hdmi: add MT8167 support for HDMI

2020-10-13 Thread Chun-Kuang Hu
Hi, Fabien: Fabien Parent 於 2020年10月14日 週三 上午2:19寫道: > > Add support for HDMI on MT8167. HDMI on MT8167 is similar to > MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20 > > Signed-off-by: Fabien Parent > --- > > Changelog: > v2: fix name of pdata structure > > drivers/gpu/drm

Re: Nouveau DRM failure on 5120x1440 screen with 5.8/5.9 kernel

2020-10-13 Thread Byron Stanoszek
On Tue, 13 Oct 2020, Byron Stanoszek wrote: I'm having a problem with both the 5.8 and 5.9 kernels using the nouveau DRM driver. I have a laptop with a VGA card (specs below) connected to a 5120x1440 screen. At boot time, the card correctly detects the screen, tries to allocate fbdev fb0, then t

Re: [GIT PULL] Smack patches for v5.10

2020-10-13 Thread pr-tracker-bot
The pull request you sent on Mon, 12 Oct 2020 11:13:01 -0700: > https://github.com/cschaufler/smack-next tags/Smack-for-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/99a6740f88e9438cd220096d3d96eb6ba8d5c6f0 Thank you! -- Deet-doot-dot, I am a bot. https://korg

Re: [GIT PULL] overflow update for v5.10-rc1

2020-10-13 Thread pr-tracker-bot
The pull request you sent on Mon, 12 Oct 2020 15:38:53 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/overflow-v5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b5fc7a89e58bcc059a3d5e4db79c481fb437de59 Thank you! -- Deet-doot-

Re: [GIT PULL] printk for 5.10 (includes lockless ringbuffer)

2020-10-13 Thread pr-tracker-bot
The pull request you sent on Mon, 12 Oct 2020 16:49:16 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux > tags/printk-for-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d594d8f411d47bf7b583ec3474b11fec348c88bb Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] seccomp updates for v5.10-rc1

2020-10-13 Thread pr-tracker-bot
The pull request you sent on Mon, 12 Oct 2020 15:15:32 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/seccomp-v5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8b05418b252166be6df3766dafdb25341488ab95 Thank you! -- Deet-doot-d

Re: [GIT PULL] SELinux patches for v5.10

2020-10-13 Thread pr-tracker-bot
The pull request you sent on Mon, 12 Oct 2020 21:15:09 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git > tags/selinux-pr-20201012 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7b540812cc0635e6c7e508359115c7cb6886fd2f Thank you! -- Deet-d

Re: [GIT PULL] Audit patches for v5.10

2020-10-13 Thread pr-tracker-bot
The pull request you sent on Mon, 12 Oct 2020 20:51:22 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git stable-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/01fb1e2f42d607ef5eb7a7ca54a0f0901fb5856c Thank you! -- Deet-doot-dot, I am a bo

Re: [PATCH 3/4] kernel: add support for TIF_NOTIFY_SIGNAL

2020-10-13 Thread Thomas Gleixner
On Fri, Oct 09 2020 at 09:13, Jens Axboe wrote: >> Hmm. I just noticed that only x86 uses arch_do_signal(), so perhaps you can >> add this change to this patch right now? Up to you. > > Sure, we can do that. Incremental on top then looks like the below. I don't > feel that strongly about it, but it

Re: [PATCH v3 2/2] vhost-vdpa: fix page pinning leakage in error path

2020-10-13 Thread si-wei liu
On 10/9/2020 7:27 PM, Jason Wang wrote: On 2020/10/3 下午1:02, Si-Wei Liu wrote: Pinned pages are not properly accounted particularly when mapping error occurs on IOTLB update. Clean up dangling pinned pages for the error path. As the inflight pinned pages, specifically for memory region that s

RE: [RFC PATCH 22/22] x86/fpu/xstate: Introduce boot-parameters for control some state component support

2020-10-13 Thread Brown, Len
> From: Andy Lutomirski > On Thu, Oct 1, 2020 at 1:43 PM Chang S. Bae wrote: > > "xstate.disable=0x6000" will disable AMX on a system that has AMX > > compiled into XFEATURE_MASK_USER_SUPPORTED. > Can we please use words for this? Perhaps: > xstate.disable=amx,zmm Yes, I think it is reaso

Re: [PATCH 2/4] kernel: add task_sigpending() helper

2020-10-13 Thread Thomas Gleixner
On Thu, Oct 08 2020 at 09:27, Jens Axboe wrote: > This is in preparation for maintaining signal_pending() as the decider > of whether or not a schedule() loop should be broken, or continue > sleeping. This is different than the core signal use cases, where we > really want to know if an actual sign

[PATCH v4] drm/msm/dp: return correct connection status after suspend

2020-10-13 Thread Kuogee Hsieh
During suspend, dp host controller and hpd block are disabled due to both ahb and aux clock are disabled. Therefore hpd plug/unplug interrupts will not be generated. At dp_pm_resume(), reinitialize both dp host controller and hpd block so that hpd plug/unplug interrupts will be generated and handle

Re: [PATCH 1/4] tracehook: clear TIF_NOTIFY_RESUME in tracehook_notify_resume()

2020-10-13 Thread Thomas Gleixner
On Thu, Oct 08 2020 at 09:27, Jens Axboe wrote: > All the callers currently do this, clean it up and move the clearing > into tracehook_notify_resume() instead. > > Signed-off-by: Jens Axboe Nice cleanup! Reviewed-by: Thomas Gleixner

[PATCH v3] drm/msm/dp: fixes wrong connection state caused by failure of link train

2020-10-13 Thread Kuogee Hsieh
Connection state is not set correctly happen when either failure of link train due to cable unplugged in the middle of aux channel reading or cable plugged in while in suspended state. This patch fixes these problems. This patch also replace ST_SUSPEND_PENDING with ST_DISPLAY_OFF. Changes in V2: -

Re: [PATCHSET RFC v3 0/6] Add support for TIF_NOTIFY_SIGNAL

2020-10-13 Thread Thomas Gleixner
Jens, On Tue, Oct 13 2020 at 13:39, Jens Axboe wrote: > On 10/12/20 11:27 AM, Miroslav Benes wrote: > I'm continuing to hone the series, what's really missing so far is arch > review. Most conversions are straight forward, some I need folks to > definitely take a look at (arm, s390). powerpc is al

Re: [PATCH] clk/qcom: fix spelling typo

2020-10-13 Thread Stephen Boyd
Quoting Wang Qing (2020-09-23 23:55:04) > Modify the comment typo: "compliment" -> "complement". > > Signed-off-by: Wang Qing > --- Applied to clk-next

Re: KASAN: use-after-free Read in fscache_alloc_cookie

2020-10-13 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING: proc registration bug in afs_manage_cell_work [ cut here ] proc_dir_entry 'afs/^]$[+%]0${' already registered WARNING: CPU: 0 PID: 8309 at fs/proc/generic.c:371 proc_regi

Re: general protection fault in scsi_queue_rq

2020-10-13 Thread James Bottomley
On Mon, 2020-10-12 at 07:51 -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:e4fb79c7 Add linux-next specific files for 20201008 > git tree: linux-next > console output: > https://syzkaller.appspot.com/x/log.txt?x=125c9a9f90 > kernel config:

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