Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7

2016-12-07 Thread Christoph Lameter
On Wed, 7 Dec 2016, Mel Gorman wrote: > SLUB has been the default small kernel object allocator for quite some time > but it is not universally used due to performance concerns and a reliance > on high-order pages. The high-order concerns has two major components -- SLUB does not rely on high ord

Re: [RFC PATCH v3 2/2] drm/panel: Add support for Chunghwa CLAA070WP03XG panel

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 08:57:23AM +0800, Ayaka wrote: > > > 從我的 iPad 傳送 > > > Thierry Reding 於 2016年12月6日 下午11:46 寫道: > > > >> On Tue, Sep 20, 2016 at 03:02:51AM +0800, Randy Li wrote: > >> The Chunghwa CLAA070WP03XG is a 7" 1280x800 panel, which can be > >> supported by the simple panel driv

Re: LSF/MM 2017: Call for Proposals

2016-12-07 Thread James Bottomley
On Thu, 2016-12-01 at 09:11 -0500, Jeff Layton wrote: > 1) Proposals for agenda topics should be sent before January 15th, > 2016 to: > > lsf...@lists.linux-foundation.org > > and cc the Linux list or lists that are relevant for the topic in > question: > > ATA: linux-...@vger.kernel.

[PATCH V1] hid: hid-multitouch:- No need of devm functions

2016-12-07 Thread Arvind Yadav
In function mt_probe, the memory allocated for td->fields is live within the function only. After the allocation it is immediately freed with devm_kfree. There is no need to allocate memory for td->fields with devm function so replace devm_kzalloc with kzalloc and devm_kfree with kfree. Signed-off

Re: [RFC v3 09/10] iommu/arm-smmu: Implement reserved region get/put callbacks

2016-12-07 Thread Auger Eric
Hi Robin, On 06/12/2016 19:55, Robin Murphy wrote: > On 15/11/16 13:09, Eric Auger wrote: >> The get() populates the list with the PCI host bridge windows >> and the MSI IOVA range. >> >> At the moment an arbitray MSI IOVA window is set at 0x800 >> of size 1MB. This will allow to report those i

RE: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-07 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Wednesday, December 7, 2016 12:51 AM > To: KY Srinivasan ; vkuzn...@redhat.com > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org > Subject: move hyperv CHANNELMSG_UNLOAD f

Re: [PATCH 6/7] arm: Add livepatch to build if CONFIG_LIVEPATCH

2016-12-07 Thread Petr Mladek
On Tue 2016-12-06 17:06:06, Abel Vesa wrote: > Necessary livepatch file added to makefile. > > Signed-off-by: Abel Vesa > --- > arch/arm/kernel/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile > index ad325a8..9e70220 100644 >

Re: [PATCH v3 1/6] mfd: dt: Fix "indicates" typo in mfd bindings document

2016-12-07 Thread Linus Walleij
On Tue, Dec 6, 2016 at 3:53 AM, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery My speling mistak. Acked-by: Linus Walleij Yours, Linus Walleij

Does anything ever enter through startup_64 in head_64.S?

2016-12-07 Thread David Howells
Hi Matt, Does anything ever enter the kernel through startup_64 in head_64.S?[*] Do all 64-bit mode entries always enter through one of the EFI entry points? Thanks, David [*] I know startup_32 goes through there, but that's internal

[PATCH 09/22] m68k/mac: oss - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
Convert from printk() to pr_*(). - Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Drop superfluous casts, - Add linebreaks before opening braces of function bodies. Signed-off-

[PATCH 03/22] m68k/mac: via - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Add missing continuations, to fix user-visible breakage, - Drop superfluous casts. Fixes: 4bcc595ccd80decb ("printk: reinstate K

[PATCH 19/22] m68k/mm: motorola - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Convert from printk() to pr_*(), - Remove #undef DEBUG, - Add missing continuations. Note that "#ifdef DEBUG" is sometimes retained because pr_cont() is not optimized away when debugging is disabled. Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/motorola_pgtable.h | 6 +++

Re: [PATCH v3 3/6] mfd: dt: Add Aspeed Low Pin Count Controller bindings

2016-12-07 Thread Linus Walleij
On Tue, Dec 6, 2016 at 3:53 AM, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery Reviewed-by: Linus Walleij Yours, Linus Walleij

[PATCH 12/22] m68k/mvme147: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven --- arch/m68k/mvme147/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/mvme147/config.c b/arch/m68k/mvme147/config.c index c11d38dfad08faa1..8778612d1f312d5c 100644 --- a/arch/m68k/mvme147/co

[PATCH 18/22] m68k/mm: kmap - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Convert from printk() to pr_*(), - Add missing continuations, - Remove #undef DEBUG. Note that "#ifdef DEBUG" is sometimes retained because pr_cont() is not optimized away when debugging is disabled. Signed-off-by: Geert Uytterhoeven --- arch/m68k/mm/kmap.c | 26

[PATCH 17/22] m68k/kernel: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Use pr_err_ratelimited() instead of deprecated printk_ratelimit(), - Add dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Correct printf()-style format specifiers. Signed-off-by: Geert Uytterhoeven --- arch/m68k/kernel/dma.c

Re: [PATCH v3 4/6] mfd: dt: Add bindings for the Aspeed LPC Host Controller (LHC)

2016-12-07 Thread Linus Walleij
On Tue, Dec 6, 2016 at 3:53 AM, Andrew Jeffery wrote: > The LPC bus pinmux configuration on fifth generation Aspeed SoCs depends > on bits in both the System Control Unit and the LPC Host Controller. > > The Aspeed LPC Host Controller is described as a child node of the > LPC host-range syscon de

[PATCH 02/22] m68k/mac: macints - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Add missing continuations, to fix user-visible breakage. Fixes: 4bcc595ccd80decb ("printk: reinstate KERN_CONT for printing contin

[PATCH 16/22] m68k/sun3x: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Convert from printk() to pr_*(), - Remove #undef DEBUG, - Drop useless Warning prefix, - Use TABs for indentation while at it. Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/sun3xflop.h | 14 +++--- arch/m68k/sun3x/dvma.c| 35 +--

[PATCH 22/22] m68k/include: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Convert from printk() to pr_*(), - Add dummies for validating format strings when debugging is disabled. Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/bug.h | 4 ++-- arch/m68k/include/asm/floppy.h | 6 +++--- arch/m68k/include/asm/math-emu.h | 10 +- 3 f

[PATCH 00/22] m68k: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
Hi all, This patch series modernizes the printing of kernel messages in the m68k architecture core, which is mainly about converting from printk() to pr_*(). The trigger for (finally) doing this was the user-visible breakage caused by commit 4bcc595ccd80decb ("printk: reinstate KERN_CONT

[PATCH 11/22] m68k/mac: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven --- arch/m68k/mac/config.c | 34 -- arch/m68k/mac/misc.c | 8 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/arch/m68k/mac/config.c b/arch/m68k/mac/config.c index e468

[PATCH 21/22] m68k/mm: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven --- arch/m68k/mm/init.c | 2 +- arch/m68k/mm/memory.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c index b09a3cb29b68fda4..7f5dd339a311800e 100644 --- a/arch

Re: [PATCH] gpio/gpiolib.c:Fixing style issues in gpiolib.c

2016-12-07 Thread Linus Walleij
On Mon, Dec 5, 2016 at 12:45 PM, Mukesh Kaushik wrote: > Fixing the following checkpatch.pl error: > > ERROR: else should follow close brace '}' > + } > + else if (test_bit(FLAG_OPEN_SOURCE, &desc->flags)) { > > ERROR: space prohibited after that open parenthesis '(' > + if ( !d

Re: [RFC v3 05/10] iommu: Do not map reserved regions

2016-12-07 Thread Auger Eric
Hi Robin On 06/12/2016 18:36, Robin Murphy wrote: > On 15/11/16 13:09, Eric Auger wrote: >> As we introduced IOMMU_RESV_NOMAP and IOMMU_RESV_MSI regions, >> let's prevent those new regions from being mapped. >> >> Signed-off-by: Eric Auger >> --- >> drivers/iommu/iommu.c | 3 +++ >> 1 file chang

[PATCH 08/22] m68k/mac: iop - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Add missing continuations, - Drop superfluous casts. Signed-off-by: Geert Uytterhoeven --- arch/m68k/mac/iop.c | 69 ++

Re: [RFC v3 06/10] iommu: iommu_get_group_resv_regions

2016-12-07 Thread Auger Eric
Hi Robin, On 06/12/2016 19:13, Robin Murphy wrote: > On 15/11/16 13:09, Eric Auger wrote: >> Introduce iommu_get_group_resv_regions whose role consists in >> enumerating all devices from the group and collecting their >> reserved regions. It checks duplicates. >> >> Signed-off-by: Eric Auger >> >

[PATCH 04/22] m68k/68000: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven --- arch/m68k/68000/m68328.c | 6 +++--- arch/m68k/68000/m68EZ328.c | 6 +++--- arch/m68k/68000/m68VZ328.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/m68k/68000/m68328.c b/arch/m68k/68000/m6

[PATCH 01/22] m68k/atari: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Convert from printk() to pr_*(), - Add missing continuations, to fix user-visible breakage, - Drop useless WARNING prefix, - Move trailing spaces to start of continuations. Fixes: 4bcc595ccd80decb ("printk: reinstate KERN_CONT for printing continuation lines") Signed-off-by: Geert Uytte

[PATCH 20/22] m68k/mm: sun3 - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Convert from printk() to pr_*(), - Add missing print to do_page_mapin(), as print_pte_vaddr() calls pr_cont(). Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/sun3_pgtable.h | 6 +++--- arch/m68k/mm/sun3kmap.c | 5 +++-- 2 files changed, 6 insertions(+), 5 dele

[PATCH 14/22] m68k/q40: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Convert from printk() to pr_*(), - Use TABs for indentation while at it. Signed-off-by: Geert Uytterhoeven --- arch/m68k/q40/config.c | 14 +++--- arch/m68k/q40/q40ints.c | 15 +-- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/arch/m68k/q40/config.c

[PATCH 05/22] m68k/bvme6000: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven --- arch/m68k/bvme6000/config.c | 8 arch/m68k/bvme6000/rtc.c| 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/m68k/bvme6000/config.c b/arch/m68k/bvme6000/config.c index 611d4d9ea2bd80ac..2c

[PATCH 07/22] m68k/mac: baboon - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Drop superfluous casts. Signed-off-by: Geert Uytterhoeven --- arch/m68k/mac/baboon.c | 22 ++ 1 file changed

[PATCH 13/22] m68k/mvme16x: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven --- arch/m68k/mvme16x/config.c | 32 arch/m68k/mvme16x/rtc.c| 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/arch/m68k/mvme16x/config.c b/arch/m68k/mvme16x/config.c in

[PATCH 06/22] m68k/coldfire: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Correct printf()-style format specifiers, - Drop superfluous casts, Signed-off-by: Geert Uytterhoeven --- arch/m68k/coldfire/m

[PATCH 10/22] m68k/mac: psc - Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Add missing continuations, - Drop superfluous casts. Signed-off-by: Geert Uytterhoeven --- arch/m68k/mac/psc.c | 32 ++

[PATCH 15/22] m68k/sun3: Modernize printing of kernel messages

2016-12-07 Thread Geert Uytterhoeven
- Convert from printk() to pr_*(), - Add missing continuations, - Do not print nonexistent len variable, - Add missing sysname[] variable, - Correct printf()-style format specifiers. Signed-off-by: Geert Uytterhoeven --- arch/m68k/sun3/config.c | 2 +- arch/m68k/sun3/dvma.c

Re: [PATCH 0/7] arm: Add livepatch support

2016-12-07 Thread Petr Mladek
On Tue 2016-12-06 17:06:00, Abel Vesa wrote: > This is just an idea I've been trying out for a while now. > > Just in case somebody wants to play with it, this applies to > linux-arm/for-next. > > Also please note that this was only tested in qemu, but I will do some > testing > on some real

[PATCH v4 4/4] ARM: da850: fix da850_set_pll0rate()

2016-12-07 Thread Bartosz Golaszewski
This function is confusing - its second argument is an index to the freq table, not the requested clock rate in Hz, but it's used as the set_rate callback for the pll0 clock. It leads to an oops when the caller doesn't know the internals and passes the rate in Hz as argument instead of the cpufreq

[PATCH V1] mtd : nand : denali :- No need of devm functions

2016-12-07 Thread Arvind Yadav
In function denali_init, the memory allocated for denali->buf.buf is live within the function only. After the allocation it is immediately freed with devm_kfree. There is no need to allocate memory for denali->buf.buf with devm function so replace devm_kzalloc with kzalloc and devm_kfree with kfree

[PATCH v4 0/4] ARM: da850: fix pll0 rate setting

2016-12-07 Thread Bartosz Golaszewski
While trying to set the pll0 rate from the kernel I noticed there are two issues with da850 clocks. The first patch fixes an infinite loop in propagate_rate(). The third fixes an oops in da850_set_pll0rate(). The second patch is just a coding style fix, while we're at it. v1 -> v2: - change the ap

[PATCH v4 2/4] ARM: da850: don't add the emac clock to the clock lookup table twice

2016-12-07 Thread Bartosz Golaszewski
Similarly to the aemif clock - this screws up the linked list of clock children. Create a separate clock for mdio inheriting the rate from emac_clk. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da850.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch

Re: [PATCH] SPCR: check bit width for the 16550 UART

2016-12-07 Thread Mark Salter
On Tue, 2016-12-06 at 01:34 -0500, Jon Masters wrote: > On 12/05/2016 10:55 PM, Duc Dang wrote: > > > > On Mon, Dec 5, 2016 at 6:27 PM, Jon Masters wrote: > > > > > > Hi Duc, all, > > > > > > So after regenerating the initrd override (I must have fat fingered) > > > it is now detecting the corr

Re: [lustre-devel] [PATCH] staging: lustre: Fix a spatch warning due to an assignment from kernel to user space

2016-12-07 Thread Quentin Lambert
Hi all, I am looking at the drivers/staging/lustre/lustre/llite/dir.c: 1469 /* Call mdc_iocontrol */ 1470 rc = obd_iocontrol(LL_IOC_FID2MDTIDX, exp, sizeof(fid), &fid, 1471&index); 1472 if (rc) and sparse says

Re: Does anything ever enter through startup_64 in head_64.S?

2016-12-07 Thread Matt Fleming
On Wed, 07 Dec, at 03:11:17PM, David Howells wrote: > Hi Matt, > > Does anything ever enter the kernel through startup_64 in head_64.S?[*] Do > all 64-bit mode entries always enter through one of the EFI entry points? Which head_64.S? There are two ;-) Assuming you mean startup_64 in boot/comp

[RFC PATCH net-next v3 1/2] macb: Add 1588 support in Cadence GEM.

2016-12-07 Thread Andrei Pistirica
Cadence GEM provides a 102 bit time counter with 48 bits for seconds, 30 bits for nsecs and 24 bits for sub-nsecs to control 1588 timestamping. This patch does the following: - Registers to ptp clock framework - Timer initialization is done by writing time of day to the timer counter. - ns increme

[RFC PATCH net-next v3 2/2] macb: Enable 1588 support in SAMA5Dx platforms.

2016-12-07 Thread Andrei Pistirica
This patch does the following: - Enable HW time stamp for the following platforms: SAMA5D2, SAMA5D3 and SAMA5D4. - HW time stamp capabilities are advertised via ethtool and macb ioctl is updated accordingly. - HW time stamp on the PTP Ethernet packets are received using the SO_TIMESTAMPING AP

Re: [PATCH RT] net: Have __napi_schedule_irqoff() disable interrupts on RT

2016-12-07 Thread Steven Rostedt
On Wed, 7 Dec 2016 07:53:26 -0500 Steven Rostedt wrote: > On Wed, 7 Dec 2016 10:10:40 +0100 > Sebastian Andrzej Siewior wrote: > > > On 2016-12-06 17:50:30 [-0500], Steven Rostedt wrote: > > > A customer hit a crash where the napi sd->poll_list became corrupted. > > > The customer had the bnx

[PATCH v4 1/4] ARM: da850: fix infinite loop in clk_set_rate()

2016-12-07 Thread Bartosz Golaszewski
The aemif clock is added twice to the lookup table in da850.c. This breaks the children list of pll0_sysclk3 as we're using the same list links in struct clk. When calling clk_set_rate(), we get stuck in propagate_rate(). Create a separate clock for nand, inheriting the rate of the aemif clock and

[PATCH v4 3/4] ARM: da850: coding style fix

2016-12-07 Thread Bartosz Golaszewski
Fix alignment of the clock lookup table entries. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 6b1fbac..5f8ffaa 100644 --- a/arch/arm/mac

Re: [PATCH RT] net: Have __napi_schedule_irqoff() disable interrupts on RT

2016-12-07 Thread Sebastian Andrzej Siewior
On 2016-12-07 10:28:34 [-0500], Steven Rostedt wrote: > Actually, I was hoping that the change log explained this. Should I > reword it better? > > "poll_list, which is protected by disabling interrupts (disabling > preemption is enough when all interrupts are threaded and > local_bh_disable() c

Re: [lustre-devel] [PATCH] staging: lustre: Fix a spatch warning due to an assignment from kernel to user space

2016-12-07 Thread Dan Carpenter
On Wed, Dec 07, 2016 at 04:20:06PM +0100, Quentin Lambert wrote: > Hi all, > > I am looking at the drivers/staging/lustre/lustre/llite/dir.c: > > 1469 /* Call mdc_iocontrol */ > 1470 rc = obd_iocontrol(LL_IOC_FID2MDTIDX, exp, > sizeof(fid), &fid, > 1471

Re: [lustre-devel] [PATCH] staging: lustre: Fix a spatch warning due to an assignment from kernel to user space

2016-12-07 Thread Dan Carpenter
Lustre is kind of a mess with regards to keeping user and kernel pointers separate. It's not going to be easy to fix. regards, dan carpenter

[PATCH] arc: use hardware ARCNUM in smp_processor_id()

2016-12-07 Thread Alexey Brodkin
We used to think that ARC cores in SMP SoC start consequentially, i.e. core0 -> core1 -> core2 -> core4. Moreover we treat core0 as a master core which does some low-level initialization before allowing other cores to start doing real stuff. In that case everything works as expected - smp_process

Re: [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-07 Thread Dave Hansen
On 12/07/2016 05:35 AM, Li, Liang Z wrote: >> Am 30.11.2016 um 09:43 schrieb Liang Li: >> IOW in real examples, do we have really large consecutive areas or are all >> pages just completely distributed over our memory? > > The buddy system of Linux kernel memory management shows there should > be

Re: [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-07 Thread David Hildenbrand
Am 07.12.2016 um 14:35 schrieb Li, Liang Z: Am 30.11.2016 um 09:43 schrieb Liang Li: This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page info

[PATCH v5 2/2] clk: x86: Add Atom PMC platform clocks

2016-12-07 Thread Irina Tirdea
The BayTrail and CherryTrail platforms provide platform clocks through their Power Management Controller (PMC). The SoC supports up to 6 clocks (PMC_PLT_CLK[5:0]) with a frequency of either 19.2 MHz (PLL) or 25 MHz (XTAL) for BayTrail an a frequency of 19.2 MHz (XTAL) for CherryTrail. These clocks

Re: [PATCH] doc: Explain light-handed markup preference a bit better

2016-12-07 Thread Daniel Vetter
On Tue, Nov 29, 2016 at 05:08:30PM +0200, Jani Nikula wrote: > On Tue, 29 Nov 2016, Mauro Carvalho Chehab wrote: > > Sorry, but I agree with Daniel here: we should provide a guide > > for those people that will be helping with the document conversion. > > That goal is not mutually exclusive with

[PATCH v5 0/2] Add platform clock for BayTrail platforms

2016-12-07 Thread Irina Tirdea
These patches specifically enable the audio MCLK required by Baytrail CR devices. It is the remaining part of a bigger set of patches (already merged in Mark's tree) that enable sound for Baytrail CR devices (especially Asus T100TAF) [1]. They include the clock driver and a move of the non-architec

[PATCH v5 1/2] arch/x86/platform/atom: Move pmc_atom to drivers/platform/x86

2016-12-07 Thread Irina Tirdea
The pmc_atom driver does not contain any architecture specific code. It only enables the SOC Power Management Controller Driver for BayTrail and CherryTrail platforms. Move the pmc_atom driver from arch/x86/platform/atom to drivers/platform/x86. Signed-off-by: Irina Tirdea --- arch/x86/Kconfig

Re: [PATCH] doc: Explain light-handed markup preference a bit better

2016-12-07 Thread Daniel Vetter
On Tue, Dec 06, 2016 at 08:52:41AM +0100, Peter Zijlstra wrote: > On Tue, Nov 29, 2016 at 02:17:52PM +0100, Daniel Vetter wrote: > > Hi Peter, > > > > On Tue, Nov 29, 2016 at 10:23:14AM +0100, Daniel Vetter wrote: > > > We already had a super-short blurb, but worth extending it I think: > > > We'r

Re: [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-07 Thread Dave Hansen
On 12/07/2016 07:42 AM, David Hildenbrand wrote: > Am 07.12.2016 um 14:35 schrieb Li, Liang Z: >>> Am 30.11.2016 um 09:43 schrieb Liang Li: This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, th

Re: [lustre-devel] [PATCH] staging: lustre: Fix a spatch warning due to an assignment from kernel to user space

2016-12-07 Thread Quentin Lambert
On 12/07/2016 04:33 PM, Dan Carpenter wrote: Lustre is kind of a mess with regards to keeping user and kernel pointers separate. It's not going to be easy to fix. Fair enough. I am trying to make a contribution to drivers/staging using sparse. With that in mind, do you still fill I should kee

Re: [PATCH 1/3] crypto: brcm: DT documentation for Broadcom SPU driver

2016-12-07 Thread Rob (William) Rice
Mark, Thanks for your comments. Replies below. Rob On 12/6/2016 9:06 AM, Mark Rutland wrote: On Wed, Nov 30, 2016 at 03:07:31PM -0500, Rob Rice wrote: Device tree documentation for Broadcom Secure Processing Unit (SPU) crypto driver. Signed-off-by: Steve Lin Signed-off-by: Rob Rice ---

Re: [PATCH 0/2] Add maintainers to the admin guide

2016-12-07 Thread Daniel Vetter
On Fri, Dec 02, 2016 at 10:15:13AM -0200, Mauro Carvalho Chehab wrote: > That's my third attempt to add the MAINTAINERS contents to the admin-guide. > > On the past approaches, was planning to keep the documentation > about what's at the MAINTAINERS file inside it, but that would > require running

Re: [PATCH 4/4] KVM: x86: allow hotplug of VCPU with APIC ID over 0xff

2016-12-07 Thread Radim Krčmář
2016-12-07 13:03+0100, Paolo Bonzini: > On 02/12/2016 20:44, Radim Krčmář wrote: >> LAPIC after reset is in xAPIC mode, which poses a problem for hotplug of >> VCPUs with high APIC ID, because reset VCPU is waiting for INIT/SIPI, >> but there is no way to uniquely address it using xAPIC. >> >> Fro

Re: [PATCH 2/2] rtc: imxdi: use the security violation interrupt

2016-12-07 Thread Alexandre Belloni
Hi, On 19/11/2016 at 14:03:34 +0100, Martin Kaiser wrote : > The DryIce chipset has a dedicated security violation interrupt that is > triggered for security violations (if configured to do so). According to > the publicly available imx258 reference manual, irq 56 is used for this > interrupt. >

Re: [PATCH 1/2] rtc: imxdi: (trivial) fix a typo

2016-12-07 Thread Alexandre Belloni
On 19/11/2016 at 14:03:33 +0100, Martin Kaiser wrote : > Signed-off-by: Martin Kaiser > --- > drivers/rtc/rtc-imxdi.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.c

Re: [PATCH 2/3] crypto: brcm: Add Broadcom SPU driver

2016-12-07 Thread Rob (William) Rice
Mark, Thanks for the comments. Replies below. Rob On 12/6/2016 9:18 AM, Mark Rutland wrote: On Wed, Nov 30, 2016 at 03:07:32PM -0500, Rob Rice wrote: +static const struct of_device_id bcm_spu_dt_ids[] = { + { + .compatible = "brcm,spum-crypto", + .data = &sp

Re: [PATCH v3 1/9] staging: fsl-mc: move bus driver out of staging

2016-12-07 Thread Greg KH
On Thu, Dec 01, 2016 at 04:41:26PM -0600, Stuart Yoder wrote: > Move the source files out of staging into their final locations: > -include files in drivers/staging/fsl-mc/include go to include/linux/fsl > -irq-gic-v3-its-fsl-mc-msi.c goes to drivers/irqchip > -source in drivers/staging/fsl-m

Re: [net-next][PATCH v2 10/18] RDS: IB: track and log active side endpoint in connection

2016-12-07 Thread David Miller
From: Santosh Shilimkar Date: Tue, 6 Dec 2016 20:01:48 -0800 > @@ -181,6 +181,9 @@ struct rds_ib_connection { > > /* Batched completions */ > unsigned inti_unsignaled_wrs; > + > + /* Endpoint role in connection */ > + int i_active_side; > };

Re: [net-next][PATCH v2 18/18] RDS: IB: add missing connection cache usage info

2016-12-07 Thread David Miller
From: Santosh Shilimkar Date: Tue, 6 Dec 2016 20:01:56 -0800 > rds-tools already support it. > > Signed-off-by: Santosh Shilimkar > --- > include/uapi/linux/rds.h | 1 + > net/rds/ib.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/include/uapi/linux/rds.h b/include/u

RE: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-07 Thread Olaf Hering
Am 7. Dezember 2016 16:04:29 MEZ, schrieb KY Srinivasan : >Yes; I had played with this approach a while ago. The issue is that the >host knows about a >bunch of in memory state that will be different in the kexec kernel. >For instance if we did all >the cleanup as part of the boot sequence, we wi

Re: [Question] New mmap64 syscall?

2016-12-07 Thread Yury Norov
On Wed, Dec 07, 2016 at 02:23:55PM +0100, Florian Weimer wrote: > On 12/06/2016 07:54 PM, Yury Norov wrote: > >3. Introduce new mmap64() syscall like this: > >sys_mmap64(void *addr, size_t len, int prot, int flags, int fd, struct > >off_pair *off); > >(The pointer here because otherwise we have 7

[PATCH] arc: Allow selection of master core

2016-12-07 Thread Alexey Brodkin
We used to think that core0 is always so-called master-core which is executed before all other cores and does some preparation before allowing other cores to start or continue execution. But in some cases we may want another core to be that master or we may only run Linux on subset of cores in SMP

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7

2016-12-07 Thread Mel Gorman
On Wed, Dec 07, 2016 at 08:52:27AM -0600, Christoph Lameter wrote: > On Wed, 7 Dec 2016, Mel Gorman wrote: > > > SLUB has been the default small kernel object allocator for quite some time > > but it is not universally used due to performance concerns and a reliance > > on high-order pages. The hi

[PATCH V1] acpi : nfit : core :- No need of devm functions

2016-12-07 Thread Arvind Yadav
In function acpi_nfit_init_interleave_set, the memory allocated for 'info' is live within the function only. After the allocation it is immediately freed with devm_kfree. There is no need to allocate memory for 'info' with devm function so replace devm_kzalloc with kzalloc and devm_kfree with kfree

[PATCH] doc: Explain light-handed markup preference a bit better

2016-12-07 Thread Daniel Vetter
We already had a super-short blurb, but worth extending it I think: We're still pretty far away from anything like a consensus, but there's clearly a lot of people who prefer an as-light as possible approach to converting existing .txt files to .rst. Make sure this is properly taken into account an

Re: [PATCH 4.8 00/35] 4.8.13-stable review

2016-12-07 Thread Guenter Roeck
On Wed, Dec 07, 2016 at 08:08:16AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.8.13 release. > There are 35 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.

Re: [Intel-gfx] [PATCH] drm/i915: Remove instructions to file a bug report.

2016-12-07 Thread Daniel Vetter
On Mon, Dec 05, 2016 at 04:55:47PM -0800, Matt Turner wrote: > On Sat, Dec 3, 2016 at 1:52 AM, Jani Nikula > wrote: > > On Sat, 03 Dec 2016, Matt Turner wrote: > >> From these instructions, users assume that /sys/class/drm/card0/error > >> contains all the information a developer needs to diagno

RE: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-07 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Wednesday, December 7, 2016 7:47 AM > To: KY Srinivasan ; vkuzn...@redhat.com > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org > Subject: RE: move hyperv CHANNELMSG_UNLOA

[PATCH v2.5 2/3] watchdog: loongson1: Add Loongson1 SoC watchdog driver

2016-12-07 Thread Yang Ling
Add watchdog timer specific driver for Loongson1 SoC. Signed-off-by: Yang Ling --- V2.5: Set DEFAULT_HEARTBEAT to 30. Set heartbeat to 0. V2.4: Set DEFAULT_HEARTBEAT to 0. V2.3: Set DEFAULT_HEARTBEAT value to ls1x_wdt->timeout. V2.2: Remove the wide character. Check the return value

Re: [PATCH 6/7] arm: Add livepatch to build if CONFIG_LIVEPATCH

2016-12-07 Thread Abel Vesa
On Wed, Dec 07, 2016 at 04:05:25PM +0100, Petr Mladek wrote: > On Tue 2016-12-06 17:06:06, Abel Vesa wrote: > > Necessary livepatch file added to makefile. > > > > Signed-off-by: Abel Vesa > > --- > > arch/arm/kernel/Makefile | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/a

Re: [PATCH v5 00/13] net: ethernet: ti: cpts: update and fixes

2016-12-07 Thread David Miller
From: Grygorii Strashko Date: Tue, 6 Dec 2016 18:00:32 -0600 > It is preparation series intended to clean up and optimize TI CPTS driver to > facilitate further integration with other TI's SoCs like Keystone 2. ... Series applied.

Re: [PATCH 4.4 00/13] 4.4.37-stable review

2016-12-07 Thread Guenter Roeck
On Wed, Dec 07, 2016 at 08:07:39AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.37 release. > There are 13 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.

Re: [PATCH V1] rtc: ds1307: Add ACPI support

2016-12-07 Thread Alexandre Belloni
Hi, On 30/11/2016 at 09:57:31 +0700, Tin Huynh wrote : > This patch enables ACPI support for rtc-ds1307 driver. > > Signed-off-by: Tin Huynh > --- > drivers/rtc/rtc-ds1307.c | 51 ++--- > 1 files changed, 43 insertions(+), 8 deletions(-) > Applied afte

Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-07 Thread Olaf Hering
On Wed, Dec 07, KY Srinivasan wrote: > Is there a mechanism for stashing away state that can be retrieved in > the context of the execed kernel. I have to find out. To simplify things the new approach may only be used in the kdump case, which already passes various info in cmdline. Most likely th

Re: [PATCH 2/2] mtd: spi-nor: add a stateless method to support memory size above 128Mib

2016-12-07 Thread Marek Vasut
On 12/06/2016 05:52 PM, Cyrille Pitchen wrote: > This patch provides an alternative mean to support memory above 16MiB > (128Mib) by replacing 3byte address op codes by their associated 4byte > address versions. > > Using the dedicated 4byte address op codes doesn't change the internal > state of

Re: [PATCH v2.5 2/3] watchdog: loongson1: Add Loongson1 SoC watchdog driver

2016-12-07 Thread Guenter Roeck
On Thu, Dec 08, 2016 at 12:10:58AM +0800, Yang Ling wrote: > Add watchdog timer specific driver for Loongson1 SoC. > > Signed-off-by: Yang Ling Reviewed-by: Guenter Roeck > > --- > V2.5: > Set DEFAULT_HEARTBEAT to 30. > Set heartbeat to 0. > V2.4: > Set DEFAULT_HEARTBEAT to 0. > V2.3: >

Re: [PATCH kernel v5 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-12-07 Thread David Hildenbrand
I did something similar. Filled the balloon with 15GB for a 16GB idle guest, by using bitmap, the madvise count was reduced to 605. when using the PFNs, the madvise count was 3932160. It means there are quite a lot consecutive bits in the bitmap. I didn't test for a guest with heavy memory worklo

RE: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-07 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Wednesday, December 7, 2016 8:19 AM > To: KY Srinivasan > Cc: vkuzn...@redhat.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org > Subject: Re: move hyperv CHANNELMSG_UNLO

Re: [PATCH] i2c: rk3x: keep i2c irq ON in suspend

2016-12-07 Thread Grygorii Strashko
On 12/06/2016 09:37 PM, David.Wu wrote: > Hi Doug, > > 在 2016/12/7 0:31, Doug Anderson 写道: >> Hi, >> >> On Tue, Dec 6, 2016 at 12:12 AM, David.Wu >> wrote: >>> Hi Heiko, >>> >>> 在 2016/12/5 18:54, Heiko Stuebner 写道: Hi David, Am Montag, 5. Dezember 2016, 16:02:59 CET schrieb

Re: [net-next][PATCH v2 10/18] RDS: IB: track and log active side endpoint in connection

2016-12-07 Thread Santosh Shilimkar
On 12/7/2016 7:53 AM, David Miller wrote: From: Santosh Shilimkar Date: Tue, 6 Dec 2016 20:01:48 -0800 @@ -181,6 +181,9 @@ struct rds_ib_connection { /* Batched completions */ unsigned inti_unsignaled_wrs; + + /* Endpoint role in connection */ + int

Re: [PATCH 2/2] mtd: spi-nor: add a stateless method to support memory size above 128Mib

2016-12-07 Thread Cyrille Pitchen
Le 07/12/2016 à 17:20, Marek Vasut a écrit : > On 12/06/2016 05:52 PM, Cyrille Pitchen wrote: >> This patch provides an alternative mean to support memory above 16MiB >> (128Mib) by replacing 3byte address op codes by their associated 4byte >> address versions. >> >> Using the dedicated 4byte addre

Re: [PATCH] staging/lustre/osc: Revert erroneous list_for_each_entry_safe use

2016-12-07 Thread Oleg Drokin
On Dec 7, 2016, at 5:40 AM, Greg Kroah-Hartman wrote: > On Tue, Dec 06, 2016 at 10:53:48PM -0500, Oleg Drokin wrote: >> I have been having a lot of unexplainable crashes in osc_lru_shrink >> lately that I could not see a good explanation for and then I found >> this patch that slip under the rada

Re: [PATCH 1/2] mtd: spi-nor: rename SPINOR_OP_* macros of the 4-byte address op codes

2016-12-07 Thread Marek Vasut
On 12/07/2016 10:51 AM, Mark Brown wrote: > On Tue, Dec 06, 2016 at 05:52:31PM +0100, Cyrille Pitchen wrote: >> This patch renames the SPINOR_OP_* macros of the 4-byte address >> instruction set so the new names all share a common pattern: the 4-byte >> address name is built from the 3-byte address

Re: [PATCH v6 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-12-07 Thread Marek Vasut
On 12/07/2016 09:53 AM, Mika Westerberg wrote: > On Tue, Dec 06, 2016 at 09:45:25AM +, Lee Jones wrote: >> I'm happy either way. However if you take them, I will require a >> pull-request to an immutable branch containing only these patches. >> >> If I take them, it won't be until v4.11, since

Re: [PATCH 2/2] mtd: spi-nor: add a stateless method to support memory size above 128Mib

2016-12-07 Thread Marek Vasut
On 12/07/2016 05:29 PM, Cyrille Pitchen wrote: > Le 07/12/2016 à 17:20, Marek Vasut a écrit : >> On 12/06/2016 05:52 PM, Cyrille Pitchen wrote: >>> This patch provides an alternative mean to support memory above 16MiB >>> (128Mib) by replacing 3byte address op codes by their associated 4byte >>> ad

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-07 Thread Vinod Koul
On Tue, Dec 06, 2016 at 01:14:20PM +, Måns Rullgård wrote: > > That's not going to work very well. Device drivers typically request > dma channels in their probe functions or when the device is opened. > This means that reserving one of the few channels there will inevitably > make some other

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-07 Thread Vinod Koul
On Tue, Dec 06, 2016 at 01:42:31PM +0100, Mason wrote: > On 06/12/2016 06:12, Vinod Koul wrote: > > > On Tue, Nov 29, 2016 at 07:25:02PM +0100, Mason wrote: > > > >> Is there a way to write a driver within the existing framework? > > > > I think so, looking back at comments from Russell, I do te

<    1   2   3   4   5   6   7   8   >