[PATCH] KVM: MMU: Introduce single thread to zap collapsible sptes

2018-12-05 Thread Wanpeng Li
From: Wanpeng Li Last year guys from huawei reported that the call of memory_global_dirty_log_start/stop() takes 13s for 4T memory and cause guest freeze too long which increases the unacceptable migration downtime. [1] [2] Guangrong pointed out: | collapsible_sptes zaps 4k mappings to make

Re: [PATCH V3 rebase] mmc: sdhci: fix the timeout check window for clock and reset

2018-12-05 Thread Ulf Hansson
On Thu, 6 Dec 2018 at 00:33, Du, Alek wrote: > > From a081e783383adf1179c71bc37b4e199d087af643 Mon Sep 17 00:00:00 2001 > From: Alek Du > Date: Fri, 30 Nov 2018 14:02:28 +0800 > Subject: [PATCH] mmc: sdhci: fix the timeout check window for clock and reset > > We observed some premature timeouts o

Re: [PATCH v14 00/11] livepatch: Atomic replace feature

2018-12-05 Thread Petr Mladek
On Wed 2018-12-05 15:49:14, Joe Lawrence wrote: > On 11/29/2018 04:44 AM, Petr Mladek wrote: > > The atomic replace allows to create cumulative patches. They > > are useful when you maintain many livepatches and want to remove > > one that is lower on the stack. In addition it is very useful when >

Re: [PATCH] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2018-12-05 Thread Anand Moon
Hi Krzysztof, On Wed, 5 Dec 2018 at 21:49, Krzysztof Kozlowski wrote: > > On Wed, 5 Dec 2018 at 17:11, Anand Moon wrote: > > > > Hi Krzysztof, > > > > Thanks for your review. > > . > > On Wed, 5 Dec 2018 at 19:36, Krzysztof Kozlowski wrote: > > > > > > On Tue, 4 Dec 2018 at 20:40, Anand Moon w

New RED Racing Parts: 10% / 15% off and free shipping

2018-12-05 Thread RED Racing Parts (Info)
Dear Rider, RED Racing Parts offers the new full line of carbon fiber parts for your motorbike. For road / offroad motorcycles, visit our website on https://www.redracingparts.com/english/motorbikesmotorcycles/productsandcomponents/general/intro/carbonfibrefiber.php For trial motorcycles, vi

Re: [PATCH V2 1/4] ARM: dts: imx6qdl-sabresd: Move regulators outside of "simple-bus"

2018-12-05 Thread Shawn Guo
On Thu, Dec 06, 2018 at 01:42:30AM +, Anson Huang wrote: > From: Fabio Estevam > > It is not recommended to place regulators inside "simple-bus", so move > them out to make it cleaner the addition of new regulators. > > Signed-off-by: Fabio Estevam Applied all, thanks.

[PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS

2018-12-05 Thread Andrey Smirnov
Building a kernel with CONFIG_PCI_IMX6=y, but CONFIG_PCIEPORTBUS=n produces a system where built-in PCIE bridge (16c3:abcd) isn't bound to pcieport driver. This, in turn, results in a PCIE bus that is capable of enumerating attached PCIE device, but lacks functional interrupt support. Signed-off-b

Re: [PATCH 04/14] dt-bindings: timer: Add Milbeaut M10V timer description

2018-12-05 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2018/12/05 8:03, Rob Herring wrote: On Mon, Nov 19, 2018 at 10:01:09AM +0900, Sugaya Taichi wrote: Add DT bindings document for Milbeaut M10V timer. Signed-off-by: Sugaya Taichi --- .../bindings/timer/socionext,milbeaut-timer.txt | 17 +++

Re: [PATCH v2] ARM: dts: vf610-zii-scu4-aib: Add HI8435 support

2018-12-05 Thread Shawn Guo
On Wed, Dec 05, 2018 at 09:19:35AM -0200, Fabio Estevam wrote: > On the vf610-zii-scu4-aib board there is a hi8435 (32-channel > discrete-to-digital SPI sensor device) in the DSPI0 bus. > > Add support for it. > > Signed-off-by: Fabio Estevam > Reviewed-by: Chris Healy Applied, thanks.

Re: [PATCH V2] ARM: dts: imx6qdl-sabresd: add egalax touch screen support on i2c2 bus

2018-12-05 Thread Shawn Guo
On Wed, Dec 05, 2018 at 01:14:25AM +, Anson Huang wrote: > Add egalax touch screen support on i2c2 bus, it is connected > to LVDS0, while the existing one on i2c3 bus is connected to > LVDS1. > > Signed-off-by: Anson Huang Applied, thanks.

[PATCH v2 1/3] PCI: imx: No-op imx6_setup_phy_mpll() on i.MX7D

2018-12-05 Thread Andrey Smirnov
PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, so none of the code in current implementation of imx6_setup_phy_mpll() is applicable. Cc: bhelg...@google.com Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard

[PATCH v2 3/3] PCI: imx: Add support for i.MX8MQ

2018-12-05 Thread Andrey Smirnov
Add code needed to support i.MX8MQ variant. Cc: bhelg...@google.com Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-.

[PATCH v2 2/3] PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D

2018-12-05 Thread Andrey Smirnov
PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, so none of the code in current implementation of imx6_pcie_reset_phy() is applicable. Cc: bhelg...@google.com Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard

[PATCH v2 0/3] PCIE support for i.MX8MQ

2018-12-05 Thread Andrey Smirnov
Everyone: This series contains changes I made in order to enable support of PCIE IP block on i.MX8MQ SoCs (full tree can be found at [github-v2]). NOTE: The last patch have a Kconfig symbol depenency on [imx8mq-kconfig]. Changes since [v1]: - Driver changed to use single "fsl,controller-id" pr

[PATCH V2 2/2] KVM/VMX: Fix max line length problem in the vmx_hv_remote_flush_tlb()

2018-12-05 Thread lantianyu1986
From: Lan Tianyu Fix max line length problem. Signed-off-by: Lan Tianyu --- arch/x86/kvm/vmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 6577ec8cbb0f..2356118ea440 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @

[PATCH V2 1/2] KVM/VMX: Check ept_pointer before flushing ept tlb

2018-12-05 Thread lantianyu1986
From: Lan Tianyu This patch is to initialize ept_pointer to INVALID_PAGE and check it before flushing ept tlb. If ept_pointer is invalid, bypass the flush request. Signed-off-by: Lan Tianyu --- arch/x86/kvm/vmx.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git

[PATCH] x86/mm/fault: Streamline the fault error_code decoder some more

2018-12-05 Thread Ingo Molnar
* Sean Christopherson wrote: > ...instead of manually handling the case where error_code=0, e.g. to > display "[SUPERVISOR] [READ]" instead of "normal kernel read fault". > > This makes the zero case consistent with all other messages and also > provides additional information for other error

[PATCH] proc/sysctl: fix return error for proc_doulongvec_minmax

2018-12-05 Thread Cheng Lin
If the number of input parameters is less than the total parameters, an EINVAL error will be returned. e.g. We use proc_doulongvec_minmax to pass up to two parameters with kern_table. { .procname = "monitor_signals", .data = &monitor_sigs, .maxlen =

[PATCH v2 3/3] ntb_hw_switchtec: Added support of >=4G memory windows

2018-12-05 Thread Wesley Sheng
From: Paul Selles Current Switchtec's BAR setup registers are limited to 32bits, corresponding to the maximum MW (memory window) size is <4G. Increase the MW sizes with the addition of the BAR Setup Extension Register for the upper 32bits of a 64bits MW size. This increases the MW range to betwe

[PATCH v2 2/3] ntb_hw_switchtec: NT req id mapping table register entry number should be 512

2018-12-05 Thread Wesley Sheng
The number of available NT req id mapping table entries per NTB control register is 512. The driver mistakenly limits the number to 256. Fix the array size of NT req id mapping table. Fixes: c082b04c9d40 ("NTB: switchtec: Add NTB hardware register definitions") Signed-off-by: Wesley Sheng Review

[PATCH v2 0/3] ntb_hw_switchtec: Added support of >=4G memory windows

2018-12-05 Thread Wesley Sheng
Hi, Everyone, This patch series adds support of >=4G memory windows. Current Switchtec's BAR setup registers are limited to 32bits, corresponding to the maximum MW (memory window) size is <4G. Increase the MW sizes with the addition of the BAR Setup Extension Register for the upper 32bits of a 64

Re: [RFC PATCH] clk: qcom: clk-rpmh: Add IPA clock support

2018-12-05 Thread Bjorn Andersson
On Tue 04 Dec 23:15 PST 2018, Stephen Boyd wrote: > Quoting David Dai (2018-12-04 17:14:10) > > > > On 12/4/2018 2:34 PM, Stephen Boyd wrote: > > > Quoting Alex Elder (2018-12-04 13:41:47) > > >> On 12/4/18 1:24 PM, Stephen Boyd wrote: > > >>> Quoting David Dai (2018-12-03 19:50:13) > > Add

[PATCH v2 1/3] ntb_hw_switchtec: debug print 64bit aligned crosslink BAR Numbers

2018-12-05 Thread Wesley Sheng
From: Paul Selles Switchtec NTB crosslink BARs are 64bit addressed but they are printed as 32bit addressed BARs. Fix debug log to increment the BAR numbers by 2 to reflect the 64bit address alignment. Fixes: 017525018202 ("ntb_hw_switchtec: Add initialization code for crosslink") Signed-off-by:

Re: [PATCH linux-next v3 6/7] ASoC: rsnd: add avb clocks

2018-12-05 Thread Jiada Wang
Hi Morimoto-san On 2018/12/06 14:38, Kuninori Morimoto wrote: Hi Jiada SMSTPCR922 controls input of two clocks "S0D1ϕ" and "S0D4ϕ", Ahh, OK I could check it via Block diagram. But it is "Module stop" for these, anyway. "Module stop" and "S0D1ϕ/S0D4ϕ" are completely different clocks. Yes, "m

[PATCH 3/5] irqchip/irq-imx-gpcv2: Make use of BIT() macro

2018-12-05 Thread Andrey Smirnov
Convert all instances of 1 << x to BIT(x) for consistency with other kernel code. Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infrad

[PATCH 5/5] irqchip/irq-imx-gpcv2: Add support for i.MX8MQ

2018-12-05 Thread Andrey Smirnov
Add code needed to support i.MX8MQ. Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signe

[PATCH 4/5] irqchip/irq-imx-gpcv2: Make error messages more consistent

2018-12-05 Thread Andrey Smirnov
Make error messages more consistent by making sure each starts with "%pOF:". Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.o

[PATCH 2/5] irqchip/irq-imx-gpcv2: Share reg offset calculation code

2018-12-05 Thread Andrey Smirnov
Move identical offset calculation code into a small helper function and make use of it in the rest of the code. Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc:

[PATCH 0/5] i.MX8MQ support for GPCv2 irqchip driver

2018-12-05 Thread Andrey Smirnov
Everyone: This series is 4 trivial (and optional) changes and a patch to add support for i.MX8MQ to GPCv2 irqchip driver. Bingings for new GPC variant were taken from [gpcv2-imx8mq]. Hopefully all of the patches are self-explanatory. Feedback is welcome! Thanks, Andrey Smrinov [gpcv2-imx8mq] h

[PATCH 1/5] irqchip/irq-imx-gpcv2: Remove unused code

2018-12-05 Thread Andrey Smirnov
Varaible 'reg' in imx_gpcv2_irq_set_wake() has no users. Remove it. Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: li

linux-next: manual merge of the akpm-current tree with the btrfs-kdave tree

2018-12-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: fs/btrfs/extent_io.c between commit: e42c38c80535 ("btrfs: Refactor main loop in extent_readpages") from the btrfs-kdave tree and commit: "fs: don't open code lru_to_page()" from the akpm-current tree. I fixe

[RFC PATCH RESEND] x86/cpu: Avoid endless loop to get the number of cache leaves

2018-12-05 Thread Pu Wen
To get the number of cache leaves on AMD or Hygon platform, it should get the value of cpuid leaf 0x801d. But on certain broken platform such as a not fullly implemented virtual platform(for example Xen), the value of the cpuid leaf will nerver be CTYPE_NULL, so the kernel will run into an endl

Re: [PATCH 4.19 044/110] drm/i915: Disable LP3 watermarks on all SNB machines

2018-12-05 Thread Greg Kroah-Hartman
On Wed, Dec 05, 2018 at 11:39:05PM +0200, Ville Syrjälä wrote: > On Thu, Nov 29, 2018 at 03:12:15PM +0100, Greg Kroah-Hartman wrote: > > 4.19-stable review patch. If anyone has any objections, please let me know. > > This one apparently introduces some annoying dmesg errors: > [3.487895] [drm

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-05 Thread Michal Hocko
On Thu 06-12-18 11:34:30, Pingfan Liu wrote: [...] > > I suspect we are looking at two issues here. The first one, and a more > > important one is that there is a NUMA affinity configured for the device > > to a non-existing node. The second one is that nr_cpus affects > > initialization of possibl

Re: [PATCH] rtc: proc: printf using alarm for alrm

2018-12-05 Thread yuankuiz
Hi, Kindly, this format change formats the rtc dump from: alrm_time : 00:00:00 alrm_date : 1970-01-01 alarm_IRQ : no alrm_pending: no to: alarm time : 00:00:00 alarm date : 1970-01-01 alarm IRQ

Re: [PATCH 2/2] remoteproc: sysmon: Wait for shutdown-ack/ind on sysmon shutdown

2018-12-05 Thread Bjorn Andersson
On Tue 20 Nov 13:02 PST 2018, Sibi Sankar wrote: > After sending a sysmon shutdown request to the SSCTL service on the > subsystem, wait for the service to send shutdown-ack interrupt or > an indication message back. > So we get a reply immediate on the shutdown request, and then some time later

Re: [PATCH] pinctrl: Use of_node_name_eq for node name comparisons

2018-12-05 Thread Krzysztof Kozlowski
On Wed, 5 Dec 2018 at 20:51, Rob Herring wrote: > > Convert string compares of DT node names to use of_node_name_eq helper > instead. This removes direct access to the node name pointer. > > Cc: Tomasz Figa > Cc: Krzysztof Kozlowski > Cc: Sylwester Nawrocki > Cc: Linus Walleij > Cc: linux-arm-

RE: [PATCH v5 0/7] spi: add support for octal mode

2018-12-05 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, December 6, 2018 12:16 PM > To: Yogesh Narayan Gaur > Cc: Vignesh R ; broo...@kernel.org; linux- > m...@lists.infradead.org; marek.va...@gmail.com; linux-...@vger.kernel.org; > de

Re: [PATCH v5 0/7] spi: add support for octal mode

2018-12-05 Thread Boris Brezillon
On Thu, 6 Dec 2018 04:20:26 + Yogesh Narayan Gaur wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Wednesday, December 5, 2018 6:16 PM > > To: Vignesh R ; broo...@kernel.org > > Cc: Yogesh Narayan Gaur ; linux- > > m

[PATCH v10 0/2] Add ThunderX2 SoC Performance Monitoring Unit driver

2018-12-05 Thread Kulkarni, Ganapatrao
This patchset adds PMU driver for Cavium's ThunderX2 SoC UNCORE devices. The SoC has PMU support in L3 cache controller (L3C) and in the DDR4 Memory Controller (DMC). v10: Updated Documentation patch with comments [6]. [6] https://lkml.org/lkml/2018/12/5/649 v9: Updated with comm

Re: [RFC PATCH] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2018-12-05 Thread osalvador
> Btw. the way how we drop all the work on the first page that we > cannot > isolate is just goofy. Why don't we simply migrate all that we > already > have on the list and go on? Something for a followup cleanup though. Indeed, that is just wrong. I will try to send a followup cleanup to fix th

[PATCH v1] dmaengine: imx-sdma: refine to load context only once

2018-12-05 Thread Robin Gong
The context loaded only one time before channel running,but currently sdma_config_channel() and dma_prep_* duplicated with sdma_load_context(), so refine it to load context only one time before channel running and reload after the channel terminated. Signed-off-by: Robin Gong --- drivers/dma/imx

[PATCH 2/2] iio: accell: mma8452: add optional vcc regulator operation support

2018-12-05 Thread Anson Huang
The accelerometer's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the mma8451's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any communication with mma8451, this patch adds optional vcc regul

[PATCH 1/2] MAINTAINERS: add gnss scm tree

2018-12-05 Thread Johan Hovold
Add SCM tree for the gnss subsystem. Signed-off-by: Johan Hovold --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6682420421c1..03766ddf95a3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6316,6 +6316,7 @@ F:include/uapi/linux/gigaset_de

[PATCH 1/2] dt-bindings: iio: accel: mma8452: add optional vcc-supply property

2018-12-05 Thread Anson Huang
The accelerometer's power supply could be controlled by regulator on some platforms, add optional property "vcc-supply" to let device tree to pass phandle to the regulator to driver. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/iio/accel/mma8452.txt | 2 ++ 1 file changed, 2

[PATCH 2/2] MAINTAINERS: exclude gnss from SIRFPRIMA2 regex matching

2018-12-05 Thread Johan Hovold
Exclude the gnss subsystem from SIRMPRIMA2 regex matching, which would otherwise match the unrelated gnss sirf driver. Cc: Barry Song Signed-off-by: Johan Hovold --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 03766ddf95a3..0f083103d625 100644

linux-next: build failure after merge of the device-mapper tree

2018-12-05 Thread Stephen Rothwell
Hi all, After merging the device-mapper tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this: In file included from arch/powerpc/include/asm/local.h:144, from include/linux/genhd.h:20, from block/genhd.c:7: block/genhd.c: In function 'part_i

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-12-05 Thread Chunyan Zhang
On Tue, 4 Dec 2018 at 18:38, Faiz Abbas wrote: > > Hi, > > On 04/12/18 12:54 PM, Chunyan Zhang wrote: > > Some standard SD host controllers can support both external dma > > controllers as well as ADMA/SDMA in which the SD host controller > > acts as DMA master. TI's omap controller is the case as

Re: [PATCH] /proc/kpagecount: return 0 for special pages that are never mapped

2018-12-05 Thread Anthony Yznaga
On 12/05/2018 08:26 PM, Matthew Wilcox wrote: > On Wed, Dec 05, 2018 at 04:44:15PM -0800, Anthony Yznaga wrote: >> On 12/05/2018 11:44 AM, Matthew Wilcox wrote: >>> Nobody seems terribly interested in mapcount overflows. I got no response >>> to https://lkml.org/lkml/2018/3/2/991 >> Okay.  Than

Re: [PATCH 2/2] PCI: mediatek: Add controller support for MT7629

2018-12-05 Thread Honghui Zhang
On Thu, 2018-12-06 at 09:09 +0800, Jianjun Wang wrote: > MT7629 is an arm platform SoC which has the same PCIe IP with MT7622. > > The read value of BAR0 is 0x_, it's size will be calculated as 4GB > in arm64 but bogus alignment values at arm32, the pcie device and devices :s /the pcie de

Re: [PATCH 4.19 000/139] 4.19.7-stable review

2018-12-05 Thread Greg Kroah-Hartman
On Wed, Dec 05, 2018 at 04:52:33PM -0700, shuah wrote: > On 12/4/18 3:48 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.7 release. > > There are 139 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH v1 5/5] perf cs-etm: Track exception number

2018-12-05 Thread leo . yan
On Wed, Dec 05, 2018 at 11:03:29AM -0700, Mathieu Poirier wrote: [...] > > > > static ocsd_datapath_resp_t > > > > cs_etm_decoder__buffer_exception(struct cs_etm_decoder *decoder, > > > > +const ocsd_generic_trace_elem *elem, > > > > cons

Re: [PATCH v1 3/5] perf cs-etm: Support for NO_SYNC packet

2018-12-05 Thread leo . yan
On Wed, Dec 05, 2018 at 10:48:45AM -0700, Mathieu Poirier wrote: [...] > > So I think there still have some difference between TRACE_ON and > > NO_SYNC packets, TRACE_ON packet indicates the start of trace and it's > > also possible caused by tracing discontinuity; NO_SYNC packets usually > > cau

Re: linux-next: manual merge of the char-misc tree with the mmc tree

2018-12-05 Thread Greg KH
On Thu, Dec 06, 2018 at 03:48:00PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the char-misc tree got a conflict in: > > drivers/misc/Makefile > > between commit: > > 4eb78924bf0e ("misc: cardreader: add new Alcor Micro Cardreader PCI driver") > > from the mmc

Re: [PATCH linux-next v3 6/7] ASoC: rsnd: add avb clocks

2018-12-05 Thread Kuninori Morimoto
Hi Jiada > SMSTPCR922 controls input of two clocks "S0D1ϕ" and "S0D4ϕ", Ahh, OK I could check it via Block diagram. But it is "Module stop" for these, anyway. "Module stop" and "S0D1ϕ/S0D4ϕ" are completely different clocks. > "S0D4ϕ" is input to BRGA, > "S0D1ϕ" is input to avb_counter8 It seem

Re: [PATCH v2 1/2] perf cs-etm: Set branch instruction flags in packet

2018-12-05 Thread leo . yan
On Wed, Dec 05, 2018 at 10:40:07AM -0700, Mathieu Poirier wrote: [...] > > > > static ocsd_datapath_resp_t cs_etm_decoder__gen_trace_elem_printer( > > > > const void *context, > > > > const ocsd_trc_index_t indx __maybe_unused, > > > > @@ -

[GIT PULL] C-SKY update for 4.20-rc6

2018-12-05 Thread Guo Ren
Hi Linus, Please pull. Best Regards Guo Ren --> The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the git repository at: g...@github.com:c-sky/csky-linux.git tag

Re: [PATCH 2/7] microblaze: adjust the help to the real behavior

2018-12-05 Thread Masahiro Yamada
Hi Michal, On Thu, Dec 6, 2018 at 12:41 AM Michal Simek wrote: > > On 03. 12. 18 8:50, Masahiro Yamada wrote: > > "make ARCH=microblaze help" mentions simpleImage..unstrip, > > but it never works because Makefile assumes "system.unstrip" is > > the name of DT. > > > > $ make ARCH=microblaze CROSS

Re: [PATCH] pinctrl: Use of_node_name_eq for node name comparisons

2018-12-05 Thread Tomasz Figa
2018年12月5日(水) 11:51 Rob Herring : > > Convert string compares of DT node names to use of_node_name_eq helper > instead. This removes direct access to the node name pointer. > > Cc: Tomasz Figa > Cc: Krzysztof Kozlowski > Cc: Sylwester Nawrocki > Cc: Linus Walleij > Cc: linux-arm-ker...@lists.in

Re: [RFC PATCH] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2018-12-05 Thread Naoya Horiguchi
On Wed, Dec 05, 2018 at 05:57:16PM +0100, Michal Hocko wrote: > On Wed 05-12-18 13:29:18, Michal Hocko wrote: > [...] > > After some more thinking I am not really sure the above reasoning is > > still true with the current upstream kernel. Maybe I just managed to > > confuse myself so please hold o

Re: [PATCH 5/6] power: supply: charger-manager: Remove deprecated extcon APIs

2018-12-05 Thread Baolin Wang
Hi Sebastian, On Thu, 6 Dec 2018 at 04:34, Sebastian Reichel wrote: > > Hi, > > On Wed, Dec 05, 2018 at 10:57:12AM +0800, Baolin Wang wrote: > > Hi Rob, > > On Wed, 5 Dec 2018 at 05:52, Rob Herring wrote: > > > > > > On Fri, Nov 16, 2018 at 07:01:12PM +0800, Baolin Wang wrote: > > > > The struct

Re: [PATCH 0/7] microblaze: fix various problems in building boot images

2018-12-05 Thread Masahiro Yamada
Hi Michal, On Thu, Dec 6, 2018 at 1:41 AM Michal Simek wrote: > > On 03. 12. 18 8:50, Masahiro Yamada wrote: > > This patch set fixes various issues in microblaze Makefiles. > > > > BTW, "simpleImage." works like a phony target to generate the > > following four images, where the first three are

Re: [PATCH linux-next v3 6/7] ASoC: rsnd: add avb clocks

2018-12-05 Thread Jiada Wang
Hi Morimoto-san Thanks for your comments On 2018/12/06 9:59, Kuninori Morimoto wrote: Hi Jiada + avb = devm_kzalloc(dev, sizeof(*avb), GFP_KERNEL); + if (!avb) + return ERR_PTR(-ENOMEM); + + parent_name = __clk_get_name(adg->clkadg); This parent_name is very s

[PATCH] iio: magnetometer: mag3110: add optional vcc regulator operation support

2018-12-05 Thread Anson Huang
The magnetometer's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the mag3110's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any communication with mag3110, this patch adds optional vcc regula

Re: [LKP] [patch v2 for-4.20] mm, thp: restore node-local hugepage allocations

2018-12-05 Thread kernel test robot
On Wed, Dec 05, 2018 at 02:46:50PM -0800, David Rientjes wrote: > This is a full revert of ac5b2c18911f ("mm: thp: relax __GFP_THISNODE for > MADV_HUGEPAGE mappings") and a partial revert of 89c83fb539f9 ("mm, thp: > consolidate THP gfp handling into alloc_hugepage_direct_gfpmask"). > > By not set

[PATCH] CIFS: Avoid returning EBUSY to upper layer VFS

2018-12-05 Thread Long Li
From: Long Li EBUSY is not handled by VFS, and will be passed to user-mode. This is not correct as we need to wait for more credits. This patch also fixes a bug where rsize or wsize is used uninitialized when the call to server->ops->wait_mtu_credits() fails. Reported-by: Dan Carpenter Signed-

linux-next: manual merge of the char-misc tree with the mmc tree

2018-12-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/misc/Makefile between commit: 4eb78924bf0e ("misc: cardreader: add new Alcor Micro Cardreader PCI driver") from the mmc tree and commit: fcb418cd567f ("pvpanic: move pvpanic to misc as common driver") fro

Re: [PATCH 2/6] __wr_after_init: write rare for static allocation

2018-12-05 Thread Matthew Wilcox
On Tue, Dec 04, 2018 at 02:18:01PM +0200, Igor Stoppa wrote: > +void *__wr_op(unsigned long dst, unsigned long src, __kernel_size_t len, > + enum wr_op_type op) > +{ > + temporary_mm_state_t prev; > + unsigned long flags; > + unsigned long offset; > + unsigned long wr_poki

Re: [PATCH] /proc/kpagecount: return 0 for special pages that are never mapped

2018-12-05 Thread Matthew Wilcox
On Wed, Dec 05, 2018 at 04:44:15PM -0800, Anthony Yznaga wrote: > On 12/05/2018 11:44 AM, Matthew Wilcox wrote: > > Nobody seems terribly interested in mapcount overflows. I got no response > > to https://lkml.org/lkml/2018/3/2/991 > > Okay.  Thanks for the background. > > How about this, then:

Re: [PATCH v11 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-12-05 Thread Viresh Kumar
On 05-12-18, 09:00, Stephen Boyd wrote: > Here's a patch to squash in to fix those tiny problems. I left it as > devm_ioremap_resource() because that has all the nice features of > resource requesting inside and it didn't seem too bad to devm_iounmap() > on the exit path. > > -8<--

Re: [PATCH v2] cpufreq: nforce2: Remove meaningless return

2018-12-05 Thread Viresh Kumar
On 05-12-18, 10:57, Yangtao Li wrote: > Delete a line of meaningless return and some useless blank lines. In a > function > whose return type is void, returning on the last line is not required. > > Signed-off-by: Yangtao Li > --- > Changes in v2: > -revert modify of MODULE_ > -delete some blank

RE: [PATCH v5 0/7] spi: add support for octal mode

2018-12-05 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, December 5, 2018 6:16 PM > To: Vignesh R ; broo...@kernel.org > Cc: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; marek.va...@gmail.com; linux-...@vger.kernel.org; > de

[PATCH v2] mfd: cros_ec: Add commands to control codec

2018-12-05 Thread Cheng-Yi Chiang
Add EC host commands to control codec on EC. Signed-off-by: Cheng-Yi Chiang --- V2 fixed the wrong ancestor issue so the patch can be applied cleanly on mfd tree. Codec driver that uses these commands will be sent separately. Thanks! include/linux/mfd/cros_ec_commands.h | 94 +++

Re: [RFC PATCH 1/1] epoll: use rwlock in order to reduce ep_poll_callback() contention

2018-12-05 Thread Davidlohr Bueso
On 12/3/18 6:02 AM, Roman Penyaev wrote: The main change is in replacement of the spinlock with a rwlock, which is taken on read in ep_poll_callback(), and then by adding poll items to the tail of the list using xchg atomic instruction. Write lock is taken everywhere else in order to stop list

[PATCH 0/4] UniPhier I2C fixes

2018-12-05 Thread Masahiro Yamada
Masahiro Yamada (4): i2c: uniphier-f: fix timeout error after reading 8 bytes i2c: uniphier-f: fill TX-FIFO only in IRQ handler for repeated START i2c: uniphier: fix violation of tLOW requirement for Fast-mode i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode drivers/i2c/

[PATCH 1/4] i2c: uniphier-f: fix timeout error after reading 8 bytes

2018-12-05 Thread Masahiro Yamada
I was totally screwed up in commit eaba68785c2d ("i2c: uniphier-f: fix race condition when IRQ is cleared"). Since that commit, if the number of read bytes is multiple of the FIFO size (8, 16, 24... bytes), the STOP condition could be issued twice, depending on the timing. If this happens, the cont

[PATCH 3/4] i2c: uniphier: fix violation of tLOW requirement for Fast-mode

2018-12-05 Thread Masahiro Yamada
Currently, the clock duty is set as tLOW/tHIGH = 1/1. For Fast-mode, tLOW is set to 1.25 us while the I2C spec requires tLOW >= 1.3 us. tLOW/tHIGH = 5/4 would meet both Standard-mode and Fast-mode: Standard-mode: tLOW = 5.56 us, tHIGH = 4.44 us Fast-mode: tLOW = 1.39 us, tHIGH = 1.11 us S

[PATCH 4/4] i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode

2018-12-05 Thread Masahiro Yamada
Currently, the clock duty is set as tLOW/tHIGH = 1/1. For Fast-mode, tLOW is set to 1.25 us while the I2C spec requires tLOW >= 1.3 us. tLOW/tHIGH = 5/4 would meet both Standard-mode and Fast-mode: Standard-mode: tLOW = 5.56 us, tHIGH = 4.44 us Fast-mode: tLOW = 1.39 us, tHIGH = 1.11 us S

[PATCH 2/4] i2c: uniphier-f: fill TX-FIFO only in IRQ handler for repeated START

2018-12-05 Thread Masahiro Yamada
- For a repeated START condition, this controller starts data transfer immediately after the slave address is written to the TX-FIFO. - Once the TX-FIFO empty interrupt is asserted, the controller makes a pause even if additional data are written to the TX-FIFO. Given those circumstances,

Re: [for-next][PATCH 05/30] arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH

2018-12-05 Thread Steven Rostedt
On Wed, 05 Dec 2018 18:47:54 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Functions in the set_graph_notrace no longer subtract FTRACE_NOTRACE_DEPTH > from curr_ret_stack, as that is now implemented via the trace_recursion > flags. Access to curr_ret_stack no longer needs t

Re: [PATCH 1/3] stackleak: mark stackleak_track_stack() as notrace

2018-12-05 Thread Kees Cook
On Wed, Dec 5, 2018 at 7:43 PM Steven Rostedt wrote: > > On Wed, 5 Dec 2018 19:29:11 -0800 > Kees Cook wrote: > > > On Wed, Dec 5, 2018 at 6:29 PM Steven Rostedt wrote: > > > > > > On Wed, 5 Dec 2018 21:26:51 -0500 > > > Steven Rostedt wrote: > > > > > > > On Wed, 5 Dec 2018 17:08:34 -0800 > >

Re: [PATCH 1/3] stackleak: mark stackleak_track_stack() as notrace

2018-12-05 Thread Steven Rostedt
On Wed, 5 Dec 2018 19:29:11 -0800 Kees Cook wrote: > On Wed, Dec 5, 2018 at 6:29 PM Steven Rostedt wrote: > > > > On Wed, 5 Dec 2018 21:26:51 -0500 > > Steven Rostedt wrote: > > > > > On Wed, 5 Dec 2018 17:08:34 -0800 > > > Kees Cook wrote: > > > > > > > > I'll Ack the Makefile > > > cha

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-05 Thread Pingfan Liu
On Wed, Dec 5, 2018 at 5:43 PM Michal Hocko wrote: > > On Wed 05-12-18 17:29:31, Pingfan Liu wrote: > > On Wed, Dec 5, 2018 at 5:21 PM Michal Hocko wrote: > > > > > > On Wed 05-12-18 13:38:17, Pingfan Liu wrote: > > > > On Tue, Dec 4, 2018 at 4:56 PM Michal Hocko wrote: > > > > > > > > > > On Tu

[PATCH V2] iio: light: isl29018: add optional vcc regulator operation support

2018-12-05 Thread Anson Huang
The light sensor's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the light sensor isl29023's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any operation of sensor, this patch adds optional vcc

Re: [PATCH 1/3] stackleak: mark stackleak_track_stack() as notrace

2018-12-05 Thread Kees Cook
On Wed, Dec 5, 2018 at 6:29 PM Steven Rostedt wrote: > > On Wed, 5 Dec 2018 21:26:51 -0500 > Steven Rostedt wrote: > > > On Wed, 5 Dec 2018 17:08:34 -0800 > > Kees Cook wrote: > > > > > I'll Ack the Makefile > > change in the tracing directory, but the rest belongs to others. Okay, I wasn't sur

Re: [PATCH v3] signal: add procfd_send_signal() syscall

2018-12-05 Thread Kees Cook
On Wed, Dec 5, 2018 at 7:08 PM Christian Brauner wrote: > As a sidenote I'm switching the name from procfd_send_signal() to > taskfd_send_signal(). It seems to me the best way to handle Eric's > request to reflect that we can eventually both signal tgids and tids. Cool; sounds fine to me. -- Ke

Re: [PATCH 1/2] arm64: dts: ls1088a: Move fsl-mc node

2018-12-05 Thread Shawn Guo
On Tue, Dec 04, 2018 at 04:33:06PM +, Ioana Ciocoi Radulescu wrote: > The fsl-mc node should sit under the soc node, so move it to > its proper location. > > Fixes: ac7c9ff741fb ("arm64: dts: ls1088a: add fsl-mc hardware resource > manager node") > > Signed-off-by: Ioana Radulescu Applied

[PATCH v2] power: supply: sc27xx: Save last battery capacity

2018-12-05 Thread Baolin Wang
From: Yuanjiang Yu Our charger manager can optimize the battery capacity periodically, so we can save last battery capacity into registers. Then next system power-on, we can read the last saved battery capacity as the initial battery capacity, which can make the battery capacity more accurate. S

[PATCH] iio: light: isl29018: add optional vcc regulator operation support

2018-12-05 Thread Anson Huang
The light sensor's power supply could be controlled by regulator on some platforms, such as i.MX6Q-SABRESD board, the light sensor isl29023's power supply is controlled by a GPIO fixed regulator, need to make sure the regulator is enabled before any operation of sensor, this patch adds optional vcc

Re: [PATCH] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2018-12-05 Thread Anand Moon
Hi Krzysztof, On Wed, 5 Dec 2018 at 21:49, Krzysztof Kozlowski wrote: > > On Wed, 5 Dec 2018 at 17:11, Anand Moon wrote: > > > > Hi Krzysztof, > > > > Thanks for your review. > > . > > On Wed, 5 Dec 2018 at 19:36, Krzysztof Kozlowski wrote: > > > > > > On Tue, 4 Dec 2018 at 20:40, Anand Moon w

Re: [PATCH v3] signal: add procfd_send_signal() syscall

2018-12-05 Thread Christian Brauner
On Wed, Dec 05, 2018 at 03:24:08PM -0800, Kees Cook wrote: > On Wed, Dec 5, 2018 at 12:53 PM Christian Brauner > wrote: > > On Wed, Dec 05, 2018 at 12:20:43PM -0600, Eric W. Biederman wrote: > > > Christian Brauner writes: > > > > [1]: https://lkml.org/lkml/2018/11/18/130 > > > > [2]: > > > >

Re: [RFC PATCH 1/1] epoll: use rwlock in order to reduce ep_poll_callback() contention

2018-12-05 Thread Davidlohr Bueso
On 12/3/18 6:02 AM, Roman Penyaev wrote: if (!ep_is_linked(epi)) { - list_add_tail(&epi->rdllink, &ep->rdllist); + /* Reverse ->ovflist, events should be in FIFO */ + list_add(&epi->rdllink, &ep->rdllist);

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-05 Thread Pingfan Liu
On Wed, Dec 5, 2018 at 5:40 PM Vlastimil Babka wrote: > > On 12/5/18 10:29 AM, Pingfan Liu wrote: > >> [0.007418] Early memory node ranges > >> [0.007419] node 1: [mem 0x1000-0x0008efff] > >> [0.007420] node 1: [mem 0x0009-0x0009] > >

Re: [PATCH 0/5] Add new features for SC27XX fuel gauge driver

2018-12-05 Thread Baolin Wang
Hi Sebastian, On Thu, 6 Dec 2018 at 08:10, Sebastian Reichel wrote: > > Hi, > > On Wed, Nov 14, 2018 at 05:07:03PM +0800, Baolin Wang wrote: > > This patch set adds some new features for SC27XX fuel gauge driver. > > > > 1. Read calibration data from eFuse device to calibrate fuel gauge. > > 2. A

Re: [PATCH] platform/x86: intel_ips: Remove unnecessary NULL check before debugfs_remove_recursive

2018-12-05 Thread Andy Shevchenko
On Thu, Dec 6, 2018 at 3:09 AM Wen Yang wrote: > > debugfs_remove_recursive() accepts a NULL parameter and returns > immediately, there's no need for a NULL check in the caller. > > This issue was detected with the help of Coccinelle. > Thank you, similar patch is already in my queue. > Signed-o

Re: [PATCH 1/3] mfd: cros_ec: Add commands to control codec

2018-12-05 Thread Cheng-yi Chiang
On Wed, Dec 5, 2018 at 7:34 PM Lee Jones wrote: > > On Wed, 05 Dec 2018, Lee Jones wrote: > > > On Wed, 05 Dec 2018, Cheng-yi Chiang wrote: > > > > > Hi Lee, > > > > > > I tried to apply this patch based on > > > for-mfd-next branch of mfd tree ( > > > git://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH] dt-bindings: sifive: describe sifive-blocks versioning

2018-12-05 Thread Paul Walmsley
Hi Atish, On Wed, 21 Nov 2018, Atish Patra wrote: > On 11/21/18 5:07 PM, Paul Walmsley wrote: > > > > For IP blocks that are generated from the public, open-source > > sifive-blocks repository, describe the version numbering policy > > that its maintainers intend to use, upon request from Rob >

Re: [PATCH 1/3] stackleak: mark stackleak_track_stack() as notrace

2018-12-05 Thread Steven Rostedt
On Wed, 5 Dec 2018 21:26:51 -0500 Steven Rostedt wrote: > On Wed, 5 Dec 2018 17:08:34 -0800 > Kees Cook wrote: > > I'll Ack the Makefile > change in the tracing directory, but the rest belongs to others. > I see I already acked that patch. BTW, when sending a patch series, you really need a

Re: [PATCH 1/3] stackleak: mark stackleak_track_stack() as notrace

2018-12-05 Thread Steven Rostedt
On Wed, 5 Dec 2018 17:08:34 -0800 Kees Cook wrote: > > diff --git a/kernel/stackleak.c b/kernel/stackleak.c > > index e42892926244..5de3bf596dd7 100644 > > --- a/kernel/stackleak.c > > +++ b/kernel/stackleak.c > > @@ -102,7 +102,7 @@ asmlinkage void stackleak_erase(void) > > current->lowe

Re: [PATCH v12 1/5] x86/boot: Add get_acpi_rsdp() to parse RSDP in cmdline from KEXEC

2018-12-05 Thread Chao Fan
On Wed, Dec 05, 2018 at 03:58:14PM +0100, Borislav Petkov wrote: >On Thu, Nov 29, 2018 at 04:16:27PM +0800, Chao Fan wrote: >> To fix the conflict between KASLR and memory-hotremove, memory >> information in SRAT table is necessary. >> >> ACPI SRAT (System/Static Resource Affinity Table) can show

  1   2   3   4   5   6   7   8   9   10   >