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

2018-07-10 Thread Robin Gong
> -Original Message- > From: Vinod [mailto:vk...@kernel.org] > Sent: 2018年7月10日 23:31 > 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; dmae

Re: [PATCH] i2c: aspeed: Add newline characters into message printings.

2018-07-10 Thread Brendan Higgins
On Mon, Jul 2, 2018 at 2:14 PM Jae Hyun Yoo wrote: > > There are some log printing without a newline character. This > patch adds the missing newline characters. > > Signed-off-by: Jae Hyun Yoo > --- > drivers/i2c/busses/i2c-aspeed.c | 18 +- > 1 file changed, 9 insertions(+), 9

Re: [RFC][PATCH 15/42] lift fput() on late failures into path_openat()

2018-07-10 Thread Amir Goldstein
On Wed, Jul 11, 2018 at 5:21 AM, Al Viro wrote: [...] > @@ -3407,8 +3407,6 @@ static int do_last(struct nameidata *nd, > if (!error && will_truncate) > error = handle_truncate(file); > out: > - if (unlikely(error) && (*opened & FILE_OPENED)) > - fput(fi

Re: [PATCH] refcount: always allow checked forms

2018-07-10 Thread Mark Rutland
On Tue, Jul 03, 2018 at 11:30:38AM -0700, Kees Cook wrote: > On Tue, Jul 3, 2018 at 3:01 AM, Mark Rutland wrote: > > In many cases, it would be useful to be able to use the full > > sanity-checked refcount helpers regardless of CONFIG_REFCOUNT_FULL, as > > this would help to avoid duplicate warnin

Re: [PATCH] i2c: aspeed: Fix initial values of master and slave state

2018-07-10 Thread Brendan Higgins
On Mon, Jul 2, 2018 at 2:20 PM Jae Hyun Yoo wrote: > > This patch changes the order of enum aspeed_i2c_master_state and > enum aspeed_i2c_slave_state defines to make their initial value to > ASPEED_I2C_MASTER_INACTIVE and ASPEED_I2C_SLAVE_STOP respectively. > In case of multi-master use, if a slav

Re: [V9fs-developer] [PATCH] net/9p/client.c: put refcount of trans_mod in error case in parse_opts()

2018-07-10 Thread Dominique Martinet
Andrew, there seem to be some renew of interest in 9P lately, so if you'd like I can take care of rounding these up and prepare a pull request for 4.19 (as we're already well into 4.18 release cycle, I believe most of the patches can wait) This patch however I consider important enough to take fo

Re: [PATCH] refcount: always allow checked forms

2018-07-10 Thread Mark Rutland
On Wed, Jul 04, 2018 at 10:46:41AM +0200, David Sterba wrote: > On Tue, Jul 03, 2018 at 11:01:02AM +0100, Mark Rutland wrote: > > In many cases, it would be useful to be able to use the full > > sanity-checked refcount helpers regardless of CONFIG_REFCOUNT_FULL, as > > this would help to avoid dupl

Re: [PATCH] perf/core: fix possible spectre-v1 write

2018-07-10 Thread Mark Rutland
On Tue, Jul 10, 2018 at 07:06:07PM +0100, Mark Rutland wrote: > It's possible for userspace to control event_id. Sanitize event_id when > using it as an array index, to inhibit the potential spectre-v1 write > gadget. > > This class of issue is also known as CVE-2018-3693, or "bounds check bypass

Re: [PATCH] clk: aspeed: Support HPLL strapping on ast2400

2018-07-10 Thread Joel Stanley
Hi Stephen, On 7 July 2018 at 03:55, Stephen Boyd wrote: > Quoting Joel Stanley (2018-06-28 16:15:40) >> The HPLL can be configured through a register (SCU24), however some >> platforms chose to configure it through the strapping settings and do >> not use the register. This was not noticed as th

Re: [PATCH v3] cpufreq / CPPC: Add cpuinfo_cur_freq support for CPPC

2018-07-10 Thread George Cherian
Hi Prakash, On 07/10/2018 09:19 PM, Prakash, Prashanth wrote: On 7/9/2018 11:42 PM, George Cherian wrote: Hi Prakash, On 07/09/2018 10:12 PM, Prakash, Prashanth wrote: Hi George, On 7/9/2018 4:10 AM, George Cherian wrote: Per Section 8.4.7.1.3 of ACPI 6.2, The platform provides perform

Re: [PATCH] orangefs: Adding new return type vm_fault_t

2018-07-10 Thread Souptick Joarder
On Wed, Jul 11, 2018 at 1:13 AM, Mike Marshall wrote: > Hi... > > I applied this patch to 4.18.0-rc4. It applied cleanly and there's no xfstests > regressions. Sorry if I held you up any... > > You can add: Tested-By: Mike Marshall > Thanks Mike. Can we get this patch in queue for 4.19 merge win

Re: [PATCH] tracing/irqtrace: only call trace_hardirqs_on/off when state changes

2018-07-10 Thread Joel Fernandes
On Tue, Jul 10, 2018 at 09:44:57PM -0400, Steven Rostedt wrote: > On Wed, 2 May 2018 10:12:14 +1000 > Nicholas Piggin wrote: > > > > I have mixed feelings about this patch, I am Ok with this patch but I > > > suggest its sent with the follow-up patch that shows its use of this. > > > And also app

[RFC PATCH] mm, page_alloc: double zone's batchsize

2018-07-10 Thread Aaron Lu
To improve page allocator's performance for order-0 pages, each CPU has a Per-CPU-Pageset(PCP) per zone. Whenever an order-0 page is needed, PCP will be checked first before asking pages from Buddy. When PCP is used up, a batch of pages will be fetched from Buddy to improve performance and the size

Re: [RFC PATCH] perf/core: don't sample kernel regs upon skid

2018-07-10 Thread Mark Rutland
On Mon, Jul 09, 2018 at 06:42:29PM -0400, Boris Ostrovsky wrote: > On 07/02/2018 12:02 PM, Mark Rutland wrote: > > On Mon, Jul 02, 2018 at 05:46:55PM +0200, Peter Zijlstra wrote: > >> On Mon, Jul 02, 2018 at 04:12:50PM +0100, Mark Rutland wrote: > >>> +static struct pt_regs *perf_get_sample_regs(st

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

2018-07-10 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 ove

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

2018-07-10 Thread Ye Xiaolong
] >> [also build test ERROR on v4.18-rc4 next-20180709] >> [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-ci/linux/commits/Denis-OSTERLAND/rtc-isl1208-fixes-documentation-

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

2018-07-10 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 2/4] dmaengine: imx-sdma: add check_bd_buswidth() to kill the dulicated code

2018-07-10 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

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

2018-07-10 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-10 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 (Go

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

2018-07-10 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 b

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

2018-07-10 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; dma

linux-next: Tree for Jul 11

2018-07-10 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 fil

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

2018-07-10 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 2/2] ARM: dts: am335x: add am335x-sancloud-bbe board support

2018-07-10 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 * RTL87

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

2018-07-10 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 7cad066.

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

2018-07-10 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 * RTL87

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

2018-07-10 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 ; > > li...@armlinu

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

2018-07-10 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 used

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

2018-07-10 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; ker...@pengutronix.de

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

2018-07-10 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 --- a/dr

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

2018-07-10 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 https://

<    5   6   7   8   9   10