RE: [PATCH 4/7] dt-bindings: spi: add binding file for NXP FlexSPI driver

2018-09-03 Thread Yogesh Narayan Gaur
Hi Prabhakar, > -Original Message- > From: Prabhakar Kushwaha > Sent: Monday, September 3, 2018 3:24 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; marek.va...@gmail.com; > linux-...@vger.kernel.org; devicet...@vger.kernel.org > Cc:

Re: [PATCH 1/5] serial: sprd: Remove unused structure

2018-09-03 Thread Baolin Wang
Hi, On 11 August 2018 at 09:34, Baolin Wang wrote: > Remove the unused reg_backup structure. > > Signed-off-by: Baolin Wang > --- Do you have any comments for this patch set? Thanks. -- Baolin Wang Best Regards

Re: [PATCH 4.4 00/80] 4.4.154-stable review

2018-09-03 Thread Greg Kroah-Hartman
On Mon, Sep 03, 2018 at 05:42:21PM -0700, Nathan Chancellor wrote: > On Mon, Sep 03, 2018 at 06:48:38PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.154 release. > > There are 80 patches in this series, all will be posted as a response > > to this

Re: [PATCH 4.18 050/123] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-09-03 Thread Greg Kroah-Hartman
On Tue, Sep 04, 2018 at 10:08:13AM +0530, Naresh Kamboju wrote: > On 3 September 2018 at 22:26, Greg Kroah-Hartman > wrote: > > 4.18-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Peter Zijlstra > > > > commit

Re: [PATCH v2 1/3] crypto: Introduce notifier for new crypto algorithms

2018-09-03 Thread Herbert Xu
On Thu, Aug 30, 2018 at 11:00:14AM -0400, Martin K. Petersen wrote: > Introduce a facility that can be used to receive a notification > callback when a new algorithm becomes available. This can be used by > existing crypto registrations to trigger a switch from a software-only > algorithm to a

Re: [PATCH 0/2] crypto: arm64/crct10dif - refactor and implement non-Crypto Extension version

2018-09-03 Thread Herbert Xu
On Mon, Aug 27, 2018 at 05:38:10PM +0200, Ard Biesheuvel wrote: > The current arm64 CRC-T10DIF code only runs on cores that implement the > 64x64 bit PMULL instructions that are part of the optional Crypto > Extensions, and falls back to the highly inefficient C code otherwise. > > Let's provide

Re: [PATCH 4/4] crypto: arm64/crc32 - remove PMULL based CRC32 driver

2018-09-03 Thread Herbert Xu
On Mon, Aug 27, 2018 at 01:02:45PM +0200, Ard Biesheuvel wrote: > Now that the scalar fallbacks have been moved out of this driver into > the core crc32()/crc32c() routines, we are left with a CRC32 crypto API > driver for arm64 that is based only on 64x64 polynomial multiplication, > which is an

Re: [PATCH v8 0/9] crypto: Remove VLA usage

2018-09-03 Thread Herbert Xu
On Tue, Aug 07, 2018 at 02:18:34PM -0700, Kees Cook wrote: > v8 cover letter: > > I continue to hope this can land in v4.19, but I realize that's unlikely. > It would be nice, though, if some of the "trivial" patches could get taken > (e.g. cbc, xcbc, ccm VLA removals) so I don't have to keep

Re: [PATCH 1/3] x86/boot: Add bit fields into xloadflags for 5-level kernel checking

2018-09-03 Thread Baoquan He
On 09/03/18 at 09:13pm, H. Peter Anvin wrote: > On 09/03/18 20:44, Baoquan He wrote: > > > > 1) in arch/x86/kernel/relocate_kernel_64.S, we set X86_CR4_LA57 into cr4 > > if the 1st kernel is in 5-level mode. Then in > > arch/x86/boot/compressed/head_64.S, paging_prepare() is called to decide > >

Re: [PATCH] crypto: x86 - remove SHA multibuffer routines and mcryptd

2018-09-03 Thread Herbert Xu
On Wed, Aug 22, 2018 at 10:51:44AM +0200, Ard Biesheuvel wrote: > As it turns out, the AVX2 multibuffer SHA routines are currently > broken [0], in a way that would have likely been noticed if this > code were in wide use. Since the code is too complicated to be > maintained by anyone except the

Re: [PATCH crypto-2.6] crypto: ccp: add timeout support in the SEV command

2018-09-03 Thread Herbert Xu
On Wed, Aug 15, 2018 at 04:11:25PM -0500, Brijesh Singh wrote: > Currently, the CCP driver assumes that the SEV command issued to the PSP > will always return (i.e. it will never hang). But recently, firmware bugs > have shown that a command can hang. Since of the SEV commands are used > in

Re: [PATCH v2 00/11] mscc: ocelot: add support for SerDes muxing configuration

2018-09-03 Thread David Miller
From: Alexandre Belloni Date: Mon, 3 Sep 2018 15:45:22 +0200 > On 03/09/2018 15:34:15+0200, Andrew Lunn wrote: >> > I suggest patches 1 and 8 go through MIPS tree, 2 to 5 and 11 go through >> > net while the others (6, 7, 9 and 10) go through the generic PHY subsystem. >> >> Hi Quentin >> >>

Re: [PATCH net-next 00/11] Misc. bug fixes & small enhancements for HNS3 Driver

2018-09-03 Thread David Miller
From: Salil Mehta Date: Mon, 3 Sep 2018 11:21:45 +0100 > This patch-set presents some fixes and minor enhancements to HNS3 > Driver Series applied, thank you.

[PATCH] arm64: dts: qcom: Populate pm8998 with some nodes

2018-09-03 Thread Bjorn Andersson
Add pon, coincell and rtc to the first pm8998 sid. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 31 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index

RE: [PATCH] media: intel-ipu3: cio2: register the mdev on v4l2 async notifier complete

2018-09-03 Thread Qiu, Tian Shu
Hi, Raise my point. The case here is that we have multiple sensors connected to CIO2. The sensors work independently. So failure on one sensor should not block the function of the other. That is, we should not rely on that all sensors are ready before allowing user to operate on the ready

[PATCH v3 1/8] arm64: dts: Add msm8998 SoC and MTP board support

2018-09-03 Thread Bjorn Andersson
From: Joonwoo Park Add initial device tree support for the Qualcomm MSM8998 SoC and MTP8998 evaluation board. Signed-off-by: Joonwoo Park Signed-off-by: Imran Khan Signed-off-by: Rajendra Nayak [bjorn: Restructured, removed its node and moved to SPDX headers] Signed-off-by: Bjorn Andersson

[PATCH v3 3/8] arm64: dts: qcom: msm8998: Add tsens and thermal-zones

2018-09-03 Thread Bjorn Andersson
Add the two tsens instances and the thermal zones for CPUs, GPUs, battery and skin sensors. Signed-off-by: Bjorn Andersson --- Changes since v2: - New patch arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 38 + arch/arm64/boot/dts/qcom/msm8998.dtsi | 193 ++ 2 files

[PATCH v3 2/8] arm64: dts: qcom: msm8998: Add RPM and regulators for MTP

2018-09-03 Thread Bjorn Andersson
Add nodes for RPM communication for MSM8998 and the regulator nodes for the MTP. Signed-off-by: Bjorn Andersson --- Changes since v2: - Moved regulators to MTP, as the choice of PMICs can be device specifc - Updated names of regulators - Corrected the supply tree of the regulators

[PATCH v3 5/8] arm64: dts: qcom: msm8998: Add smem related nodes

2018-09-03 Thread Bjorn Andersson
Add reserve-memory nodes, tcsr-mutex nodes and the smem node. Signed-off-by: Bjorn Andersson --- Changes since v2: - New patch arch/arm64/boot/dts/qcom/msm8998.dtsi | 49 +++ 1 file changed, 49 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi

[PATCH v3 7/8] arm64: dts: qcom: msm8998: Add the qfprom node

2018-09-03 Thread Bjorn Andersson
Add the QFPROM nvmem node to msm8998 Signed-off-by: Bjorn Andersson --- Changes since v2: - New patch arch/arm64/boot/dts/qcom/msm8998.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index

[PATCH v3 4/8] arm64: dts: qcom: msm8998: Add pmi8998 file

2018-09-03 Thread Bjorn Andersson
Add new dtsi file for the PMI8998, with its gpios and include all three PMICs in the MSM8998 MTP dts. Signed-off-by: Bjorn Andersson --- Changes since v2: - New patch arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 3 ++ arch/arm64/boot/dts/qcom/pmi8998.dtsi | 40 +++ 2

[PATCH v3 6/8] arm64: dts: qcom: msm8998: Add firmware node

2018-09-03 Thread Bjorn Andersson
Add the firmware and scm nodes for msm8998 Signed-off-by: Bjorn Andersson --- Changes since v2: - New patch arch/arm64/boot/dts/qcom/msm8998.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index

[PATCH v3 0/8] MSM8998 and MTP dts

2018-09-03 Thread Bjorn Andersson
This series introduces the MSM8998 platform and the MTP device for this platform. Including additional 6 patches that has been waiting for the initial submission to be accepted. Bjorn Andersson (7): arm64: dts: qcom: msm8998: Add RPM and regulators for MTP arm64: dts: qcom: msm8998: Add tsens

[PATCH v3 8/8] arm64: dts: qcom: msm8998: Add smp2p nodes

2018-09-03 Thread Bjorn Andersson
Add the adsp, modem and slpi smp2p nodes to msm8998. Signed-off-by: Bjorn Andersson --- Changes since v2: - New patch arch/arm64/boot/dts/qcom/msm8998.dtsi | 64 +++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi

[PATCH 4.18 012/123] smb3: Do not send SMB3 SET_INFO if nothing changed

2018-09-03 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit fd09b7d3b352105f08b8e02f7afecf7e816380ef upstream. An earlier commit had a typo which prevented the optimization from working: commit 18dd8e1a65dd ("Do not send SMB3

[PATCH 4.14 079/165] scsi: fcoe: drop frames in ELS LOGO error path

2018-09-03 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Thumshirn [ Upstream commit 63d0e3dffda311e77b9a8c500d59084e960a824a ] Drop the frames in the ELS LOGO error path instead of just returning an error. This fixes the following

Re: [PATCH v2] crypto: remove Speck

2018-09-03 Thread Herbert Xu
On Tue, Aug 07, 2018 at 08:22:25AM +0200, Jason A. Donenfeld wrote: > These are unused, undesired, and have never actually been used by > anybody. The original authors of this code have changed their mind about > its inclusion. While originally proposed for disk encryption on low-end > devices,

Re: [PATCH v2] net/ibm/emac: wrong emac_calc_base call was used by typo

2018-09-03 Thread David Miller
From: Ivan Mikhaylov Date: Mon, 3 Sep 2018 10:26:28 +0300 > __emac_calc_base_mr1 was used instead of __emac4_calc_base_mr1 > by copy-paste mistake for emac4syn. > > Fixes: 45d6e545505fd32edb812f085be7de45b6a5c0af ("net/ibm/emac: add 8192 > rx/tx fifo size") > Signed-off-by: Ivan Mikhaylov

[PATCH v4 06/11] dt-bindings: display: Add compatible for A64 HDMI

2018-09-03 Thread Icenowy Zheng
From: Jagan Teki The HDMI controller on Allwinner A64 is similar on the one on H3/H5/A83T (although the PHY is different with A83T). Add A64 compatible and append A83T compatible as fallback. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring [Icenowy: refactor commit log] Signed-off-by:

Re: [PATCH 00/25] Change tty_port(standard)_install's return type

2018-09-03 Thread Sam Ravnborg
Hi Jaejoong. > Change return type for tty functions. Patch No.01 > tty: Change return type to void Adding this patch first will generate a lot of warnings until all users are updated. It is usual practice to prepare all users and then apply the infrastructure changes as the last patch. Then

[PATCH v4 10/11] drm/sun4i: Add support for HDMI voltage regulator

2018-09-03 Thread Icenowy Zheng
From: Jernej Skrabec Some boards have HDMI VCC pin connected to voltage regulator which may not be turned on by default. Add support for such boards by adding voltage regulator handling code to HDMI driver. Signed-off-by: Jernej Skrabec [Icenowy: change supply name to "hvcc"] Signed-off-by:

[PATCH 3/4] sparc: Add system call table generation support

2018-09-03 Thread Firoz Khan
The system call tables are in different format in all architecture and it will be difficult to manually add or modify the system calls in the respective files. To make it easy by keeping a script and which'll generate the header file and syscall table file so this change will unify them across all

[PATCH 4/4] sparc: uapi header and system call table file generation

2018-09-03 Thread Firoz Khan
System call table generation script must be run to generate unistd_32/64.h and syscall_table_32/64/c32.h files. This patch will have changes which will invokes the script. This patch will generate unistd_32/64.h and syscall_table_ 32/64/c32.h files by the syscall table generation script invoked

[PATCH v4 11/11] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-09-03 Thread Icenowy Zheng
From: Jagan Teki Enable all necessary device tree nodes and add connector node to device trees for all supported A64 boards with HDMI. Signed-off-by: Jagan Teki [Icenowy: squash all board patches altogether and change supply name] Signed-off-by: Icenowy Zheng --- Changes in v4: - Rebase some

[PATCH v4 09/11] dt-bindings: sun4i-drm: add HDMI VCC supply property for sun8i-dw-hdmi

2018-09-03 Thread Icenowy Zheng
Allwiner SoCs with DesignWare HDMI controller all come with a "HVCC" pin, which is the VCC of HDMI part. Add a supply property to specify HVCC's regulator in the device tree. Signed-off-by: Icenowy Zheng --- Changes in v4: - Rename the supply name to "hvcc". Changes in v3.1: - New patch.

[PATCH v4 07/11] dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO0 macro

2018-09-03 Thread Icenowy Zheng
From: Jagan Teki Allwinner A64 HDMI PHY clock has PLL_VIDEO0 as a parent. Include the macro on dt-bindings so-that the same can be used while defining CCU clock phandles. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring Signed-off-by: Icenowy Zheng --- Changes for v4: - Dropped PLL_VIDEO1

[PATCH v4 08/11] arm64: dts: allwinner: a64: Add display pipeline

2018-09-03 Thread Icenowy Zheng
From: Jagan Teki Allwinner A64 have a display pipeline with 2 mixers/TCONs, the first TCON is connected to LCD and the second is to HDMI. The HDMI controller/PHY pair is similar to the one on H3/H5. Add all required device tree nodes of the display pipeline, including the TCON0 LCD one and the

[PATCH 2/4] sparc: Replace NR_SYSCALLS macro with __NR_SYSCALLS

2018-09-03 Thread Firoz Khan
NR_syscalls macro holds the number of system call exist in SPARC architecture. This macro is currently the part of uapi/asm/unistd.h file. We have to change the value of NR_syscalls, if we add or delete a system call. One of the patch in this patch series has a script which will generate a uapi

[PATCH v4 05/11] drm/sun4i: Add support for A64 display engine

2018-09-03 Thread Icenowy Zheng
From: Jagan Teki Display Engine(DE2) in Allwinner A64 has two mixers and tcons. The routing for mixer0 is through tcon0 and connected to LVDS/RGB/MIPI-DSI controller. The routing for mixer1 is through tcon1 and connected to HDMI. Signed-off-by: Jagan Teki Signed-off-by: Icenowy Zheng ---

[PATCH 1/4] sparc: Move __IGNORE* entries to non uapi header

2018-09-03 Thread Firoz Khan
All the __IGNORE* entries are resides in the uapi header file and it is not used by any user space applications. One of the patch in this patch series will generate the uapi header file and system call table file. So if we move all the __IGNORE* entries to non uapi header, it will simplify the

[PATCH v4 04/11] drm/sun4i: Add support for A64 mixers

2018-09-03 Thread Icenowy Zheng
From: Jagan Teki Mixers in Allwinner have similar capabilities as others SoCs with DE2. Add support for them. Signed-off-by: Jagan Teki [Icenowy: Add mixer1] Signed-off-by: Icenowy Zheng Reviewed-by: Jernej Skrabec --- Changes for v4: - none Changes for v3.1: - Add mixer0 Changes for v3: -

[PATCH 0/4] System call table generation support

2018-09-03 Thread Firoz Khan
The purpose of this patch series is: 1. We can easily add/modify/delete system call by changing entry in syscall.tbl file. No need to manually edit many files. 2. It is easy to unify the system call implementation across all the architectures. The system call tables are in different format in

[PATCH v4 01/11] clk: sunxi-ng: a64: Add minimal rate for video PLLs

2018-09-03 Thread Icenowy Zheng
From: Jagan Teki According to documentation and experience with other similar SoCs, video PLLs don't work stable if their output frequency is set below 192 MHz. Because of that, set minimal rate to both A64 video PLLs to 192 MHz. Signed-off-by: Jagan Teki Signed-off-by: Icenowy Zheng

[PATCH v4 03/11] dt-bindings: display: Add compatible for A64 DE2 display pipeline

2018-09-03 Thread Icenowy Zheng
From: Jagan Teki Allwinner A64 has a DE2 display pipeline. The TCONs are similar to the ones in A83T, but the mixers are new (similar to the later R40 SoC). This patch adds dt-binding documentation for A64 DE2 display pipeline. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring [Icenowy:

[PATCH v4 02/11] clk: sunxi-ng: a64: Add max. rate constraint to video PLLs

2018-09-03 Thread Icenowy Zheng
Video PLLs on A64 can be set to higher rate that it is actually supported by HW. Limit maximum rate to 1008 MHz. This is the maximum allowed rate by BSP clock driver. Interestengly, user manual specifies maximum frequency to be 600 MHz. Historically, this data was wrong in some user manuals for

[PATCH v4 00/11] arm64: allwinner: Add A64 DE2 HDMI support

2018-09-03 Thread Icenowy Zheng
Allwinner A64 has display engine pipeline like other Allwinner SOC's A83T/H3/H5. A64 behaviour similar to Allwinner A83T where Mixer0 => TCON0 => LVDS/RGB/MIPI-DSI Mixer1 => TCON1 => HDMI as per Display System Block Diagram from the A64 user manual. This patchset adds support for the two display

Re: [PATCH 4.18 050/123] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-09-03 Thread Naresh Kamboju
On 3 September 2018 at 22:26, Greg Kroah-Hartman wrote: > 4.18-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Peter Zijlstra > > commit d86564a2f085b79ec046a5cba90188e612352806 upstream. > > Jann reported that x86 was missing required TLB

RE: [PATCH 3/4 next] net: lan78xx: Switch to SPDX identifier

2018-09-03 Thread RaghuramChary.Jallipalli
> +// SPDX-License-Identifier: GPL-2.0+ > +/* Copyright (C) 2015 Microchip Technology */ Can we merge both in single comment line? > +/* SPDX-License-Identifier: GPL-2.0+ */ > +/* Copyright (C) 2015 Microchip Technology */ Here too. Thanks, -Raghu

Re: [PATCH 4.18 000/123] 4.18.6-stable review

2018-09-03 Thread Naresh Kamboju
On 4 September 2018 at 02:46, François Valenduc wrote: > Le 3/09/18 à 20:39, Holger Hoffstätte a écrit : >> On 09/03/18 18:55, Greg Kroah-Hartman wrote: >>> This is the start of the stable review cycle for the 4.18.6 release. >> >> Unfortunately this is busted. First blamed my custom patches, but

Re: [PATCH] vhost: fix VHOST_GET_BACKEND_FEATURES ioctl request definition

2018-09-03 Thread David Miller
From: "Michael S. Tsirkin" Date: Mon, 3 Sep 2018 23:11:11 -0400 > On Tue, Sep 04, 2018 at 11:08:40AM +0800, Jason Wang wrote: >> >> >> On 2018年09月04日 10:22, Michael S. Tsirkin wrote: >> > On Mon, Sep 03, 2018 at 08:59:13PM +0300, Gleb Fotengauer-Malinovskiy >> > wrote: >> > > The _IOC_READ

RE: [PATCH 4/4 next] net: lan78xx: Make declaration style consistent

2018-09-03 Thread RaghuramChary.Jallipalli
> This patch makes some declaration more consistent. > > Signed-off-by: Stefan Wahren Reviewed-by: Raghuram Chary Jallipalli Thanks, -Raghu

RE: [PATCH 2/4 next] net: lan78xx: Drop unnecessary strcpy in lan78xx_probe

2018-09-03 Thread RaghuramChary.Jallipalli
> There is no need for this strcpy because alloc_etherdev() already does this > job. > > Signed-off-by: Stefan Wahren Reviewed-by: Raghuram Chary Jallipalli Thanks, -Raghu

RE: [PATCH 1/4 next] net: lan78xx: Bail out if lan78xx_get_endpoints fails

2018-09-03 Thread RaghuramChary.Jallipalli
> We need to bail out if lan78xx_get_endpoints() fails, otherwise the result is > overwritten. > > Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 > Ethernet") > Signed-off-by: Stefan Wahren Reviewed-by: Raghuram Chary Jallipalli Thanks, -Raghu

Re: [PATCH 4.14 000/165] 4.14.68-stable review

2018-09-03 Thread Naresh Kamboju
On 3 September 2018 at 22:24, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.68 release. > There are 165 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH 0/2] fix cluster leakage in ocfs2_defrag_extent

2018-09-03 Thread Larry Chen
ocfs2_defrag_extent might leak clusters allocated. When file system has no enough space, the number of claimed clusters might less than the caller wants. If that happens, the original code might directly commit trans without returning clusters. This patch refered a lot to

[PATCH 2/2] fix clusters leak in ocfs2_defrag_extent

2018-09-03 Thread Larry Chen
Signed-off-by: Larry Chen --- fs/ocfs2/move_extents.c | 16 1 file changed, 16 insertions(+) diff --git a/fs/ocfs2/move_extents.c b/fs/ocfs2/move_extents.c index d85dc8a02bd6..4f2ad054b419 100644 --- a/fs/ocfs2/move_extents.c +++ b/fs/ocfs2/move_extents.c @@ -226,6 +226,8 @@

[PATCH 1/2] add declaration of ocfs2_free_local_alloc_bits

2018-09-03 Thread Larry Chen
Signed-off-by: Larry Chen --- fs/ocfs2/alloc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h index 250bcacdf9e9..5770503b0e36 100644 --- a/fs/ocfs2/alloc.h +++ b/fs/ocfs2/alloc.h @@ -323,4 +323,10 @@ int ocfs2_find_cpos_for_left_leaf(struct

Re: [PATCH 1/3] x86/boot: Add bit fields into xloadflags for 5-level kernel checking

2018-09-03 Thread H. Peter Anvin
On 09/03/18 20:44, Baoquan He wrote: > > 1) in arch/x86/kernel/relocate_kernel_64.S, we set X86_CR4_LA57 into cr4 > if the 1st kernel is in 5-level mode. Then in > arch/x86/boot/compressed/head_64.S, paging_prepare() is called to decide > if 5-level mode will be enabled, and prepare the

[PATCH] Document/gpu: Use new vm_fault_t type

2018-09-03 Thread Souptick Joarder
We have introduce new return type vm_fault_t for fault handler. Update the document for the same. Signed-off-by: Souptick Joarder --- v2: Revert spaces added in v1 Documentation/gpu/drm-mm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gpu/drm-mm.rst

Re: Recent removal of bsg read/write support

2018-09-03 Thread Douglas Gilbert
On 2018-09-03 10:34 AM, Dror Levin wrote: On Sun, Sep 2, 2018 at 8:55 PM Linus Torvalds wrote: On Sun, Sep 2, 2018 at 4:44 AM Richard Weinberger wrote: CC'ing relevant people. Otherwise your mail might get lost. Indeed. Sorry for that. On Sun, Sep 2, 2018 at 1:37 PM Dror Levin

[PATCH v3] EDAC, ghes: use CPER module handles to locate DIMMs

2018-09-03 Thread Fan Wu
For platforms whose firmwares provide valid module handles (SMBIOS type 17) in error records, this patch uses the module handles to locate corresponding DIMMs and enables per-DIMM error counter update. Signed-off-by: Fan Wu Reviewed-by: Tyler Baicar Tested-by: Toshi Kani Reviewed-by: Borislav

Re: [PATCH 1/3] x86/boot: Add bit fields into xloadflags for 5-level kernel checking

2018-09-03 Thread Baoquan He
Hi hpa, Thanks for looking into this. On 09/03/18 at 07:41pm, H. Peter Anvin wrote: > I don't understand why there is any reason not to always enter the target > kernel in 4-level mode. There certainly is no point whatsoever in having two > xloadflags: the only thing that could possibly matter

Re: [PATCH v2 0/3] x86/pti: Get rid of entry trampolines and add some docs

2018-09-03 Thread Linus Torvalds
On Mon, Sep 3, 2018 at 3:59 PM Andy Lutomirski wrote: > > Changes from v1: Get rid of the rsp_scratch macro I can't see anything wrong with this. Linus

linux-next: Tree for Sep 4

2018-09-03 Thread Stephen Rothwell
Hi all, Changes since 20180903: Dropped trees: xarray, ida (temporarily) The dmi tree gained a conflict against Linus' tree. The net-next tree still had its build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 1638 1936 files changed, 60594 insertions

SPENDE

2018-09-03 Thread Mavis Wanczyk
-- Sehr geehrter Herr / Frau, Wir freuen uns mitteilen zu können, dass Sie von Mavis Wanczyk Hilfe in Höhe von € 1.000.000,00 erhalten haben. Mavis Wanczyk ist der Gewinner von $ 758,7 Millionen Dollar im Power Ball Lottery Jackpot als der größte Preis von einem einzigen Lottoschein in

[PATCH v2] perf/x86/intel/uncore: Provide alias for IIO free-running boxes on SKX

2018-09-03 Thread Jin Yao
For Skylake Server, Linux has supported a number of free running counters that collect counts of IO clocks/Bandwidth/Utilization. For example, to collect the inbound bandwidth, root@skx /sys/devices# ls | grep uncore_iio uncore_iio_0 uncore_iio_1 uncore_iio_2 uncore_iio_3 uncore_iio_4

Re: [PATCH v5 03/16] x86/mtrr: get MTRR number and support TOP_MEM2

2018-09-03 Thread Pu Wen
On 2018/9/4 3:04, Borislav Petkov wrote: It was "Hygon Dhyana" before now "Hygon" only. Can we agree on the naming nomenclature and stick with it. OK, agree on it. ... - if (!((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && - (boot_cpu_data.x86 >= 0x0f))) + if

[PATCH] mmc: tegra: fix inconsistent IS_ERR and PTR_ERR

2018-09-03 Thread YueHaibing
Fix inconsistent IS_ERR and PTR_ERR in tegra_sdhci_init_pinctrl_info, the proper pointer to be passed as argument is 'pinctrl_state_1v8' Signed-off-by: YueHaibing --- drivers/mmc/host/sdhci-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 11/25] tty: synclinkmp: Change return type to void

2018-09-03 Thread Jaejoong Kim
Since tty_port_install() always returns 0, the return type has changed to void. Now apply this and remove the obsolete error check. Signed-off-by: Jaejoong Kim --- drivers/tty/synclinkmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/synclinkmp.c

[PATCH 12/25] tty: vt: Change return type to void

2018-09-03 Thread Jaejoong Kim
Since tty_port_install() always returns 0, the return type has changed to void. Now apply this and remove the obsolete error check. Signed-off-by: Jaejoong Kim --- drivers/tty/vt/vt.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/tty/vt/vt.c

[PATCH 06/25] tty: hvc: hvcs: Change return type to void

2018-09-03 Thread Jaejoong Kim
Since tty_port_install() always returns 0, the return type has changed to void. Now apply this and remove the obsolete error check. Signed-off-by: Jaejoong Kim --- drivers/tty/hvc/hvcs.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/tty/hvc/hvcs.c

[RFC] perf tool improvement requests

2018-09-03 Thread Stephane Eranian
Hi Arnaldo, Jiri, A few weeks ago, you had asked if I had more requests for the perf tool. I have put together the following list to improve the usability of the perf tool, at least for our usage. Nothing is very big just small improvements here and there. 1/ perf stat interval printing

Re: WARNING in free_loaded_vmcs (2)

2018-09-03 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:60c1f89241d4 Merge tag 'dma-mapping-4.19-2' of git://git.i.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15022d5a40 kernel config:

Re: [PATCH] net: ipv6: route: Fix a sleep-in-atomic-context bug in ip6_convert_metrics()

2018-09-03 Thread David Ahern
On 9/1/18 5:19 AM, Jia-Ju Bai wrote: > The kernel module may sleep with holding a spinlock. > > The function call paths (from bottom to top) in Linux-4.16 are: > > [FUNC] kzalloc(GFP_KERNEL) > net/ipv6/route.c, 2430: > kzalloc in ip6_convert_metrics > net/ipv6/route.c, 2890: >

Re: [PATCHv3] perf tools: Add struct ordered_events_buffer layer

2018-09-03 Thread Stephane Eranian
Jiri, On Sun, Sep 2, 2018 at 7:47 AM Jiri Olsa wrote: > > On Mon, Aug 27, 2018 at 07:05:43PM +0200, Jiri Olsa wrote: > > On Mon, Aug 27, 2018 at 08:24:56AM -0700, Stephane Eranian wrote: > > > > SNIP > > > > > > - /* First entry is abused to maintain the to_free list. > > > > */ >

Re: [PATCH] phy: Convert to using %pOFn instead of device_node.name

2018-09-03 Thread Kishon Vijay Abraham I
Hi Rob, On Tuesday 28 August 2018 07:22 AM, Rob Herring wrote: In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. I assume it should be okay to get this merged in the next merge window? Thanks Kishon Cc: Kishon

Re: [PATCH v2] fs: Convert return type int to vm_fault_t

2018-09-03 Thread Matthew Wilcox
On Mon, Sep 03, 2018 at 05:28:43PM -0700, Andrew Morton wrote: > > > I'm beginning to feel vm_fault_t exhaustion. Please remind me what > > > benefit we're going to get out of all this churn? Hi Andrew, The primary benefit is to help driver writers. At the moment, there is nothing to stop them

Re: [PATCH] fs/cifs: suppress a string overflow warning

2018-09-03 Thread Steve French
ok - it looks like it will be a little simpler if I wait On Mon, Sep 3, 2018 at 8:22 PM Stephen Rothwell wrote: > > Hi Steve, > > On Mon, 3 Sep 2018 09:44:17 -0500 Steve French wrote: > > > > Merged into cifs-2.6.git for-next > > > > Is the message annoying enough on powerpc to merit going into

答复: [PATCH] arm64/ptrace: add PTRACE_SYSEMU and PTRACE_SYSEMU_SINGLESTEP support

2018-09-03 Thread Haibo Xu (Arm Technology China)
Hi Will, > On Mon, Sep 03, 2018 at 06:40:51PM +0200, Richard Weinberger wrote: > > Am Montag, 3. September 2018, 18:31:03 CEST schrieb Will Deacon: > > > On Mon, Sep 03, 2018 at 02:23:17PM +0800, Haibo.Xu wrote: > > > > Add PTRACE_SYSEMU and PTRACE_SYSEMU_SINGLESTEP support on ARM64. > > > > This

Re: [PATCH v7 1/2] leds: core: Introduce LED pattern trigger

2018-09-03 Thread Baolin Wang
Hi Pavel, On 4 September 2018 at 05:53, Pavel Machek wrote: > Hi! > >> > +static int pattern_trig_start_pattern(struct led_classdev *led_cdev) >> > +{ >> > + struct pattern_trig_data *data = led_cdev->trigger_data; >> > + >> > + if (!data->npatterns) >> > + return 0; >> > + >> > +

[PATCH v2 2/3] spis: mediatek: add spi slave for Mediatek MT2712

2018-09-03 Thread Leilk Liu
This patchs add basic spi slave for MT2712. Signed-off-by: Leilk Liu --- drivers/spi/Kconfig|8 + drivers/spi/Makefile |1 + drivers/spi/spi-slave-mt27xx.c | 557 3 files changed, 566 insertions(+) create mode 100644

[PATCH v2 3/3] arm64: dts: Add spi slave dts

2018-09-03 Thread Leilk Liu
This patch adds MT2712 spi slave into device tree. Signed-off-by: Leilk Liu --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index

[PATCH v2 1/3] spis: mediatek: add bindings for Mediatek MT2712 soc platform

2018-09-03 Thread Leilk Liu
This patch adds a DT binding documentation for the MT2712 soc. Signed-off-by: Leilk Liu --- .../devicetree/bindings/spi/spi-slave-mt27xx.txt | 35 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-mt27xx.txt diff --git

[PATCH v2 0/3] Add Mediatek SPI slave driver

2018-09-03 Thread Leilk Liu
>From c211d55c612b1fb43e3a5f137e8cacbd347beee5 Mon Sep 17 00:00:00 2001 From: Leilk Liu Date: Tue, 4 Sep 2018 09:38:00 +0800 Subject: [PATCH v2 0/3] Add Mediatek SPI slave driver v2: 1. Fix Sean Wang review comment. 2. remove unused register and offset define. 3. update bindings file with

Re: [PATCHv2 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-09-03 Thread Sergey Senozhatsky
On (09/03/18 17:52), Dmitry Safonov wrote: > > We've seen the following crash on v4.9.108 stable: > > BUG: unable to handle kernel paging request at 2260 > IP: [..] n_tty_receive_buf_common+0x5f/0x86d > Workqueue: events_unbound flush_to_ldisc > Call Trace: > [..] n_tty_receive_buf2

Re: linux-next: error fetching the jc_docs tree

2018-09-03 Thread Stephen Rothwell
Hi Jon, On Mon, 3 Sep 2018 18:06:40 -0600 Jonathan Corbet wrote: > > On Tue, 4 Sep 2018 09:30:49 +1000 > Stephen Rothwell wrote: > > > Fetching the jc_docs tree (git://git.lwn.net/linux.git#docs-next) today > > produced this error: > > > > fatal: remote error: access denied or repository not

[PATCH v4 0/4] x86: Fix SEV guest regression

2018-09-03 Thread Brijesh Singh
The following commit " x86/kvmclock: Remove memblock dependency https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=368a540e0232ad446931f5a4e8a5e06f69f21343 " introduced SEV guest regression. The guest physical address holding the wall_clock and hv_clock_boot are

Re: [PATCH v7 1/2] leds: core: Introduce LED pattern trigger

2018-09-03 Thread Baolin Wang
Hi Jacek, On 4 September 2018 at 02:58, Jacek Anaszewski wrote: > Hi Baolin, > > Thank you for the update. > > Please find my remarks below. > > On 08/31/2018 09:52 AM, Baolin Wang wrote: >> This patch adds one new led trigger that LED device can configure >> the software or hardware pattern and

[PATCH v4 3/4] x86/mm: add .data..decrypted section to hold shared variables

2018-09-03 Thread Brijesh Singh
kvmclock defines few static variables which are shared with the hypervisor during the kvmclock initialization. When SEV is active, memory is encrypted with a guest-specific key, and if guest OS wants to share the memory region with hypervisor then it must clear the C-bit before sharing it.

[PATCH v4 1/4] x86/mm: Restructure sme_encrypt_kernel()

2018-09-03 Thread Brijesh Singh
Re-arrange the sme_encrypt_kernel() by moving the workarea map/unmap logic in a separate static function. There are no logical changes in this patch. The restructuring will allow us to expand the sme_encrypt_kernel in future. Signed-off-by: Brijesh Singh Reviewed-by: Tom Lendacky Cc: Tom

[PATCH v4 2/4] x86/mm: fix sme_populate_pgd() to update page flags

2018-09-03 Thread Brijesh Singh
Fix sme_populate_pgd() to update page flags if the PMD/PTE entry already exists. Signed-off-by: Brijesh Singh Reviewed-by: Tom Lendacky Cc: Tom Lendacky Cc: k...@vger.kernel.org Cc: Thomas Gleixner Cc: Borislav Petkov Cc: "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org Cc: Paolo Bonzini

[PATCH v4 4/4] x86/kvm: use __decrypted attribute in shared variables

2018-09-03 Thread Brijesh Singh
Commit: 368a540e0232 (x86/kvmclock: Remove memblock dependency) caused SEV guest regression. When SEV is active, we map the shared variables (wall_clock and hv_clock_boot) with C=0 to ensure that both the guest and the hypervisor are able to access the data. To map the variables we use

Re: [PATCH] fs/cifs: suppress a string overflow warning

2018-09-03 Thread Stephen Rothwell
Hi Steve, On Mon, 3 Sep 2018 09:44:17 -0500 Steve French wrote: > > Merged into cifs-2.6.git for-next > > Is the message annoying enough on powerpc to merit going into > 4.19-rc3, presumably should wait for 4.20? Up to you, but 4.20 is probably fine. -- Cheers, Stephen Rothwell

Re: [RFC][PATCH 1/5] [PATCH 1/5] kvm: register in task_struct

2018-09-03 Thread Fengguang Wu
On Tue, Sep 04, 2018 at 08:28:18AM +0800, Fengguang Wu wrote: Hi Christian and Nikita, On Mon, Sep 03, 2018 at 06:03:49PM +0200, Christian Borntraeger wrote: On 09/03/2018 04:10 PM, Nikita Leshenko wrote: On September 2, 2018 5:21:15 AM, fengguang...@intel.com wrote: diff --git

[PATCH] kallsyms: remove left-over Blackfin code

2018-09-03 Thread Masahiro Yamada
These symbols were added by commit 028f042613c3 ("kallsyms: support kernel symbols in Blackfin on-chip memory") for Blackfin. The Blackfin support was removed by commit 4ba66a976072 ("arch: remove blackfin port"). Signed-off-by: Masahiro Yamada --- scripts/kallsyms.c | 2 -- 1 file changed, 2

Re: [PATCH 4.4 00/80] 4.4.154-stable review

2018-09-03 Thread Nathan Chancellor
On Mon, Sep 03, 2018 at 06:48:38PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.154 release. > There are 80 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 3.18 00/56] 3.18.121-stable review

2018-09-03 Thread Nathan Chancellor
On Mon, Sep 03, 2018 at 06:48:50PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.121 release. > There are 56 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH v2] fs: Convert return type int to vm_fault_t

2018-09-03 Thread Andrew Morton
On Fri, 31 Aug 2018 11:33:48 +0530 Souptick Joarder wrote: > > > Return type of block_page_mkwrite_return() is also changed > > > to use new vm_fault_t type. > > > --- a/fs/nilfs2/file.c > > > +++ b/fs/nilfs2/file.c > > > @@ -51,13 +51,14 @@ int nilfs_sync_file(struct file *file, loff_t start,

Re: [RFC][PATCH 1/5] [PATCH 1/5] kvm: register in task_struct

2018-09-03 Thread Fengguang Wu
Hi Christian and Nikita, On Mon, Sep 03, 2018 at 06:03:49PM +0200, Christian Borntraeger wrote: On 09/03/2018 04:10 PM, Nikita Leshenko wrote: On September 2, 2018 5:21:15 AM, fengguang...@intel.com wrote: diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index

Re: linux-next: error fetching the jc_docs tree

2018-09-03 Thread Jonathan Corbet
On Tue, 4 Sep 2018 09:30:49 +1000 Stephen Rothwell wrote: > Fetching the jc_docs tree (git://git.lwn.net/linux.git#docs-next) today > produced this error: > > fatal: remote error: access denied or repository not exported: /linux.git Funny what happens when you switch to a new server...all

  1   2   3   4   5   6   7   8   9   10   >