Re: [PATCH] drm/udl: Make page_flip asynchronous

2017-07-10 Thread Daniel Vetter
On Fri, Jul 7, 2017 at 7:48 AM, Dawid Kurek wrote: > In page_flip vblank is sent with no delay. Driver does not know when the > actual update is present on the display and has no means for getting > this information from a device. It is practically impossible to say > exactly *when* as there is al

Re: [RFC PATCH] mm, oom: allow oom reaper to race with exit_mmap

2017-07-10 Thread Michal Hocko
On Mon 10-07-17 16:55:22, David Rientjes wrote: > On Mon, 26 Jun 2017, Michal Hocko wrote: > > > diff --git a/mm/mmap.c b/mm/mmap.c > > index 3bd5ecd20d4d..253808e716dc 100644 > > --- a/mm/mmap.c > > +++ b/mm/mmap.c > > @@ -2962,6 +2962,11 @@ void exit_mmap(struct mm_struct *mm) > > /* Use -1

[RESEND PATCH] ARM: dts: stm32: Add DMA support for STM32H743 SoC

2017-07-10 Thread Pierre-Yves MORDRET
This patch adds DMA support for STM32H743 SoC. Signed-off-by: Pierre-Yves MORDRET --- arch/arm/boot/dts/stm32h743.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi index 4685629..3d1cd88

[RESEND PATCH] ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC

2017-07-10 Thread Pierre-Yves MORDRET
This patch adds DMAMUX support for STM32H743 SoC. Signed-off-by: Pierre-Yves MORDRET --- arch/arm/boot/dts/stm32h743.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi index 3d1cd88..0e24a4c 100644 --

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-10 Thread Vlastimil Babka
On 07/11/2017 08:50 AM, Michal Hocko wrote: > On Tue 11-07-17 08:26:40, Vlastimil Babka wrote: >> On 07/11/2017 08:03 AM, Michal Hocko wrote: >>> >>> Are you telling me that two if conditions cause more than a second >>> difference? That sounds suspicious. >> >> It's removing also a call to get_unm

Re: [GIT pull] irq updates for 4.13

2017-07-10 Thread Thomas Gleixner
On Mon, 10 Jul 2017, Linus Torvalds wrote: > On Mon, Jul 10, 2017 at 6:35 AM, Sebastian Reichel > wrote: > > > > This patch apparently breaks OMAP platform: > > > > 46e48e257360f0845fe17089713cbad4db611e70 is the first bad commit > > commit 46e48e257360f0845fe17089713cbad4db611e70 > > Author: Thom

[RESEND PATCH] ARM: dts: stm32: Add DMA support for STM32F746 SoC

2017-07-10 Thread Pierre-Yves MORDRET
This patch adds DMA support for STM32F746 SoC. Signed-off-by: Pierre-Yves MORDRET --- arch/arm/boot/dts/stm32f746.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index c2765ce..bfffea4 1

Re: [PATCH 1/3] mfd: Add support for FTDI FT232H devices

2017-07-10 Thread Anatolij Gustschin
On Mon, 10 Jul 2017 14:34:27 +0200 Johan Hovold jo...@kernel.org wrote: >On Fri, Jul 07, 2017 at 11:53:29AM +0200, Anatolij Gustschin wrote: >> On Fri, 07 Jul 2017 09:48:48 +0200 >> Bjørn Mork bj...@mork.no wrote: >> >> >[adding Johan on the CC list] >> > >> >Anatolij Gustschin writes: >> >

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-10 Thread Michal Hocko
On Tue 11-07-17 08:26:40, Vlastimil Babka wrote: > On 07/11/2017 08:03 AM, Michal Hocko wrote: > > On Tue 11-07-17 09:58:42, Anshuman Khandual wrote: > >>> here. This is hardly something that would save many cycles in a > >>> relatively cold path. > >> > >> Though I have not done any detailed instr

Re: [PATCH v8 05/10] mm: thp: enable thp migration in generic path

2017-07-10 Thread Naoya Horiguchi
On Sat, Jul 01, 2017 at 09:40:03AM -0400, Zi Yan wrote: > From: Zi Yan > > This patch adds thp migration's core code, including conversions > between a PMD entry and a swap entry, setting PMD migration entry, > removing PMD migration entry, and waiting on PMD migration entries. > > This patch ma

Re: [PATCH v2] mrf24j40: Fix en error handling path in 'mrf24j40_probe()'

2017-07-10 Thread Marcel Holtmann
Hi Christophe, > If this check fails, we must release some resources as done everywhere > else in this function before returning an error code. > > Signed-off-by: Christophe JAILLET > --- > V2: initialization of ret in this erro path ws missing. Stupid me! > --- > drivers/net/ieee802154/mrf24j40

Re: [PATCH] gpu: host1x: Free the IOMMU domain when there is no device to attach

2017-07-10 Thread Mikko Perttunen
Thanks for the patch, didn't consider this case. I really need to get together some system to automatically test on multiple platforms.. :) Reviewed-by: Mikko Perttunen On 10.07.2017 22:33, Paul Kocialkowski wrote: When there is no device to attach to the IOMMU domain, as may be the case when

[PATCH v2] printk: Modify operators of printed_len and text_len

2017-07-10 Thread Pierre Kuo
With commit ("printk: report lost messages in printk safe/nmi contexts") and commit <8b1742c9c207> ("printk: remove zap_locks() function"), it seems we can remove initialization, "=0", of text_len and directly assign result of log_output to printed_len. Signed-off-by: Pierre Kuo Reviewed-by: Ser

Re: [PATCH v2 02/10] cpufreq: provide data for frequency-invariant load-tracking support

2017-07-10 Thread Viresh Kumar
On 10-07-17, 14:46, Rafael J. Wysocki wrote: > This particular change is about a new feature, so making it in the core is OK > in two cases IMO: (a) when you actively want everyone to be affected by it and IMO this change should be done for the whole ARM architecture. And if some regression happen

Re: [PATCH 2/2] phy: Add stingray usb phy driver

2017-07-10 Thread Kishon Vijay Abraham I
hi, On Friday 07 July 2017 06:37 PM, Srinath Mannam wrote: > USB phy driver for stingray USB DRDU3 and DRDU2/USB3H > phy modules > > Signed-off-by: Srinath Mannam > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > --- > drivers/phy/broadcom/Kconfig| 13 + > drivers/phy/bro

Re: [PATCH v2 04/10] arm: wire cpufreq input data for frequency-invariant accounting up to the arch

2017-07-10 Thread Viresh Kumar
On 10-07-17, 16:13, Dietmar Eggemann wrote: > Since 'arch/$ARCH/include/asm/topology.h' now includes > 'include/linux/arch_topology.h' and 'arch/$ARCH/kernel/topology.c' > already includes 'arch/$ARCH/include/asm/topology.h' I thought it's a > good idea to get rid of this include here. Ahh, makes

Re: [PATCH 17/17] RISC-V: Build Infastructure

2017-07-10 Thread Michael Ellerman
Palmer Dabbelt writes: > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > new file mode 100644 > index ..366f5f2cf106 > --- /dev/null > +++ b/arch/riscv/Kconfig > @@ -0,0 +1,294 @@ ... > + > +config EARLY_PRINTK > + bool "Early printk" > + default n > + help > +

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-10 Thread Vlastimil Babka
On 07/11/2017 08:03 AM, Michal Hocko wrote: > On Tue 11-07-17 09:58:42, Anshuman Khandual wrote: >>> here. This is hardly something that would save many cycles in a >>> relatively cold path. >> >> Though I have not done any detailed instruction level measurement, >> there is a reduction in real and

Re: [PATCH 08/17] tty: New RISC-V SBI console driver

2017-07-10 Thread Michael Ellerman
Palmer Dabbelt writes: > ... > +#ifdef CONFIG_EARLY_PRINTK > +static void sbi_console_write(struct console *co, const char *buf, > + unsigned int n) > +{ > + int i; > + > + for (i = 0; i < n; ++i) { > + if (buf[i] == '\n') > + sbi_c

[PATCH] crypto: caam - free qman_fq after kill_fq

2017-07-10 Thread Xulin Sun
kill_fq removes a complete frame queue, it needs to free the qman_fq in the last. Else kmemleak will report the below warning: unreferenced object 0x800073085c80 (size 128): comm "cryptomgr_test", pid 199, jiffies 4294937850 (age 67.840s) hex dump (first 32 bytes): 00 00 00 00 00 00 00

Re: [PATCH] tracing/ring_buffer: Try harder to allocate

2017-07-10 Thread Vlastimil Babka
On 07/11/2017 08:05 AM, Joel Fernandes wrote: > ftrace can fail to allocate per-CPU ring buffer on systems with a large > number of CPUs coupled while large amounts of cache happening in the > page cache. Currently the ring buffer allocation doesn't retry in the VM > implementation even if direct-r

Re: [PATCH] scripts/package: snap-pkg target

2017-07-10 Thread Paolo Pisati
On Mon, Jul 10, 2017 at 6:46 PM, Jim Davis wrote: >> >> For more information on snap packages: https://snapcraft.io/docs/ > > Is this something a user could do with the existing deb target, and > then running deb2snap? No, the kernel snap is a special case, it requires communication with the stor

Re: [PATCH v10] vfio: ABI for mdev display dma-buf operation

2017-07-10 Thread Gerd Hoffmann
Hi, > > +struct vfio_device_query_gfx_plane { > > + __u32 argsz; > > + __u32 flags; > > + struct vfio_device_gfx_plane_info plane_info; > > + __u32 plane_type; > > + __s32 fd; /* dma-buf fd */ > > + __u32 plane_id; > > +}; > > + > > It would be better to have comment here about what

Re: [PATCH] tracing/ring_buffer: Try harder to allocate

2017-07-10 Thread Michal Hocko
On Mon 10-07-17 23:05:00, Joel Fernandes wrote: > ftrace can fail to allocate per-CPU ring buffer on systems with a large > number of CPUs coupled while large amounts of cache happening in the > page cache. Currently the ring buffer allocation doesn't retry in the VM > implementation even if direct

Re: [GIT pull] smp/hotplug updates for 4.13

2017-07-10 Thread Thomas Gleixner
On Sun, 9 Jul 2017, Linus Torvalds wrote: > On Sun, Jul 9, 2017 at 2:07 AM, Thomas Gleixner wrote: > > > > + /* Wait for the CPU to reach CPUHP_AP_ONLINE_IDLE */ > > wait_for_completion(&st->done); > > + BUG_ON(!cpu_online(cpu)); > > I realize this isn't actually a new BUG_ON(

Re: [PATCH v10] vfio: ABI for mdev display dma-buf operation

2017-07-10 Thread Gerd Hoffmann
> +/** > + * VFIO_DEVICE_QUERY_GFX_PLANE - _IOW(VFIO_TYPE, VFIO_BASE + 14, > + *   struct vfio_device_query_gfx_plane) > + * Return: 0 on success, -errno on failure. > + */ > + > +struct vfio_device_gfx_plane_info { > + __u64 start; > + __u64 drm_format_mod; > +

[PATCH] tracing/ring_buffer: Try harder to allocate

2017-07-10 Thread Joel Fernandes
ftrace can fail to allocate per-CPU ring buffer on systems with a large number of CPUs coupled while large amounts of cache happening in the page cache. Currently the ring buffer allocation doesn't retry in the VM implementation even if direct-reclaim made some progress but still wasn't able to fin

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-10 Thread Michal Hocko
On Tue 11-07-17 09:58:42, Anshuman Khandual wrote: > On 07/10/2017 07:19 PM, Michal Hocko wrote: > > On Mon 10-07-17 16:40:59, Anshuman Khandual wrote: > >> As 'delta' is an unsigned long, 'end' (vma->vm_end + delta) cannot > >> be less than 'vma->vm_end'. > > > > This just doesn't make any sense.

Re: [PATCH v2 3/4] btrfs: Add zstd support

2017-07-10 Thread Nick Terrell
On 7/10/17, 9:57 PM, "Nick Terrell" wrote: > The problem is caused by a gcc-7 bug [1]. It miscompiles > ZSTD_wildcopy(void *dst, void const *src, ptrdiff_t len) when len is 0. > It only happens when it can't analyze ZSTD_copy8(), which is the case in > the kernel, because memcpy() is implemented w

Re: [PATCH v2 02/10] cpufreq: provide data for frequency-invariant load-tracking support

2017-07-10 Thread Viresh Kumar
On 10-07-17, 13:02, Dietmar Eggemann wrote: > Yes, I will change this. The #define approach is not really necessary > here since we're not in the scheduler hot-path and inlining is not > really required here. It would be part of scheduler hot-path for the fast-switching case, isn't it ? (I am not

Re: [RFC v5 02/38] powerpc: Free up four 64K PTE bits in 64K backed HPTE pages

2017-07-10 Thread Balbir Singh
On Wed, 5 Jul 2017 14:21:39 -0700 Ram Pai wrote: > Rearrange 64K PTE bits to free up bits 3, 4, 5 and 6 > in the 64K backed HPTE pages. This along with the earlier > patch will entirely free up the four bits from 64K PTE. > The bit numbers are big-endian as defined in the ISA3.0 > > Th

Re: [PATCH v9 04/38] x86/CPU/AMD: Add the Secure Memory Encryption CPU feature

2017-07-10 Thread Borislav Petkov
On Tue, Jul 11, 2017 at 01:07:46AM -0400, Brian Gerst wrote: > > If I make the scattered feature support conditional on CONFIG_X86_64 > > (based on comment below) then cpu_has() will always be false unless > > CONFIG_X86_64 is enabled. So this won't need to be wrapped by the > > #ifdef. > > If you

Re: [PATCH] net: chelsio: cxgb3: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
Hi Joe, On Tuesday 11 July 2017 11:17 AM, Joe Perches wrote: On Tue, 2017-07-11 at 11:11 +0530, Arvind Yadav wrote: Hi Joe, On Monday 10 July 2017 10:30 PM, Joe Perches wrote: On Mon, 2017-07-10 at 16:04 +0530, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All

Re: [PATCH] net: chelsio: cxgb3: constify attribute_group structures.

2017-07-10 Thread Joe Perches
On Tue, 2017-07-11 at 11:11 +0530, Arvind Yadav wrote: > Hi Joe, > > > On Monday 10 July 2017 10:30 PM, Joe Perches wrote: > > On Mon, 2017-07-10 at 16:04 +0530, Arvind Yadav wrote: > > > attribute_groups are not supposed to change at runtime. All functions > > > working with attribute_groups pro

Re: [PATCH] net: chelsio: cxgb3: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
Hi Joe, On Monday 10 July 2017 10:30 PM, Joe Perches wrote: On Mon, 2017-07-10 at 16:04 +0530, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as

Re: [greybus-dev] [PATCH v2] staging: greybus: arche: wrap over-length lines

2017-07-10 Thread Joe Perches
On Mon, 2017-07-10 at 15:01 +0530, Viresh Kumar wrote: > On 10-07-17, 11:30, Frans Klaver wrote: > > On Mon, Jul 10, 2017 at 6:46 AM, Viresh Kumar > > wrote: > > > Hi Mitchell, > > > > > > On 09-07-17, 20:25, Mitchell Tasman wrote: > > > > Adjust formatting of various statements to keep line len

Re: [PATCH v2 4/6] cpufreq: schedutil: update CFS util only if used

2017-07-10 Thread Joel Fernandes
On Mon, Jul 10, 2017 at 10:49 AM, Vikram Mulukutla wrote: [..] > >>> Given that the utilization update hooks are called with the per-cpu rq >>> lock >>> held (for all classes), I don't think PELT utilization can change >>> throughout >>> the lifetime of the cpufreq_update_{util,this_cpu} call? Eve

Re: [PATCH V4 5/6] iommu/arm-smmu: Add support for MMU40x/500 clocks

2017-07-10 Thread Vivek Gautam
Hi Rob, On 07/10/2017 09:07 AM, Rob Herring wrote: On Thu, Jul 06, 2017 at 03:07:04PM +0530, Vivek Gautam wrote: From: Sricharan R The MMU400x/500 is the implementation of the SMMUv2 arch specification. It is split in to two blocks TBU, TCU. TBU caches the page table, instantiated for each ma

Re: [PATCH 1/3] ASoC: codec: cpcap: new codec

2017-07-10 Thread Tony Lindgren
* Mark Brown [170710 10:52]: > On Fri, Jul 07, 2017 at 06:42:27PM +0200, Sebastian Reichel wrote: > > +#ifdef CONFIG_OF > > +static const struct of_device_id cpcap_audio_of_match[] = { > > + { .compatible = "motorola,cpcap-audio-codec", }, > > + {}, > > +}; > > +MODULE_DEVICE_TABLE(of, cpcap_a

Re: [PATCH RFC v4] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-10 Thread Joel Fernandes
Hi Juri, On Mon, Jul 10, 2017 at 3:55 AM, Juri Lelli wrote: > Hi Joel, > > On 09/07/17 10:08, Joel Fernandes wrote: >> Currently the iowait_boost feature in schedutil makes the frequency go to >> max. >> This feature was added to handle a case that Peter described where the >> throughput of oper

Re: [PATCH v9 04/38] x86/CPU/AMD: Add the Secure Memory Encryption CPU feature

2017-07-10 Thread Brian Gerst
On Mon, Jul 10, 2017 at 3:41 PM, Tom Lendacky wrote: > On 7/8/2017 7:50 AM, Brian Gerst wrote: >> >> On Fri, Jul 7, 2017 at 9:38 AM, Tom Lendacky >> wrote: >>> >>> Update the CPU features to include identifying and reporting on the >>> Secure Memory Encryption (SME) feature. SME is identified by

Re: sun4v+DMA related boot crash on 4.13-git

2017-07-10 Thread Meelis Roos
> > > I tested yesterdayd 4.12+git on sparc64 to see if the sparc merge works > > > fine, and on all of my sun4v machines (T1000, T2000, T5120) it crashed > > > on boot with DMA-related stacktrace (below). Allt he machines are sun4v > > > physical machines, not VM-s. Older sun4 machines do not exhi

Re: [PATCH 5/5] powernv:idle: Disable LOSE_FULL_CONTEXT states when stop-api fails.

2017-07-10 Thread Gautham R Shenoy
On Sat, Jul 08, 2017 at 07:05:26PM +1000, Nicholas Piggin wrote: > On Fri, 7 Jul 2017 23:07:10 +0530 > Gautham R Shenoy wrote: > > > On Fri, Jul 07, 2017 at 01:29:16AM +1000, Nicholas Piggin wrote: > > > On Wed, 5 Jul 2017 22:08:16 +0530 > > > "Gautham R. Shenoy" wrote: > > > > > > > From: "

Re: [PATCH v2 3/4] btrfs: Add zstd support

2017-07-10 Thread Nick Terrell
On 7/10/17, 5:36 AM, "Austin S. Hemmelgarn" wrote: > On 2017-07-07 23:07, Adam Borowski wrote: >> On Sat, Jul 08, 2017 at 01:40:18AM +0200, Adam Borowski wrote: >>> On Fri, Jul 07, 2017 at 11:17:49PM +, Nick Terrell wrote: On 7/6/17, 9:32 AM, "Adam Borowski" wrote: > Got a reproducib

Re: [PATCH v9 07/38] x86/mm: Remove phys_to_virt() usage in ioremap()

2017-07-10 Thread Brian Gerst
On Mon, Jul 10, 2017 at 3:50 PM, Tom Lendacky wrote: > On 7/8/2017 7:57 AM, Brian Gerst wrote: >> >> On Fri, Jul 7, 2017 at 9:39 AM, Tom Lendacky >> wrote: >>> >>> Currently there is a check if the address being mapped is in the ISA >>> range (is_ISA_range()), and if it is, then phys_to_virt() is

linux-next: Tree for Jul 11

2017-07-10 Thread Stephen Rothwell
Hi all, Please do not add any v4.14 material to you linux-next included branches until after v4.13-rc1 has been released. Changes since 20170710: The mips tree gained a conflict against Linus' tree. The vfs tree lost its build failures but gained another for which I applied a fix patch.

Re: [PATCH v2 1/3] of: overlay: add overlay unittest data for node names and symbols

2017-07-10 Thread Frank Rowand
On 07/10/17 19:31, Rob Herring wrote: > On Mon, Jul 10, 2017 at 2:05 PM, wrote: >> From: Frank Rowand >> >> Add nodes and properties to overlay_base and overlay dts files to >> test for >>- incorrect existing node name detection when overlay node name >> has a unit-address >>- addin

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-10 Thread Li, Aubrey
On 2017/7/11 1:27, Andi Kleen wrote: > On Mon, Jul 10, 2017 at 06:42:06PM +0200, Peter Zijlstra wrote: >> On Mon, Jul 10, 2017 at 07:46:09AM -0700, Andi Kleen wrote: So how much of the gain is simply due to skipping NOHZ? Mike used to carry a patch that would throttle NOHZ. And that is a

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-10 Thread Anshuman Khandual
On 07/10/2017 07:19 PM, Michal Hocko wrote: > On Mon 10-07-17 16:40:59, Anshuman Khandual wrote: >> As 'delta' is an unsigned long, 'end' (vma->vm_end + delta) cannot >> be less than 'vma->vm_end'. > > This just doesn't make any sense. This is exactly what the overflow > check is for. Maybe vm_end

Re: [RFC] mm/mremap: Remove redundant checks inside vma_expandable()

2017-07-10 Thread Anshuman Khandual
On 07/10/2017 07:19 PM, Michal Hocko wrote: > On Mon 10-07-17 16:40:59, Anshuman Khandual wrote: >> As 'delta' is an unsigned long, 'end' (vma->vm_end + delta) cannot >> be less than 'vma->vm_end'. > > This just doesn't make any sense. This is exactly what the overflow > check is for. Maybe vm_end

Re: [RFC v5 01/11] mm: Dont assume page-table invariance during faults

2017-07-10 Thread Balbir Singh
On Mon, 10 Jul 2017 19:48:43 +0200 Laurent Dufour wrote: > On 07/07/2017 09:07, Balbir Singh wrote: > > On Fri, 2017-06-16 at 19:52 +0200, Laurent Dufour wrote: > >> From: Peter Zijlstra > >> > >> One of the side effects of speculating on faults (without holding > >> mmap_sem) is that we can r

Re: [PATCH 3/3] Make LSM Writable Hooks a command line option

2017-07-10 Thread kbuild test robot
Hi Igor, [auto build test ERROR on linus/master] [cannot apply to v4.12] [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/Igor-Stoppa/mm-security-ro-protection-for-dynamic-data/20170711-084116 con

Re: [PATCH 2/5] mm/device-public-memory: device memory cache coherent with CPU v2

2017-07-10 Thread Balbir Singh
On Mon, 3 Jul 2017 17:14:12 -0400 Jérôme Glisse wrote: > Platform with advance system bus (like CAPI or CCIX) allow device > memory to be accessible from CPU in a cache coherent fashion. Add > a new type of ZONE_DEVICE to represent such memory. The use case > are the same as for the un-addressab

Re: [PATCH] printk: Modify operators of printed_len

2017-07-10 Thread pierre kuo
hi Petr > I just noticed that the same applies also to text_len > variable. Well, it was caused by another commit ddb9baa822265b55 > ("printk: report lost messages in printk safe/nmi contexts"). > Could you please send a patch for this as well? sure and it is my pleasure. > > This seems to be your

[PATCH] staging: unisys: visorbus: fix function open braces

2017-07-10 Thread Mitchell Tasman
Resolve multiple checkpatch errors by relocating open braces following function definitions to the next line. Signed-off-by: Mitchell Tasman --- drivers/staging/unisys/visorbus/visorbus_main.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging

Re: [PATCH 1/5] mm/persistent-memory: match IORES_DESC name and enum memory_type one

2017-07-10 Thread Balbir Singh
On Wed, 5 Jul 2017 14:49:33 -0400 Jerome Glisse wrote: > On Wed, Jul 05, 2017 at 09:15:35AM -0700, Dan Williams wrote: > > On Wed, Jul 5, 2017 at 7:25 AM, Jerome Glisse wrote: > > > On Mon, Jul 03, 2017 at 04:49:18PM -0700, Dan Williams wrote: > > >> On Mon, Jul 3, 2017 at 2:14 PM, Jérôme Gl

[git pull] m68knommu changes for v4.13

2017-07-10 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Only a single change, to remove old Kconfig options from defconfigs. Regards Greg The following changes since commit c0bc126f97fb929b3ae02c1c62322645d70eb408: Linux 4.12-rc7 (2017-06-25 18:30:05 -0700) are available in

Re: [PATCH] input: serio: constify attribute_group structures.

2017-07-10 Thread Dmitry Torokhov
On Wed, Jul 05, 2017 at 03:12:53PM +0530, Arvind Yadav wrote: > attribute_groups are not supposed to change at runtime. All functions > working with attribute_groups provided by work with const > attribute_group. So mark the non-const structs as const. > > File size before: >text dat

I am Rv.Father paul Olo,

2017-07-10 Thread RV.FATHER PAUL
RE:ATTN:PAYMENT NOTIFICATION! 10/7/2017 GOOD DAY, I am Rv.Father paul Olo. This is to bring to your notice that, I have paid the DHL courier Service charges and the delivery of your ATM CARD.I paid it because the ATM CARD worth {USD$10.5M}has less Four weeks and four days to expire and when it

Re: [greybus-dev] [PATCH v3] staging: greybus: arche: wrap over-length lines

2017-07-10 Thread Viresh Kumar
On 10-07-17, 23:14, Mitchell Tasman wrote: > Adjust formatting of several comments to keep line length within > the 80 column limit preferred by the Linux kernel coding style. > > Signed-off-by: Mitchell Tasman > --- > Changes in v3: Narrow scope of patch per Viresh Kumar's feedback > Changes in

[GIT PULL] chrome-platform updates for v4.13

2017-07-10 Thread Benson Leung
Hi Linus, Please pull chrome-platform updates for Linux v4.13 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform.git tags/chrome-platform-for-linus-4.13 Sorry for the delay on getting this into the merge window. My first merge window as maintainer. Thanks,

[PATCH v3] staging: greybus: arche: wrap over-length lines

2017-07-10 Thread Mitchell Tasman
Adjust formatting of several comments to keep line length within the 80 column limit preferred by the Linux kernel coding style. Signed-off-by: Mitchell Tasman --- Changes in v3: Narrow scope of patch per Viresh Kumar's feedback Changes in v2: Add back a missing space in a comment drivers/stagi

Re: [PATCH v6 1/7] perf/core: Define the common branch type classification

2017-07-10 Thread Jin, Yao
On 7/11/2017 10:28 AM, Michael Ellerman wrote: "Jin, Yao" writes: On 7/10/2017 9:46 PM, Peter Zijlstra wrote: On Mon, Jul 10, 2017 at 08:10:50AM -0500, Segher Boessenkool wrote: PERF_BR_INT is triggered by instruction "int" . PERF_BR_IRQ is triggered by interrupts, traps, faults (the ring

Re: [PATCH v2 4/8] objtool: add undwarf debuginfo generation

2017-07-10 Thread Josh Poimboeuf
On Fri, Jul 07, 2017 at 11:44:37AM +0200, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > On Thu, Jun 29, 2017 at 10:06:52AM -0500, Josh Poimboeuf wrote: > > > On Thu, Jun 29, 2017 at 04:46:18PM +0200, Ingo Molnar wrote: > > > > > > > > * Josh Poimboeuf wrote: > > > > > > > > > > Plus, s

Re: [PATCH v2 2/2] dt: Add bindings for IDT VersaClock 5P49V5925

2017-07-10 Thread Rob Herring
On Sun, Jul 09, 2017 at 08:40:05PM +0300, Vladimir Barinov wrote: > From: Vladimir Barinov > > IDT VersaClock 5 5P49V5925 has 5 clock outputs, 4 fractional dividers. > Input clock source can be taken only from external reference clock. > > Signed-off-by: Vladimir Barinov > --- > Changes in vers

Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC

2017-07-10 Thread Eddie Huang
Hi Sean, On Mon, 2017-07-10 at 22:23 +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > MT2701/MT7623 is a 32-bit ARMv7 based quad-core (4 * Cortex-A7) with > single cluster and this hardware is also compatible with the existing > driver through enabling CPU frequency feature with operat

Re: [PATCH RFC 0/2] KVM: x86: Support using the VMX preemption timer for APIC Timer periodic/oneshot mode

2017-07-10 Thread Wanpeng Li
2017-07-11 8:13 GMT+08:00 Andy Lutomirski : > On 10/11/2016 05:17 AM, Wanpeng Li wrote: >> >> Most windows guests which I have on hand currently still utilize APIC >> Timer >> periodic/oneshot mode instead of APIC Timer tsc-deadline mode: >> - windows 2008 server r2 >> - windows 2012 server r2 >> -

[PATCH] clk: mediatek: fixed static checker warning in clk_cpumux_get_parent call

2017-07-10 Thread sean.wang
From: Sean Wang Fixed the signedness bug returning '(-22)' on the return type as u8 with moving the sanity checker into clk_cpumux_set_parent() to ensure always validity in clk_cpumux_get_parent() got called. Fixes: commit 1e17de9049da ("clk: mediatek: add missing cpu mux causing Mediatek cpufr

Re: [PATCH v2 1/3] of: overlay: add overlay unittest data for node names and symbols

2017-07-10 Thread Rob Herring
On Mon, Jul 10, 2017 at 2:05 PM, wrote: > From: Frank Rowand > > Add nodes and properties to overlay_base and overlay dts files to > test for >- incorrect existing node name detection when overlay node name > has a unit-address >- adding overlay __symbols__ properties to live tree w

Re: [PATCH v6 1/7] perf/core: Define the common branch type classification

2017-07-10 Thread Michael Ellerman
"Jin, Yao" writes: > On 7/10/2017 9:46 PM, Peter Zijlstra wrote: >> On Mon, Jul 10, 2017 at 08:10:50AM -0500, Segher Boessenkool wrote: >> PERF_BR_INT is triggered by instruction "int" . PERF_BR_IRQ is triggered by interrupts, traps, faults (the ring 0,3 transition). >>> So your "P

Re: [PATCH] mm/mremap: Document MREMAP_FIXED dependency on MREMAP_MAYMOVE

2017-07-10 Thread Anshuman Khandual
On 07/10/2017 11:01 PM, Mike Kravetz wrote: > On 07/10/2017 06:41 AM, Michal Hocko wrote: >> On Mon 10-07-17 17:02:11, Anshuman Khandual wrote: >>> In the header file, just specify the dependency of MREMAP_FIXED >>> on MREMAP_MAYMOVE and make it explicit for the user space. >> I really fail to see

Re: [patches] Re: [PATCH 01/17] lib: Add shared copies of some GCC library routines

2017-07-10 Thread Randy Dunlap
On 07/10/2017 07:09 PM, Palmer Dabbelt wrote: > On Mon, 10 Jul 2017 19:03:44 PDT (-0700), rdun...@infradead.org wrote: >> On 07/10/2017 07:02 PM, Stephen Rothwell wrote: >>> Hi Palmer, >>> >>> On Mon, 10 Jul 2017 18:39:08 -0700 Palmer Dabbelt >>> wrote: This patch adds a new copy of the

Re: [PATCH v6 1/7] perf/core: Define the common branch type classification

2017-07-10 Thread Michael Ellerman
Segher Boessenkool writes: > Hi! > > On Mon, Jul 10, 2017 at 07:46:17PM +0800, Jin, Yao wrote: >> 1. We all agree these definitions: >> >> +PERF_BR_COND= 1,/* conditional */ >> +PERF_BR_UNCOND = 2,/* unconditional */ >> +PERF_BR_IND = 3,/*

Re: [PATCH v4 1/4] ARM: dts: imx6ul-geam-kit: Remove re-enabled usdhc1

2017-07-10 Thread Shawn Guo
On Fri, Jun 16, 2017 at 12:34:37PM +0530, Jagan Teki wrote: > From: Jagan Teki > > usdhc1 is enabled and assigned pinctrl-0 on imx6ul-geam.dtsi > but same thing done on imx6ul-geam-kit.dts, so remove this > re-enabled node from the same. > > Signed-off-by: Jagan Teki Applied all, thanks.

Re: [patches] Re: [PATCH 01/17] lib: Add shared copies of some GCC library routines

2017-07-10 Thread Palmer Dabbelt
On Mon, 10 Jul 2017 19:03:44 PDT (-0700), rdun...@infradead.org wrote: > On 07/10/2017 07:02 PM, Stephen Rothwell wrote: >> Hi Palmer, >> >> On Mon, 10 Jul 2017 18:39:08 -0700 Palmer Dabbelt wrote: >>> >>> This patch adds a new copy of these library routine files, which are >>> functionally identi

Re: [PATCH 01/17] lib: Add shared copies of some GCC library routines

2017-07-10 Thread Palmer Dabbelt
On Mon, 10 Jul 2017 19:02:19 PDT (-0700), s...@canb.auug.org.au wrote: > Hi Palmer, > > On Mon, 10 Jul 2017 18:39:08 -0700 Palmer Dabbelt wrote: >> >> This patch adds a new copy of these library routine files, which are >> functionally identical to the various other copies. These are >> availiabl

Re: [PATCH] tty: Fix TIOCGPTPEER ioctl definition

2017-07-10 Thread Aleksa Sarai
This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag because it doesn't copy anything from/to userspace to access the argument. Acked-by: Aleksa Sarai Oops, I misunderstood what _IOR means semantically. TIL -- thanks! -- Aleksa Sarai Software Engineer (Containers) SUSE Linux G

Re: [PATCH v2 2/8] exec: Move security_bprm_secureexec() earlier

2017-07-10 Thread Kees Cook
On Mon, Jul 10, 2017 at 10:18 AM, Eric W. Biederman wrote: > Kees Cook writes: > >> On Mon, Jul 10, 2017 at 1:57 AM, Eric W. Biederman >> wrote: >>> Kees Cook writes: >>> There are several places where exec needs to know if a privilege-gain has happened. These should be using the resu

Re: [PATCH 1/3] Protectable memory support

2017-07-10 Thread kbuild test robot
Hi Igor, [auto build test WARNING on linus/master] [also build test WARNING on v4.12 next-20170710] [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/Igor-Stoppa/mm-security-ro-protection-for

Re: [PATCH v4 1/3] ARM: dts: imx6ul-isiot: Move common nodes in imx6ul-isiot.dtsi

2017-07-10 Thread Shawn Guo
On Thu, Jun 15, 2017 at 05:33:37PM +0530, Jagan Teki wrote: > From: Jagan Teki > > Maintaining separate dtsi file with common nodes make unclear and > confusing since -isiot.dtsi is available for adding common nodes. > If the nodes are common between the dts files then mark status > as "okay" oth

Re: [PATCH 01/17] lib: Add shared copies of some GCC library routines

2017-07-10 Thread Randy Dunlap
On 07/10/2017 07:02 PM, Stephen Rothwell wrote: > Hi Palmer, > > On Mon, 10 Jul 2017 18:39:08 -0700 Palmer Dabbelt wrote: >> >> This patch adds a new copy of these library routine files, which are >> functionally identical to the various other copies. These are >> availiable via Kconfig as CONFI

Re: [PATCH] perf/core: generate overflow signal when samples are dropped (WAS: Re: [REGRESSION] perf/core: PMU interrupts dropped if we entered the kernel in the "skid" region)

2017-07-10 Thread Kyle Huey
On Wed, Jul 5, 2017 at 10:07 PM, Robert O'Callahan wrote: > On Tue, Jul 4, 2017 at 3:21 AM, Mark Rutland wrote: >> Should any of those be moved into the "should be dropped" pile? > > Why not be conservative and clear every sample you're not sure about? > > We'd appreciate a fix sooner rather than

Re: [PATCH 01/17] lib: Add shared copies of some GCC library routines

2017-07-10 Thread Stephen Rothwell
Hi Palmer, On Mon, 10 Jul 2017 18:39:08 -0700 Palmer Dabbelt wrote: > > This patch adds a new copy of these library routine files, which are > functionally identical to the various other copies. These are > availiable via Kconfig as CONFIG_LIB_$ROUTINE, which currently isn't Umm, the patch actu

Re: [PATCH] arm64: dts: ls1046a: Add dis_rxdet_inp3_quirk property to USB3 node

2017-07-10 Thread Shawn Guo
On Wed, Jul 05, 2017 at 03:15:19AM +, Ran Wang wrote: > Hello Sir, > How is the review result of this patch. I am waiting for it be merged, > thanks. The patch has been merged into Linus' tree. Sorry for that I forgot to reply telling the patch was applied. Shawn

[PATCH 09/17] RISC-V: Init and Halt Code

2017-07-10 Thread Palmer Dabbelt
This contains the various __init C functions, the initial assembly kernel entry point, and the code to reset the system. When a file was init-related this patch contains the entire file. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/bug.h | 88 +++ arch/riscv/include/a

RISC-V Linux Port v5

2017-07-10 Thread Palmer Dabbelt
Thanks to everyone who has participated in the review process so far. I've based this patch set on the current master. Things have really started to calmn down, so this is fairly similar to the v4 patch set. The most interesting changes include: * We've moved back to a single patch set. * SM

[PATCH 02/17] pci: Add a generic, weakly-linked pcibios_align_resource

2017-07-10 Thread Palmer Dabbelt
Multiple architectures define this as trivial function, and I'm adding another one as part of the RISC-V port. This adds a __weak version of pcibios_align_resource and deletes the now obselete ones in a handful of ports. The only functional change should be that a handful of ports used to export

[PATCH 05/17] clocksource: New RISC-V SBI timer driver

2017-07-10 Thread Palmer Dabbelt
The RISC-V ISA defines a per-hart real-time clock and timer, which is present on all systems. The clock is accessed via the 'rdtime' pseudo-instruction (which reads a CSR), and the timer is set via an SBI call. This driver attempts to split out the RISC-V ISA specific mechanisms of accessing the

[PATCH 08/17] tty: New RISC-V SBI console driver

2017-07-10 Thread Palmer Dabbelt
The RISC-V ISA defines a simple console that is availiable via SBI calls on all systems. This patch adds a driver for this console interface that can act as both a target for early printk and as the system console. Signed-off-by: Palmer Dabbelt --- drivers/tty/hvc/Kconfig | 11 + drivers

[PATCH 14/17] RISC-V: Device, timer, IRQs, and the SBI

2017-07-10 Thread Palmer Dabbelt
This patch contains code that interfaces with devices that are mandated by the RISC-V supervisor specification and that don't have explicit drivers anywhere else in the tree. This includes the staticly defined interrupts, the CSR-mapped timer, and virtualized SBI devices. Signed-off-by: Palmer Da

[PATCH 04/17] MAINTAINERS: Add RISC-V

2017-07-10 Thread Palmer Dabbelt
From: Jonathan Neuschäfer RISC-V needs a MAINTAINERS entry. Let's add one. Signed-off-by: Jonathan Neuschäfer Signed-off-by: Palmer Dabbelt --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d8eab9322ba2..3ead16565003 100644 --- a/MAINT

[PATCH 13/17] RISC-V: Task implementation

2017-07-10 Thread Palmer Dabbelt
This patch contains the implementation of tasks on RISC-V, most of which is involved in task switching. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/asm-offsets.h | 1 + arch/riscv/include/asm/current.h | 45 arch/riscv/include/asm/kprobes.h | 22 ++ arch/riscv/inclu

[PATCH 15/17] RISC-V: Paging and MMU

2017-07-10 Thread Palmer Dabbelt
This patch contains code to manage the RISC-V MMU, including definitions of the page tables and the page walking code. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/mmu_context.h | 69 ++ arch/riscv/include/asm/page.h | 134 +++ arch/riscv/include/asm/pgalloc.h

[PATCH 12/17] RISC-V: ELF and module implementation

2017-07-10 Thread Palmer Dabbelt
This patch contains the code that interfaces with ELF objects on RISC-V systems, the vast majority of which is present to load kernel modules. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/compat.h | 29 ++ arch/riscv/include/asm/elf.h| 84 +

[PATCH 16/17] RISC-V: User-facing API

2017-07-10 Thread Palmer Dabbelt
This patch contains code that is in some way visible to the user: including via system calls, the VDSO, module loading and signal handling. It also contains some generic code that is ABI visible. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/mmu.h | 26 +++ arch/riscv/i

[PATCH 11/17] RISC-V: Generic library routines and assembly

2017-07-10 Thread Palmer Dabbelt
This patch contains code that is more specific to the RISC-V ISA than it is to Linux. It contains string and math operations, C wrappers for various assembly instructions, stack walking code, and uaccess. Signed-off-by: Palmer Dabbelt --- arch/riscv/include/asm/asm.h| 76 + arc

[PATCH 07/17] irqchip: New RISC-V PLIC Driver

2017-07-10 Thread Palmer Dabbelt
This patch adds a driver for the Platform Level Interrupt Controller (PLIC) specified as part of the RISC-V supervisor level ISA manual. The PLIC connocts global interrupt sources to the local interrupt controller on each hart. A PLIC is present on all RISC-V systems. Signed-off-by: Palmer Dabbel

[PATCH 06/17] irqchip: RISC-V Local Interrupt Controller Driver

2017-07-10 Thread Palmer Dabbelt
This patch adds a driver that manages the local interrupts on each RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. The local interrupt controller manages software interrupts, timer interrupts, and hardware interrupts (which are routed via the platform level interrupt controller

[PATCH 03/17] pci: Add a generic, weakly-linked pcibios_fixup_bus

2017-07-10 Thread Palmer Dabbelt
Multiple architectures define this as an empty function, and I'm adding another one as part of the RISC-V port. This adds a __weak version of pci_fixup_bios and deletes the now obselete ones in a handful of ports. The only functional change should be that microblaze used to export pcibios_fixup_b

[PATCH 01/17] lib: Add shared copies of some GCC library routines

2017-07-10 Thread Palmer Dabbelt
Many ports (m32r, microblaze, mips, parisc, score, and sparc) use functionally identical copies of various GCC library routine files, which came up as we were submitting the RISC-V port (which also uses some of these). This patch adds a new copy of these library routine files, which are functional

  1   2   3   4   5   6   7   8   9   >