[PATCH] ARM: dts: imx6sx-sdb: enable gpio buttons as wakeup source

2018-08-30 Thread Anson Huang
This patch enables i.MX6SX SDB board's below GPIO buttons as wakeup sources: SW4(FUNC1): KEY_VOLUMEUP SW5(FUNC2): KEY_VOLUMEDOWN Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6sx-sdb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/b

Re: [PATCH V7 7/9] mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode

2018-08-30 Thread Chunyan Zhang
On 30 August 2018 at 13:59, Adrian Hunter wrote: > On 29/08/18 14:39, Chunyan Zhang wrote: >> On 29 August 2018 at 18:59, Adrian Hunter wrote: >>> On 29/08/18 10:03, Chunyan Zhang wrote: When Host Version 4 Enable is set to 1, SDMA uses ADMA System Address register (05Fh-058h) instead o

Re: [PATCH v2 22/32] selftests/ftrace: Add ringbuffer size changing testcase

2018-08-30 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 19:18:36 -0400 Steven Rostedt wrote: > On Fri, 17 Aug 2018 01:39:34 +0900 > Masami Hiramatsu wrote: > > > Add a testcase for changing ringbuffer size. This tests > > not only ringbuffer size but also tests the imbalance > > per-cpu buffer size change too. > > > > Signed-off

Re: [PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver

2018-08-30 Thread Mylène Josserand
Hello Dmitry, On Mon, 13 Aug 2018 08:36:32 -0700 Dmitry Torokhov wrote: > Hi Mylène, > > On Mon, Aug 13, 2018 at 8:24 AM Mylène Josserand > wrote: > > > > Hi Dmitry, > > > > On Tue, 24 Jul 2018 10:40:53 -0700 > > Dmitry Torokhov wrote: > > > > > Hi Mylène, > > > > > > On Tue, Jul 24, 2018 a

Re: [PATCH 3/3] Enable high-resolution scrolling on Logitech mice

2018-08-30 Thread Benjamin Tissoires
Hi Harry, On Thu, Aug 30, 2018 at 1:06 AM Harry Cutts wrote: > > Hi Benjamin, > > On Tue, 28 Aug 2018 at 01:47, Benjamin Tissoires > wrote: > > On Thu, Aug 23, 2018 at 8:31 PM Harry Cutts wrote: > > > [snip] > > > @@ -400,32 +409,53 @@ static void hidpp_prefix_name(char **name, int > > > name_

Re: efi boot failures due to PTI with 32 bit builds and Intel CPUs

2018-08-30 Thread Joerg Roedel
Hey Guenter, On Wed, Aug 29, 2018 at 01:16:59PM -0700, Guenter Roeck wrote: > I see boot failures on mainline when trying to boot x86 images with an efi > bios on Intel CPUs in qemu. Behavior is quite unusual: qemu dies silently > after the kernel displays "Run /sbin/init as init process". With de

Re: [PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver

2018-08-30 Thread Benjamin Tissoires
On Thu, Aug 30, 2018 at 9:12 AM Mylène Josserand wrote: > > Hello Dmitry, > > On Mon, 13 Aug 2018 08:36:32 -0700 > Dmitry Torokhov wrote: > > > Hi Mylène, > > > > On Mon, Aug 13, 2018 at 8:24 AM Mylène Josserand > > wrote: > > > > > > Hi Dmitry, > > > > > > On Tue, 24 Jul 2018 10:40:53 -0700 > >

Re: net/sctp/socket.c:2681:6-11: ERROR: invalid reference to the index variable of the iterator on line 2661 (fwd)

2018-08-30 Thread Xin Long
On Wed, Aug 29, 2018 at 11:32 PM Julia Lawall wrote: > > Hello, > > Are the ifs starting on lines 2655 and 2680 mutually exclusive? If so, > perhaps add an else. If not, and if the trans on line 2681 can come from > the trans initialized by the loop on line 2661, then there is a problem. You're

Re: [PATCH] clk: ti: fix OF child-node lookup

2018-08-30 Thread Tero Kristo
On 29/08/18 10:50, Johan Hovold wrote: On Tue, Aug 28, 2018 at 03:32:03PM -0700, Stephen Boyd wrote: Quoting Johan Hovold (2018-08-22 02:03:19) Fix child-node lookup which by using the wrong OF helper was searching the whole tree depth-first, something which could end up matching an unrelated n

Re: [PATCH 2/2] scripts: add kmemleak2pprof.py for slab usage analysis

2018-08-30 Thread Vincent Whitchurch
On Tue, Aug 28, 2018 at 04:28:04PM -0700, Andrew Morton wrote: > On Tue, 28 Aug 2018 12:39:14 +0200 Vincent Whitchurch > wrote: > > > Add a script which converts /sys/kernel/debug/kmemleak_all to the pprof > > format, which can be used for analysing memory usage. See > > https://github.com/goog

Re: [PATCH v2 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller

2018-08-30 Thread Hanjie Lin
On 2018/8/29 8:41, Rob Herring wrote: > On Mon, Aug 27, 2018 at 04:55:20PM +0800, Hanjie Lin wrote: >> >> >> On 2018/8/24 16:22, Jerome Brunet wrote: >>> On Fri, 2018-08-24 at 15:36 +0800, Hanjie Lin wrote: From: Yue Wang The Amlogic Meson PCIe host controller is based on the Syn

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

2018-08-30 Thread Baolin Wang
Hi Jacek, On 30 August 2018 at 11:26, Baolin Wang wrote: > Hi Jacek, > > On 30 August 2018 at 03:15, Jacek Anaszewski > wrote: >> Hi Baolin, >> >> On 08/29/2018 11:48 AM, Baolin Wang wrote: >>> Hi Jacek, >>> >>> On 29 August 2018 at 04:25, Jacek Anaszewski >>> wrote: On 08/25/2018 09:51

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

2018-08-30 Thread Baolin Wang
This patch implements the 'pattern_set'and 'pattern_clear' interfaces to support SC27XX LED breathing mode. Signed-off-by: Baolin Wang --- Changes from v5: - None. Changes from v4: - None. Changes from v3: - None. Changes from v2: - None. Changes from v1: - Remove pattern_get interface.

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

2018-08-30 Thread Baolin Wang
Some LED controllers have support for autonomously controlling brightness over time, according to some preprogrammed pattern or function. This patch adds pattern trigger that LED device can configure the pattern and trigger it. Signed-off-by: Raphael Teysseyre Signed-off-by: Baolin Wang --- Cha

Re: [PATCHv2] kmemleak: Add option to print warnings to dmesg

2018-08-30 Thread Vincent Whitchurch
On Tue, Aug 28, 2018 at 11:26:22AM +0100, Catalin Marinas wrote: > On Tue, Aug 28, 2018 at 12:14:12PM +0200, Vincent Whitchurch wrote: > > On Mon, Aug 27, 2018 at 03:16:41PM -0700, Andrew Morton wrote: > > > On Mon, 27 Aug 2018 10:38:21 +0200 Vincent Whitchurch > > > wrote: > > > > +config DEBUG_

Re: [PATCH v7 2/8] dt-bindings: Introduce interconnect provider bindings

2018-08-30 Thread Maxime Ripard
Hi, On Wed, Aug 29, 2018 at 03:33:29PM +0300, Georgi Djakov wrote: > On 08/27/2018 06:11 PM, Maxime Ripard wrote: > > On Fri, Aug 24, 2018 at 10:35:23AM -0500, Rob Herring wrote: > >> On Fri, Aug 24, 2018 at 9:51 AM Georgi Djakov > >> wrote: > >>> > >>> Hi Maxime, > >>> > >>> On 08/20/2018 06:32

Re: [PATCH v2 31/32] selftests/ftrace: Add output format testcase

2018-08-30 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 22:19:26 -0400 Steven Rostedt wrote: > On Fri, 17 Aug 2018 01:43:49 +0900 > Masami Hiramatsu wrote: > > > Add a testcase for tracing output format using trace_marker. > > This tests raw, hex and bin format output. > > I'd like to deprecate these formats. They are useless ev

Re: [PATCH V7 7/9] mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode

2018-08-30 Thread Adrian Hunter
On 30/08/18 10:04, Chunyan Zhang wrote: > On 30 August 2018 at 13:59, Adrian Hunter wrote: >> On 29/08/18 14:39, Chunyan Zhang wrote: >>> On 29 August 2018 at 18:59, Adrian Hunter wrote: On 29/08/18 10:03, Chunyan Zhang wrote: > When Host Version 4 Enable is set to 1, SDMA uses ADMA Syst

Re: [PATCH v2 32/32] selftests/ftrace: Add blktrace testcase

2018-08-30 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 22:22:19 -0400 Steven Rostedt wrote: > On Fri, 17 Aug 2018 01:44:18 +0900 > Masami Hiramatsu wrote: > > > Add a basic testcase for blktrace. For making it portable, > > this test uses a loop device. > > blktrace is a bit special, as it's maintained by the block subsystem >

From:Miss:Fatima Yusuf.

2018-08-30 Thread Miss.Fatima Yusuf
From:Miss:Fatima Yusuf. For sure this mail would definitely come to you as a surprise, but do take your good time to go through it, My name is Ms.Fatima Yusuf,i am from Ivory Coast. I lost my parents a year and couple of months ago. My father was a serving director of the Agro-exporting boar

[PATCH] Drivers: hv: vmbus: include header for get_irq_regs()

2018-08-30 Thread Sebastian Andrzej Siewior
On !RT the header file get_irq_regs() gets pulled in via other header files. On RT it does not and the build fails: drivers/hv/vmbus_drv.c:975 implicit declaration of function ‘get_irq_regs’ [-Werror=implicit-function-declaration] drivers/hv/hv.c:115 implicit declaration of function ‘get_

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

2018-08-30 Thread Ryusuke Konishi
Hi, On Wed, 29 Aug 2018 00:55:28 +0530, Souptick Joarder wrote: > Return type for fault handlers in ext4 and nilfs are > changed to use vm_fault_t. > > Return type of block_page_mkwrite() is changed from > int to vm_fault_t. The function signature of > block_page_mkwrite() is changed to add one

[PATCH V4 0/2] introduce coalesced pio support

2018-08-30 Thread Peng Hao
Coalesced pio is base on coalesced mmio and can be used for some port like rtc port, pci-host config port, virtio-pci config port and so on. Specially in case of rtc as coalesced pio, some versions of windows guest access rtc frequently because of rtc as system tick. guest access rtc like this: wr

[PATCH V4 2/2] kvm/x86 : add document for coalesced pio

2018-08-30 Thread Peng Hao
Signed-off-by: Peng Hao --- Documentation/virtual/kvm/00-INDEX | 2 ++ Documentation/virtual/kvm/coalesced-pio.txt | 15 +++ 2 files changed, 17 insertions(+) create mode 100644 Documentation/virtual/kvm/coalesced-pio.txt diff --git a/Documentation/virtual/kvm/00-INDEX b/

[PATCH V4 1/2] kvm/x86 : add coalesced pio support

2018-08-30 Thread Peng Hao
Signed-off-by: Peng Hao --- include/uapi/linux/kvm.h | 11 +-- virt/kvm/coalesced_mmio.c | 12 +--- virt/kvm/kvm_main.c | 2 ++ 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index b6270a3..a44e08e 100644

[PATCH] dt-bindings: reset: imx7: update the compatible string

2018-08-30 Thread Anson Huang
The i.MX7 SRC's compatible string should be "fsl,imx7d-src". Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/reset/fsl,imx7-src.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/reset/fsl,imx7-src.txt b/Documentation/devic

Re: [PATCH v4 2/7] dmaengine: xilinx_dma: in axidma slave_sg and dma_cylic mode align split descriptors

2018-08-30 Thread Andrea Merello
On Wed, Aug 29, 2018 at 10:12 AM Andrea Merello wrote: > > On Mon, Aug 27, 2018 at 7:30 AM Vinod wrote: > > > > On 02-08-18, 16:10, Andrea Merello wrote: > > > > s/cylic/cyclic in patch title > > OK > > > > Whenever a single or cyclic transaction is prepared, the driver > > > could eventually spl

[PATCH v3 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller

2018-08-30 Thread Hanjie Lin
From: Yue Wang The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. This patch adds documentation for the DT bindings in Meson PCIe controller. Signed-off-by: Yue Wang Signed-off-by: Hanjie Lin --- .../devicetree/bindings/pci/amlogic,meson-pcie.txt | 70 +++

[PATCH v3 2/2] PCI: meson: add the Amlogic Meson PCIe controller driver

2018-08-30 Thread Hanjie Lin
From: Yue Wang The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. This patch adds the driver support for Meson PCIe controller. Signed-off-by: Yue Wang Signed-off-by: Hanjie Lin --- drivers/pci/controller/dwc/Kconfig | 12 + drivers/pci/controller/dwc/Ma

[PATCH v3 0/2] add the Amlogic Meson PCIe controller driver

2018-08-30 Thread Hanjie Lin
The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. This patchset add the driver and dt-bindings of the controller. Till patch v2, we have a dedicated phy driver which only process reset job. It's too overkill so we integrate phy driver into the controller. Change

Re: [PATCH v4 0/6] Add power domain driver for corners on msm8996/sdm845

2018-08-30 Thread Niklas Cassel
On Thu, Aug 30, 2018 at 12:05:14PM +0530, Rajendra Nayak wrote: > > > On 6/27/2018 10:22 AM, Rajendra Nayak wrote: > > Changes in v4: > > * Included the patch to add qcom-opp bindings (dropped accidentally in v3) > > * merged the patches to add bindings for rpm and rpmh, added consumer > > bindi

[PATCH V8 3/9] mmc: sdhci: Change SDMA address register for v4 mode

2018-08-30 Thread Chunyan Zhang
According to the SD host controller specification version 4.10, when Host Version 4 is enabled, SDMA uses ADMA System Address register (05Fh-058h) instead of using SDMA System Address register to support both 32-bit and 64-bit addressing. Signed-off-by: Chunyan Zhang Acked-by: Adrian Hunter ---

[PATCH V8 2/9] mmc: sdhci: Add sd host v4 mode

2018-08-30 Thread Chunyan Zhang
For SD host controller version 4.00 or later ones, there're two modes of implementation - Version 3.00 compatible mode or Version 4 mode. This patch introduced an interface to enable v4 mode. Signed-off-by: Chunyan Zhang Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci.c | 29 +++

[PATCH V8 5/9] mmc: sdhci: Add 32-bit block count support for v4 mode

2018-08-30 Thread Chunyan Zhang
Host Controller Version 4.10 re-defines SDMA System Address register as 32-bit Block Count for v4 mode, and SDMA uses ADMA System Address register (05Fh-058h) instead if v4 mode is enabled. Also when using 32-bit block count, 16-bit block count register need to be set to zero. Since using 32-bit B

[PATCH V8 6/9] mmc: sdhci: Add Auto CMD Auto Select support

2018-08-30 Thread Chunyan Zhang
As SD Host Controller Specification v4.10 documents: Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode. Selection of Auto CMD depends on setting of CMD23 Enable in the Host Control 2 register which indicates whether card supports CMD23. If CMD23 Enable =1, Auto CMD23 is used and

[PATCH V8 9/9] dt-bindings: sdhci-sprd: Add bindings for the sdhci-sprd controller

2018-08-30 Thread Chunyan Zhang
From: Chunyan Zhang This patch adds the device-tree binding documentation for Spreadtrum SDHCI driver. Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/mmc/sdhci-sprd.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/

[PATCH V8 7/9] mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode

2018-08-30 Thread Chunyan Zhang
When Host Version 4 Enable is set to 1, SDMA uses ADMA System Address register (05Fh-058h) instead of using register (000h-004h) to indicate its system address of data location. The register (000h-004h) is re-assigned to 32-bit Block Count and Auto CMD23 argument, so then SDMA may use Auto CMD23.

[PATCH V8 1/9] mmc: sdhci: Add version V4 definition

2018-08-30 Thread Chunyan Zhang
Added definitions for v400, v410, v420. Signed-off-by: Chunyan Zhang Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci.c | 2 +- drivers/mmc/host/sdhci.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 97e4efa..01

[PATCH V8 8/9] mmc: sdhci-sprd: Add Spreadtrum's initial host controller

2018-08-30 Thread Chunyan Zhang
From: Chunyan Zhang This patch adds the initial support of Secure Digital Host Controller Interface compliant controller found in some latest Spreadtrum chipsets. This patch has been tested on the version of SPRD-R11 controller. R11 is a variant based on SD v4.0 specification. With this driver,

[PATCH V8 0/9] mmc: add support for sdhci 4.0

2018-08-30 Thread Chunyan Zhang
>From the SD host controller version 4.0 on, SDHCI implementation either is version 3 compatible or version 4 mode. This patch-set covers those changes which are common for SDHCI 4.0 version, regardless of whether they are used with SD or eMMC storage devices. This patchset also added a new sdhci

[PATCH V8 4/9] mmc: sdhci: Add ADMA2 64-bit addressing support for V4 mode

2018-08-30 Thread Chunyan Zhang
ADMA2 64-bit addressing support is divided into V3 mode and V4 mode. So there are two kinds of descriptors for ADMA2 64-bit addressing i.e. 96-bit Descriptor for V3 mode, and 128-bit Descriptor for V4 mode. 128-bit Descriptor is aligned to 8-byte. For V4 mode, ADMA2 64-bit addressing is enabled vi

Re: [PATCH 01/21] staging:rtl8192u: Rename AdvCoding - Style

2018-08-30 Thread Dan Carpenter
On Wed, Aug 29, 2018 at 09:35:27PM +0100, John Whitmore wrote: > Rename the bit field element AdvCoding, as it causes a checkpatch issue > with CamelCase naming. As the element is not actually used in code it > has been renamed to 'not_used_adv_coding'. > > The single line of code which initialise

[PATCH] leds: add TI LMU backlight driver

2018-08-30 Thread Pavel Machek
This adds backlight support for the following TI LMU chips: LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697. It controls LEDs on Droid 4 smartphone, including keyboard and screen backlights. Signed-off-by: Milo Kim [add LED subsystem support for keyboard backlight and rework DT binding accord

Re: [PATCH V7 7/9] mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode

2018-08-30 Thread Chunyan Zhang
On 30 August 2018 at 15:51, Adrian Hunter wrote: > On 30/08/18 10:04, Chunyan Zhang wrote: >> On 30 August 2018 at 13:59, Adrian Hunter wrote: >>> On 29/08/18 14:39, Chunyan Zhang wrote: On 29 August 2018 at 18:59, Adrian Hunter wrote: > On 29/08/18 10:03, Chunyan Zhang wrote: >> Wh

Re: [RFD] Add debugfs for cpuidle ?

2018-08-30 Thread Ulf Hansson
On 24 May 2018 at 10:47, Daniel Lezcano wrote: > On 24/05/2018 10:28, Rafael J. Wysocki wrote: >> On Thursday, May 24, 2018 10:14:31 AM CEST Daniel Lezcano wrote: >>> >>> Hi all, >> >> Hi, >> >>> would it be interesting to add debugfs metrics for cpuidle in order >>> to read some statistics from t

Re: [RFD] Add debugfs for cpuidle ?

2018-08-30 Thread Daniel Lezcano
On 30/08/2018 10:22, Ulf Hansson wrote: > On 24 May 2018 at 10:47, Daniel Lezcano wrote: >> On 24/05/2018 10:28, Rafael J. Wysocki wrote: >>> On Thursday, May 24, 2018 10:14:31 AM CEST Daniel Lezcano wrote: Hi all, >>> >>> Hi, >>> would it be interesting to add debugfs metrics for c

Re: [PATCH 01/21] staging:rtl8192u: Rename AdvCoding - Style

2018-08-30 Thread Dan Carpenter
On Thu, Aug 30, 2018 at 11:23:05AM +0300, Dan Carpenter wrote: > On Wed, Aug 29, 2018 at 09:35:27PM +0100, John Whitmore wrote: > > Rename the bit field element AdvCoding, as it causes a checkpatch issue > > with CamelCase naming. As the element is not actually used in code it > > has been renamed

Re: [PATCH] staging:fwserial:Fix parentheses alignment in fwserial.c

2018-08-30 Thread Dan Carpenter
On Wed, Aug 29, 2018 at 06:03:26PM -0400, Nicholas Krause wrote: > Fix a checkpatch warning for the file, fwserial.c that warns about > alignment between parentheses and the line belows code not being > properly aligned with each other. > > Signed-off-by: Nicholas Krause > --- > drivers/staging/

Re: [PATCH v7 0/3] Add support rockchip RGB output interface

2018-08-30 Thread Heiko Stuebner
Am Mittwoch, 29. August 2018, 05:12:41 CEST schrieb Sandy Huang: > This patches add support rockchip RGB output, Some Rockchip CRTCs, like > rv1108 and px30 can directly output parallel and serial RGB data to panel > or to conversion chip. > So add a feature-bit for vops to mark the ability for the

[ANNOUNCE] v4.18.5-rt3

2018-08-30 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.18.5-rt3 patch set. Changes since v4.18.5-rt2: - PowerPC did not compile due to impossible constrains in the preempt-lazy assembly code. - Replace one GICv3 patch with a patch by Marc Zyngier which should be merged upstream. - Androi

RE: [PATCH v4 1/2] clk: Add of_clk_get_by_name_optional() function

2018-08-30 Thread Phil Edworthy
Hi Andy, On 29 August 2018 18:11 Andy Shevchenko wrote: > On Tue, Jul 31, 2018 at 01:10:59PM +0100, Phil Edworthy wrote: > > Quite a few drivers get an optional clock, e.g. a clock required > > to access peripheral's registers that is always enabled on some > > devices. > > > > This function behav

Re: [PATCH V8 7/9] mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode

2018-08-30 Thread Adrian Hunter
On 30/08/18 11:21, Chunyan Zhang wrote: > When Host Version 4 Enable is set to 1, SDMA uses ADMA System Address > register (05Fh-058h) instead of using register (000h-004h) to indicate > its system address of data location. The register (000h-004h) is > re-assigned to 32-bit Block Count and Auto CM

Re: Make perf script easier to use for itrace

2018-08-30 Thread Jiri Olsa
On Wed, Aug 29, 2018 at 10:18:24AM -0700, Andi Kleen wrote: SNIP > > Filter by a ftrace style graph function: > > % perf script --graph-function group_sched_in --call-trace > perf 900 [000] 194167.205652203: ([kernel.kallsyms]) > group_sched_in > per

Re: [PATCH V8 8/9] mmc: sdhci-sprd: Add Spreadtrum's initial host controller

2018-08-30 Thread Adrian Hunter
On 30/08/18 11:21, Chunyan Zhang wrote: > From: Chunyan Zhang > > This patch adds the initial support of Secure Digital Host Controller > Interface compliant controller found in some latest Spreadtrum chipsets. > This patch has been tested on the version of SPRD-R11 controller. > > R11 is a vari

[PATCH v5] spi: spi-mem: Adjust op len based on message/transfer size limitations

2018-08-30 Thread Chuanhua Han
We need that to adjust the len of the 2nd transfer (called data in spi-mem) if it's too long to fit in a SPI message or SPI transfer. Fixes: c36ff266dc82 ("spi: Extend the core to ease integration of SPI memory controllers") Cc: Signed-off-by: Chuanhua Han Reviewed-by: Boris Brezillon --- Chan

Re: [PATCH v2] dt-binding: arm/cpus.txt: fix dynamic-power-coefficient unit

2018-08-30 Thread Punit Agrawal
Hi Vincent, Vincent Guittot writes: > The unit of dynamic-power-coefficient is described as mW/MHz/uV^2 whereas > its usage in the code assumes that unit is uW/MHz/V^2 > > In drivers/thermal/cpu_cooling.c, the code is : > > power = (u64)capacitance * freq_mhz * voltage_mv * voltage_mv; > do_div(

Re: [PATCH v5] spi: spi-mem: Adjust op len based on message/transfer size limitations

2018-08-30 Thread Boris Brezillon
Hi Chuanhua, On Thu, 30 Aug 2018 16:43:24 +0800 Chuanhua Han wrote: > We need that to adjust the len of the 2nd transfer (called data in > spi-mem) if it's too long to fit in a SPI message or SPI transfer. You already sent this email a few days back. Please wait a bit before sending it again. A

Re: [PATCH v2 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller

2018-08-30 Thread Jerome Brunet
On Thu, 2018-08-30 at 15:37 +0800, Hanjie Lin wrote: > > On 2018/8/29 8:41, Rob Herring wrote: > > On Mon, Aug 27, 2018 at 04:55:20PM +0800, Hanjie Lin wrote: > > > > > > > > > On 2018/8/24 16:22, Jerome Brunet wrote: > > > > On Fri, 2018-08-24 at 15:36 +0800, Hanjie Lin wrote: > > > > > From: Y

Re: [PATCH v1 04/10] perf, tools, script: Allow sym and dso without ip, addr

2018-08-30 Thread Jiri Olsa
On Wed, Aug 29, 2018 at 10:18:28AM -0700, Andi Kleen wrote: > From: Andi Kleen > > Currently sym and dso require printing ip and addr because > the print function is tied to those outputs. With callindent > it makes sense to print the symbol or dso without numerical > IP or ADDR. So change the de

Re: [PATCH v1 03/10] tools, perf, script: Add --insn-trace for instruction decoding

2018-08-30 Thread Jiri Olsa
On Wed, Aug 29, 2018 at 10:18:27AM -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a --insn-trace short hand option for decoding and disassembling > instruction streams for intel_pt. This automatically pipes the > output into the xed disassembler to generate disassembled instructions. > This

Re: [PATCH v1 01/10] perf tools: Report itrace options in help

2018-08-30 Thread Jiri Olsa
On Wed, Aug 29, 2018 at 10:18:25AM -0700, Andi Kleen wrote: SNIP > diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h > index e731f55da072..f3f7ad6ae202 100644 > --- a/tools/perf/util/auxtrace.h > +++ b/tools/perf/util/auxtrace.h > @@ -576,6 +576,23 @@ static inline void auxtrac

Re: [PATCH v1 05/10] perf, tools, script: Print DSO for callindent

2018-08-30 Thread Jiri Olsa
On Wed, Aug 29, 2018 at 10:18:29AM -0700, Andi Kleen wrote: > From: Andi Kleen > > Now that we don't need to print the IP/ADDR for callindent the DSO > is also not printed. It's useful for some cases, so add an own DSO > printout for callindent for the case when IP/ADDR is not enabled. please pu

Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-30 Thread Peter Ujfalusi
Vinod, On 2018-08-29 19:22, Vinod wrote: + * 2. use dmaengine_desc_attach_metadata() to attach the buffer to the + *descriptor + * 3. submit the transfer + * - DMA_DEV_TO_MEM: + * 1. prepare the descriptor (dmaengine_prep_*) + * 2. use dmaengine_desc_a

[PATCH] x86, mm: Reserver some memory for bootmem allocator for NO_BOOTMEM

2018-08-30 Thread Feng Tang
We hit a kernel panic when enabling earlycon for a platform, the call trace is: panic+0xd2/0x220 __alloc_bootmem+0x31/0x34 spp_getpage+0x60/0x8a fill_pte+0x71/0x130 __set_pte_vaddr+0x1d/0x50 set_pte_vaddr+0x3c/0x60 __native_set_

Re: [PATCH v1 06/10] tools, perf, script: Set user_set/wildcard_set for +- fields in -F

2018-08-30 Thread Jiri Olsa
On Wed, Aug 29, 2018 at 10:18:30AM -0700, Andi Kleen wrote: > From: Andi Kleen > > The branch target output relies on the user_set flag to determine > if the branch target should be implicitely printed. When > modifying the fields with + or - also set user_set, > so that ADDR can be removed. We a

Re: [PATCH v2] riscv: Do not overwrite initrd_start and initrd_end

2018-08-30 Thread Geert Uytterhoeven
Hi Guenter, On Wed, Aug 29, 2018 at 2:34 AM Guenter Roeck wrote: > setup_initrd() overwrites initrd_start and initrd_end if __initramfs_size > is larger than 0, which is always true even if there is no embedded > initramfs. This prevents booting qemu with "-initrd" parameter. > Overwriting initrd

[PATCH] arm64: dts: ls208xa: add second duart

2018-08-30 Thread Kurt Kanzenbach
The NXP LS208xA SoCs have two dual uarts. Thus, add the second one. Signed-off-by: Kurt Kanzenbach --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freesc

Re: [PATCH 1/1] Preventive patch in the pin control subsystem to handle NULL check.

2018-08-30 Thread Linus Walleij
Hi Srikanth, thanks for your patch! On Mon, Aug 27, 2018 at 10:39 AM Srikanth K H wrote: @@ -269,8 +269,9 @@ void pinconf_show_setting(struct seq_file *s, > desc = pin_desc_get(setting->pctldev, > setting->data.configs.group_or_pin); > -

Re: [PATCH v2] gpio: brcmstb: allow 0 width GPIO banks

2018-08-30 Thread Linus Walleij
On Sat, Aug 18, 2018 at 1:47 AM wrote: > From: Justin Chen > > Sometimes we have empty banks within the GPIO block. This commit allows > proper handling of 0 width GPIO banks. We handle 0 width GPIO banks by > incrementing the bank and number of GPIOs, but not initializing them. > This will mean

[PATCH v2] serial: 8250_of: Fix for lack of interrupt support

2018-08-30 Thread John Garry
In commit c58caaab3bf8 ("serial: 8250: of: Defer probe on missing IRQ"), a check was added for the UART driver being probed prior to the parent IRQ controller. Unfortunately this breaks certain boards which have no interrupt support, like Huawei D03. Indeed, the 8250 DT bindings state that interr

RE: [PATCH v5] spi: spi-mem: Adjust op len based on message/transfer size limitations

2018-08-30 Thread Chuanhua Han
> -Original Message- > From: Boris Brezillon > Sent: 2018年8月30日 16:47 > To: Chuanhua Han > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; sta...@vger.kernel.org > Subject: Re: [PATCH v5] spi: spi-mem: Adjust op len based on message/transfer > size lim

Re: [4.14.66-rt40] [report][cpuhotplug] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974

2018-08-30 Thread Sebastian Andrzej Siewior
On 2018-08-29 16:28:50 [-0500], Grygorii Strashko wrote: > > Thank you. Are there any plans to back port them for 4.14-rt? > Patch [1] need to be reworked a bit, [2] - I was able to cherry-pick from > 4.18-rt. Grygorii, could you please replace the second patch with https://git.kernel.org/pu

Re: [PATCH RFC LKMM 3/7] EXP tools/memory-model: Add more LKMM limitations

2018-08-30 Thread Andrea Parri
On Wed, Aug 29, 2018 at 02:10:49PM -0700, Paul E. McKenney wrote: > This commit adds more detail about compiler optimizations and > not-yet-modeled Linux-kernel APIs. > > Signed-off-by: Paul E. McKenney > --- > tools/memory-model/README | 39 +++ > 1 file chan

Re: [PATCH v5] spi: spi-mem: Adjust op len based on message/transfer size limitations

2018-08-30 Thread Boris Brezillon
On Thu, 30 Aug 2018 09:13:03 + Chuanhua Han wrote: > > -Original Message- > > From: Boris Brezillon > > Sent: 2018年8月30日 16:47 > > To: Chuanhua Han > > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > > linux-kernel@vger.kernel.org; sta...@vger.kernel.org > > Subject: Re: [PATCH

[PATCH] kconfig: remove a spurious self-assignment

2018-08-30 Thread Lukas Bulwahn
The self assignment was probably introduced by an automated code refactoring in commit 694c49a7c01c ("kconfig: drop localization support"). The issue was identified by a self-assign warning when running make menuconfig with clang. Signed-off-by: Lukas Bulwahn --- scripts/kconfig/mconf.c | 1 -

RE: [PATCH v5] spi: spi-mem: Adjust op len based on message/transfer size limitations

2018-08-30 Thread Chuanhua Han
> -Original Message- > From: Boris Brezillon > Sent: 2018年8月30日 17:17 > To: Chuanhua Han > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; sta...@vger.kernel.org > Subject: Re: [PATCH v5] spi: spi-mem: Adjust op len based on message/transfer > size lim

Re: futex_cmpxchg_enabled breakage

2018-08-30 Thread Thomas Gleixner
On Wed, 29 Aug 2018, Rich Felker wrote: > I just spent a number of hours helping someone track down a bug that > looks like it's some kind of futex_cmpxchg_enabled detection error on > powerpc64 (still not sure of the root cause; set_robust_list producing > -ENOSYS), and a while back I hit the sam

Re: [PATCH v2 2/3] x86/mm: add .data..decrypted section to hold shared variables

2018-08-30 Thread Borislav Petkov
On Wed, Aug 29, 2018 at 09:37:46AM -0500, Brijesh Singh wrote: > > > @@ -491,28 +510,69 @@ static void __init remove_workarea_map(struct > > > sme_workarea_data *wa, > > > native_write_cr3(__native_read_cr3()); > > > } > > > +static void __init decrypt_data_decrypted_section(struct >

Re: mmotm 2018-08-23-17-26 uploaded

2018-08-30 Thread Will Deacon
On Thu, Aug 30, 2018 at 02:26:51PM +0800, Jia He wrote: > On 8/30/2018 9:00 AM, Jia He Wrote: > > On 8/30/2018 7:22 AM, Andrew Morton Wrote: > >> On Tue, 28 Aug 2018 12:20:46 +0800 Jia He wrote: > >>> FYI,I watched a lockdep warning based on your mmotm master branch[1] > >> > >> Thanks. We'll nee

Re: [lkp-robot] [mm] 15d36fecd0: WARNING:at_kernel/memremap.c:#devm_memremap_pages

2018-08-30 Thread Rong Chen
On 08/24/2018 12:55 AM, Dave Jiang wrote: I am not able to reproduce when I booted my test system with "mem=8G memmap=4G!8G". I ended up with a single pmem: The issue seems to be related to specific machines, If you need any other debug log, please tell me. Best Regards, Rong Chen [ 57.7

Re: [PATCH v2 2/3] x86/mm: add .data..decrypted section to hold shared variables

2018-08-30 Thread Borislav Petkov
On Wed, Aug 29, 2018 at 10:54:37AM -0500, Brijesh Singh wrote: > Please note that the _WP flags and helper functions are used by this > patch only. Introducing a helper in a separate patch will cause a build > warning. ... a build warning which goes away with the next patch, adding the users, righ

Re: [Patch v15 2/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-08-30 Thread Vivek Gautam
On Mon, Aug 27, 2018 at 4:27 PM Vivek Gautam wrote: > > From: Sricharan R > > The smmu device probe/remove and add/remove master device callbacks > gets called when the smmu is not linked to its master, that is without > the context of the master device. So calling runtime apis in those places >

Re: [PATCH v6 07/14] sched/topology: Introduce sched_energy_present static key

2018-08-30 Thread Patrick Bellasi
On 29-Aug 18:20, Quentin Perret wrote: > On Wednesday 29 Aug 2018 at 17:50:58 (+0100), Patrick Bellasi wrote: > > > +/* > > > + * The complexity of the Energy Model is defined as: nr_pd * (nr_cpus + > > > nr_cs) > > > + * with: 'nr_pd' the number of performance domains; 'nr_cpus' the number > > >

Re: [PATCH v2 2/3] x86/mm: add .data..decrypted section to hold shared variables

2018-08-30 Thread Borislav Petkov
dropping stable@ On Wed, Aug 29, 2018 at 10:33:24AM -0500, Brijesh Singh wrote: > During the initial SEV/SME patch review cycle we had some discussion about > using decrypted vs unencrypted. At that time the consensus was > that a memory range mapped with C=0 should be referred as 'decrypted'. Ye

RE: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-30 Thread Radhey Shyam Pandey
> Vinod, > > On 2018-08-29 19:22, Vinod wrote: > + * 2. use dmaengine_desc_attach_metadata() to attach the buffer to > the > + * descriptor > + * 3. submit the transfer > + * - DMA_DEV_TO_MEM: > + * 1. prepare the descriptor (dmaengine_prep_*) > + * 2. u

[tip:x86/urgent] x86/build: Remove jump label quirk for GCC older than 4.5.2

2018-08-30 Thread tip-bot for Masahiro Yamada
Commit-ID: 36bf9da2913054c218337d8cd7cb11bddc1fafb0 Gitweb: https://git.kernel.org/tip/36bf9da2913054c218337d8cd7cb11bddc1fafb0 Author: Masahiro Yamada AuthorDate: Mon, 27 Aug 2018 14:45:14 +0900 Committer: Thomas Gleixner CommitDate: Thu, 30 Aug 2018 11:37:08 +0200 x86/build: Remove j

[tip:x86/urgent] x86/irqflags: Mark native_restore_fl extern inline

2018-08-30 Thread tip-bot for Nick Desaulniers
Commit-ID: 1f59a4581b5ecfe9b4f049a7a2cf904d8352842d Gitweb: https://git.kernel.org/tip/1f59a4581b5ecfe9b4f049a7a2cf904d8352842d Author: Nick Desaulniers AuthorDate: Mon, 27 Aug 2018 14:40:09 -0700 Committer: Thomas Gleixner CommitDate: Thu, 30 Aug 2018 11:37:09 +0200 x86/irqflags: Mark

[tip:x86/urgent] x86/entry/64: Wipe KASAN stack shadow before rewind_stack_do_exit()

2018-08-30 Thread tip-bot for Jann Horn
Commit-ID: f12d11c5c184626b4befdee3d573ec8237405a33 Gitweb: https://git.kernel.org/tip/f12d11c5c184626b4befdee3d573ec8237405a33 Author: Jann Horn AuthorDate: Tue, 28 Aug 2018 20:40:33 +0200 Committer: Thomas Gleixner CommitDate: Thu, 30 Aug 2018 11:37:09 +0200 x86/entry/64: Wipe KASAN

Re: [PATCH v6 07/14] sched/topology: Introduce sched_energy_present static key

2018-08-30 Thread Quentin Perret
Hi Patrick, On Thursday 30 Aug 2018 at 10:23:29 (+0100), Patrick Bellasi wrote: > Yes, dunno if it's just me but perhaps a bit of rephrasing could help. Ok, so what about something a little bit more explicit like: /* * The complexity of the Energy Model is defined as: * * C = nr_

Re: [PATCH v6 05/14] sched/topology: Reference the Energy Model of CPUs when available

2018-08-30 Thread Patrick Bellasi
On 29-Aug 17:56, Quentin Perret wrote: > On Wednesday 29 Aug 2018 at 17:22:38 (+0100), Patrick Bellasi wrote: > > > +static void build_perf_domains(const struct cpumask *cpu_map) > > > +{ > > > + struct perf_domain *pd = NULL, *tmp; > > > + int cpu = cpumask_first(cpu_map); > > > + struct root_doma

[PATCH] PM / devfreq: stopping the governor before device_unregister()

2018-08-30 Thread vincent . donnefort
From: Vincent Donnefort device_release() is freeing the resources before calling the device specific release callback which is, in the case of devfreq, stopping the governor. It is a problem as some governors are using the device resources. e.g. simpleondemand which is using the devfreq deferrab

Re: efi boot failures due to PTI with 32 bit builds and Intel CPUs

2018-08-30 Thread Guenter Roeck
On 08/30/2018 12:19 AM, Joerg Roedel wrote: Hey Guenter, On Wed, Aug 29, 2018 at 01:16:59PM -0700, Guenter Roeck wrote: I see boot failures on mainline when trying to boot x86 images with an efi bios on Intel CPUs in qemu. Behavior is quite unusual: qemu dies silently after the kernel displays

[PATCH] afs: remove unused variables 'before' and 'after'

2018-08-30 Thread Colin King
From: Colin Ian King Variables 'before' and 'after' are being assigned but are never used (they are probably debugging cruft) hence they are redundant and can be removed. Cleans up clang warnings: variable 'before' set but not used [-Wunused-but-set-variable] variable 'after' set but not used [-

Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-30 Thread kbuild test robot
Hi Codrin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on at91/at91-next] [also build test WARNING on v4.19-rc1 next-20180830] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

[PATCH] ASoC: fix platform_no_drv_owner.cocci warnings

2018-08-30 Thread kbuild test robot
PROTO Audio CODEC (with a WM8731)") CC: Codrin Ciubotariu Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Codrin-Ciubotariu/ASoC-Add-driver-for-PROTO-Audio-CODEC-with-a-WM8731/20180830-060610 base: https://git.kernel.org/pub/scm/linux/kernel/git/nf

Re: [PATCH v6 07/14] sched/topology: Introduce sched_energy_present static key

2018-08-30 Thread Patrick Bellasi
On 30-Aug 10:57, Quentin Perret wrote: > Hi Patrick, > > On Thursday 30 Aug 2018 at 10:23:29 (+0100), Patrick Bellasi wrote: > > Yes, dunno if it's just me but perhaps a bit of rephrasing could help. > > Ok, so what about something a little bit more explicit like: > > /* > * The complexity of t

[PATCH 0/3] Add Xilinx AMS Driver

2018-08-30 Thread Manish Narani
Add Xilinx AMS driver which is used for Xilinx's ZynqMP AMS controller. This AMS driver is used to report various interface voltages and temperatures across the system. This driver handles AMS module including PS-Sysmon & PL-Sysmon. The binding documentation is added for understanding of AMS, PS, P

[PATCH 3/3] arm64: zynqmp: DT: Add Xilinx AMS node

2018-08-30 Thread Manish Narani
The Xilinx AMS includes an ADC as well as on-chip sensors that can be used to sample external and monitor on-die operating conditions, such as temperature and supply voltage levels. Signed-off-by: Manish Narani --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 26 ++ 1 file ch

[PATCH 2/3] iio: adc: Add Xilinx AMS driver

2018-08-30 Thread Manish Narani
The AMS includes an ADC as well as on-chip sensors that can be used to sample external voltages and monitor on-die operating conditions, such as temperature and supply voltage levels. The AMS has two SYSMON blocks. PL-SYSMON block is capable of monitoring off chip voltage and temperature. PL-SYSMON

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-30 Thread Peter Zijlstra
On Thu, Aug 30, 2018 at 12:13:50AM +, Vineet Gupta wrote: > On 08/27/2018 04:00 AM, Peter Zijlstra wrote: > > > > The one obvious thing SH and ARM want is a sensible default for > > tlb_start_vma(). (also: https://lkml.org/lkml/2004/1/15/6 ) > > > > The below make tlb_start_vma() default to flu

  1   2   3   4   5   6   7   >