Re: [PATCH 4.17 00/70] 4.17.3-stable review

2018-06-24 Thread Greg Kroah-Hartman
On Mon, Jun 25, 2018 at 12:10:08PM +0530, Naresh Kamboju wrote: > On 24 June 2018 at 20:51, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.17.3 release. > > There are 70 patches in this series, all will be posted as a response > > to this one. If anyone ha

Re: [PATCH 4.9 00/39] 4.9.110-stable review

2018-06-24 Thread Greg Kroah-Hartman
On Mon, Jun 25, 2018 at 10:36:47AM +0530, Naresh Kamboju wrote: > On 24 June 2018 at 20:53, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.9.110 release. > > There are 39 patches in this series, all will be posted as a response > > to this one. If anyone h

Re: [PATCH 4.14 00/52] 4.14.52-stable review

2018-06-24 Thread Naresh Kamboju
On 24 June 2018 at 20:50, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.52 release. > There are 52 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v2 5/8] Input: cros_ec_keyb - Switch to SPDX identifier.

2018-06-24 Thread Greg KH
On Mon, Jun 25, 2018 at 08:23:38AM +0200, Enric Balletbo i Serra wrote: > Hi Grek, > > On 25/06/18 03:57, Greg KH wrote: > > On Tue, Jun 05, 2018 at 08:14:24PM +0200, Enric Balletbo i Serra wrote: > >> Hi Fabio, > >> > >> On 05/06/18 20:04, Fabio Estevam wrote: > >>> Hi Enric, > >>> > >>> On Tue,

Re: [PATCH 4.16 00/64] 4.16.18-stable review

2018-06-24 Thread Naresh Kamboju
On 24 June 2018 at 20:51, Greg Kroah-Hartman wrote: > > NOTE: This will be the last 4.16.y release. After this release, this > tree will be end-of-life. You should have moved to the 4.17.y tree by > now. > > > This is the start of the stable review cycle for the

Re: [PATCH 1/3] drivers/base: introduce some help routines for reordering a group of dev

2018-06-24 Thread Greg Kroah-Hartman
On Mon, Jun 25, 2018 at 01:23:05PM +0800, Pingfan Liu wrote: > This patch introduce some help routines used by next patch. It aims to > ease reviewing, while the next patch will concentrate on algorithm. > > Cc: Greg Kroah-Hartman > Cc: Grygorii Strashko > Cc: Christoph Hellwig > Cc: Bjorn Helg

Re: [PATCH 4.17 00/70] 4.17.3-stable review

2018-06-24 Thread Naresh Kamboju
On 24 June 2018 at 20:51, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.3 release. > There are 70 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH v2 1/2] dt-bindings: nvmem: Add Spreadtrum SC27XX efuse controller documentation

2018-06-24 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs efuse controller device. Signed-off-by: Baolin Wang Reviewed-by: Rob Herring --- Changes since v1: - Add reviewed tag from Rob. --- .../devicetree/bindings/nvmem/sc27xx-efuse.txt | 52 1 fil

[PATCH v2 2/2] nvmem: Add Spreadtrum SC27XX efuse support

2018-06-24 Thread Baolin Wang
From: Freeman Liu This patch add the efuse driver which is embeded in Spreadtrum SC27XX series PMICs. The sc27xx efuse contains 32 blocks and each block's data width is 16 bits. Signed-off-by: Freeman Liu Signed-off-by: Baolin Wang --- Changes since v1: - Fix one typo. --- drivers/nvmem/Kcon

[PATCH] rcu: Make it stop complaining about docbook function-header comment

2018-06-24 Thread Byungchul Park
Running "make htmldocs" complains about the docbook function-header comment. It wants the "irq" parameter described which wasn't done by a commit 5e5ea52645b197 (rcu: Refactor rcu_{nmi,irq}_{enter,exit}()). So add its description of the parameter to the comment. Suggested-by: Paul E. McKenney Sig

Re: [PATCH v2] platform/x86: intel-vbtn: Add support for dock mode detection

2018-06-24 Thread AceLan Kao
Looks good to me Reviewed-By: AceLan Kao 2018-06-25 8:29 GMT+08:00 Matt Delco : > The Dell laptop I have has an ACPI that sends 0xCB and 0xCC on entering > tablet mode. On exiting tablet mode it sends 0xCA and 0xCD. Based on: > > http://www.traby.de/medion/DSDT/dsdt.dsl > https://gist.github.co

Re: [PATCH v2 5/8] Input: cros_ec_keyb - Switch to SPDX identifier.

2018-06-24 Thread Enric Balletbo i Serra
Hi Grek, On 25/06/18 03:57, Greg KH wrote: > On Tue, Jun 05, 2018 at 08:14:24PM +0200, Enric Balletbo i Serra wrote: >> Hi Fabio, >> >> On 05/06/18 20:04, Fabio Estevam wrote: >>> Hi Enric, >>> >>> On Tue, Jun 5, 2018 at 2:54 PM, Enric Balletbo i Serra >>> wrote: Adopt the SPDX license ident

Re: [PATCH] platform/x86: intel-vbtn: Ignore extraneous events from tablet mode

2018-06-24 Thread AceLan Kao
There is a v2 patch. Please ignore this one. 2018-06-22 4:37 GMT+08:00 Dmitry Torokhov : > On Thu, Jun 21, 2018 at 01:12:07PM -0700, Matt Delco wrote: >> The Dell laptop I have has an ACPI that sends 0xCB and 0xCC on entering >> tablet mode. On exiting tablet mode it sends 0xCA and 0xCD. This >>

Re: [PATCH v4] MAINTAINERS: Add file patterns for nios2 device tree bindings

2018-06-24 Thread Ley Foon Tan
On Fri, 2018-06-22 at 12:08 +0200, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > --- > v3: >   - Update for next-20180622, > > v2: >   - No changes. > > Impact o

RE: [PATCH v1] ARM: dts: imx6sl-evk: keep sw4 always on

2018-06-24 Thread Anson Huang
Acked-by: Anson Huang I also saw such issue on i.MX6SLL evk board, and also sent out patch for i.MX6SLL. Anson Huang Best Regards! > -Original Message- > From: Robin Gong > Sent: Monday, June 25, 2018 8:34 PM > To: shawn...@kernel.org; ker...@pengutronix.de; Fabio Estevam > ; robh...@

linux-next: Tree for Jun 25

2018-06-24 Thread Stephen Rothwell
Hi all, Changes since 20180622: New tree: drm-fixes The cifs tree gained a build failure so I used the version from next-20180622. The drm tree gained a build failure for which I disabled some sample code. Non-merge commits (relative to Linus' tree): 2098 2146 files changed, 64960 insertions(

qemu-system-x86_64: mov_ss_trap_64 PANIC: double fault, error_code: 0x0

2018-06-24 Thread Naresh Kamboju
Kselftest test case mov_ss_trap_64 is causing kernel panic on qemu-system-x86_64 and PASS on real x86_64 hardware. Test code snippet, main() { <> printf("[RUN]\tMOV SS; CS CS INT3\n"); asm volatile ("mov %[ss], %%ss; .byte 0x2e, 0x2e; int3" :: [ss] "m" (ss)); <> } Linux version 4.17.3

[PATCH] KVM: SVM: modify macro definition 'R' to 'R ' because of gcc-5+

2018-06-24 Thread LiuYang
From: yiqiaoxihui GCC 5.4.0 enables raw strings by default and they have higher priority than macros, thus R is interpreted incorrectly. Fix it by putting a space between macro R and a string literal. Signed-off-by: yiqiaoxihui --- arch/x86/kvm/svm.c | 36 ++--

[PATCH] kernel/power: cast PAGE_SIZE to int when comparing with error code

2018-06-24 Thread Chengguang Xu
If PAGE_SIZE is unsigned type then negative error code will be larger than PAGE_SIZE. Signed-off-by: Chengguang Xu --- kernel/power/swap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/power/swap.c b/kernel/power/swap.c index c2bcf97d24c8..d7f6c1a288d3 100644 ---

Re: [PATCH 4.9 00/39] 4.9.110-stable review

2018-06-24 Thread Naresh Kamboju
On 24 June 2018 at 20:53, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.110 release. > There are 39 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH 1/2] leds: core: Introduce generic pattern interface

2018-06-24 Thread Baolin Wang
From: Bjorn Andersson Some LED controllers have support for autonomously controlling brightness over time, according to some preprogrammed pattern or function. This adds a new optional operator that LED class drivers can implement if they support such functionality as well as a new device attrib

[PATCH 2/2] leds: sc27xx: Add pattern_set/get/clear interfaces for LED controller

2018-06-24 Thread Baolin Wang
This patch implements the 'pattern_set', 'pattern_get' and 'pattern_clear' interfaces to support SC27XX LED breathing mode. Signed-off-by: Baolin Wang --- drivers/leds/leds-sc27xx-bltc.c | 160 +++ 1 file changed, 160 insertions(+) diff --git a/drivers/leds/

Re: [PATCH 2/2] slimbus: ngd: add stream support

2018-06-24 Thread Vinod
On 21-06-18, 14:40, Srinivas Kandagatla wrote: > + if (txn->mt == SLIM_MSG_MT_CORE && > + (txn->mc == SLIM_MSG_MC_CONNECT_SOURCE || > + txn->mc == SLIM_MSG_MC_CONNECT_SINK || > + txn->mc == SLIM_MSG_MC_DISCONNECT_PORT)) { > + > + txn->mt = SLIM_M

[PATCH v1] ARM: dts: imx6sl-evk: keep sw4 always on

2018-06-24 Thread Robin Gong
SW4 is one power rail for LPDDR2 on i.mx6sl-evk, so it should be kept always on. But it's disabled after switch disabled interface implemented in pfuze driver 'commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch")'.Thus, it breaks kernel bootup. Add 'regulator-always-on' for SW

[PATCH v2 1/2] arm64: dts: uniphier: add headphone detect gpio for LD20 global board

2018-06-24 Thread Katsuhiro Suzuki
This patch adds GPIO for headphone detection on LD20 global board. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts/socionex

[PATCH v2 2/2] arm64: dts: uniphier: add headphone detect gpio for LD11 global board

2018-06-24 Thread Katsuhiro Suzuki
This patch adds GPIO for headphone detection on LD11 global board. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts/socionex

[PATCH 1/2] ARM: uniphier: select RESET_CONTROLLER

2018-06-24 Thread Masahiro Yamada
The UniPhier platform highly relies on the reset controller. Select RESET_CONTROLLER to enable it forcibly. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-uniphier/Kconfig b/arch/arm/mach-uniphier/Kconfig index

[PATCH 2/2] arm64: uniphier: select RESET_CONTROLLER

2018-06-24 Thread Masahiro Yamada
The UniPhier platform highly relies on the reset controller. Select RESET_CONTROLLER to enable it forcibly. Signed-off-by: Masahiro Yamada --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index d5aea

Re: [PATCH v3 00/13] remoteproc: add fixed memory region support

2018-06-24 Thread Anup Patel
Hi Loic Pallardy, Bjorn Andersson, This patchset also helps in getting VirtIO RPMSG driver working with VirtIO MMIO transport. Is it possible to have this patchset part of Linux-4.19 or Linux-4.20? Regards, Anup

[PATCH v2 2/2] x86/boot/KASLR: Skip specified number of 1GB huge pages when do physical randomization

2018-06-24 Thread Baoquan He
In 1GB huge pages allocation, a regression bug could be triggered when KASLR is enabled. On a KVM guest with 4GB RAM, after adding the following to the kernel command-line: 'default_hugepagesz=1G hugepagesz=1G hugepages=1' then boot the guest and check number of 1GB pages reserved: # gr

[PATCH v2 0/2] x86/boot/KASLR: Skip specified number of 1GB huge pages when do physical randomization

2018-06-24 Thread Baoquan He
This is a regression bug fix. Luiz's team reported that 1GB huge page allocation will get one less 1GB page randomly when KASLR is enabled. On their KVM guest with 4GB RAM, which only has one good 1GB huge page, they found the 1GB huge page allocation sometime failed with below kernel option adding

[PATCH v2 1/2] x86/boot/KASLR: Add two functions for 1GB huge pages handling

2018-06-24 Thread Baoquan He
Functions parse_gb_huge_pages() and process_gb_huge_pages() are introduced to handle a conflict between KASLR and huge pages of GB, will be used in the next patch. Function parse_gb_huge_pages() is used to parse kernel command-line to get how many 1GB huge pages have been specified. A static globa

RE: [PATCH 4/4] clk: imx6ul: remove clks_init_on array

2018-06-24 Thread Anson Huang
Gentle Ping... Anson Huang Best Regards! > -Original Message- > From: Anson Huang > Sent: Sunday, June 3, 2018 11:01 AM > To: shawn...@kernel.org; ker...@pengutronix.de; Fabio Estevam > ; mturque...@baylibre.com; sb...@kernel.org > Cc: dl-linux-imx ; linux-arm-ker...@lists.infradead.org;

RE: [PATCH V2 2/2] ARM: dts: imx6ul: add GPIO clocks

2018-06-24 Thread Anson Huang
Gentle Ping... Anson Huang Best Regards! > -Original Message- > From: Anson Huang > Sent: Sunday, June 3, 2018 9:44 AM > To: shawn...@kernel.org; ker...@pengutronix.de; Fabio Estevam > ; robh...@kernel.org; mark.rutl...@arm.com; > mturque...@baylibre.com; sb...@kernel.org; > mich...@amar

Re: [PATCH 1/2] arm64: dts: uniphier: add headphone detect gpio for LD20 global board

2018-06-24 Thread Katsuhiro Suzuki
Hello Yamada-san, > -Original Message- > From: Masahiro Yamada > Sent: Saturday, June 23, 2018 12:47 PM > To: Suzuki, Katsuhiro/鈴木 勝博 > Cc: linux-arm-kernel ; DTML > ; Masami Hiramatsu ; > Jassi Brar ; Linux Kernel Mailing List > > Subject: Re: [PATCH 1/2] arm64: dts: uniphier: add head

RE: [RFC] Configure i.MX6 RGMII pad group control registers from device tree

2018-06-24 Thread Andy Duan
From: A.s. Dong Sent: 2018年6月24日 12:24 > Copy Andy & Frank, > > > -Original Message- > > From: Michal Vokáč [mailto:michal.vo...@ysoft.com] > > Sent: Tuesday, June 12, 2018 11:10 PM > > To: linux-g...@vger.kernel.org > > Cc: linux-arm-ker...@lists.infradead.org; Shawn Guo > > ; Sascha Haue

Re: [PATCH v2 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-24 Thread Baolin Wang
Hi Jonathan, On 22 June 2018 at 22:26, Jonathan Cameron wrote: > On Mon, 18 Jun 2018 18:47:18 +0800 > Baolin Wang wrote: > >> Hi Jonathan, >> >> On 18 June 2018 at 18:20, Jonathan Cameron >> wrote: >> > >> > >> > On 17 June 2018 09:03:04 BST, Baolin Wang wrote: >> >>Hi Jonathan, >> >> >> >>On

Re: [PATCH v4 01/15] mtd: rawnand: helper function for setting up ECC configuration

2018-06-24 Thread Masahiro Yamada
2018-06-20 16:27 GMT+09:00 Abhishek Sahu : > commit 2c8f8afa7f92 ("mtd: nand: add generic helpers to check, > match, maximize ECC settings") provides generic helpers which > drivers can use for setting up ECC parameters. > > Since same board can have different ECC strength nand chips so > following

Re: syscalls: incompatible types and aliases on i386

2018-06-24 Thread Randy Dunlap
On 06/24/2018 04:51 PM, Randy Dunlap wrote: > Hi, > > I'm seeing lots of this type of warning in 4.18-rc2 (maybe even before, > but this is on x86_32/i386, so maybe people aren't checking it so much?): > > In file included from ../arch/x86/kernel/process_32.c:40: > ../include/linux/syscalls.h:234

Re: [PATCH 5/9] rtc: cros-ec: Switch to SPDX identifier.

2018-06-24 Thread Greg KH
On Tue, Jun 05, 2018 at 08:59:52PM +0200, Alexandre Belloni wrote: > On 05/06/2018 20:51:06+0200, Enric Balletbo i Serra wrote: > > Hi Alexandre, > > > > On 05/06/18 11:46, Alexandre Belloni wrote: > > > On 05/06/2018 11:22:05+0200, Enric Balletbo i Serra wrote: > > >> Adopt the SPDX license ident

Re: [PATCH v2 5/8] Input: cros_ec_keyb - Switch to SPDX identifier.

2018-06-24 Thread Greg KH
On Tue, Jun 05, 2018 at 08:14:24PM +0200, Enric Balletbo i Serra wrote: > Hi Fabio, > > On 05/06/18 20:04, Fabio Estevam wrote: > > Hi Enric, > > > > On Tue, Jun 5, 2018 at 2:54 PM, Enric Balletbo i Serra > > wrote: > >> Adopt the SPDX license identifier headers to ease license compliance > >> m

Re: [PATCH v3 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-24 Thread Baolin Wang
Hi Jonathan, On 24 June 2018 at 21:47, Jonathan Cameron wrote: > On Sun, 24 Jun 2018 14:30:09 +0100 > Jonathan Cameron wrote: > >> On Sun, 24 Jun 2018 17:13:00 +0800 >> Baolin Wang wrote: >> >> > Hi Jonathan, >> > >> > On 22 June 2018 at 22:13, Jonathan Cameron >> > wrote: >> > > On Thu, 21 J

Re: [PATCH] mm/zsmalloc: make several functions and a struct static

2018-06-24 Thread Sergey Senozhatsky
On (06/24/18 22:33), Colin King wrote: > The functions zs_page_isolate, zs_page_migrate, zs_page_putback, > lock_zspage, trylock_zspage and structure zsmalloc_aops are local to > source and do not need to be in global scope, so make them static. > > Cleans up sparse warnings: > symbol 'zs_page_iso

Re: [PATCH] printk: inject caller information into the body of message

2018-06-24 Thread Sergey Senozhatsky
On (06/22/18 22:06), Tetsuo Handa wrote: > > > > Awesome. If you and Fengguang can combine forces and lead the > > whole thing towards "we couldn't care of pr_cont() less", it > > would be really huge. Go for it! > > Can't we have seq_printf()-like one which flushes automatically upon seeing

Re: m68k boot failure in -next bisected to 'xarray: Replace exceptional entries'

2018-06-24 Thread Guenter Roeck
On 06/24/2018 04:39 PM, Matthew Wilcox wrote: On Sat, Jun 23, 2018 at 09:01:37PM -0700, Guenter Roeck wrote: Yes, that is much better: Build reference: next-20180622-1-g023ad92e94da Building mcf5208evb:m5208:m5208evb_defconfig:initrd ... running passed Building q800:m68040:mac_defconfig:i

Re: [PATCH 4.9 00/39] 4.9.110-stable review

2018-06-24 Thread Greg Kroah-Hartman
On Sun, Jun 24, 2018 at 10:44:19AM -0700, Nathan Chancellor wrote: > On Sun, Jun 24, 2018 at 11:23:47PM +0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.110 release. > > There are 39 patches in this series, all will be posted as a response > > to this on

A végső értesítés Önnek

2018-06-24 Thread Mansour, Taha
A végső értesítés Önnek Ön elnyerte a 450.000,00 euró (négyszázötvenezer euró) és az e-mail programot Spanyolország Nemzetközi jótékonysági program "El Gordo Mi levélben jelezzük ezt a díjat, Batch number: Ref: GP.ES/01091/7/61 .Ticket 79/71/02/23/88. Vegye fel a kapcsolatot a képviselő képvise

Re: linux-next: build failure after merge of the cifs tree

2018-06-24 Thread Steve French
Should be ok now - It was missing an update that Aurelien and I worked on for that patch - so I backed that patch out. It was also suggested that that Kconfig parm and #ifdef be removed since SMB3.11 is strongly recommended to be set (which would have avoided this as well) and will be added to th

Re: [PATCH 2/6] device: Add #define dev_fmt similar to #define pr_fmt

2018-06-24 Thread Greg Kroah-Hartman
On Sun, Jun 24, 2018 at 08:41:03AM -0700, Joe Perches wrote: > On Tue, 2018-06-19 at 06:31 -0700, Joe Perches wrote: > > Greg? Ping? > > > > The patches to impi have hit -next and the impi code > > works differently without this patch. > > Greg? > > You are listed as the maintainer for this sub

Re: [PATCH v2 0/4] have the vt console preserve unicode characters

2018-06-24 Thread Adam Borowski
On Wed, Jun 20, 2018 at 10:59:08PM -0400, Nicolas Pitre wrote: > On Thu, 21 Jun 2018, Adam Borowski wrote: > > > On Tue, Jun 19, 2018 at 11:34:34AM -0400, Nicolas Pitre wrote: > > > On Tue, 19 Jun 2018, Adam Borowski wrote: > > > > Thus, it'd be nice to use the structure you add to implement full

[PATCH v2] platform/x86: intel-vbtn: Add support for dock mode detection

2018-06-24 Thread Matt Delco
The Dell laptop I have has an ACPI that sends 0xCB and 0xCC on entering tablet mode. On exiting tablet mode it sends 0xCA and 0xCD. Based on: http://www.traby.de/medion/DSDT/dsdt.dsl https://gist.github.com/jprvita/5737de3cbb670e80973b7d4e51c38ab6 https://osdn.net/projects/android-x86/scm/git/ker

syscalls: incompatible types and aliases on i386

2018-06-24 Thread Randy Dunlap
Hi, I'm seeing lots of this type of warning in 4.18-rc2 (maybe even before, but this is on x86_32/i386, so maybe people aren't checking it so much?): In file included from ../arch/x86/kernel/process_32.c:40: ../include/linux/syscalls.h:234:18: warning: 'sys_arch_prctl' alias between functions of

Re: m68k boot failure in -next bisected to 'xarray: Replace exceptional entries'

2018-06-24 Thread Matthew Wilcox
On Sat, Jun 23, 2018 at 09:01:37PM -0700, Guenter Roeck wrote: > Yes, that is much better: > > Build reference: next-20180622-1-g023ad92e94da > > Building mcf5208evb:m5208:m5208evb_defconfig:initrd ... running passed > Building q800:m68040:mac_defconfig:initrd ... running passed > Build

linux-next: build failure after merge of the cifs tree

2018-06-24 Thread Stephen Rothwell
Hi all, After merging the cifs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/cifs/smb2ops.c: In function 'smb311_queryfs': fs/cifs/smb2ops.c:1543:11: error: 'struct cifs_tcon' has no member named 'posix_extensions' if (!tcon->posix_extensions) ^~ At t

[PATCH v6 2/6] mtd: rawnand: add manufacturer fixup for ONFI parameter page

2018-06-24 Thread Chris Packham
This is called after the ONFI parameter page checksum is verified and allows us to override the contents of the parameter page. Suggested-by: Boris Brezillon Signed-off-by: Chris Packham Reviewed-by: Boris Brezillon --- Changes in v2: - New Changes in v3: - Add doc comment and review from Boris

[PATCH v6 6/6] mtd: rawnand: micron: detect forced on-die ECC

2018-06-24 Thread Chris Packham
Some Micron NAND chips have on-die ECC forceably enabled. Detect these based on chip ID as there seems to be no other way of distinguishing these chips from those that have optional support for on-die ECC. Signed-off-by: Chris Packham Reviewed-by: Boris Brezillon --- Changes in v4: - New Changes

[PATCH v6 3/6] mtd: rawnand: add defines for ONFI version bits

2018-06-24 Thread Chris Packham
Add defines for the ONFI version bits and use them in nand_flash_detect_onfi(). Signed-off-by: Chris Packham Reviewed-by: Boris Brezillon --- Changes in v4: - New Changes in v5: - Add review from Boris Changes in v6: - None drivers/mtd/nand/raw/nand_base.c | 10 +- include/linux/mtd/ra

[PATCH v6 4/6] mtd: rawnand: micron: add fixup for ONFI revision

2018-06-24 Thread Chris Packham
Some Micron NAND chips (MT29F1G08ABAFAWP-ITE:F) report 00 00 for the revision number field of the ONFI parameter page. Rather than rejecting these outright assume ONFI version 1.0 if the revision number is 00 00. Signed-off-by: Chris Packham Reviewed-by: Boris Brezillon --- This is now qualified

Re: [PATCH 2/2] bitmap: sync tools with new bitmap allocation API

2018-06-24 Thread Yury Norov
On Sun, Jun 24, 2018 at 02:31:03PM -0700, Dmitry Torokhov wrote: > External Email > > On Sat, Jun 23, 2018 at 10:35:02AM +0300, Yury Norov wrote: > > On top of next-20180622 and Andy Shevchenko series: > > https://lkml.org/lkml/2018/6/18/841 > > > > The series mentioned above introduces helpers fo

[PATCH v6 1/6] mtd: rawnand: marvell: Handle on-die ECC

2018-06-24 Thread Chris Packham
>From the controllers point of view this is the same as no or software only ECC. Signed-off-by: Chris Packham Reviewed-by: Boris Brezillon --- Changes in v2: - New Changes in v3: - Add review from Boris Changes in v4: - None Changes in v5: - None Changes in v6: - None drivers/mtd/nand/raw/marv

[PATCH v6 0/6] mtd: rawnand: support MT29F1G08ABAFAWP-ITE:F

2018-06-24 Thread Chris Packham
Hi, I'm looking at adding support for the Micron MT29F1G08ABAFAWP-ITE:F chip to one of our boards which uses the Marvell NFCv2 controller. This particular chip is a bit odd in that the datasheet states support for ONFI 1.0 but the revision number field is 00 00. It also is marked ABAFA but report

[PATCH v6 5/6] mtd: rawnand: micron: support 8/512 on-die ECC

2018-06-24 Thread Chris Packham
Micron MT29F1G08ABAFAWP-ITE:F supports an on-die ECC with 8 bits per 512 bytes. Add support for this combination. Signed-off-by: Chris Packham Reviewed-by: Boris Brezillon --- Changes in v2: - New Changes in v3: - Handle reporting of corrected errors that don't require a rewrite, expand commen

[RESEND PATCH] sh: make use of for_each_node_by_type()

2018-06-24 Thread Dmitry Torokhov
Instead of open-coding the loop, let's use canned macro. Also make sure we are not leaking "cpus" node reference. Signed-off-by: Dmitry Torokhov --- arch/sh/boards/of-generic.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boar

Re: [PATCH V9] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-24 Thread Daniel Lezcano
Hi Rafael, do you think this patch is acceptable for merging ? On 20/06/2018 06:34, Viresh Kumar wrote: > On 19-06-18, 15:23, Daniel Lezcano wrote: >> Initially, the cpu_cooling device for ARM was changed by adding a new >> policy inserting idle cycles. The intel_powerclamp driver does a >> s

[PATCH] mm/zsmalloc: make several functions and a struct static

2018-06-24 Thread Colin King
From: Colin Ian King The functions zs_page_isolate, zs_page_migrate, zs_page_putback, lock_zspage, trylock_zspage and structure zsmalloc_aops are local to source and do not need to be in global scope, so make them static. Cleans up sparse warnings: symbol 'zs_page_isolate' was not declared. Shou

Re: [PATCH 2/2] bitmap: sync tools with new bitmap allocation API

2018-06-24 Thread Dmitry Torokhov
On Sat, Jun 23, 2018 at 10:35:02AM +0300, Yury Norov wrote: > On top of next-20180622 and Andy Shevchenko series: > https://lkml.org/lkml/2018/6/18/841 > > The series mentioned above introduces helpers for bitmap allocation. > tools/ has its own bitmap_alloc() which differs from bitmap_alloc() > p

[PATCH v8 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-24 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts/tegr

[PATCH v8 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-24 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v8 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-24 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v8 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-24 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd/na

[PATCH v8 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-24 Thread Stefan Agner
Eigth and hopefully final revision gets rid of nand_release() as suggested by Boris. -- Stefan Changes since v1: - Split controller and NAND chip structure - Add BCH support - Allow to select algorithm and strength using device tree - Improve HW ECC error reporting and use DEC_STATUS_BUF only - U

[PATCH v8 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
Add support for the NAND flash controller found on NVIDIA Tegra 2 SoCs. This implementation does not make use of the command queue feature. Regular operations using ->exec_op() use PIO mode for data transfers. Raw, ECC and OOB read/writes make use of the DMA mode for data transfer. Signed-off-by:

[PATCH v8 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-24 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions(+) cr

Re: [PATCH v7 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
On 24.06.2018 21:50, Boris Brezillon wrote: > On Sun, 24 Jun 2018 21:22:28 +0200 > Stefan Agner wrote: > >> + >> +static int tegra_nand_remove(struct platform_device *pdev) >> +{ >> +struct tegra_nand_controller *ctrl = platform_get_drvdata(pdev); >> + >> +nand_release(nand_to_mtd(ctrl->c

[char-misc-next 1/2] mei: add optional timeout to internal bus recv

2018-06-24 Thread Tomas Winkler
From: Alexander Usyskin Add optional timeout to internal bus recv function to enable break out of internal flows in case of no answer from FW. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus-fixup.c | 2 +- drivers/misc/mei/bus.c | 36

[char-misc-next 2/2] mei: expose fw version to sysfs

2018-06-24 Thread Tomas Winkler
From: Alexander Usyskin The ME FW version is constantly used by detection and update tools. To improve the reliability and simplify these tools provide a sysfs interface to access version of the platform ME firmware in the following format: : There can be up to three such blocks for different

Re: [PATCH v8 03/26] PM / Domains: Add generic data pointer to genpd_power_state struct

2018-06-24 Thread Rafael J. Wysocki
On Wed, Jun 20, 2018 at 7:22 PM, Ulf Hansson wrote: > From: Lina Iyer > > Let's add a data pointer to the genpd_power_state struct, to allow > platforms to store per state specific data. Can you please fold it into a patch actually using this pointer? > Cc: Lina Iyer > Signed-off-by: Lina Iyer

Re: [[LINUX PATCH v10] 3/4] Documentation: nand: pl353: Add documentation for controller and driver

2018-06-24 Thread Boris Brezillon
On Thu, 21 Jun 2018 12:12:30 +0530 Naga Sureshkumar Relli wrote: > Added notes about the controller and driver. > > Signed-off-by: Naga Sureshkumar Relli > --- > Changes in v10: > - None > Changes in v9: > - Addressed the comments given by Miquel and Randy > Changes in v8 > - None > Changes

[PATCH v7] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-24 Thread Tomas Winkler
Fix tpm ptt initialization error: tpm tpm0: A TPM error (378) occurred get tpm pcr allocation. We cannot use go_idle cmd_ready commands via runtime_pm handles as with the introduction of localities this is no longer an optional feature, while runtime pm can be not enabled. Though cmd_ready/go_idle

Re: [[LINUX PATCH v10] 1/4] Devicetree: Add pl353 smc controller devicetree binding information

2018-06-24 Thread Boris Brezillon
Hi Naga, Subject prefix should be "dt-bindings: memory: " not "Devicetree: ". On Thu, 21 Jun 2018 12:12:28 +0530 Naga Sureshkumar Relli wrote: > Add pl353 static memory controller devicetree binding information. > > Signed-off-by: Naga Sureshkumar Relli > --- > Changes in v10: > - Corrected

[PATCH] staging:iio:impedance-analyzer:ad5933: Macro replacment Cleanups.

2018-06-24 Thread Karim Eshapa
Doing some macro replacment to start an array of structures so it can be reused by manipulating it with different values. Signed-off-by: Karim Eshapa --- .../staging/iio/impedance-analyzer/ad5933.c | 57 +++ 1 file changed, 19 insertions(+), 38 deletions(-) diff --git a/driver

Re: [PATCH v3] lib/bch: Remove VLA usage

2018-06-24 Thread Boris Brezillon
On Wed, 20 Jun 2018 11:16:11 -0700 Kees Cook wrote: > On Wed, Jun 20, 2018 at 12:38 AM, Boris Brezillon > wrote: > > Hi Kees, > > > > On Tue, 19 Jun 2018 16:48:17 -0700 > > Kees Cook wrote: > > > >> On Fri, Jun 1, 2018 at 4:09 AM, Ivan Djelic > >> wrote: > >> > On Thu, May 31, 2018 at 11:

Re: [PATCH] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-06-24 Thread Boris Brezillon
Hi Tudor, Just one minor comment, I'll let Marek review the patch in more details. On Fri, 8 Jun 2018 16:48:18 +0300 Tudor Ambarus wrote: > /* > * Erase an address range on the nor chip. The address range may extend > * one or more erase sectors. Return an error is there is a problem era

Re: [PATCH v7 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Boris Brezillon
On Sun, 24 Jun 2018 21:22:28 +0200 Stefan Agner wrote: > + > +static int tegra_nand_remove(struct platform_device *pdev) > +{ > + struct tegra_nand_controller *ctrl = platform_get_drvdata(pdev); > + > + nand_release(nand_to_mtd(ctrl->chip)); I still see nand_release() being used here. As

Re: [PATCH 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-06-24 Thread Boris Brezillon
Hi Yixun, On Wed, 13 Jun 2018 16:13:14 + Yixun Lan wrote: > From: Liang Yang > > Add initial support for the Amlogic NAND flash controller which found > in the Meson-GXBB/GXL/AXG SoCs. > > Singed-off-by: Liang Yang > Signed-off-by: Yixun Lan > --- > drivers/mtd/nand/raw/Kconfig

[PATCH v7 6/6] ARM: dts: tegra: enable NAND flash on Colibri T20

2018-06-24 Thread Stefan Agner
This enables the on-module ONFI conformant NAND flash. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arch/arm/boot/dts/tegr

[PATCH v7 1/6] mtd: rawnand: add Reed-Solomon error correction algorithm

2018-06-24 Thread Stefan Agner
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Acked-by: Rob Herring --- Documentation/devicetree/bindings/mtd/nand.txt | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 + include/linux/mtd/rawnand.h

[PATCH v7 5/6] ARM: dts: tegra: add Tegra20 NAND flash controller node

2018-06-24 Thread Stefan Agner
From: Lucas Stach Add basic controller device tree node to be extended by individual boards. Use the assigned-clocks mechanism to set NDFLASH clock to a sensible default rate of 150MHz. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- arch/arm/boot/dts/tegra20.dtsi | 15

[PATCH v7 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-24 Thread Stefan Agner
This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- .../bindings/mtd/nvidia-tegra20-nand.txt | 64 +++ 1 file changed, 64 insertions(+) cr

[PATCH v7 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-24 Thread Stefan Agner
Add support for the NAND flash controller found on NVIDIA Tegra 2 SoCs. This implementation does not make use of the command queue feature. Regular operations using ->exec_op() use PIO mode for data transfers. Raw, ECC and OOB read/writes make use of the DMA mode for data transfer. Signed-off-by:

[PATCH v7 2/6] mtd: rawnand: add an option to specify NAND chip as a boot device

2018-06-24 Thread Stefan Agner
Allow to define a NAND chip as a boot device. This can be helpful for the selection of the ECC algorithm and strength in case the boot ROM supports only a subset of controller provided options. Signed-off-by: Stefan Agner Reviewed-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd/na

[PATCH v7 0/6] mtd: rawnand: add NVIDIA Tegra NAND flash support

2018-06-24 Thread Stefan Agner
Seventh revision fixes some checkpatch shortcomings. The remaning issues reported are either not applicable or on purpose, fixing them would hurt readability. -- Stefan Changes since v1: - Split controller and NAND chip structure - Add BCH support - Allow to select algorithm and strength using de

[PATCH] mm, swap: make swap_slots_cache_mutex and swap_slots_cache_enable_mutex static

2018-06-24 Thread Colin King
From: Colin Ian King The mutexes swap_slots_cache_mutex and swap_slots_cache_enable_mutex are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: symbol 'swap_slots_cache_mutex' was not declared. Should it be static? symbol 'swap_slots_cache

[PATCH] ASoC: cx20442: Don't ignore regulator_get() errors.

2018-06-24 Thread Janusz Krzysztofik
In its current shape, the driver just ignores errors returned by regulator_get() at component_probe(). This doesn't hurt on Amstrad Delta board as long as it registers the codec device at late_initcall, when the regulator which depends on basic-mmio-gpio device (probed as late as at dev_initcall)

Re: [PATCH 4.9 00/39] 4.9.110-stable review

2018-06-24 Thread Nathan Chancellor
On Sun, Jun 24, 2018 at 11:23:47PM +0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.110 release. > There are 39 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

Interested

2018-06-24 Thread Engr. Brian Abrahart
Hi, I have a mutual business proposal of mutual interest to share with you; it involves the transfer of a large sum of money. I got your reference in my search for someone who suits my proposed business relationship. If you are interested in working with me contact me for further details, you

Re: [PATCH for 4.18] MIPS: adapt to rseq API changes

2018-06-24 Thread Paul Burton
Hi Mathieu, On Sun, Jun 24, 2018 at 12:25:13PM -0400, Mathieu Desnoyers wrote: > The prototype of rseq_handle_notify_resume() and rseq_signal_deliver() > had to be changed to fix handling of traps occuring on signal delivery. > The API change was merged at the same time as the rseq MIPS port. > >

Re: [PATCH] MIPS: Add ksig argument to rseq_{signal_deliver,handle_notify_resume}

2018-06-24 Thread Mathieu Desnoyers
- On Jun 24, 2018, at 12:58 PM, Paul Burton paul.bur...@mips.com wrote: > Commit 784e0300fe9f ("rseq: Avoid infinite recursion when delivering > SIGSEGV") added a new ksig argument to the rseq_signal_deliver() & > rseq_handle_notify_resume() functions, and was merged in v4.18-rc2. > Meanwhile

[PATCH] MIPS: Add ksig argument to rseq_{signal_deliver,handle_notify_resume}

2018-06-24 Thread Paul Burton
Commit 784e0300fe9f ("rseq: Avoid infinite recursion when delivering SIGSEGV") added a new ksig argument to the rseq_signal_deliver() & rseq_handle_notify_resume() functions, and was merged in v4.18-rc2. Meanwhile MIPS support for restartable sequences was also merged in v4.18-rc2 with commit 9ea14

[PATCH v3] staging: pi433: replace simple switch statements

2018-06-24 Thread Valentin Vidic
Use const array to map switch cases to resulting values. Signed-off-by: Valentin Vidic --- v2: use correct type for const arrays v3: add missing static keyword for af_map drivers/staging/pi433/rf69.c | 233 ++- 1 file changed, 93 insertions(+), 140 deletions(-)

  1   2   3   4   5   >