Re: [PATCH v4 3/3] serial: 8250_dw: add fractional divisor support

2018-07-11 Thread Jisheng Zhang
Hi Andy, On Tue, 10 Jul 2018 19:19:21 +0300 Andy Shevchenko wrote: > On Tue, 2018-07-10 at 11:15 +0800, Jisheng Zhang wrote: > > For Synopsys DesignWare 8250 uart which version >= 4.00a, there's a > > valid divisor latch fraction register. The fractional divisor width is > > 4bits ~ 6bits. > >

[PATCH v6 1/1] PCI: kirin: Add MSI support

2018-07-11 Thread Xiaowei Song
Add support for MSI Signed-off-by: Xiaowei Song Signed-off-by: Yao Chen --- drivers/pci/dwc/pcie-kirin.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/pci/dwc/pcie-kirin.c b/drivers/pci/dwc/pcie-kirin.c index d2970a009eb5..369bf87d2fff 100644 ---

[PATCH v6 0/1] PCI: kirin: Add MSI support

2018-07-11 Thread Xiaowei Song
Before Version Patches == patch v5 https://patchwork.kernel.org/patch/10493797/ patch v4 https://patchwork.kernel.org/patch/10402399/ patch v3 https://www.spinics.net/lists/linux-pci/msg72322.html patch v2 https://www.spinics.net/lists/kernel/msg2797610.html patch v1

Re: [PATCH 2/2] mips: mm: Discard ioremap_uncached_accelerated() method

2018-07-11 Thread Christoph Hellwig
> + * This is a MIPS specific ioremap variant. ioremap_cacheable_cow > + * requests a cachable mapping with CWB attribute enabled. > */ > #define ioremap_cacheable_cow(offset, size) \ > __ioremap_mode((offset), (size), _CACHE_CACHABLE_COW) This isn't actually

RE: [PATCH v1 1/4] dmaengine: imx-sdma: add memcpy interface

2018-07-11 Thread Robin Gong
> -Original Message- > From: Sascha Hauer [mailto:s.ha...@pengutronix.de] > Sent: 2018年7月11日 14:25 > To: Robin Gong > Cc: vk...@kernel.org; dan.j.willi...@intel.com; shawn...@kernel.org; Fabio > Estevam ; li...@armlinux.org.uk; > linux-arm-ker...@lists.infradead.org;

Re: linux-next: Signed-off-by missing for commit in the renesas tree

2018-07-11 Thread Simon Horman
On Tue, Jul 10, 2018 at 07:44:33AM +1000, Stephen Rothwell wrote: > Hi Simon, > > Commit > > 19145e19bb08 ("ARM: shmobile: defconfig: Drop NET_VENDOR_=n") > > is missing a Signed-off-by from its committer. Thanks Stephen, I'll fix that in my next push.

Re: [PATCH v1 1/4] dmaengine: imx-sdma: add memcpy interface

2018-07-11 Thread Vinod
On 11-07-18, 05:34, Robin Gong wrote: > > On 11-07-18, 00:23, Robin Gong wrote: > > > Add MEMCPY support, meanwhile, add SDMA_BD_MAX_CNT instead of > > > '0x'. > > > > latter part should be its own patch. Never mix things > Okay, I will split it even for this minor change. Yes, a patch

Re: [PATCH v1 1/4] dmaengine: imx-sdma: add memcpy interface

2018-07-11 Thread Sascha Hauer
On Wed, Jul 11, 2018 at 12:23:10AM +0800, Robin Gong wrote: > Add MEMCPY support, meanwhile, add SDMA_BD_MAX_CNT instead > of '0x'. > > Signed-off-by: Robin Gong > --- > +static struct dma_async_tx_descriptor *sdma_prep_memcpy( > + struct dma_chan *chan, dma_addr_t dma_dst, > +

RE: [PATCH v1 1/4] dmaengine: imx-sdma: add memcpy interface

2018-07-11 Thread Robin Gong
> -Original Message- > From: Sascha Hauer [mailto:s.ha...@pengutronix.de] > Sent: 2018年7月11日 15:01 > To: Robin Gong > Cc: vk...@kernel.org; dan.j.willi...@intel.com; shawn...@kernel.org; Fabio > Estevam ; li...@armlinux.org.uk; > linux-arm-ker...@lists.infradead.org;

[PATCH] sched/deadline: Fix switched_from_dl

2018-07-11 Thread Juri Lelli
Mark noticed that syzkaller is able to reliably trigger the following dl_rq->running_bw > dl_rq->this_bw WARNING: CPU: 1 PID: 153 at kernel/sched/deadline.c:124 switched_from_dl+0x454/0x608 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 153 Comm: syz-executor253 Not

Re: [PATCH V2 1/5] X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support

2018-07-11 Thread Tianyu Lan
Hi Michael: Thanks for your review. On 7/11/2018 5:29 AM, Michael Kelley (EOSG) wrote: > From: Tianyu Lan Monday, July 9, 2018 2:03 AM >> Hyper-V supports a pv hypercall HvFlushGuestPhysicalAddressSpace to >> flush nested VM address space mapping in l1 hypervisor and it's to >> reduce

Re: [PATCH v1 2/4] dmaengine: imx-sdma: add check_bd_buswidth() to kill the dulicated code

2018-07-11 Thread Sascha Hauer
On Wed, Jul 11, 2018 at 12:23:11AM +0800, Robin Gong wrote: > Add check_bd_buswidth() to minimize the code size. > > Signed-off-by: Robin Gong > --- > drivers/dma/imx-sdma.c | 64 > +++--- > 1 file changed, 29 insertions(+), 35 deletions(-) > > diff

Re: [PATCH v1 1/4] dmaengine: imx-sdma: add memcpy interface

2018-07-11 Thread Sascha Hauer
On Wed, Jul 11, 2018 at 07:05:23AM +, Robin Gong wrote: > > > > -Original Message- > > From: Sascha Hauer [mailto:s.ha...@pengutronix.de] > > Sent: 2018年7月11日 15:01 > > To: Robin Gong > > Cc: vk...@kernel.org; dan.j.willi...@intel.com; shawn...@kernel.org; Fabio > > Estevam ;

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-11 Thread David Howells
Andy Lutomirski wrote: > >sfd = fsopen("ext4", FSOPEN_CLOEXEC); > >write(sfd, "s /dev/sdb1"); // note I'm ignoring write's length arg > > Imagine some malicious program passes sfd as stdout to a setuid > program. That program gets persuaded to write "s /etc/shadow". What > happens?

Re: [PATCH v6 1/1] PCI: kirin: Add MSI support

2018-07-11 Thread Andy Shevchenko
On Wed, Jul 11, 2018 at 9:57 AM, Xiaowei Song wrote: > Add support for MSI > +static int kirin_pcie_add_msi(struct dw_pcie *pci, > + struct platform_device *pdev) > +{ > + int ret = 0; > + > + if (IS_ENABLED(CONFIG_PCI_MSI)) { > + ret =

Re: Why the mce reverts in 4.16-rt?

2018-07-11 Thread Sebastian Andrzej Siewior
On 2018-07-10 20:56:24 [-0400], Steven Rostedt wrote: > Hi Sebastian, Hi Steven, > I'm looking at backporting patches from 4.16-rt and noticed that you > have: > > Revert "x86: Convert mce timer to hrtimer" > Revert "x86/mce: use swait queue for mce wakeups" > > With no explanation to why they

Re: [PATCH v1 1/4] dmaengine: imx-sdma: add memcpy interface

2018-07-11 Thread Sascha Hauer
On Wed, Jul 11, 2018 at 06:56:18AM +, Robin Gong wrote: > > > -Original Message- > > From: Sascha Hauer [mailto:s.ha...@pengutronix.de] > > Sent: 2018年7月11日 14:25 > > To: Robin Gong > > Cc: vk...@kernel.org; dan.j.willi...@intel.com; shawn...@kernel.org; Fabio > > Estevam ;

RE: [PATCH V4 3/5] mailbox: imx: add imx mu support

2018-07-11 Thread A.s. Dong
Hi Sascha, > -Original Message- > From: Sascha Hauer [mailto:s.ha...@pengutronix.de] > Sent: Tuesday, July 10, 2018 10:20 PM > To: A.s. Dong > Cc: linux-arm-ker...@lists.infradead.org; donga...@gmail.com; Jassi Brar > ; linux-kernel@vger.kernel.org; Oleksij Rempel > ; dl-linux-imx ; >

Re: [PATCH v4 2/5] rtc: isl1208: add support for isl1219 with tamper detection

2018-07-11 Thread Ye Xiaolong
Hi, Denis The patch was applied in correct sequence as you can see in the github link. I think the question here is rtc-isl1208 can be built as a built-in module, but it would fail if it was built as a ko. Thanks, Xiaolong On 07/10, Denis OSTERLAND wrote: >Hi, > >seems 2/5 was applied before

[PATCH 1/2] lib: Add module for testing preemptoff/irqsoff latency tracers

2018-07-11 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Here we introduce a test module for introducing a long preempt or irq disable delay in the kernel which the preemptoff or irqsoff tracers can detect. This module is to be used only for test purposes and is default disabled. Following is the expected output (only

RE: [PATCH v1 3/4] dmaengine: imx-sdma: support dmatest

2018-07-11 Thread Robin Gong
> -Original Message- > From: Vinod [mailto:vk...@kernel.org] > Sent: 2018年7月10日 23:33 > To: Robin Gong > Cc: dan.j.willi...@intel.com; shawn...@kernel.org; > s.ha...@pengutronix.de; Fabio Estevam ; > li...@armlinux.org.uk; linux-arm-ker...@lists.infradead.org; > ker...@pengutronix.de;

[PATCH 0/2] Tests for preempt/irq disabled sections

2018-07-11 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Only resending the test module and kselftest patches with minor changes as suggested by Steve. Previous posting of the series is at: https://lkml.org/lkml/2018/6/7/1162 Joel Fernandes (Google) (2): lib: Add module for testing preemptoff/irqsoff latency tracers

[PATCH 2/2] kselftests: Add tests for the preemptoff and irqsoff tracers

2018-07-11 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Here we add unit tests for the preemptoff and irqsoff tracer by using a kernel module introduced previously to trigger long preempt or irq disabled sections in the kernel. Reviewed-by: Masami Hiramatsu Acked-by: Masami Hiramatsu Signed-off-by: Joel Fernandes

[PATCH 2/2] ARM: dts: am335x: add am335x-sancloud-bbe board support

2018-07-11 Thread Koen Kooi
The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, but with the following differences: * Gigabit capable PHY * Extra USB hub, optional i2c control * lps3331ap barometer connected over i2c * MPU6050 6 axis MEMS accelerometer/gyro connected over i2c * 1GiB DDR3 RAM *

Re: [PATCH v1 3/4] dmaengine: imx-sdma: support dmatest

2018-07-11 Thread s.ha...@pengutronix.de
On Wed, Jul 11, 2018 at 06:37:02AM +, Robin Gong wrote: > > > -Original Message- > > From: Vinod [mailto:vk...@kernel.org] > > Sent: 2018年7月10日 23:33 > > To: Robin Gong > > Cc: dan.j.willi...@intel.com; shawn...@kernel.org; > > s.ha...@pengutronix.de; Fabio Estevam ; > >

[PATCH 1/2] dt-bindings: Add vendor prefix for Sancloud

2018-07-11 Thread Koen Kooi
Add vendor prefix for Sancloud Ltd. Signed-off-by: Koen Kooi --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

[PATCH 0/2] ARM: dts: am3355: add support for the Sancloud Beaglebone Enhanced

2018-07-11 Thread Koen Kooi
The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, but with the following differences: * Gigabit capable PHY * Extra USB hub, optional i2c control * lps3331ap barometer connected over i2c * MPU6050 6 axis MEMS accelerometer/gyro connected over i2c * 1GiB DDR3 RAM *

Re: [PATCH] arm64: neon: Fix function may_use_simd() return error status

2018-07-11 Thread Ard Biesheuvel
On 11 July 2018 at 03:09, Yandong.Zhao wrote: > From: Yandong Zhao > > It does not matter if the caller of may_use_simd() migrates to > another cpu after the call, but it is still important that the > kernel_neon_busy percpu instance that is read matches the cpu the > task is running on at the

Re: [PATCH v1 3/4] dmaengine: imx-sdma: support dmatest

2018-07-11 Thread Vinod
On 11-07-18, 08:53, s.ha...@pengutronix.de wrote: > On Wed, Jul 11, 2018 at 06:37:02AM +, Robin Gong wrote: > > > > > -Original Message- > > > From: Vinod [mailto:vk...@kernel.org] > > > Sent: 2018年7月10日 23:33 > > > To: Robin Gong > > > Cc: dan.j.willi...@intel.com;

linux-next: Tree for Jul 11

2018-07-11 Thread Stephen Rothwell
Hi all, Changes since 20180710: News: This release fails my simple PowerPC qemu boot without kvm ... The driver-core tree gained conflicts against the iommu tree. The scsi-mkp tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 5214 5338 files changed,

RE: [PATCH v1 3/4] dmaengine: imx-sdma: support dmatest

2018-07-11 Thread Robin Gong
> -Original Message- > From: s.ha...@pengutronix.de [mailto:s.ha...@pengutronix.de] > Sent: 2018年7月11日 14:54 > To: Robin Gong > Cc: Vinod ; dan.j.willi...@intel.com; > shawn...@kernel.org; Fabio Estevam ; > li...@armlinux.org.uk; linux-arm-ker...@lists.infradead.org; >

[PATCH v5 3/3] serial: 8250_dw: add fractional divisor support

2018-07-11 Thread Jisheng Zhang
For Synopsys DesignWare 8250 uart which version >= 4.00a, there's a valid divisor latch fraction register. The fractional divisor width is 4bits ~ 6bits. Now the preparation is done, it's easy to add the feature support. This patch firstly tries to get the fractional divisor width during probe,

Re: printk() from NMI backtrace can delay a lot

2018-07-11 Thread Sergey Senozhatsky
Cc-ng Alan, Greg, Jiri A lockdep report: https://lore.kernel.org/lkml/20180703043021.GA547@jagdpanzerIV/T/#u On (07/10/18 13:50), Petr Mladek wrote: > > > > Another option *possibly* could be... > > > > ... maybe we can brake another lock dependency. I don't quite understand, > > and surely

[PATCH v2 1/2] dt-bindings: Add vendor prefix for Sancloud

2018-07-11 Thread Koen Kooi
Add vendor prefix for Sancloud Ltd. Signed-off-by: Koen Kooi --- v2: No changes v1: Initial submission Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH v2 0/2] ARM: dts: am3355: add support for the Sancloud Beaglebone Enhanced

2018-07-11 Thread Koen Kooi
The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, but with the following differences: * Gigabit capable PHY * Extra USB hub, optional i2c control * lps3331ap barometer connected over i2c * MPU6050 6 axis MEMS accelerometer/gyro connected over i2c * 1GiB DDR3 RAM *

[PATCH v2 2/2] ARM: dts: am335x: add am335x-sancloud-bbe board support

2018-07-11 Thread Koen Kooi
The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, but with the following differences: * Gigabit capable PHY * Extra USB hub, optional i2c control * lps3331ap barometer connected over i2c * MPU6050 6 axis MEMS accelerometer/gyro connected over i2c * 1GiB DDR3 RAM *

Re: Vibrations on Droid 4?

2018-07-11 Thread Pavel Machek
Hi! > > Its parent is gpio@4805d000 , and that one seems to be present. > > > > user@devuan:/sys/bus/platform/devices$ ls 4805d000.gpio > > driver driver_override gpio > > gpiochip5 modalias of_node power subsystem uevent > > Sorry, something went wrong

RE: [PATCH] PCI: pcie-candence-ep: remove redundant variable mmc

2018-07-11 Thread Alan Douglas
On 11 July 2018 09:01, Colin King wrote: > From: Colin Ian King > > Variable mmc is being assigned but is never used hence it is redundant > and can be removed. > > Cleans up clang warning: > warning: variable 'mmc' set but not used [-Wunused-but-set-variable] > > Signed-off-by: Colin Ian King

RE: [PATCH v1 3/4] dmaengine: imx-sdma: support dmatest

2018-07-11 Thread Robin Gong
> -Original Message- > From: Vinod [mailto:vk...@kernel.org] > Sent: 2018年7月11日 15:19 > To: s.ha...@pengutronix.de > Cc: Robin Gong ; dan.j.willi...@intel.com; > shawn...@kernel.org; Fabio Estevam ; > li...@armlinux.org.uk; linux-arm-ker...@lists.infradead.org; > ker...@pengutronix.de;

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

2018-07-11 Thread Shawn Guo
On Fri, Jul 06, 2018 at 10:15:34AM -0700, Stephen Boyd wrote: > Quoting Shawn Guo (2018-06-30 19:19:49) > > On Fri, Jun 29, 2018 at 11:39:38AM -0700, Stephen Boyd wrote: > > > Quoting Shawn Guo (2018-06-27 17:52:18) > > > > On Mon, Jun 25, 2018 at 03:14:39AM +, Anson Huang wrote: > > > > >

Re: [PATCH v1 3/4] dmaengine: imx-sdma: support dmatest

2018-07-11 Thread Vinod
On 11-07-18, 08:16, Robin Gong wrote: > > > The problem seems to be that we do not know whether we are doing > > > memcpy or not. Normally we get the information how a channel is to be > > > configured in dma_device->device_config, but this function is not > > > called in the memcpy case. > > >

Re: [PATCH 13/19] mmc: mmci: send stop cmd if a data command fail

2018-07-11 Thread Ludovic BARRE
hi Ulf thanks for review, comments below On 07/04/2018 03:37 PM, Ulf Hansson wrote: On 12 June 2018 at 15:14, Ludovic Barre wrote: From: Ludovic Barre The mmc framework follows the requirement of SD_Specification: the STOP_TRANSMISSION is sent on multiple write/read commands and the stop

Re: [Bisect] ext4_validate_inode_bitmap:98: comm stress-ng: Corrupt inode bitmap

2018-07-11 Thread Ike Panhc
On 07/11/2018 04:43 AM, dann frazier wrote: > On Tue, Jul 10, 2018 at 10:51:43AM -0600, dann frazier wrote: >> On Sat, Jul 07, 2018 at 12:10:18AM -0400, Theodore Y. Ts'o wrote: >>> On Fri, Jul 06, 2018 at 11:43:24AM -0600, dann frazier wrote: Hi, We're seeing a regression triggered by

Re: [PATCH 4/6] soc/tegra: pmc: Use X macro to generate IO pad tables

2018-07-11 Thread Aapo Vienamo
On Wed, 11 Jul 2018 09:30:57 +0100 Jon Hunter wrote: > On 10/07/18 13:47, Aapo Vienamo wrote: > > Refactor the IO pad tables into macro tables so that they can be reused > > to generate pinctrl pin descriptors. Also add a name field which is > > needed by pinctrl. > > > > Signed-off-by: Aapo

Re: [GIT PULL] RTC for 4.18

2018-07-11 Thread Alexandre Belloni
On 11/07/2018 10:17:11+0100, Jon Hunter wrote: > Hi Alexandre. > > On 10/07/18 23:14, Alexandre Belloni wrote: > > Hi Jon, > > > > Can you test that one? > > > > https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/patch/?id=4393575d9aa250c74335f8b37e0466b872b5080 > > > > This

[GIT PULL] ACPI fix for v4.18-rc5

2018-07-11 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.18-rc5 with top-most commit fa85015c0d95884c8dc42f38e2f2d6137d436b67 ACPICA: Clear status of all events when entering S5 on top of commit 1e4b044d22517cae7047c99038abb23243ca

Re: [PATCH 6/6] soc/tegra: pmc: Implement pad configuration via pinctrl

2018-07-11 Thread Jon Hunter
On 11/07/18 10:38, Aapo Vienamo wrote: > On Wed, 11 Jul 2018 09:40:01 +0100 > Jon Hunter wrote: > >> On 10/07/18 13:54, Aapo Vienamo wrote: >>> Register a pinctrl device and implement get and set functions for >>> PIN_CONFIG_LOW_POWER_MODE and PIN_CONFIG_POWER_SOURCE parameters. >>> >>>

Bug report about KASLR and ZONE_MOVABLE

2018-07-11 Thread Chao Fan
Hi all, I found there is a BUG about KASLR and ZONE_MOVABLE. When users use 'kernelcore=' parameter without 'movable_node', movable memory is evenly distributed to all nodes. The size of ZONE_MOVABLE depends on the kernel parameter 'kernelcore=' and 'movablecore='. But sometiomes, KASLR may put

Re: [PATCHv4 11/19] arm64: don't reload GPRs after apply_ssbd

2018-07-11 Thread Mark Rutland
On Tue, Jul 10, 2018 at 06:33:18PM +0100, Will Deacon wrote: > On Tue, Jul 10, 2018 at 11:37:24AM +0100, Dave Martin wrote: > > For the kernel, I suggest using a .L prefix so that the generated > > symbols don't bloat the vmlinux symbol table (similar to numbered local > > labels) -- unless you

Re: [PATCH] power: supply: adp5061: Fix a couple off by ones

2018-07-11 Thread Sebastian Reichel
Hi, On Wed, Jul 11, 2018 at 10:58:13AM +0300, Dan Carpenter wrote: > We end up reading one element beyond the end of the adp5061_vmax[] array > here. > > Fixes: fe8e81b7e899 ("adp5061: New driver for ADP5061 I2C battery charger") > Signed-off-by: Dan Carpenter Thanks, queued. -- Sebastian >

Re: [PATCH 2/3] iio: imu: mpu6050: add support for regulator framework

2018-07-11 Thread Himanshu Jha
Hi Brain, On Tue, Jul 10, 2018 at 09:09:31PM -0400, Brian Masney wrote: > This patch adds support for the regulator framework to the mpu6050 > driver. > > Signed-off-by: Brian Masney > Signed-off-by: Jonathan Marek > --- > } > EXPORT_SYMBOL_GPL(inv_mpu_core_probe); > > +int

Re: [RFC v4 0/3] mm: zap pages with read mmap_sem in munmap for large mapping

2018-07-11 Thread Michal Hocko
On Wed 11-07-18 07:34:06, Yang Shi wrote: > > Background: > Recently, when we ran some vm scalability tests on machines with large memory, > we ran into a couple of mmap_sem scalability issues when unmapping large > memory > space, please refer to https://lkml.org/lkml/2017/12/14/733 and >

[PATCH] staging: comedi: remove redundant variable segpos

2018-07-11 Thread Colin King
From: Colin Ian King Variable segpos is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'segpos' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/staging/comedi/drivers/pcl816.c | 4

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

2018-07-11 Thread Baolin Wang
Hi Jacek and Pavel, On 29 June 2018 at 13:03, Baolin Wang wrote: > From: Bjorn Andersson > > Some LED controllers have support for autonomously controlling > brightness over time, according to some preprogrammed pattern or > function. > > This adds a new optional operator that LED class drivers

Re: [PATCH v11 5/8] i2c: fsi: Add transfer implementation

2018-07-11 Thread Wolfram Sang
Hi Joel, > >> An EEPROM ist at 0x50 in Linux. There is no write addr 0xa0 and read > >> addr 0xa1. > > > > OK, I understand! Will test and resend with conforming addressing. Thanks > > for all the feedback! > > Nice one Wolfram. I wondered why the standard tools didn't work, but > hadn't gotten

答复: [PATCH v6 1/1] PCI: kirin: Add MSI support

2018-07-11 Thread Songxiaowei (Kirin_DRV)
> -邮件原件- > 发件人: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > 发送时间: 2018年7月11日 15:23 > 收件人: Songxiaowei (Kirin_DRV) > 抄送: Wangbinghui ; Bjorn Helgaas > ; Lorenzo Pieralisi ; > Rob Herring ; linux-...@vger.kernel.org; Linux Kernel > Mailing List ; Suzhuangluan > ; Kongfei ;

Re: [PATCH v13 2/2] Add oom victim's memcg to the oom context information

2018-07-11 Thread Michal Hocko
On Wed 11-07-18 11:39:29, 禹舟键 wrote: > Hi Michal > Sorry , I l forget to update the changlog for the second patch, but > the cpuset information is not missing. The cpuset information is missing in the changelog. > Do I still need to make the > v14 or just update the changelog for v13? Wait for

[PATCH] PCI: pcie-candence-ep: remove redundant variable mmc

2018-07-11 Thread Colin King
From: Colin Ian King Variable mmc is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'mmc' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/pci/controller/pcie-cadence-ep.c | 3 +-- 1

Re: [PATCH v2] perf script python: Fix dict reference counting

2018-07-11 Thread Namhyung Kim
Hell, On Mon, Jul 09, 2018 at 01:59:50PM +0300, Janne Huttunen wrote: > The dictionaries are attached to the parameter tuple that steals > the references and takes care of releasing them when appropriate. > The code should not decrement the reference counts explicitly. > E.g. if libpython has

[PATCH] clk: core: Potentially free connection id

2018-07-11 Thread Mikko Perttunen
Patch "clk: core: Copy connection id" made it so that the connector id (con_id) is kstrdup_const'ed to cater to drivers that pass non- constant connection ids. The patch added the corresponding kfree_const to __clk_free_clk, but struct clk's can be freed also via __clk_put. Add the kfree_const

Re: [PATCH] arm64: hikey960: update idle-states

2018-07-11 Thread Vincent Guittot
Hi Leo, On Sun, 8 Jul 2018 at 16:02, wrote: > > Hi Vincent, > > On Fri, Jul 06, 2018 at 08:57:26AM +0200, Vincent Guittot wrote: > > Update entry/exit latency and residency time of hikey960 to use more > > realistic figures based on unitary tests done on the platform. > > > > The complete

Re: [PATCH 3/6] soc/tegra: pmc: Implement tegra_io_pad_is_powered()

2018-07-11 Thread Jon Hunter
On 10/07/18 13:47, Aapo Vienamo wrote: > Implement a function to query whether a pad is in deep power down mode. > > Signed-off-by: Aapo Vienamo > --- > drivers/soc/tegra/pmc.c | 17 + > include/soc/tegra/pmc.h | 1 + > 2 files changed, 18 insertions(+) > > diff --git

Re: [PATCH 2/2] mips: mm: Discard ioremap_uncached_accelerated() method

2018-07-11 Thread Serge Semin
Paul, On Tue, Jul 10, 2018 at 02:04:15PM -0700, Paul Burton wrote: > Hi Serge, > > On Tue, Jul 10, 2018 at 10:13:54PM +0300, Serge Semin wrote: > > On Tue, Jul 10, 2018 at 10:59:40AM -0700, Paul Burton > > wrote: > > > However FYI for next time - you shouldn't really add someone else's > > >

Re: [PATCH v10 0/6] Driver for at91 usart in spi mode

2018-07-11 Thread Nicolas Ferre
On 25/06/2018 at 19:22, Radu Pirea wrote: Hello, This is the second version of driver. I added a mfd driver which by default probes atmel_serial driver and if in dt is specified to probe the spi driver, then the spi-at91-usart driver will be probed. The compatible for atmel_serial is now the

[PATCH v2] arm64: hikey960: update idle-states

2018-07-11 Thread Vincent Guittot
Update entry/exit latency and residency time of hikey960 to use more realistic figures based on unitary tests done on the platform. The complete results (in us) : big cluster cluster CPU max entry latency 800 400 max exit latency 2900 550 residency

Re: [PATCH v5 06/22] soc: sunxi: sram: Add dt match for the A10 system-control compatible

2018-07-11 Thread Maxime Ripard
On Tue, Jul 10, 2018 at 10:00:58AM +0200, Paul Kocialkowski wrote: > This binds the new A10 system-control compatible to the associated > driver, with the same driver data as the previous compatible. > > Signed-off-by: Paul Kocialkowski Applied, thanks! Maxime -- Maxime Ripard, Bootlin

Re: [PATCH] mm, oom: remove sleep from under oom_lock

2018-07-11 Thread Michal Hocko
On Tue 10-07-18 14:12:28, David Rientjes wrote: > On Tue, 10 Jul 2018, David Rientjes wrote: > > > I think it's better, thanks. However, does it address the question about > > why __oom_reap_task_mm() needs oom_lock protection? Perhaps it would be > > helpful to mention synchronization

Applied "dt-bindings: regulator: add DT bindings for UniPhier regulator" to the regulator tree

2018-07-11 Thread Mark Brown
The patch dt-bindings: regulator: add DT bindings for UniPhier regulator has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "regulator: uniphier: add regulator driver for UniPhier SoC" to the regulator tree

2018-07-11 Thread Mark Brown
The patch regulator: uniphier: add regulator driver for UniPhier SoC has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Re: [PATCH v2 2/2] regulator: uniphier: add regulator driver for UniPhier SoC

2018-07-11 Thread Mark Brown
On Wed, Jul 11, 2018 at 11:31:35AM +0900, Kunihiko Hayashi wrote: > On Tue, 10 Jul 2018 18:44:51 +0100 wrote: > > On Tue, Jul 10, 2018 at 10:27:17AM +0900, Kunihiko Hayashi wrote: > > This isn't *quite* regulator_is_enabled_regmap() as it explicitly checks > > if the disable value is set and

Re: [PATCH v2 3/4] drm/arm/malidp: Set the AFBC register bits if the framebuffer has AFBC modifier

2018-07-11 Thread Liviu Dudau
On Tue, Jul 10, 2018 at 02:18:56PM +0100, Ayan Kumar Halder wrote: > Added the AFBC decoder registers for DP500 , DP550 and DP650. > These registers control the processing of AFBC buffers. It controls various > features like AFBC decoder enable, lossless transformation and block split > as well as

Re: Bug report about KASLR and ZONE_MOVABLE

2018-07-11 Thread Chao Fan
On Wed, Jul 11, 2018 at 05:42:44PM +0800, Chao Fan wrote: >Hi all, > >I found there is a BUG about KASLR and ZONE_MOVABLE. > >When users use 'kernelcore=' parameter without 'movable_node', >movable memory is evenly distributed to all nodes. The size of >ZONE_MOVABLE depends on the kernel parameter

Re: Bug report about KASLR and ZONE_MOVABLE

2018-07-11 Thread Chao Fan
More explanation: If there is a machine with 10 nodes, and memory size in each node is 20G. Then 'kernelcore=100G' will set last 10G memory in each node as ZONE_MOVABLE. But if KASLR put kernel to 19G position of first node, the regions can not be offlined. So we should set the last 1G of first

Re: [PATCH] clk: core: Potentially free connection id

2018-07-11 Thread Leonard Crestez
On Wed, 2018-07-11 at 11:21 +0300, Mikko Perttunen wrote: > Patch "clk: core: Copy connection id" made it so that the connector > id (con_id) is kstrdup_const'ed to cater to drivers that pass non- > constant connection ids. The patch added the corresponding > kfree_const > to __clk_free_clk, but

Re: [PATCHv4 00/19] arm64: invoke syscalls with pt_regs

2018-07-11 Thread Mark Rutland
On Tue, Jul 10, 2018 at 11:39:02AM +0100, Will Deacon wrote: > On Mon, Jul 02, 2018 at 12:03:56PM +0100, Mark Rutland wrote: > > This series reworks arm64's syscall handling to minimize the propagation > > of user-controlled register values into speculated code paths. As with > > x86 [1], a

Re: [RFC] Make need_resched() return true when rcu_urgent_qs requested

2018-07-11 Thread David Woodhouse
On Mon, 2018-07-09 at 15:08 -0700, Paul E. McKenney wrote: > > And the earlier patch was against my -rcu tree, which won't be all that > helpful for v4.15.  Please see below for a lightly tested backport to v4.15. > > It should apply to all the releases of interest.  If other backports > are

Re: linux-next: manual merge of the driver-core tree with the iommu tree

2018-07-11 Thread Greg KH
On Wed, Jul 11, 2018 at 01:14:45PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the driver-core tree got a conflict in: > > drivers/iommu/ipmmu-vmsa.c > > between commits: > > 0b8ac1409641 ("iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code") > 3701c123e1c1

[GIT PULL] Staging driver fixes for 4.18-rc5

2018-07-11 Thread Greg KH
The following changes since commit 021c91791a5e7e85c567452f1be3e4c2c6cb6063: Linux 4.18-rc3 (2018-07-01 16:04:53 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.18-rc5 for you to fetch changes up to

[GIT PULL] Char/Misc driver fixes for 4.18-rc5

2018-07-11 Thread Greg KH
The following changes since commit 7daf201d7fe8334e2d2364d4e8ed3394ec9af819: Linux 4.18-rc2 (2018-06-24 20:54:29 +0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.18-rc5 for you to fetch changes up to

[PATCH] staging: ks7010: remove redundant variable eth_proto

2018-07-11 Thread Colin King
From: Colin Ian King Variable eth_proto is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'eth_proto' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/staging/ks7010/ks_hostif.c | 2

Re: [PATCH v4 2/4] clk: tegra: refactor 7.1 div calculation

2018-07-11 Thread Peter De Schrijver
On Wed, Jul 11, 2018 at 09:42:20AM +0100, Jon Hunter wrote: > > On 11/07/18 09:00, Peter De Schrijver wrote: > > On Tue, Jul 10, 2018 at 05:17:05PM +0100, Jon Hunter wrote: > >> > >> On 09/07/18 17:38, Aapo Vienamo wrote: > >>> From: Peter De Schrijver > >>> > >>> Move this to a separate file so

Re: [PATCH 4.17 00/56] 4.17.6-stable review

2018-07-11 Thread Naresh Kamboju
On 10 July 2018 at 23:54, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.6 release. > There are 56 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.9 00/52] 4.9.112-stable review

2018-07-11 Thread Naresh Kamboju
On 10 July 2018 at 23:54, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.112 release. > There are 52 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[LINUX PATCH v11 2/3] memory: pl353: Add driver for arm pl353 static memory controller

2018-07-11 Thread Naga Sureshkumar Relli
Add driver for arm pl353 static memory controller. This controller is used in Xilinx Zynq SoC for interfacing the NAND and NOR/SRAM memory devices. Signed-off-by: Naga Sureshkumar Relli --- Changes in v11: - Added amba device registration and removed platform device, since it is an ARM

Re: [PATCH v4 6/9] iommu/vt-d: Per PCI device pasid table interfaces

2018-07-11 Thread Peter Xu
On Wed, Jul 11, 2018 at 03:26:21PM +0800, Lu Baolu wrote: [...] > >> +int intel_pasid_alloc_table(struct device *dev) > >> +{ > >> + struct device_domain_info *info; > >> + struct pasid_table *pasid_table; > >> + struct pasid_table_opaque data; > >> + struct page *pages; > >> + size_t size,

[PATCH v3 1/1] mmc: sdhci-pci-dwc-mshc: synopsys dwc mshc support

2018-07-11 Thread Prabu Thangamuthu
Synopsys has DWC MSHC controller on HPAS-DX platform connected using PCIe interface with SD card slot and eMMC device slots. This patch is to enable SD cards connected on this platform. As Clock generation logic is implemented using MMCM module of HAPS-DX platform, we have separate functions to

[PATCH] rapidio: remove redundant pointer md

2018-07-11 Thread Colin King
From: Colin Ian King Pointer md is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'md' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- drivers/rapidio/devices/rio_mport_cdev.c | 2 -- 1 file

Re: [PATCH 2/6] soc/tegra: pmc: Factor out DPD register bit calculation

2018-07-11 Thread Jon Hunter
On 10/07/18 13:47, Aapo Vienamo wrote: > Factor out the the code to calculate the correct DPD register and bit > number for a given pad. This logic will be needed to query the status > register. > > Signed-off-by: Aapo Vienamo > --- > drivers/soc/tegra/pmc.c | 20 +--- > 1

Re: [GIT PULL] RTC for 4.18

2018-07-11 Thread Jon Hunter
Hi Alexandre. On 10/07/18 23:14, Alexandre Belloni wrote: > Hi Jon, > > Can you test that one? > > https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/patch/?id=4393575d9aa250c74335f8b37e0466b872b5080 > > This fixes setting alarms on the TPS658623 of my T20 board but I don't >

Re: [PATCH 01/19] mmc: mmci: regroup and define dma operations

2018-07-11 Thread Ludovic BARRE
On 07/05/2018 05:17 PM, Ulf Hansson wrote: On 12 June 2018 at 15:14, Ludovic Barre wrote: From: Ludovic Barre Prepare mmci driver to manage dma interface by new property. This patch defines and regroups dma operations for mmci drivers. mmci_dma_XX prototypes are added to call member of

[PATCH 3/8] efi: Use a work queue to invoke EFI Runtime Services

2018-07-11 Thread Ard Biesheuvel
From: Sai Praneeth Presently, when a user process requests the kernel to execute any UEFI runtime service, the kernel temporarily switches to a separate set of page tables that describe the virtual mapping of the UEFI runtime services regions in memory. Since UEFI runtime services are typically

[PATCH 8/8] fbdev/efifb: honour UEFI memory map attributes when mapping the fb

2018-07-11 Thread Ard Biesheuvel
If the framebuffer address provided by the Graphics Output Protocol (GOP) is covered by the UEFI memory map, it will tell us which memory attributes are permitted when mapping this region. In some cases, (KVM guest on ARM), violating this will result in loss of coherency, which means that updates

Re: [PATCH 6/6] soc/tegra: pmc: Implement pad configuration via pinctrl

2018-07-11 Thread Aapo Vienamo
On Wed, 11 Jul 2018 09:40:01 +0100 Jon Hunter wrote: > On 10/07/18 13:54, Aapo Vienamo wrote: > > Register a pinctrl device and implement get and set functions for > > PIN_CONFIG_LOW_POWER_MODE and PIN_CONFIG_POWER_SOURCE parameters. > > > > Signed-off-by: Aapo Vienamo > > --- > >

RE: [PATCH V2] MIPS: implement smp_cond_load_acquire() for Loongson-3

2018-07-11 Thread David Laight
From: Paul Burton > Sent: 10 July 2018 18:11 ... > I'm not sure which is the intent (I can ask if someone's interested), > but you could either: > > 1) Consider the store buffer a cache, in which case loads need to > check all store buffers from all CPUs because of the "all caches" >

How are you doing today? Please read my email and reply me!!

2018-07-11 Thread Billy Wilfred
Dear Sir/Madam, How are you doing today? My name is Billy Wilfred. I am California, United States of America. I am a broker of Project Financing Firm who has cutting edge and group capital fund, they can finance any lucrative project and help you to enhance your business plan. Are you in need

Re: v4.18-rc2 on droid4: screen turns red

2018-07-11 Thread Pavel Machek
Hi! > After longer inactivity, attempt to wake up the screen results in > screen being completely red. Not too useful. I can still connect over > ssh. Still there in -rc4 :-(. But happens only once in a few days for me... When X is shut down, text console works ok.

Re: [PATCH v2 00/12] KVM/X86: Introduce a new guest mapping interface

2018-07-11 Thread Paolo Bonzini
On 10/07/2018 14:06, Raslan, KarimAllah wrote: > On Mon, 2018-04-16 at 13:10 +0200, Paolo Bonzini wrote: >> On 15/04/2018 23:53, KarimAllah Ahmed wrote: >>> >>> Guest memory can either be directly managed by the kernel (i.e. have a >>> "struct >>> page") or they can simply live outside kernel

Re: [PATCH V4 3/5] mailbox: imx: add imx mu support

2018-07-11 Thread Jassi Brar
On Wed, Jul 11, 2018 at 4:07 PM, A.s. Dong wrote: > > > -Original Message- > > From: Sascha Hauer [mailto:s.ha...@pengutronix.de] > > Sent: Wednesday, July 11, 2018 3:55 PM > > To: A.s. Dong > > Cc: linux-arm-ker...@lists.infradead.org; donga...@gmail.com; Jassi Brar > > ;

Applied "ASoC: dpcm: rework runtime stream merge" to the asoc tree

2018-07-11 Thread Mark Brown
The patch ASoC: dpcm: rework runtime stream merge has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: dpcm: add rate merge to the BE stream merge" to the asoc tree

2018-07-11 Thread Mark Brown
The patch ASoC: dpcm: add rate merge to the BE stream merge has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

  1   2   3   4   5   6   7   8   9   10   >