Re: [RFC PATCH 3/4] extcon: add possibility to get extcon device by of node

2017-10-17 Thread Chanwoo Choi
Hi, On 2017년 09월 28일 22:07, Andrzej Hajda wrote: > Since extcon property is not allowed in DT, extcon subsystem requires > another way to get extcon device. Lets try the simplest approach - get > edev by of_node. > > Signed-off-by: Andrzej Hajda > --- > drivers/extcon/extcon.c | 44

Re: [PATCH 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags

2017-10-17 Thread Greg Kroah-Hartman
On Tue, Oct 17, 2017 at 05:26:20PM +0200, Rafael J. Wysocki wrote: > On Tuesday, October 17, 2017 9:15:43 AM CEST Greg Kroah-Hartman wrote: > > On Tue, Oct 17, 2017 at 12:05:11AM +0200, Rafael J. Wysocki wrote: > > > On Monday, October 16, 2017 8:28:52 AM CEST Greg Kroah-Hartman wrote: > > > > On M

Re: [PATCH 5/9] PCI: host: brcmstb: add dma-ranges for inbound traffic

2017-10-17 Thread Christoph Hellwig
On Tue, Oct 17, 2017 at 12:11:55PM -0400, Jim Quinlan wrote: > My understanding is that dma_pfn_offset is that it is a single > constant offset from RAM, in our case, to map to PCIe space. Yes. > But in > my commit message I detail how our PCIe controller presents memory > with multiple regions w

Re: [PATCH 1/9] SOC: brcmstb: add memory API

2017-10-17 Thread Christoph Hellwig
On Tue, Oct 17, 2017 at 09:12:22AM -0700, Florian Fainelli wrote: > > Please move this into the arm arch code. > > No, this needs to work on both ARM and ARM64, hence the reason why this > is in a reasonably architecture neutral place. So there is no other shared code between the ARM and ARM64 po

[PATCH v3] staging: ccree: fix boolreturn.cocci warning

2017-10-17 Thread sunil . m
From: Suniel Mahesh This fixes the following coccinelle warning: WARNING: return of 0/1 in function 'ssi_is_hw_key' with return type bool. return "false" instead of 0. Signed-off-by: Suniel Mahesh --- Changes for v3: - Changed the commit log even more to give an accurate description of the c

Re: [PATCH 3/4] ARM: dts: imx28-tx28: fix interrupt flags and use interrupts-extended property

2017-10-17 Thread Lothar Waßmann
Hi, On Wed, 18 Oct 2017 10:13:32 +0800 Shawn Guo wrote: > On Mon, Oct 16, 2017 at 10:56:32AM +0200, Lothar Waßmann wrote: > > Hi, > > > > On Mon, 16 Oct 2017 09:17:26 +0200 Uwe Kleine-König wrote: > > > Hello, > > > > > > On Wed, Oct 11, 2017 at 01:05:38PM +0200, Lothar Waßmann wrote: > > > > di

Re: [PATCH v6] eeprom: at24: Add OF device ID table

2017-10-17 Thread Geert Uytterhoeven
Hi Wolfram, On Tue, Oct 17, 2017 at 11:40 PM, Wolfram Sang wrote: >> + { >> + .compatible = "atmel,spd", >> + .data = (void *)AT24_DEVICE_MAGIC(2048 / 8, >> + AT24_FLAG_READONLY | AT24_FLAG_IRUGO) >> + }, > > checkpatch reported this one

Re: ARM64: Regression with commit e3067861ba66 ("arm64: add basic VMAP_STACK support")

2017-10-17 Thread Leo Yan
On Tue, Oct 17, 2017 at 10:56:43AM +0100, Mark Rutland wrote: > On Tue, Oct 17, 2017 at 05:36:58PM +0800, Leo Yan wrote: > > On Tue, Oct 17, 2017 at 10:32:21AM +0100, Ard Biesheuvel wrote: > > > > [...] > > > > > > AFAICT, erratum 836870 results in livelock rather than memory > > > > corruption,

Re: scripts/checkpatch: Concatenated strings should use spaces between elements

2017-10-17 Thread Heinrich Schuchardt
On 10/18/2017 02:35 AM, Joe Perches wrote: > On Wed, 2017-10-18 at 00:58 +0200, Heinrich Schuchardt wrote: >> On 10/18/2017 12:43 AM, Joe Perches wrote: >>> On Tue, 2017-10-17 at 23:17 +0200, Heinrich Schuchardt wrote: This patch creates a warning (CHECK) "Concatenated strings should use

Re: [PATCH v5] mm, sysctl: make NUMA stats configurable

2017-10-17 Thread Vlastimil Babka
On 10/18/2017 03:42 AM, Kemi Wang wrote: > This is the second step which introduces a tunable interface that allow > numa stats configurable for optimizing zone_statistics(), as suggested by > Dave Hansen and Ying Huang. > > =

[GIT PULL] s390 patches for 4.14-rc6

2017-10-17 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Two bug fixes: * A fix for cputime accounting vs CPU hotplug * Add two options to zfcpdump_defconfig to make SCSI dump work a

Re: [PATCH] mm/page_alloc: make sure __rmqueue() etc. always inline

2017-10-17 Thread Vlastimil Babka
On 10/18/2017 03:53 AM, Lu, Aaron wrote: > On Tue, 2017-10-17 at 13:32 +0200, Vlastimil Babka wrote: >> >> Are transparent hugepages enabled? If yes, __rmqueue() is called from >> rmqueue(), and there's only one page fault (and __rmqueue()) per 512 >> "writes to each page". If not, __rmqueue() is c

Re: [PATCH V8 00/14] mmc: Add Command Queue support

2017-10-17 Thread Adrian Hunter
On 11/10/17 16:58, Ulf Hansson wrote: > On 11 October 2017 at 14:58, Adrian Hunter wrote: >> On 11/10/17 15:13, Ulf Hansson wrote: >>> On 10 October 2017 at 15:31, Adrian Hunter wrote: On 10/10/17 16:08, Ulf Hansson wrote: > [...] > > > I have also run some test on my

Re: [RFC PATCH v9 for 4.15 01/14] Restartable sequences system call

2017-10-17 Thread Greg KH
On Tue, Oct 17, 2017 at 04:19:41PM +, Ben Maurer wrote: > Hey, > > > So far the restrictions I see for libraries using this symbol are: > > - They should never be unloaded, > > - They should never be loaded with dlopen RTLD_LOCAL flag. > > We talked a bit about this off-list but I wanted to s

Re: [PATCH] ARM: Fix zImage file size not aligned with CONFIG_EFI_STUB enabled

2017-10-17 Thread Chris Zhong
Tested-by: Chris Zhong On Wednesday, October 18, 2017 01:01 PM, Jeffy Chen wrote: The zImage file size should be aligned. Fixes: e4bae4d0b5f3 ("arm/efi: Split zImage code and data into separate PE/COFF sections") Signed-off-by: Jeffy Chen --- arch/arm/boot/compressed/vmlinux.lds.S | 8 ++

Re: [PATCH] driver core: Make sure device detached from driver before deleting it

2017-10-17 Thread Greg Kroah-Hartman
On Wed, Oct 18, 2017 at 01:49:26PM +0800, Jeffy Chen wrote: > There are cases we call device_del() without detaching it from the > driver(e.g. spi core del children devices). Why would you do that? Shouldn't that be fixed instead of this odd work-around for a broken bus? thanks, greg k-h

Re: [PATCH] PCI: dwc: dra7xx: Print link state to console for debug

2017-10-17 Thread Faiz Abbas
On Tuesday 17 October 2017 12:05 PM, Joe Perches wrote: > On Tue, 2017-10-17 at 11:13 +0530, Faiz Abbas wrote: >> Enable support for printing the LTSSM link state for debugging PCI >> when link is down. > [] >> diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/dwc/pci-dra7xx.c >> index 3442

Re: [Patch v6 2/7] slimbus: Add messaging APIs to slimbus framework

2017-10-17 Thread Bjorn Andersson
On Fri 06 Oct 08:51 PDT 2017, srinivas.kandaga...@linaro.org wrote: > From: Sagar Dharia > > Slimbus devices use value-element, and information elements to > control device parameters (e.g. value element is used to represent > gain for codec, information element is used to represent interrupt >

Re: [PATCH] usb: dwc2: disable erroneous overcurrent condition

2017-10-17 Thread Minas Harutyunyan
On 10/16/2017 8:40 PM, Marek Vasut wrote: > On 10/16/2017 03:57 PM, Dinh Nguyen wrote: >> For the case where an external VBUS is used, we should enable the external >> VBUS comparator in the driver. This would prevent an unnecessary >> overcurrent error which would then disable the host port. >> >>

Re: [PATCH v4] printk: hash addresses printed with %p

2017-10-17 Thread Tobin C. Harding
On Wed, Oct 18, 2017 at 02:44:31PM +0900, Sergey Senozhatsky wrote: > On (10/18/17 15:21), Tobin C. Harding wrote: > [..] > > diff --git a/lib/vsprintf.c b/lib/vsprintf.c > > index 86c3385b9eb3..4609738cd2cd 100644 > > --- a/lib/vsprintf.c > > +++ b/lib/vsprintf.c > > @@ -33,6 +33,8 @@ > > #includ

Re: [PATCH 1/3] driver: mailbox: add support for Hi3660

2017-10-17 Thread Leo Yan
Hi Jassi, On Sat, Sep 02, 2017 at 01:07:50PM +0530, Jassi Brar wrote: [...] > > +#define MBOX_CHAN_MAX 32 > > + > > +#define MBOX_TX0x1 > > + > > +/* Mailbox message length: 2 words */ > > +#define MBOX_MSG_LEN 2 > > + > > +#defi

[PATCH V3] selftests/vm: Add tests validating mremap mirror functionality

2017-10-17 Thread Anshuman Khandual
This adds two tests to validate mirror functionality with mremap() system call on shared and private anon mappings. After the commit dba58d3b8c5 ("mm/mremap: fail map duplication attempts for private mappings"), any attempt to mirror private anon mapping will fail. Suggested-by: Mike Kravetz Sign

[PATCH] driver core: Make sure device detached from driver before deleting it

2017-10-17 Thread Jeffy Chen
There are cases we call device_del() without detaching it from the driver(e.g. spi core del children devices). Signed-off-by: Jeffy Chen --- drivers/base/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base/core.c b/drivers/base/core.c index 12ebd055724c..717efc3020af 10064

Re: [PATCH v4 pci 0/2] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2017-10-17 Thread Khuong Dinh
Hi Lorenzo, On Tue, Oct 17, 2017 at 6:38 AM, Lorenzo Pieralisi wrote: > Hi Khuong, > > On Mon, Oct 16, 2017 at 02:19:50PM -0700, Khuong Dinh wrote: >> Hi Lorenzo, >> Do you have any comments for this patch? > > I'd have some comments but given that there are related issues with ACPI > probe ord

Re: [RFC PATCH for 4.15 14/14] Restartable sequences: Provide self-tests

2017-10-17 Thread Michael Ellerman
Mathieu Desnoyers writes: > - On Oct 17, 2017, at 6:36 AM, Michael Ellerman m...@ellerman.id.au wrote: > >> Mathieu Desnoyers writes: >> >>> Hi Michael, >>> >>> With your changes integrated, both rseq and cpu-opv selftests fail to >>> build if I pass e.g. -j32 to make. >>> >>> cd tools/test

Re: [PATCH 00/58] networking: Convert timers to use timer_setup()

2017-10-17 Thread Kalle Valo
Kees Cook writes: > On Tue, Oct 17, 2017 at 7:18 AM, Kalle Valo wrote: >> + linux-wireless >> >> Hi Kees, >> >> Kees Cook writes: >> >>> This is the current set of outstanding networking patches to perform >>> conversions to the new timer interface (rebased to -next). This is not >>> all expect

Re: [PATCH v4] printk: hash addresses printed with %p

2017-10-17 Thread Sergey Senozhatsky
On (10/18/17 15:21), Tobin C. Harding wrote: [..] > diff --git a/lib/vsprintf.c b/lib/vsprintf.c > index 86c3385b9eb3..4609738cd2cd 100644 > --- a/lib/vsprintf.c > +++ b/lib/vsprintf.c > @@ -33,6 +33,8 @@ > #include > #include > #include > +#include > +#include > #ifdef CONFIG_BLOCK > #in

Re: [PATCH v9 00/20] simplify crypto wait for async op

2017-10-17 Thread Gilad Ben-Yossef
On Tue, Oct 17, 2017 at 5:06 PM, Russell King - ARM Linux wrote: > On Sun, Oct 15, 2017 at 10:19:45AM +0100, Gilad Ben-Yossef wrote: >> Many users of kernel async. crypto services have a pattern of >> starting an async. crypto op and than using a completion >> to wait for it to end. >> >> This pat

Re: [PATCH v3 1/7] ACPI/PPTT: Add Processor Properties Topology Table parsing

2017-10-17 Thread Tomasz Nowicki
Hi, On 17.10.2017 17:22, Jeremy Linton wrote: Hi, On 10/17/2017 08:25 AM, Tomasz Nowicki wrote: Hi Jeremy, I did second round of review and have some more comments, please see below: On 12.10.2017 21:48, Jeremy Linton wrote: ACPI 6.2 adds a new table, which describes how processing units

Re: [Intel-wired-lan] [PATCH] [v2] i40e: avoid 64-bit division where possible

2017-10-17 Thread Nambiar, Amritha
On 10/17/2017 10:33 AM, Alexander Duyck wrote: > On Tue, Oct 17, 2017 at 8:49 AM, Arnd Bergmann wrote: >> The new bandwidth calculation caused a link error on 32-bit >> architectures, like >> >> ERROR: "__aeabi_uldivmod" [drivers/net/ethernet/intel/i40e/i40e.ko] >> undefined! >> >> The problem is

Re: [PATCH] Support resetting WARN*_ONCE

2017-10-17 Thread Michael Ellerman
Andi Kleen writes: > From: Andi Kleen > > I like _ONCE warnings because it's guaranteed that they don't > flood the log. > > During testing I find it useful to reset the state of the once warnings, > so that I can rerun tests and see if they trigger again, or can > guarantee that a test run alwa

Re: [tip:locking/urgent] locking/lockdep: Disable cross-release features for now

2017-10-17 Thread Byungchul Park
On Tue, Oct 17, 2017 at 09:12:02AM +0200, Ingo Molnar wrote: > > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > > > index 2689b7c..e270584 100644 > > > --- a/lib/Kconfig.debug > > > +++ b/lib/Kconfig.debug > > > @@ -1092,8 +1092,8 @@ config PROVE_LOCKING > > > select DEBUG_MUTEXES > > >

Re: [PATCH 2/3] powernv/pci: Use common code in pnv_ioda_pick_m64_pe()

2017-10-17 Thread Alexey Kardashevskiy
On 18/10/17 02:39, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 17 Oct 2017 17:07:54 +0200 > > Add a jump target so that a bit of code can be better reused > at the end of this function. Rather than moving bits around, I'd rather allocate pe_alloc on stack and ditch kfree() at a

Re: [PATCH 3/3] powernv/pci: Improve a size determination in pnv_pci_init_ioda_phb()

2017-10-17 Thread Alexey Kardashevskiy
On 18/10/17 02:40, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 17 Oct 2017 17:18:10 +0200 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit safer according t

Re: [PATCH 1/3] powernv/pci: Delete an error message for a failed memory allocation in pnv_ioda_pick_m64_pe()

2017-10-17 Thread Alexey Kardashevskiy
On 18/10/17 02:37, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 17 Oct 2017 16:52:43 +0200 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > arch/p

Re: [PATCH] input: touchscreen: ti_am335x_tsc: Fix incorrect step config for 5 wire touchscreen

2017-10-17 Thread Michael Nazzareno Trimarchi
Hi On Tue, Sep 19, 2017 at 8:29 AM, Vignesh R wrote: > From: Jeff Lance > > Step config setting for 5 wire touchscreen is incorrect for Y coordinates. > It was broken while we moved to DT. If you look close at the offending > commit bb76dc09ddfc ("input: ti_am33x_tsc: Order of TSC wires, made >

Re: [RFC PATCH v4 7/8] pwm: Add dummy pwmchip for orphan pwms

2017-10-17 Thread jeffy
Hi guys, On 10/18/2017 03:05 AM, Mark Brown wrote: On Tue, Oct 17, 2017 at 11:53:01AM -0700, Brian Norris wrote: On Tue, Oct 17, 2017 at 07:46:03PM +0100, Mark Brown wrote: I would expect we can get a long way in the DT by doing a pass over the tree and adding links between device nodes in c

Re: [RESEND PATCH] irq_work: Don't reinvent the wheel but use existing llist API

2017-10-17 Thread Byungchul Park
On Wed, May 31, 2017 at 04:04:17PM +0200, Frederic Weisbecker wrote: > On Tue, May 30, 2017 at 02:29:20PM +0900, Byungchul Park wrote: > > On Fri, May 12, 2017 at 09:45:35AM +0900, Byungchul Park wrote: > > > Although llist provides proper APIs, they are not used. Make them used. > > > > +to pet..

Re: [PATCH v5 2/2] acpi: apei: Add SEI notification type support for ARMv8

2017-10-17 Thread gengdongjiu
Hi Borislav, On 2017/10/18 1:06, Borislav Petkov wrote: > On Tue, Oct 17, 2017 at 04:02:21PM +0800, Dongjiu Geng wrote: >> ARMv8.2 requires implementation of the RAS extension, in >> this extension it adds SEI(SError Interrupt) notification >> type, this patch adds new GHES error source SEI handli

[PATCH] ARM: Fix zImage file size not aligned with CONFIG_EFI_STUB enabled

2017-10-17 Thread Jeffy Chen
The zImage file size should be aligned. Fixes: e4bae4d0b5f3 ("arm/efi: Split zImage code and data into separate PE/COFF sections") Signed-off-by: Jeffy Chen --- arch/arm/boot/compressed/vmlinux.lds.S | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/comp

Re: [RFC PATCH v4 6/8] drm/bridge/analogix: Do not use device's drvdata

2017-10-17 Thread Archit Taneja
Hi, On 10/18/2017 05:13 AM, Jingoo Han wrote: On Tuesday, October 17, 2017 6:16 AM, Jeffy Chen wrote: From: Tomasz Figa The driver that instantiates the bridge should own the drvdata, as all driver model callbacks (probe, remove, shutdown, PM ops, etc.) are also owned by its driver struct. M

[ANNOUNCE] Call for Papers - linux.conf.au Kernel Miniconf, Sydney, 22 January 2018

2017-10-17 Thread Andrew Donnellan
Greetings, * TL;DR - LCA Kernel Miniconf, Sydney, Australia, 22 Jan 2018 - Submissions by 30 November 2017, 23:59 (AEDT/UTC+11) - Wanted: anything interesting to kernel hackers! Speakers from diverse backgrounds encouraged! - Form: https://rego.linux.conf.au/proposa

[PATCH 1/6] ARM: dts: uniphier: add GPIO controller nodes

2017-10-17 Thread Masahiro Yamada
The GPIO controller also acts as an interrupt controller and the interrupt lines are connected to the AIDET block. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4.dtsi | 14 ++ arch/arm/boot/dts/uniphier-pro4.dtsi | 14 ++ arch/arm/boot/dts/uniphier-pr

[PATCH 5/6] ARM: dts: uniphier: add GPIO hog definition

2017-10-17 Thread Masahiro Yamada
Interrupt lines from on-board devices are connected to the GPIO controller. Add GPIO hogging so that the corresponding GPIO line is automatically requested. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4-ref.dts | 8 arch/arm/boot/dts/uniphier-ld6b-ref.dts | 8

[PATCH 3/6] ARM: dts: uniphier: route on-board device IRQ to GPIO controller

2017-10-17 Thread Masahiro Yamada
Interrupt lines from on-board devices are connected to the GPIO controller. Handle this correctly. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4-ref.dts | 2 +- arch/arm/boot/dts/uniphier-ld6b-ref.dts | 2 +- arch/arm/boot/dts/uniphier-pro4-ref.dts | 2 +- a

[PATCH 4/6] arm64: dts: uniphier: route on-board device IRQ to GPIO controller

2017-10-17 Thread Masahiro Yamada
Interrupt lines from on-board devices are connected to the GPIO controller. Handle this correctly. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts | 3 ++- arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts | 3 ++- 2 files changed, 4 insertions(+), 2 de

[PATCH 2/6] arm64: dts: uniphier: add GPIO controller nodes

2017-10-17 Thread Masahiro Yamada
The GPIO controller also acts as an interrupt controller and the interrupt lines are connected to the AIDET block. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 25 arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 19 +++

[PATCH 0/6] ARM: dts: uniphier: add GPIO nodes and related properties

2017-10-17 Thread Masahiro Yamada
Masahiro Yamada (6): ARM: dts: uniphier: add GPIO controller nodes arm64: dts: uniphier: add GPIO controller nodes ARM: dts: uniphier: route on-board device IRQ to GPIO controller arm64: dts: uniphier: route on-board device IRQ to GPIO controller ARM: dts: uniphier: add GPIO hog definitio

[PATCH 6/6] arm64: dts: uniphier: add GPIO hog definition

2017-10-17 Thread Masahiro Yamada
Interrupt lines from on-board devices are connected to the GPIO controller. Add GPIO hogging so that the corresponding GPIO line is automatically requested. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts | 8 arch/arm64/boot/dts/socionext/uniphi

[PATCH v4] printk: hash addresses printed with %p

2017-10-17 Thread Tobin C. Harding
Currently there are many places in the kernel where addresses are being printed using an unadorned %p. Kernel pointers should be printed using %pK allowing some control via the kptr_restrict sysctl. Exposing addresses gives attackers sensitive information about the kernel layout in memory. We can

Re: [PATCH] hfs/hfsplus: Clean up unused variables in bnode.c

2017-10-17 Thread Ernesto A . Fernández
On Sat, Oct 14, 2017 at 11:32:26AM +0100, Christos Gkekas wrote: > Delete variables 'tree' and 'sb', which are set but never used. > > Signed-off-by: Christos Gkekas Looks good. If it helps you can add: Reviewed-by: Ernesto A. Fernández > --- > fs/hfs/bnode.c | 4 > fs/hfsplus/bnode

Re: [PATCH] fat: remove redundant assignment of 0 to slots

2017-10-17 Thread OGAWA Hirofumi
Colin King writes: > From: Colin Ian King > > The variable slots is being assigned a value of zero that is never > read, slots is being updated again a few lines later. Remove this > redundant assignment. > Cleans clang warning: Value stored to 'slots' is never read > > Signed-off-by: Colin Ian

Re: [PATCH] input: touchscreen: ti_am335x_tsc: Fix incorrect step config for 5 wire touchscreen

2017-10-17 Thread Vignesh R
On Tuesday 19 September 2017 11:59 AM, Vignesh R wrote: > From: Jeff Lance > > Step config setting for 5 wire touchscreen is incorrect for Y coordinates. > It was broken while we moved to DT. If you look close at the offending > commit bb76dc09ddfc ("input: ti_am33x_tsc: Order of TSC wires, mad

Re: [PATCH 1/2] CLK: SPEAr: make structure field and function argument as const

2017-10-17 Thread Viresh Kumar
On 17-10-17, 16:42, Julia Lawall wrote: > > > On Tue, 17 Oct 2017, Bhumika Goyal wrote: > > > Make the masks field of clk_aux structure const as it do not modify the > > fields of the aux_clk_masks structure it points to. > > > > Make the struct aux_clk_masks *aux argument of the function > > cl

Re: [PATCH v4 3/3] livepatch: add atomic replace

2017-10-17 Thread Jason Baron
On 10/17/2017 10:18 AM, Petr Mladek wrote: > On Thu 2017-10-12 17:12:29, Jason Baron wrote: >> Sometimes we would like to revert a particular fix. This is currently >> This is not easy because we want to keep all other fixes active and we >> could revert only the last applied patch. >> >> One sol

Re: [PATCH 2/2] CLK: SPEAr: make aux_clk_masks structures const

2017-10-17 Thread Viresh Kumar
On 17-10-17, 16:38, Bhumika Goyal wrote: > Make these const as they are either stored in the masks 'const' field > of a clk_aux structure or passed to the function clk_register_aux > having the argument as const. > > Signed-off-by: Bhumika Goyal > --- > drivers/clk/spear/clk-aux-synth.c | 2 +

Re: [PATCH 18/20] staging: lustre: osc: mark expected switch fall-through

2017-10-17 Thread Dilger, Andreas
On Oct 12, 2017, at 10:17, Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 1077598 > Signed-off-by: Gustavo A. R. Silva Reviewed-by: Andreas Dilger > --- > drivers/staging

Re: [PATCH v3 2/2] livepatch: add atomic replace

2017-10-17 Thread Jason Baron
On 10/17/2017 09:50 AM, Miroslav Benes wrote: > On Tue, 17 Oct 2017, Miroslav Benes wrote: > >> On Tue, 10 Oct 2017, Jason Baron wrote: >> >>> >>> >>> On 10/06/2017 06:32 PM, Josh Poimboeuf wrote: On Wed, Sep 27, 2017 at 11:41:30PM -0400, Jason Baron wrote: > Since 'atomic replace' has

Re: [PATCH] hwmon: (coretemp) remove duplicated coretemp for same core id

2017-10-17 Thread Shu Wang
> From: "Guenter Roeck" > To: shuw...@redhat.com > Cc: "fenghua yu" , jdelv...@suse.com, > linux-hw...@vger.kernel.org, > linux-kernel@vger.kernel.org, ch...@redhat.com, yiz...@redhat.com > Sent: Tuesday, October 17, 2017 11:25:50 PM > Subject: Re: [PATCH] hwmon: (coretemp) remove duplicated core

[PATCH 2/3] arm64: dts: hisilicon: add pinctrl nodes for hi3798cv200-poplar board

2017-10-17 Thread Jiancheng Xue
From: Younian Wang Add pinctrl nodes for hi3798cv200-poplar board Signed-off-by: Younian Wang Signed-off-by: Jiancheng Xue --- .../boot/dts/hisilicon/hi3798cv200-poplar.dts | 1 + arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 71 +++ arch/arm64/boot/dts/hisilicon/poplar-pinctrl

Re: [PATCH 0/4] char-TPM: Adjustments for ten function implementations

2017-10-17 Thread Michael Ellerman
Mimi Zohar writes: > On Tue, 2017-10-17 at 12:11 +0200, Julia Lawall wrote: >> On Tue, 17 Oct 2017, Dan Carpenter wrote: >> > On Tue, Oct 17, 2017 at 10:56:42AM +0200, Julia Lawall wrote: >> > > On Tue, 17 Oct 2017, Dan Carpenter wrote: >> > > > On Mon, Oct 16, 2017 at 09:35:12PM +0300, Jarkko Sak

[PATCH 1/3] arm64: dts: hisilicon: supplement properties of ir node for poplar board

2017-10-17 Thread Jiancheng Xue
From: Younian Wang Supplement properties of ir node for poplar board. Signed-off-by: Younian Wang --- arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200

[PATCH 0/3] arm64: dts: add more nodes and properities for hi3798cv200-poplar board

2017-10-17 Thread Jiancheng Xue
Add more devices nodes and properties for poplar board, involving ir, emmc and pinctrl nodes. Younian Wang (2): arm64: dts: hisilicon: supplement properties of ir node for poplar board arm64: dts: hisilicon: add pinctrl nodes for hi3798cv200-poplar board tianshuliang (1): arm64: dts: h

[PATCH 3/3] arm64: dts: hisilicon: supplement properties of emmc nodes for hi3798cv200-poplar board

2017-10-17 Thread Jiancheng Xue
From: tianshuliang Supplement properties of emmc nodes to support high performance. Signed-off-by: tianshuliang --- arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts | 12 arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 8 +--- 2 files changed, 17 insertions(+), 3 d

Re: [PATCH] scsi: gdth: Convert timers to use timer_setup()

2017-10-17 Thread Kees Cook
On Tue, Oct 17, 2017 at 8:06 PM, Martin K. Petersen wrote: > > Kees, > >> Thanks for the reviews! Do you want the timer tree to carry these >> patches, or can you pick them up in the scsi tree? > > Up to you. I'm not going to rebase my 4.15 queue this late in the cycle > so the patches would end u

[PATCH 0/2] mmc: add an specific emmc driver for hi3798cv200-poplar board

2017-10-17 Thread Jiancheng Xue
Add an specific emmc driver for hi3798cv200-poplar board. Previously, it used the generic dw-mmc driver with lower performance. tianshuliang (2): dt-bindings: mmc: add bindings for hi3798cv200-dw-mshc mmc: dw_mmc: add support for hi3798cv200 specific extensions of dw-mshc .../bindings/m

[PATCH 2/2] mmc: dw_mmc: add support for hi3798cv200 specific extensions of dw-mshc

2017-10-17 Thread Jiancheng Xue
From: tianshuliang Hi3798cv200 SoC extends the dw-mshc controller for additional clock and bus control. Add support for these extensions. Signed-off-by: tianshuliang Signed-off-by: Jiancheng Xue --- drivers/mmc/host/Kconfig | 9 ++ drivers/mmc/host/Makefile | 1 +

[PATCH 1/2] dt-bindings: mmc: add bindings for hi3798cv200-dw-mshc

2017-10-17 Thread Jiancheng Xue
From: tianshuliang Hisilicon hi3798cv200 SoC extends the dw-mshc controller for additional clock control. Add device tree bindings for hi3798cv200-dw-mshc. Signed-off-by: tianshuliang Signed-off-by: Jiancheng Xue --- .../bindings/mmc/hi3798cv200-dw-mshc.txt | 51

Re: [PATCH v5 1/2] acpi: apei: remove the unused dead-code for SEA/NMI notification type

2017-10-17 Thread gengdongjiu
Hi,Borislav On 2017/10/18 0:43, Borislav Petkov wrote: >> -} >> - > So GHES NMI notification method is x86-only AFAIK and HAVE_ACPI_APEI_NMI > is selected only on x86. Why are you removing those guards? Does ARM > have ACPI_HEST_NOTIFY_NMI notification type now too? ARM does not have ACPI_HEST_NO

Re: [PATCH] scsi: gdth: Convert timers to use timer_setup()

2017-10-17 Thread Martin K. Petersen
Kees, > Thanks for the reviews! Do you want the timer tree to carry these > patches, or can you pick them up in the scsi tree? Up to you. I'm not going to rebase my 4.15 queue this late in the cycle so the patches would end up going in at the end of the merge window. If you prefer to have them h

Re: [PATCHv3 00/12] ARM: dts: imx6: Update dts files for the Ka-Ro TX6 module series

2017-10-17 Thread Shawn Guo
On Tue, Oct 17, 2017 at 11:17:51AM +0200, Lothar Waßmann wrote: > Please ignore the V2 series. I accidentally sent the patches from a > wrong directory. > > This patchset updates the dts files for the Ka-Ro electronics GmbH TX6 > module series and adds some include files to facilitate supporting >

Re: [PATCH v3 25/33] tracing: Allow whitespace to surround hist trigger filter

2017-10-17 Thread Namhyung Kim
Hi Tom, On Wed, Oct 04, 2017 at 02:05:17PM -0500, Tom Zanussi wrote: > Hi Steve, > > On Wed, 2017-10-04 at 14:11 -0400, Steven Rostedt wrote: > > On Fri, 22 Sep 2017 15:00:05 -0500 > > Tom Zanussi wrote: > > > > > The existing code only allows for one space before and after the 'if' > > > speci

[PATCH 1/3] clk: hisilicon: add hisi phase clock support

2017-10-17 Thread Jiancheng Xue
From: tianshuliang Add a phase clock type for HiSilicon SoCs,which supports clk_set_phase operation. Signed-off-by: tianshuliang Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/Makefile | 2 +- drivers/clk/hisilicon/clk-hisi-phase.c | 117 + dr

[PATCH 0/3] add more clock definitions for hi3798cv200-poplar board

2017-10-17 Thread Jiancheng Xue
Add more clock definitions for hi3798cv200-poplar board. Younian Wang (1): clk: hisilicon: correct ir clock rate for hi3798cv200 SoC tianshuliang (2): clk: hisilicon: add hisi phase clock support clk: hisilicon: add emmc sample and drive clock for hi3798cv200 SoC drivers/clk/hisilicon/Mak

[PATCH 3/3] clk: hisilicon: correct ir clock rate for hi3798cv200 SoC

2017-10-17 Thread Jiancheng Xue
From: Younian Wang Correct ir clock rate for hi3798cv200 SoC. Signed-off-by: Younian Wang --- drivers/clk/hisilicon/crg-hi3798cv200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/hisilicon/crg-hi3798cv200.c b/drivers/clk/hisilicon/crg-hi3798cv200.c index 25d

[PATCH 2/3] clk: hisilicon: add emmc sample and drive clock for hi3798cv200 SoC

2017-10-17 Thread Jiancheng Xue
From: tianshuliang Add emmc sample and emmc drive clock for Hi3798cv200 SoC Signed-off-by: tianshuliang Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/crg-hi3798cv200.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/drivers/clk/hisilicon/

[PATCH 2/2] [media] rc/keymaps: add support for RC of hisilicon poplar board

2017-10-17 Thread Jiancheng Xue
From: Younian Wang This is a NEC protocol type remote controller distributed with 96boards poplar@tocoding board. Signed-off-by: Younian Wang Signed-off-by: Jiancheng Xue --- drivers/media/rc/keymaps/Makefile | 1 + drivers/media/rc/keymaps/rc-hisi-poplar.c | 58 +

[PATCH 0/2] [media] rc/keymaps: add support for two RCs of hisilicon boards.

2017-10-17 Thread Jiancheng Xue
Add support for two remote controllers of hisilicon boards. Younian Wang (2): [media] rc/keymaps: add support for RC of hisilicon TV demo boards [media] rc/keymaps: add support for RC of hisilicon poplar board drivers/media/rc/keymaps/Makefile | 2 + drivers/media/rc/keymaps/rc-his

[PATCH 1/2] [media] rc/keymaps: add support for RC of hisilicon TV demo boards

2017-10-17 Thread Jiancheng Xue
From: Younian Wang This is a NEC protocol type remote controller distributed with hisilicon TV demo boards. Signed-off-by: Younian Wang Signed-off-by: Jiancheng Xue --- drivers/media/rc/keymaps/Makefile | 1 + drivers/media/rc/keymaps/rc-hisi-tv-demo.c | 70 +

Re: [PATCH 1/2] hwmon: (jc42) optionally try to disable the SMBUS timeout

2017-10-17 Thread Guenter Roeck
On 10/17/2017 03:16 PM, Rob Herring wrote: On Fri, Oct 13, 2017 at 01:35:27PM -0700, Guenter Roeck wrote: On Fri, Oct 13, 2017 at 04:26:57PM +0200, Peter Rosin wrote: On 2017-10-13 15:50, Guenter Roeck wrote: On 10/13/2017 02:27 AM, Peter Rosin wrote: With a nxp,se97 chip on an atmel sama5d31

[PATCH v2] f2fs: fix to correct no_fggc_candidate

2017-10-17 Thread Chao Yu
There may be extreme case as below: For one section contains one segment, and there are total 100 segments with 10% over-privision ratio in f2fs partition, fggc_threshold will be rounded down to 460 instead of 460.8 as below caclulation: sbi->fggc_threshold = div_u64((u64)(main_count - ovp_count)

Re: [PATCH v2] staging: ccree: fix boolreturn.cocci warning

2017-10-17 Thread Tobin C. Harding
On Wed, Oct 18, 2017 at 07:42:53AM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > Return "false" instead of 0. > > This fixes the following coccinelle warning: > WARNING: return of 0/1 in function 'ssi_is_hw_key' with return type bool. So close! The order of problem description and

Re: [PATCH] f2fs: expose some sectors to user in inline data or dentry case

2017-10-17 Thread Chao Yu
On 2017/10/18 6:03, Jaegeuk Kim wrote: > On 10/16, Chao Yu wrote: >> On 2017/10/14 1:31, Jaegeuk Kim wrote: >>> If there's some data written through inline data or dentry, we need to shouw >>> st_blocks. This fixes reporting zero blocks even though there is small >>> written >>> data. >>> >>> Sign

Re: [PATCH v2] staging: ccree: Fix bool comparison

2017-10-17 Thread Tobin C. Harding
On Wed, Oct 18, 2017 at 07:40:14AM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > Comparision operator "equal to" not required on a variable > "foo" of type "bool". Bool has only two values, can be used > directly or with logical not. > > This fixes the following coccinelle warning

Re: [PATCH v3 10/14] extcon: intel-int3496: Add support for controlling the USB-role mux

2017-10-17 Thread Chanwoo Choi
Hi Hans, On 2017년 09월 23일 03:37, Hans de Goede wrote: > Cherry Trail SoCs have a built-in USB-role mux for switching between > the host and device controllers, rather then using an external mux > controller by a GPIO. > > There is a driver using the mux-subsys to control this mux, this > commit a

Re: [PATCH v9 17/17] tools/wmi: add a sample for dell smbios communication over WMI

2017-10-17 Thread Edward O'Callaghan
Reviewed-by: Edward O'Callaghan On Wed, Oct 18, 2017 at 5:22 AM, Mario Limonciello wrote: > This application uses the character device /dev/wmi/dell-smbios > to perform SMBIOS communications from userspace. > > It offers demonstrations of a few simple tasks: > - Running a class/select command >

Re: [kernel-hardening] [PATCH v3] printk: hash addresses printed with %p

2017-10-17 Thread Tobin C. Harding
On Wed, Oct 18, 2017 at 02:59:17AM +0200, Jason A. Donenfeld wrote: > Hi Tobin, > > You submitted v3 without replying to my v2 comments. I'll give a > condensed version of those here for convenience. Wow, thanks for taking the time to do this. Lesson learned: recheck emails right before submitti

Re: [PATCH v2 4/5] ARM: dts: imx6sx: Use nvmem-cells for tempmon

2017-10-17 Thread Shawn Guo
On Fri, Jul 14, 2017 at 05:11:09PM +0300, Leonard Crestez wrote: > On imx6sx accessing OCOTP directly is wrong because the ocotp clock > needs to be enabled first. Use the nvmem-cells binding instead. > > This requirement does not apply to older imx6qdl chips because there the > ocotp access clock

Re: [PATCH v2] printk: hash addresses printed with %p

2017-10-17 Thread Tobin C. Harding
On Tue, Oct 17, 2017 at 05:13:10PM -0700, Kees Cook wrote: > On Tue, Oct 17, 2017 at 4:15 PM, Tobin C. Harding wrote: > > On Tue, Oct 17, 2017 at 09:31:19AM -0400, Steven Rostedt wrote: > >> On Tue, 17 Oct 2017 15:52:51 +1100 > >> "Tobin C. Harding" wrote: > >> > >> > Currently there are many pla

Re: [PATCH v2] printk: hash addresses printed with %p

2017-10-17 Thread Tobin C. Harding
On Wed, Oct 18, 2017 at 02:27:43AM +0200, Jason A. Donenfeld wrote: [snip] Thank you for your extensive comments Jason. I had v3 in flight before I received your email, please don't think I ignored your suggestions. v4 to come! thanks, Tobin.

[lkp-robot] [x86/cpuid] 0b00de857a: BUG:unable_to_handle_kernel

2017-10-17 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-4.9): commit: 0b00de857a648dafe7020878c7a27cf776f5edf4 ("x86/cpuid: Add generic table for CPUID dependencies") https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git x86/fpu in testcase: trinity with following parameters: runtime:

Re: linux-next: manual merge of the thermal tree with the imx-mxs tree

2017-10-17 Thread Shawn Guo
On Wed, Oct 18, 2017 at 09:47:26AM +0800, Zhang Rui wrote: > Shawn, > > https://patchwork.kernel.org/patch/9841191/ > https://patchwork.kernel.org/patch/9841193/ > Should I drop these two dts patches and leave them to you? Okay, let's do that to avoid the conflict. Shawn

Re: [PATCH 0/3] tools/thermal: tmon: Makefile improvements

2017-10-17 Thread Zhang Rui
On Fri, 2017-10-13 at 13:39 -0700, Markus Mayer wrote: > On 27 September 2017 at 16:02, Markus Mayer wrote: > > > > From: Markus Mayer > > > > This series introduces a number of improvements to tmon's Makefile. > > The > > changes are meant to make it easier to cross-compile tmon on a > > great

Re: [f2fs-dev] [PATCH] f2fs: return error number for quota_write

2017-10-17 Thread Chao Yu
On 2017/10/18 2:17, Jaegeuk Kim wrote: > On 10/17, Chao Yu wrote: >> >> >> On 2017/10/17 7:04, Jaegeuk Kim wrote: >>> On 10/16, Chao Yu wrote: Hi Jaegeuk, On 2017/10/13 7:15, Jaegeuk Kim wrote: > This patch returns an error number to quota_write in order for quota to > handl

Re: [PATCH v2] extcon: Split out extcon header file for consumer and provider device

2017-10-17 Thread Chanwoo Choi
Gently Ping. Dear Kishon, Could you please review this patch for 'drivers/phy/*'? Regards, Chanwoo Choi On 2017년 10월 12일 12:40, Chanwoo Choi wrote: > Dear Kishon, > > Could you please review this patch? > After that, I'll make the immutable brand and then send the pull request > for power_supp

Re: [PATCH 3/4] ARM: dts: imx28-tx28: fix interrupt flags and use interrupts-extended property

2017-10-17 Thread Shawn Guo
On Mon, Oct 16, 2017 at 10:56:32AM +0200, Lothar Waßmann wrote: > Hi, > > On Mon, 16 Oct 2017 09:17:26 +0200 Uwe Kleine-König wrote: > > Hello, > > > > On Wed, Oct 11, 2017 at 01:05:38PM +0200, Lothar Waßmann wrote: > > > diff --git a/arch/arm/boot/dts/imx28-tx28.dts > > > b/arch/arm/boot/dts/im

[PATCH v2] staging: ccree: fix boolreturn.cocci warning

2017-10-17 Thread sunil . m
From: Suniel Mahesh Return "false" instead of 0. This fixes the following coccinelle warning: WARNING: return of 0/1 in function 'ssi_is_hw_key' with return type bool. Signed-off-by: Suniel Mahesh --- Changes for v2: - Changed the commit log to give a more accurate description of the changes

Re: [PATCH v4 3/8] PM / devfreq: Use the available min/max frequency

2017-10-17 Thread Chanwoo Choi
On 2017년 10월 18일 10:31, Chanwoo Choi wrote: > Hi, > > On 2017년 10월 17일 23:43, MyungJoo Ham wrote: >> On Fri, Oct 13, 2017 at 4:48 PM, Chanwoo Choi wrote: >>> The commit a76caf55e5b35 ("thermal: Add devfreq cooling") is able >>> to disable OPP as a cooling device. In result, both update_devfreq()

[PATCH] selftests: remove obsolete kconfig fragment for cpu-hotplug

2017-10-17 Thread lei.yang
From: Lei Yang Kconfig CONFIG_CPU_NOTIFIER_ERROR_INJECT has been removed since kernel 4.10 check commit: commit 530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f Author: Thomas Gleixner Date: Wed Dec 21 20:19:53 2016 +0100 cpu/hotplug: Remove obsolete cpu hotplug register/unregiste

[PATCH v2] staging: ccree: Fix bool comparison

2017-10-17 Thread sunil . m
From: Suniel Mahesh Comparision operator "equal to" not required on a variable "foo" of type "bool". Bool has only two values, can be used directly or with logical not. This fixes the following coccinelle warning: WARNING: Comparison of bool to 0/1 Signed-off-by: Suniel Mahesh --- Changes for

  1   2   3   4   5   6   7   8   9   10   >