[PATCH v2 0/7] Switch mach-at91 to multiplatform

2015-03-05 Thread Alexandre Belloni
AT91 is now ready to switch to multiplatform. Do it and clean the remaining mach includes. Changes in v2: - moved the bool for ARCH_AT91 to the top - added a patch to remove the sama5d4 map_io Alexandre Belloni (7): ARM: at91: switch to multiplatform ARM: at91: switch at91_dt_defconfig to

Re: [PATCH] perf/tui: Change default selection background color to yellow

2015-03-05 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: Em Thu, Mar 05, 2015 at 11:32:13AM +0100, Ingo Molnar escreveu: Boris reported that 'perf top' is unusable on his default 'black on white' terminal, which uses (eye friendly) light-grey as a background color. The reason is that

[PATCH v2 5/7] ARM: at91: sama5d4: remove useless map_io

2015-03-05 Thread Alexandre Belloni
All the peripheral remapped at io_map are taken care of by their respective drivers. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/sama5.c | 33 - 1 file changed, 33 deletions(-) diff --git

Re: [PATCH v2 2/2] livepatch/module: Correctly handle going modules

2015-03-05 Thread Josh Poimboeuf
On Thu, Mar 05, 2015 at 04:45:14PM +0100, Petr Mladek wrote: Existing live patches are removed from going modules using a notify handler. There are two problems with the current implementation. First, new patch could still see the module in the GOING state even after the notifier has been

Re: [PATCH v4 6/9] ARM: at91: time: move the system timer driver to drivers/clocksource

2015-03-05 Thread Paul Bolle
On Thu, 2015-03-05 at 16:49 +0100, Alexandre Belloni wrote: diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 1c2506f68122..d1d15985a4ec 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -138,6 +138,10 @@ config ATMEL_PIT select

Re: [PATCH] of: Kconfig: Let OF_UNITTEST depend on I2C=y and I2C_MUX=y

2015-03-05 Thread Rob Herring
On Wed, Mar 4, 2015 at 1:58 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Hi Arnd, On Mar 4, 2015, at 21:49 , Arnd Bergmann a...@arndb.de wrote: On Wednesday 04 March 2015 16:04:23 Geert Uytterhoeven wrote: - depends on OF_IRQ OF_EARLY_FLATTREE + depends on OF_IRQ

Re: [PATCH] do_fork(): Rename 'stack_size' argument to reflect actual use

2015-03-05 Thread David Rientjes
On Thu, 5 Mar 2015, Alex Dowad wrote: diff --git a/kernel/fork.c b/kernel/fork.c index cf65139..b38a2ae 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1186,10 +1186,12 @@ init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) * It copies the

Re: [PATCH v4 4/9] power: reset: Add AT91RM9200 reset driver

2015-03-05 Thread Alexandre Belloni
On 05/03/2015 at 20:49:14 +0100, Paul Bolle wrote : On Thu, 2015-03-05 at 16:49 +0100, Alexandre Belloni wrote: --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -30,6 +30,13 @@ config POWER_RESET_AT91_RESET This driver supports restart for Atmel AT91SAM9 and

Re: [PATCH] mm: pagewalk: prevent positive return value of walk_page_test() from being passed to callers (Re: [PATCH] mm: fix do_mbind return value)

2015-03-05 Thread David Rientjes
On Thu, 5 Mar 2015, Naoya Horiguchi wrote: walk_page_test() is purely pagewalk's internal stuff, and its positive return values are not intended to be passed to the callers of pagewalk. However, in the current code if the last vma in the do-while loop in walk_page_range() happens to return a

Re: [PATCH 1/8] pmem: Initial version of persistent memory driver

2015-03-05 Thread Paul Bolle
For what it's worth, at this moment, I found a license nit. On Thu, 2015-03-05 at 13:55 +0200, Boaz Harrosh wrote: --- /dev/null +++ b/drivers/block/pmem.c @@ -0,0 +1,334 @@ +/* + * Persistent Memory Driver + * Copyright (c) 2014, Intel Corporation. + * Copyright (c) 2014, Boaz Harrosh

Re: [PATCH 2/2] toshiba_acpi: Add Satellite P50W-B to alternative keymap and create new mappings.

2015-03-05 Thread Joseph Salisbury
On 03/04/2015 07:05 PM, Azael Avalos wrote: Hi there, 2015-03-04 14:52 GMT-07:00 Joseph Salisbury joseph.salisb...@canonical.com: ... + { KE_KEY, 0x140, { KEY_BRIGHTNESSDOWN } }, + { KE_KEY, 0x141, { KEY_BRIGHTNESSUP } }, ... These two are not neccesary, as they may collide

Re: [PATCH] pci: host: xgene: fix incorrectly returned address by map_bus

2015-03-05 Thread Rob Herring
On Thu, Mar 5, 2015 at 10:38 AM, Bjorn Helgaas bhelg...@google.com wrote: [+cc Mark] On Thu, Feb 26, 2015 at 06:21:51PM -0600, Bjorn Helgaas wrote: On Tue, Feb 17, 2015 at 03:14:00PM -0800, Feng Kan wrote: The generic accessor functions for pci-xgene uses map_bus call that returns the base

[PATCH] x86/PCI: Fully disable devices before releasing IRQ resource

2015-03-05 Thread Alex Williamson
The IRQ resource for a device is established when pci_enabled_device() is called on a fully disabled device (ie. enable_cnt == 0). With commit b4b55cda5874 (x86/PCI: Refine the way to release PCI IRQ resources) this same IRQ resource is released when the driver is unbound from the device,

Re: [PATCH 0/9] Support follow_link in RCU-walk.

2015-03-05 Thread NeilBrown
On Thu, 5 Mar 2015 06:05:20 + Al Viro v...@zeniv.linux.org.uk wrote: On Thu, Mar 05, 2015 at 04:21:21PM +1100, NeilBrown wrote: Hi Al (and others), I wonder if you could look over this patchset. It allows RCU-walk to follow symlinks in many common cases, thus removing a

Re: [PATCH] f2fs: fix to truncate inline data past EOF

2015-03-05 Thread Jaegeuk Kim
Hi Chao, On Thu, Mar 05, 2015 at 05:41:32PM +0800, Chao Yu wrote: Previously if inode is with inline data, we will try to invalid partial inline data in page #0 when we truncate size of inode in truncate_partial_data_page(). And then we set page #0 to dirty, after this we can synchronize

[PATCH 09/21] userfaultfd: prevent khugepaged to merge if userfaultfd is armed

2015-03-05 Thread Andrea Arcangeli
If userfaultfd is armed on a certain vma we can't fill the holes with zeroes or we'll break the userland on demand paging. The holes if the userfault is armed, are really missing information (not zeroes) that the userland has to load from network or elsewhere. The same issue happens for

[PATCH] virtio_mmio: generation support

2015-03-05 Thread Michael S. Tsirkin
virtio_mmio currently lacks generation support which makes multi-byte field access racy. Fix by getting the value at offset 0xfc for version 2 devices. Nothing we can do for version 1, so return generation id 0. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Pawel, you mentioned you have

Re: [PATCH] capabilities: Ambient capability set V2

2015-03-05 Thread Andy Lutomirski
On Mar 5, 2015 10:41 AM, Christoph Lameter c...@linux.com wrote: On Thu, 5 Mar 2015, Serge E. Hallyn wrote: So I'd say drop this change ^ Then the ambient caps get ignored for a executables that have capabilities seton the file? Yes. Those are assumed to already know what

Re: x32 + audit status?

2015-03-05 Thread Andy Lutomirski
On Mar 5, 2015 10:32 AM, David Drysdale drysd...@google.com wrote: Hi, Do we currently expect the audit system to work with x32 syscalls? I was playing with the audit system for the first time today (on v4.0-rc2, due to [1]), and it didn't seem to work for me. (Tweaking ptrace.c like the

[REGRESSION in 3.18][PPC] PA Semi fails to boot after: of/base: Fix PowerPC address parsing hack

2015-03-05 Thread Steven Rostedt
A bug in ftrace was reported to me that affects ARM and ARM64 but not x86. Looking at the code it appears to affect PowerPC as well. So I booted up my old PA Semi, to give it a try. The last time I booted it was for a 3.17 kernel. Unfortunately, for 4.0-rc2 it crashed with: Unable to handle

Re: [RESEND PATCH] kernel/panic/kexec: fix crash_kexec_post_notifiers option issue in oops path

2015-03-05 Thread Vivek Goyal
On Thu, Mar 05, 2015 at 05:19:30PM -0500, Vivek Goyal wrote: On Wed, Mar 04, 2015 at 05:56:48PM +0900, HATAYAMA Daisuke wrote: The commit f06e5153f4ae2e2f3b0300f0e260e40cb7fefd45 introduced crash_kexec_post_notifiers kernel boot option, which toggles wheather panic() calls crash_kexec()

[Patch v2] apple-gmux: lock iGP IO to protect from vgaarb changes

2015-03-05 Thread Bruno Prémont
As GMUX depends on IO for iGP to be enabled and active, lock the IO at vgaarb level. This should prevent GPU driver for dGPU to disable IO for iGP while it tries to own legacy VGA IO. This fixes usage of backlight control combined with closed nvidia driver on some Apple dual-GPU (intel/nvidia)

[PATCH v2] HID: wacom: ask for a in-prox report when it was missed

2015-03-05 Thread Benjamin Tissoires
If noone listens to the input device when a tool comes in proximity, the tablet does not send the in-prox event when a client becomes available. That means that no events will be sent until the tool is taken out of proximity. In this situation, ask for the report WACOM_REPORT_INTUOSREAD which

Re: [PATCH v1 3/6] eeprom: Add bindings for simple eeprom framework

2015-03-05 Thread Srinivas Kandagatla
+ +For example: + + /* Provider */ + qfprom: qfprom@0070 { + compatible = qcom,qfprom; + reg = 0x0070 0x1000; + ... + + /* Data cells */ + tsens_calibration: calib@404 { +

[PATCH] HID: wacom: check for wacom-shared before following the pointer

2015-03-05 Thread Benjamin Tissoires
486b908 (HID: wacom: do not send pen events before touch is up/forced out) introduces a kernel oops when plugging a tablet without touch. wacom-shared is null for these devices so this leads to a null pointer exception. Change the condition to make it clear that what we need is wacom-shared not

Re: [PATCH] firmware_class: Add firmware filename overrides

2015-03-05 Thread Dmitry Torokhov
On Thu, Mar 5, 2015 at 2:12 PM, Marcel Holtmann mar...@holtmann.org wrote: Hi Dmitry, Specifically this was motivated by a situation where we have one device with a dual-sourced touchscreen. Both use the same driver but have different hardware fw. Our FW updating software therefore, needs

Re: [PATCH v2 1/7] ARM: at91: switch to multiplatform

2015-03-05 Thread Rob Herring
On Thu, Mar 5, 2015 at 1:17 PM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Switch AT91 to multiplatform as all SoCs are properly handled. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/Kconfig| 13 -

Re: [PATCH 1/8] pmem: Initial version of persistent memory driver

2015-03-05 Thread Andy Lutomirski
On Mar 5, 2015 3:55 AM, Boaz Harrosh b...@plexistor.com wrote: From: Ross Zwisler ross.zwis...@linux.intel.com PMEM is a new driver That supports any physical contiguous iomem range as a single block device. The driver has support for as many as needed iomem ranges each as its own device.

Re: [PATCH 1/3] drivers:pnp Add support for descendants claiming memory address space

2015-03-05 Thread Rafael J. Wysocki
On 2/17/2015 8:41 PM, Jake Oshins wrote: This patch adds some wrapper functions in the pnp layer. The intent is to allow memory address space claims by devices which are descendants (a child or grandchild of) a device which is already part of the pnp layer. This allows a device to make a

Re: [PATCH v2 1/4] i2c: sunxi: Add Reduced Serial Bus (RSB) support

2015-03-05 Thread Maxime Ripard
On Thu, Mar 05, 2015 at 07:40:44PM +0100, Wolfram Sang wrote: I don't have the bandwidth for a full review right now. However, I already wanted to tell you guys that my gut feeling is that this protocol is quite far away from I2C. P2WI was already at the edge. Maybe there is a better

Re: [RESEND PATCH] kernel/panic/kexec: fix crash_kexec_post_notifiers option issue in oops path

2015-03-05 Thread Vivek Goyal
On Wed, Mar 04, 2015 at 05:56:48PM +0900, HATAYAMA Daisuke wrote: The commit f06e5153f4ae2e2f3b0300f0e260e40cb7fefd45 introduced crash_kexec_post_notifiers kernel boot option, which toggles wheather panic() calls crash_kexec() before or after panic_notifiers and dump kmsg. The problem is

RE: Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2015-03-05 Thread Andy Lutomirski
On Mar 5, 2015 1:19 AM, Kweh, Hock Leong hock.leong.k...@intel.com wrote: -Original Message- From: Andy Lutomirski [mailto:l...@amacapital.net] Sent: Wednesday, March 04, 2015 4:38 AM On Mon, Mar 2, 2015 at 9:56 PM, Kweh, Hock Leong hock.leong.k...@intel.com wrote: Just

Re: [PATCH 0/3 v5] e820: Fix handling of NvDIMM chips

2015-03-05 Thread Andy Lutomirski
On Thu, Mar 5, 2015 at 2:48 PM, H. Peter Anvin h...@zytor.com wrote: Seriously, if type 12 is the de facto standard for NvDIMMs, I think we should add it. The documented ACPI method of using flags was doomed from the start. I think it's a de facto standard that type 12 means nvdimm. I don't

Re: [PATCHv2 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-05 Thread Maxime Ripard
On Sun, Mar 01, 2015 at 11:27:57PM +0100, Thomas Niederprüm wrote: The SSD130X controllers are very similar from the configuration point of view. The configuration registers for the SSD1305/6/7 are bit identical (except the the VHCOM register and the the default values for clock setup

Re: [PATCH tip/core/rcu 02/20] x86: Use common outgoing-CPU-notification code

2015-03-05 Thread Paul E. McKenney
On Thu, Mar 05, 2015 at 04:17:59PM -0500, Boris Ostrovsky wrote: On 03/04/2015 10:25 AM, Paul E. McKenney wrote: On Wed, Mar 04, 2015 at 09:55:11AM -0500, Boris Ostrovsky wrote: The simple solution is to stop calling native_cpu_die() above but I'd like to use common code in native_cpu_die().

Re: [PATCH] firmware_class: Add firmware filename overrides

2015-03-05 Thread Marcel Holtmann
Hi Dmitry, Specifically this was motivated by a situation where we have one device with a dual-sourced touchscreen. Both use the same driver but have different hardware fw. Our FW updating software therefore, needs to be able to update with the correct FW and detect all this at runtime due

Re: linux-next: build failure after merge of the net-next tree

2015-03-05 Thread Stephen Rothwell
Hi Dave, On Thu, 05 Mar 2015 00:01:58 -0500 (EST) David Miller da...@davemloft.net wrote: From: Stephen Rothwell s...@canb.auug.org.au Date: Thu, 5 Mar 2015 13:42:47 +1100 From: Stephen Rothwell s...@canb.auug.org.au Date: Thu, 5 Mar 2015 13:37:05 +1100 Subject: [PATCH] mpls: using

Possible lock-less list race in scheduler_ipi()

2015-03-05 Thread Mathieu Desnoyers
Hi, I recently reviewed the scheduler_ipi() code by coincidence, and noticed that the use of llist.h in there seemed a bit odd. So I'd like to have more eyes to help me look into this. I've been told that there has been issues with IPIs lately, so here is one possible scenario I think might be

Re: [PATCH] MIPS: OCTEON: Use correct CSR to soft reset

2015-03-05 Thread David Daney
On 03/05/2015 07:06 AM, Aleksey Makarov wrote: From: Chandrakala Chavva ccha...@caviumnetworks.com This fixes reboot for Octeon III boards Signed-off-by: Chandrakala Chavva ccha...@caviumnetworks.com Signed-off-by: Aleksey Makarov aleksey.maka...@auriga.com Let's make a change to this

[PATCH 2/2] mm: numa: Do not clear PTEs or PMDs for NUMA hinting faults

2015-03-05 Thread Mel Gorman
Dave Chinner reported the following on https://lkml.org/lkml/2015/3/1/226 Across the board the 4.0-rc1 numbers are much slower, and the degradation is far worse when using the large memory footprint configs. Perf points straight at the cause - this is from 4.0-rc1 on the -o

[RFC PATCH 0/2] Automatic NUMA balancing and PROT_NONE handling followup

2015-03-05 Thread Mel Gorman
Dave Chinner reported a problem due to excessive NUMA balancing activity and bisected it. These are two patches that address two major issues with that series. The first patch is almost certainly unrelated to what he saw due to fact his vmstats showed no huge page activity but the fix is

Qemu e1000 broken in -rc1 and -rc2

2015-03-05 Thread Ken Moffat
I have a very recent qemu i686 image, using a 3.19.0 kernel and dhclient, which works fine if the host is running a 3.19.0 kernel, but breaks when the host runs 4.0.0-rc1 or -rc2. On those, dhclient does not get an address, so I have no network. There is a message e1000 :00:03.0 eth0: Reset

Re: [PATCH 1/1] KVM: ioapic: Record edge-triggered interrupts delivery status.

2015-03-05 Thread Marcelo Tosatti
On Wed, Dec 24, 2014 at 11:14:29AM +0800, Wincy Van wrote: This patch fixes the bug discussed in https://www.mail-archive.com/kvm@vger.kernel.org/msg109813.html This patch uses a new field named irr_delivered to record the delivery status of edge-triggered interrupts, and clears the

Re: [PATCH v2] sched, timer: Use atomics for thread_group_cputimer to improve scalability

2015-03-05 Thread Jason Low
On Thu, 2015-03-05 at 16:35 +0100, Frederic Weisbecker wrote: On Mon, Mar 02, 2015 at 10:42:11AM -0800, Jason Low wrote: +/* Sample thread_group_cputimer values in cputimer, copy results to times */ +static inline void sample_group_cputimer(struct task_cputime *times, +

Re: [Xen-devel] [PATCHv1] x86: don't schedule when handling #NM exception

2015-03-05 Thread H. Peter Anvin
On 06/23/2014 06:08 AM, Konrad Rzeszutek Wilk wrote: On Wed, Mar 19, 2014 at 08:02:22AM -0700, H. Peter Anvin wrote: On 03/19/2014 06:21 AM, Konrad Rzeszutek Wilk wrote: The following patch does the always eager allocation. It's a fixup of Suresh's original patch. Hey Peter, I think

Re: Oops with tip/x86/fpu

2015-03-05 Thread Dave Hansen
On 03/05/2015 10:42 AM, Borislav Petkov wrote: On Thu, Mar 05, 2015 at 04:13:38PM +0100, Oleg Nesterov wrote: Yes, yes, sure. That is what I meant, sorry for confusion. It might be worth to try with Quentin's patch which fixes the exception tables. I can imagine with wrong exception tables us

Re: [PATCH 0/5] x86: IA32 emulation cleanups

2015-03-05 Thread H. Peter Anvin
On 03/03/2015 10:22 PM, Brian Gerst wrote: It looks like most cases can simply be replaced. There are some subtle relations with the x32 ABI though, and that will take some time to sort out. Yes, some aspects of CONFIG_COMPAT is used also by x32. Overall the current Linux kernel handles

Re: [PATCH 0/3 v5] e820: Fix handling of NvDIMM chips

2015-03-05 Thread H. Peter Anvin
Seriously, if type 12 is the de facto standard for NvDIMMs, I think we should add it. The documented ACPI method of using flags was doomed from the start. -hpa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 3/3] e820: Add the unknown-12 Memory type (DDR3-NvDIMM)

2015-03-05 Thread Andy Lutomirski
On Thu, Mar 5, 2015 at 12:56 PM, Dan Williams dan.j.willi...@intel.com wrote: On Thu, Mar 5, 2015 at 2:24 AM, Boaz Harrosh b...@plexistor.com wrote: There are multiple vendors of DDR3 NvDIMMs out in the market today. At various stages of development/production. It is estimated that there are

Re: [PATCH] Fix undefined ioremap_huge_init when CONFIG_MMU is not set

2015-03-05 Thread Toshi Kani
On Fri, 2015-03-06 at 10:41 +1100, Stephen Rothwell wrote: Hi Toshi, On Thu, 5 Mar 2015 08:44:06 -0700 Toshi Kani toshi.k...@hp.com wrote: Fix a build error, undefined reference to ioremap_huge_init, when CONFIG_MMU is not defined on linux-next and -mm tree. lib/ioremap.o is not

Re: [PATCH] Fix build errors in asm-generic/pgtable.h

2015-03-05 Thread Stephen Rothwell
Hi Toshi, On Thu, 5 Mar 2015 09:40:07 -0700 Toshi Kani toshi.k...@hp.com wrote: Fix build errors in pud_set_huge() and pmd_set_huge() in asm-generic/pgtable.h on some architectures in linux-next and -mm trees. C-stype code needs be used under #ifndef __ASSEMBLY__. Signed-off-by: Toshi

[PATCH 18/21] userfaultfd: UFFDIO_REMAP uABI

2015-03-05 Thread Andrea Arcangeli
This implements the uABI of UFFDIO_REMAP. Notably one mode bitflag is also forwarded (and in turn known) by the lowlevel remap_pages method. Signed-off-by: Andrea Arcangeli aarca...@redhat.com --- include/uapi/linux/userfaultfd.h | 27 ++- 1 file changed, 26

Re: [PATCH 2/2] phy: usbphy: Add Broadcom Cygnus USB PHY driver

2015-03-05 Thread Dmitry Torokhov
Hi Arun, On Tue, Feb 17, 2015 at 11:20:21AM -0800, Arun Ramamurthy wrote: This driver adds support for USB 2.0 host and device phy for Broadcom's Cygnus chipset Mostly nitpicks... Reviewed-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com Signed-off-by: Arun

[PATCH -next] sensors: fix build of pwm-fan.c when THERMAL=m

2015-03-05 Thread Randy Dunlap
--- drivers/hwmon/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux-next-20150305.orig/drivers/hwmon/Kconfig +++ linux-next-20150305/drivers/hwmon/Kconfig @@ -1174,6 +1174,7 @@ source drivers/hwmon/pmbus/Kconfig config SENSORS_PWM_FAN tristate PWM fan depends on (PWM

Re: [PATCH] Fix undefined ioremap_huge_init when CONFIG_MMU is not set

2015-03-05 Thread Stephen Rothwell
Hi Toshi, On Thu, 5 Mar 2015 08:44:06 -0700 Toshi Kani toshi.k...@hp.com wrote: Fix a build error, undefined reference to ioremap_huge_init, when CONFIG_MMU is not defined on linux-next and -mm tree. lib/ioremap.o is not linked to the kernel when CONFIG_MMU is not defined.

Re: linux-next: Tree for Mar 5 (iwlwifi/mvm)

2015-03-05 Thread Randy Dunlap
On 03/04/15 19:34, Stephen Rothwell wrote: Hi all, Changes since 20150304: on i386, when IWLWIFI_DEBUGFS is not enabled: ../drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c:179:38: error: 'struct iwl_mvm' has no member named 'dbgfs_rx_phyinfo'

[PATCH 1/2] mm: thp: Return the correct value for change_huge_pmd

2015-03-05 Thread Mel Gorman
The wrong value is being returned by change_huge_pmd since commit 10c1045f28e8 (mm: numa: avoid unnecessary TLB flushes when setting NUMA hinting entries) which allows a fallthrough that tries to adjust non-existent PTEs. This patch corrects it. Signed-off-by: Mel Gorman mgor...@suse.de ---

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-05 Thread Rafael J. Wysocki
On Thursday, March 05, 2015 04:32:27 PM Mark Rutland wrote: Hi Rafael, enable_irq_wake() has no effect on IRQF_NO_SUSPEND interrupts, so if the driver uses IRQF_NO_SUSPEND, it does not need to use enable_irq_wake() in addition to that. That's not generally true -- certainly not for

Re: [PATCH v9 16/21] irqchip: Add GICv2 specific ACPI boot support

2015-03-05 Thread Rafael J. Wysocki
On Thursday, March 05, 2015 11:53:22 AM Catalin Marinas wrote: On Wed, Mar 04, 2015 at 11:50:36PM +0100, Rafael J. Wysocki wrote: On Wednesday, February 25, 2015 04:39:56 PM Hanjun Guo wrote: [cut] diff --git a/include/linux/acpi.h b/include/linux/acpi.h index c03d8d1..e27117a 100644

Re: [RFC 0/6] the big khugepaged redesign

2015-03-05 Thread Andres Freund
Long mail ahead, sorry for that. TL;DR: THP is still noticeable, but not nearly as bad. On 2015-03-05 17:30:16 +0100, Vlastimil Babka wrote: That however means the workload is based on hugetlbfs and shouldn't trigger THP page fault activity, which is the aim of this patchset. Some more

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Rafael J. Wysocki
On Thursday, March 05, 2015 11:04:11 AM Mark Rutland wrote: On Wed, Mar 04, 2015 at 10:17:29PM +, Alexandre Belloni wrote: tiny tiny nitpick: On 04/03/2015 at 20:00:40 +, Mark Rutland wrote : With certain restrictions it is possible for a wakeup device to share and IRQ with

[PATCH 0/4] Minimal generic wakeirq helpers

2015-03-05 Thread Tony Lindgren
Hi all, Here's an attempt to have Linux generic wakeirq helpers. This allows removing most of the related code from drivers. Currently the drivers all do it in a slightly different way. And may have issues with interrupt re-entrancy and getting the suspend/resume vs runtime_pm wake handling

[PATCH v3 0/1] drivers/bus: fsl-mc object allocator driver

2015-03-05 Thread J. German Rivera
This patch series introduces the object allocator driver for the Freescale Management Complex (fsl-mc) of QorIQ Ls2 SoCs This patch series is dependent on the patch series drivers/bus: Freescale Management Complex bus driver patch series Besides adding the object allocator functionality. CHANGE

[PATCH v4 2/2] cgroups: add a pids subsystem

2015-03-05 Thread Aleksa Sarai
Adds a new single-purpose pids subsystem to limit the number of tasks that can run inside a cgroup. Essentially this is an implementation of RLIMIT_NPROC that will applies to a cgroup rather than a process tree. PIDs are fundamentally a global resource, and it is possible to reach PID exhaustion

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-05 Thread Olof Johansson
On Thu, Mar 5, 2015 at 12:23 PM, Kumar Gala ga...@codeaurora.org wrote: On Mar 5, 2015, at 1:42 PM, Kevin Hilman khil...@kernel.org wrote: Kumar Gala ga...@codeaurora.org writes: The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine

Re: [RFC/PATCH 2/2] perf probe: Allow weak symbols to be probed

2015-03-05 Thread Namhyung Kim
Hi Masami, On Thu, Mar 05, 2015 at 12:57:21AM +0900, Masami Hiramatsu wrote: (2015/03/04 22:52), Namhyung Kim wrote: It currently prevents adding probes in weak symbols. But there're cases that given name is an only weak symbol so that we cannot add probe. $ perf probe -x

[PATCH 2/2] pinctrl: mediatek: Adjust mt8173 pinctrl kconfig

2015-03-05 Thread Yingjoe Chen
Linus, This one make PINCTRL_MT8173 option user selectable and is based on mtk-staging in your tree. If you think this is OK, please applied or squash this into previous change. Thanks. -- ARM64 maintainer doesn't want to add MACH_* for each SoC.

[PATCH 1/2] arm64: mediatek: Select PINCTRL for Mediatek platform

2015-03-05 Thread Yingjoe Chen
These 2 patches are fixup for MT8173 pinctrl driver: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/320066.html Arm64 maintainers doesn't want to add MACH_* in Kconfig, this patch is used to replace the first one in that series. Matthias, Can you take this one?

[V5 PATCH 1/2] ACPI / scan: Add support for ACPI _CLS device matching

2015-03-05 Thread Suravee Suthikulpanit
Device drivers typically use ACPI _HIDs/_CIDs listed in struct device_driver acpi_match_table to match devices. However, for generic drivers, we do not want to list _HID for all supported devices. Also, certain classes of devices do not have _CID (e.g. SATA, USB). Instead, we can leverage ACPI

[V5 PATCH 0/2] Introduce ACPI support for ahci_platform driver

2015-03-05 Thread Suravee Suthikulpanit
This patch series introduce ACPI support for AHCI platform driver. Existing ACPI support for AHCI assumes the device controller is a PCI device. Since there is no ACPI _CID for generic AHCI controller, the driver could not use it for matching devices. Therefore, this patch introduces a mechanism

Re: [PATCH stable 3.10, 3.12, 3.14] MIPS: Export FP functions used by lose_fpu(1) for KVM

2015-03-05 Thread Greg Kroah-Hartman
On Thu, Mar 05, 2015 at 04:08:44PM +, James Hogan wrote: [ Upstream commit 3ce465e04bfd8de9956d515d6e9587faac3375dc ] Export the _save_fp asm function used by the lose_fpu(1) macro to GPL modules so that KVM can make use of it when it is built as a module. This fixes the following

Re: [cgroup] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1439 warn_pre_alternatives()

2015-03-05 Thread Fengguang Wu
Hi Vladimir, On Fri, Mar 06, 2015 at 09:09:37AM +0300, Vladimir Davydov wrote: Hi, This bug should have been fixed by [PATCH -next] cpuset: initialize cpuset a bit early: http://www.spinics.net/lists/cgroups/msg12599.html OK, sorry for the late report! I only searched for the full commit

Re: [PATCH v2 1/4] i2c: sunxi: Add Reduced Serial Bus (RSB) support

2015-03-05 Thread Wolfram Sang
From that regard, RSB is a multiple device bus, using addresses, just like I2C. The way it communicates is basically the one used by P2WI. I am not keen to allow everything which is a bus and has addresses into the I2C realm. The addresses are 12 bit, whilst I2C has at maximum 10 bit which is

Re: [RFC/PATCH 2/2] perf probe: Allow weak symbols to be probed

2015-03-05 Thread Masami Hiramatsu
(2015/03/06 15:15), Namhyung Kim wrote: Hi Masami, On Thu, Mar 05, 2015 at 12:57:21AM +0900, Masami Hiramatsu wrote: (2015/03/04 22:52), Namhyung Kim wrote: It currently prevents adding probes in weak symbols. But there're cases that given name is an only weak symbol so that we cannot add

Re: [PATCH 0/17] crypto: talitos - Add support for SEC1

2015-03-05 Thread leroy christophe
Le 06/03/2015 01:21, Kim Phillips a écrit : On Thu, 5 Mar 2015 17:46:05 +0100 Christophe Leroy christophe.le...@c-s.fr wrote: [15/17] crypto: talitos - Implementation of SEC1 ... [16/17] crypto: talitos - SEC1 bugs on 0 data hash [17/17] crypto: talitos - Update DT bindings with SEC1

Re: [PATCH v9 02/21] ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID

2015-03-05 Thread Hanjun Guo
On 2015/3/5 21:23, Rafael J. Wysocki wrote: On Thu, Mar 5, 2015 at 8:44 AM, Hanjun Guo guohan...@huawei.com wrote: On 2015/3/5 6:29, Rafael J. Wysocki wrote: On Wednesday, February 25, 2015 04:39:42 PM Hanjun Guo wrote: [cut] @@ -190,7 +190,7 @@ int acpi_map_cpuid(int phys_id, u32 acpi_id)

RE: [v3 24/26] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-03-05 Thread Wu, Feng
-Original Message- From: Marcelo Tosatti [mailto:mtosa...@redhat.com] Sent: Wednesday, March 04, 2015 8:06 PM To: Wu, Feng Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; g...@kernel.org; pbonz...@redhat.com; dw...@infradead.org; j...@8bytes.org;

[PATCH][v3.18.y][v3.19.y] tg3: Hold tp-lock before calling tg3_halt() from tg3_init_one()

2015-03-05 Thread Joseph Salisbury
Hello, Please consider including mainline commit d0af71a3573f1217b140c60b66f1a9b335fb058b in the next v3.18.y and v3.19.y stable releases. It was included in the mainline tree as of v4.0-rc1. It has been tested and confirmed to resolve: http://bugs.launchpad.net/bugs/1428111 . This commit

[PATCH] virtio_mmio: fix endian-ness for mmio

2015-03-05 Thread Michael S. Tsirkin
Going over the virtio mmio code, I noticed that it doesn't correctly return device config values in LE format when using virtio 1.0. Borrow code from virtio_pci_modern to do this correctly. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Note: untested: QEMU doesn't support virtio 1.0 for

Re: [PATCHv2 07/10] fbdev: ssd1307fb: Add module parameter to set refresh rate of the display

2015-03-05 Thread Maxime Ripard
On Sun, Mar 01, 2015 at 11:28:00PM +0100, Thomas Niederprüm wrote: This patch adds the module parameter refreshrate to set delay for the deferred io. The refresh rate is given in units of Hertz. The default refresh rate is 1 Hz. Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de ---

Re: [RFC] lib/vsprintf.c: Even faster decimal conversion

2015-03-05 Thread Rasmus Villemoes
On Thu, Mar 05 2015, Tejun Heo t...@kernel.org wrote: On Thu, Mar 05, 2015 at 08:03:33AM -0800, Joe Perches wrote: On Thu, 2015-03-05 at 16:22 +0100, Rasmus Villemoes wrote: I'm assuming the underwhelming response means NAK. Dunno why you assume that, sometimes it just takes awhile for

Re: [PATCH 1/1] x86/vdso: fix a reference to a non-existing instruction

2015-03-05 Thread Andy Lutomirski
On Thu, Mar 5, 2015 at 12:13 AM, Jiri Slaby jsl...@suse.cz wrote: .LSTARTFDEDLSI1 says: /* HACK: The dwarf2 unwind routines will subtract 1 from the return address to get an address in the middle of the presumed call instruction. Since we didn't get here via

Re: [PATCH v2 1/7] ARM: at91: switch to multiplatform

2015-03-05 Thread Alexandre Belloni
On 05/03/2015 at 16:50:57 -0600, Rob Herring wrote : -config SOC_SAMA5 +config ARCH_AT91 bool - select ATMEL_AIC5_IRQ + select ARCH_REQUIRE_GPIOLIB select COMMON_CLK_AT91 - select CPU_V7 + select CLKDEV_LOOKUP This is already selected by

Re: [PATCH 2/3] crypto: caam_rng: fix rng_unmap_ctx's DMA_UNMAP size problem

2015-03-05 Thread Kim Phillips
On Thu, 5 Mar 2015 10:52:37 +0800 yjin yanjiang@windriver.com wrote: On 2015年03月05日 02:36, Kim Phillips wrote: On Wed, 4 Mar 2015 13:33:22 +0800 yjin yanjiang@windriver.com wrote: On 2015年03月04日 03:31, Kim Phillips wrote: On Tue, 3 Mar 2015 14:50:52 +0800

Re: [PATCH 1/3] crypto: caam: fix some compile warnings

2015-03-05 Thread Kim Phillips
On Thu, 5 Mar 2015 09:12:13 +0200 Cristian Stoica cristian.sto...@freescale.com wrote: On 03/04/2015 08:34 PM, Kim Phillips wrote: I don't see how, e.g., for one, dma_map_sg is I/O TLB implementation-dependent. I'll need some remedial classes on this topic, but for the moment I don't

GOOD NEWS

2015-03-05 Thread mackenziegloria446
Gloria C. Mackenzie Donate $ 2,000,000 00. to you, Email me on: {mackenziegloria...@gmail.com} for more details -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 2/2] mm: numa: Do not clear PTEs or PMDs for NUMA hinting faults

2015-03-05 Thread Linus Torvalds
On Thu, Mar 5, 2015 at 3:54 PM, Mel Gorman mgor...@suse.de wrote: if (!prot_numa || !pmd_protnone(*pmd)) { - entry = pmdp_get_and_clear_notify(mm, addr, pmd); - entry = pmd_modify(entry, newprot); + /* +

Re: [PATCH 0/8 v4] ARM OMAP2+ GPMC: fixes and bus children

2015-03-05 Thread Tony Lindgren
* Robert ABEL ra...@cit-ec.uni-bielefeld.de [150227 08:00]: These are the changes I proposed in these patch series: [1], [2], [3], [4] rebased to 3.19 as well as new changes for little bugs I noticed while preparing this patch series as well as changes introduced via comments. 1. DEBUG was

[PATCH v3 1/1] staging: fsl-mc: fsl-mc object allocator driver

2015-03-05 Thread J. German Rivera
The fsl-mc object allocator driver manages allocatable fsl-mc objects such as DPBPs, DPMCPs and DPCONs. It provides services to other fsl-mc drivers to allocate/deallocate these types of objects. Signed-off-by: J. German Rivera german.riv...@freescale.com Signed-off-by: Stuart Yoder

[PATCH] drivers: media: platform: vivid: Fix possible null derefrence

2015-03-05 Thread Tapasweni Pathak
Check for dev_fmt being null before derefrencing it, to assign it to planes. Found using Coccinelle. Signed-off-by: Tapasweni Pathak tapaswenipat...@gmail.com Acked-by: Julia Lawall julia.law...@lip6.fr --- drivers/media/platform/vivid/vivid-vid-out.c |4 +++- 1 file changed, 3

Re: linux-next: build failure after merge of the net-next tree

2015-03-05 Thread Stephen Rothwell
Hi Dave, On Thu, 05 Mar 2015 21:01:47 -0500 (EST) David Miller da...@davemloft.net wrote: The perils of working on multiple workstations :-) Pushed out now, sorry about that. No worries. I know what its like as we get older ;-) -- Cheers, Stephen Rothwell

Re: [PATCH v5 1/9] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-05 Thread Chanwoo Choi
Hi, On 03/06/2015 03:54 AM, Mark Rutland wrote: Hi, + psci { + compatible = arm,psci; + method = smc; + cpu_off = 0x8402; + cpu_on = 0xC403; + }; Back at v2 you mentioned that CPU_OFF wasn't working [1]. Do

Re: [PATCH] netlink: drop (int) cast on length arg in NLMSG_OK

2015-03-05 Thread David Miller
From: Mike Frysinger vap...@gentoo.org Date: Thu, 5 Mar 2015 00:47:08 -0500 The NLMSG_OK macro compares three things: - the len arg from the user - a size_t: sizeof(struct nlmsghdr) - an int: sizeof(struct nlmsghdr) casted - an u32: the nlmsghdr-nlmsg_len member When building with

[PATCH v2 3/6] x86, asm: Change the 32-bit sysenter code to use sp0

2015-03-05 Thread Andy Lutomirski
The ia32 sysenter code loaded the top of the kernel stack into rsp by loading kernel_stack and then adjusting it. It can be simplified to just read sp0 directly. This requires the addition of a new asm-offsets entry for sp0. Signed-off-by: Andy Lutomirski l...@amacapital.net ---

[PATCH v2 0/6] Baby steps toward cleaning up KERNEL_STACK_OFFSET

2015-03-05 Thread Andy Lutomirski
Denys is right that KERNEL_STACK_OFFSET is a mess. Let's start fixing it. This removes all C code that *reads* kernel_stack. It also fixes the KERNEL_STACK_OFFSET abomination in ia32_sysenter_target. It does not fix the KERNEL_STACK_OFFSET abomination in GET_THREAD_INFO and THREAD_INFO. I

[PATCH v2 2/6] x86: Switch all C consumers of kernel_stack to this_cpu_sp0

2015-03-05 Thread Andy Lutomirski
This will make modifying the semantics of kernel_stack easier. The change to ist_begin_non_atomic() is necessary because sp0 no longer points to the same THREAD_SIZE-aligned region as rsp; it's one byte too high for that. At Denys' suggestion, rather than offsetting it, just check explicitly

[PATCH v2 4/6] x86: Rename init_tss to cpu_tss

2015-03-05 Thread Andy Lutomirski
It has nothing to do with init -- there's only one tss per cpu. Other names considered include: - current_tss: Confusing because we never switch the tss. - singleton_tss: Too long. This patch was generated with 's/init_tss/cpu_tss/g'. Followup patches will fix INIT_TSS and INIT_TSS_IST by

Re: pskb_expand_head: skb_shared BUG

2015-03-05 Thread Chris Dunlop
On Mon, Mar 02, 2015 at 11:45:11AM +1100, Chris Dunlop wrote: Heads up... We've hit this BUG() in v3.10.70, v3.14.27 and v3.18.7: net/core/skbuff.c: 1027 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, 1028 gfp_t gfp_mask) 1029 { 1030 int i;

Re: [PATCH 0/17] crypto: talitos - Add support for SEC1

2015-03-05 Thread Herbert Xu
On Thu, Mar 05, 2015 at 06:21:01PM -0600, Kim Phillips wrote: On Thu, 5 Mar 2015 17:46:05 +0100 Christophe Leroy christophe.le...@c-s.fr wrote: [15/17] crypto: talitos - Implementation of SEC1 ... [16/17] crypto: talitos - SEC1 bugs on 0 data hash [17/17] crypto: talitos - Update DT

[PATCH v8 3/3] staging: fsl-mc: Device driver for FSL-MC DPRC devices

2015-03-05 Thread J. German Rivera
A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera german.riv...@freescale.com Signed-off-by: Stuart Yoder stuart.yo...@freescale.com ---

<    5   6   7   8   9   10   11   12   13   14   >