[PATCH V13 06/14] xen/pvticketlocks: Add xen_nopvspin parameter to disable xen pv ticketlocks

2013-08-09 Thread Raghavendra K T
From: Jeremy Fitzhardinge jer...@goop.org Signed-off-by: Jeremy Fitzhardinge jer...@goop.org Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Signed-off-by: Raghavendra K T raghavendra...@linux.vnet.ibm.com Acked-by: Ingo Molnar mi...@kernel.org --- arch/x86/xen/spinlock.c | 14

[PATCH V13 10/14] x86/ticketlock: Add slowpath logic

2013-08-09 Thread Raghavendra K T
From: Jeremy Fitzhardinge jer...@goop.org Maintain a flag in the LSB of the ticket lock tail which indicates whether anyone is in the lock slowpath and may need kicking when the current holder unlocks. The flags are set when the first locker enters the slowpath, and cleared when unlocking to an

[PATCH V13 14/14] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-08-09 Thread Raghavendra K T
From: Srivatsa Vaddagiri va...@linux.vnet.ibm.com During smp_boot_cpus paravirtualied KVM guest detects if the hypervisor has required feature (KVM_FEATURE_PV_UNHALT) to support pv-ticketlocks. If so, support for pv-ticketlocks is registered via pv_lock_ops. Use KVM_HC_KICK_CPU hypercall to

[PATCH V13 08/14] x86/pvticketlock: When paravirtualizing ticket locks, increment by 2

2013-08-09 Thread Raghavendra K T
From: Jeremy Fitzhardinge jer...@goop.org Increment ticket head/tails by 2 rather than 1 to leave the LSB free to store a is in slowpath state bit. This halves the number of possible CPUs for a given ticket size, but this shouldn't matter in practice - kernels built for 32k+ CPU systems are

[PATCH V13 04/14] xen: Defer spinlock setup until boot CPU setup

2013-08-09 Thread Raghavendra K T
From: Jeremy Fitzhardinge jer...@goop.org There's no need to do it at very early init, and doing it there makes it impossible to use the jump_label machinery. Signed-off-by: Jeremy Fitzhardinge jer...@goop.org Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Signed-off-by: Raghavendra K

Re: [PATCH 5/5] usb/musb dma: add cppi41 dma driver

2013-08-09 Thread Felipe Balbi
On Fri, Aug 02, 2013 at 09:24:10PM +0200, Sebastian Andrzej Siewior wrote: This driver is currently used by musb' cppi41 couter part. I may merge both dma engine user of musb at some point but not just yet. The driver seems to work in RX/TX mode in host mode, tested on mass storage. I

[PATCH V13 00/14] Paravirtualized ticket spinlocks

2013-08-09 Thread Raghavendra K T
This series replaces the existing paravirtualized spinlock mechanism with a paravirtualized ticketlock mechanism. The series provides implementation for both Xen and KVM. The current set of patches are for Xen/x86 spinlock/KVM guest side, to be included against -tip. A separate patchset for KVM

[PATCH V13 11/14] xen/pvticketlock: Allow interrupts to be enabled while blocking

2013-08-09 Thread Raghavendra K T
From: Jeremy Fitzhardinge jer...@goop.org If interrupts were enabled when taking the spinlock, we can leave them enabled while blocking to get the lock. If we can enable interrupts while waiting for the lock to become available, and we take an interrupt before entering the poll, and the handler

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-08-09 Thread Jens Axboe
On 08/09/2013 02:23 AM, Alexander Gordeev wrote: On Mon, Jul 29, 2013 at 07:46:53AM -0400, Tejun Heo wrote: One thing which would probably be worthwhile tho is getting rid of the bitmap based qc tag allocator in libata. That one is just borderline stupid to keep around on any setup which is

[PATCH V13 01/14] x86/spinlock: Replace pv spinlocks with pv ticketlocks

2013-08-09 Thread Raghavendra K T
From: Jeremy Fitzhardinge jer...@goop.org Rather than outright replacing the entire spinlock implementation in order to paravirtualize it, keep the ticket lock implementation but add a couple of pvops hooks on the slow patch (long spin on lock, unlocking a contended lock). Ticket locks have a

my outstanding patches for 3.12

2013-08-09 Thread Guennadi Liakhovetski
Hi Vinod There are still a number of DMA patches from me for 3.12, that still aren't in next. I think, the easiest way to get them all is to look for instructions in patch 0/0 from this series: http://thread.gmane.org/gmane.linux.ports.sh.devel/26161 Otherwise, unless I'm missing anything,

Re: btrfs zero divide

2013-08-09 Thread Josef Bacik
On Fri, Aug 09, 2013 at 02:30:38PM +0200, Andreas Schwab wrote: Andreas Schwab sch...@linux-m68k.org writes: Josef Bacik jba...@fusionio.com writes: So stripe_len shouldn't be 0, if it is you have bigger problems :). The bigger problem is that stripe_nr is u64, this is completely

Re: [PATCH 19/23] truncate: support huge pages

2013-08-09 Thread Kirill A. Shutemov
Dave Hansen wrote: On 08/03/2013 07:17 PM, Kirill A. Shutemov wrote: If a huge page is only partly in the range we zero out the part, exactly like we do for partial small pages. What's the logic behind this behaviour? Seems like the kind of place that we would really want to be splitting

[PATCH V13 02/14] x86/ticketlock: Don't inline _spin_unlock when using paravirt spinlocks

2013-08-09 Thread Raghavendra K T
The code size expands somewhat, and its better to just call a function rather than inline it. Thanks Jeremy for original version of ARCH_NOINLINE_SPIN_UNLOCK config patch, which is simplified. Suggested-by: Linus Torvalds torva...@linux-foundation.org Reviewed-by: Konrad Rzeszutek Wilk

[PATCH V13 07/14] x86/pvticketlock: Use callee-save for lock_spinning

2013-08-09 Thread Raghavendra K T
From: Jeremy Fitzhardinge jer...@goop.org Although the lock_spinning calls in the spinlock code are on the uncommon path, their presence can cause the compiler to generate many more register save/restores in the function pre/postamble, which is in the fast path. To avoid this, convert it to

Re: [PATCH 20/23] thp: handle file pages in split_huge_page()

2013-08-09 Thread Kirill A. Shutemov
Ning Qu wrote: I just tried, and it seems working fine now without the deadlock anymore. I can run some big internal test with about 40GB files in sysv shm. Just move the line before the locking happens in vma_adjust, something as below, the line number is not accurate because my patch is

Re: [ 000/102] 3.10.6-stable review

2013-08-09 Thread Shuah Khan
On 08/09/2013 07:54 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.6 release. There are 102 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should

Re: [PATCH 22/23] thp, mm: split huge page on mmap file page

2013-08-09 Thread Kirill A. Shutemov
Khalid Aziz wrote: On Sun, 2013-08-04 at 05:17 +0300, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com We are not ready to mmap file-backed tranparent huge pages. Let's split them on fault attempt. Later we'll implement mmap() properly and this code

Re: [PATCH RESEND v2 1/1] mfd: palmas: Add power off control

2013-08-09 Thread Nishanth Menon
On 08/09/2013 08:01 AM, Bill Huang wrote: On Thu, 2013-08-08 at 20:32 +0800, Lee Jones wrote: On Thu, 08 Aug 2013, Bill Huang wrote: Hook up pm_power_off to palmas power off routine if there is DT property ti,system-power-controller defined, so platform which is powered by this regulator can

Re: [PATCH 01/47] perf: Add PERF_EVENT_IOC_ID ioctl to return event ID

2013-08-09 Thread Vince Weaver
On Wed, 7 Aug 2013, Arnaldo Carvalho de Melo wrote: From: Jiri Olsa jo...@redhat.com The only way to get the event ID is by reading the event fd, followed by parsing the ID value out of the returned data. While this is ok for current read format used by perf tool, it is not ok when we

Re: [PATCH V12 0/14] Paravirtualized ticket spinlocks

2013-08-09 Thread H. Peter Anvin
On 08/09/2013 06:00 AM, Konrad Rzeszutek Wilk wrote: On Fri, Aug 09, 2013 at 06:20:02PM +0530, Raghavendra K T wrote: On 08/09/2013 04:34 AM, H. Peter Anvin wrote: Okay, I figured it out. One of several problems with the formatting of this patchset is that it has one- and two-digit patch

[PATCH] xen/hvc: If we use xen_raw_printk let it also work on HVM guests.

2013-08-09 Thread Konrad Rzeszutek Wilk
The xen_raw_printk works great for debugging purposes and for it print anything the Xen hypervisor has to be built with 'debug=y'. As such there is no difference between a PV or an PVHVM guest using the hypercall, so lets use it. Lastly if the hyper-page is not setup yet (for example during

[GIT PULL] ACPI and power management fixes for v3.11-rc5

2013-08-09 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm+acpi-3.11-rc5 to receive ACPI and power management fixes for v3.11-rc5 with top-most commit 69fdadfd2200e0bf3d10a7a7925db8e9fc5a46fd Merge branch 'pm-fixes' on top of

Re: DMA masks

2013-08-09 Thread James Bottomley
On Fri, 2013-08-09 at 11:12 +0200, Krzysztof Hałasa wrote: Hi, I'm trying to understand why the struct device contains a pointer to dma_mask and not the actual dma_mask: It's an anachronism. The original reason was when this was introduced, struct pci_device was the only device that

Re: [PATCH] idr: Document ida tree sections

2013-08-09 Thread Tejun Heo
Hello, On Wed, Aug 07, 2013 at 01:51:17PM -0700, Kent Overstreet wrote: + * So if the max section size is 64k, that's ~4096 sections, with 8 byte + * pointers that's a little over 32k for the pointers to sections. + * + * That means max size sections are order 4 page allocations. Order 4

Reproducible git-fsck/SHA1 failures since 3.7.x on a Dell E6430 / i5-3340M

2013-08-09 Thread Ben Tebulin
Hello Kernel list! On two machines a very specific repository the SHA1 implementation of git-fsck and git-show fails in 9/10 cases for a specific 39MB blob. This only occurs on vanilla Linux kernels 3.7.10, 3.8.0 (Ubuntu), 3.9.11, 3.10.5 _but not on_ 3.6.11 and 3.5.7 For details please refer to

Re: linux-next: Tree for Aug 8 (not CONFIG_PCI_MSI conflict)

2013-08-09 Thread Jason Cooper
Randy, On Thu, Aug 08, 2013 at 01:03:04PM -0700, Randy Dunlap wrote: On 08/08/13 00:08, Stephen Rothwell wrote: Hi all, Changes since 20130807: on i386 and x86_64: when CONFIG_PCI_MSI is not enabled: There are many of these errors: include/linux/msi.h:65:6: error: expected

Re: [PATCH v9 07/16] iommu/exynos: support for device tree

2013-08-09 Thread Tomasz Figa
On Friday 09 of August 2013 08:28:09 Rob Herring wrote: On Fri, Aug 9, 2013 at 1:37 AM, Cho KyongHo pullip@samsung.com wrote: On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote: Hi KyongHo, On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote: This commit adds device tree

Re: [PATCH 10/16] fuse: Implement writepages callback

2013-08-09 Thread Maxim Patlasov
Hi Miklos, 08/06/2013 08:25 PM, Miklos Szeredi пишет: On Fri, Aug 2, 2013 at 5:40 PM, Maxim Patlasov mpatla...@parallels.com wrote: 07/19/2013 08:50 PM, Miklos Szeredi пишет: On Sat, Jun 29, 2013 at 09:45:29PM +0400, Maxim Patlasov wrote: From: Pavel Emelyanov xe...@openvz.org The

Re: [PATCH v4 1/2] workqueue: add new schedule_on_cpu_mask() API

2013-08-09 Thread Tejun Heo
Hello, Chris. On Wed, Aug 07, 2013 at 04:49:44PM -0400, Chris Metcalf wrote: This primitive allows scheduling work to run on a particular set of cpus described by a struct cpumask. This can be useful, for example, if you have a per-cpu variable that requires code execution only if the

Re: [PATCH] kexec: Disable at runtime if the kernel enforces module signing

2013-08-09 Thread Matthew Garrett
On Fri, 2013-08-09 at 07:02 -0400, Vivek Goyal wrote: On Fri, Aug 09, 2013 at 03:36:37AM -0400, Matthew Garrett wrote: kexec permits the loading and execution of arbitrary code in ring 0, which is something that module signing enforcement is meant to prevent. It makes sense to disable kexec

arm,perf fuzzer and rcu_sched lockup

2013-08-09 Thread Vince Weaver
This is on a 3.11-rc4 kernel with the two perf/ARM oops patches applied. I let the fuzzer run overnight with a serial console hooked up and it was crashed in the morning. Here's the bug log. I'm cc-ing Dave Jones as I think he's seeing similar traces on x86 with trinity when fuzzing. Vince

Re: [PATCH] depmod: add missing else clause

2013-08-09 Thread Lucas De Marchi
Hi Jan, On Wed, Aug 7, 2013 at 6:58 PM, Jan Engelhardt jeng...@inai.de wrote: It occurred to an openSUSE user that our mkinitrd would throw a warning when used with kmod: libkmod: conf_files_list: unsupported file mode /dev/null: 0x21b6 Grepping for the error message revealed that there

Re: [PATCH v4 2/4] mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT

2013-08-09 Thread Doug Anderson
Seungwon, On Fri, Aug 9, 2013 at 6:33 AM, Seungwon Jeon tgih@samsung.com wrote: On Wed, August 07, 2013, Doug Anderson wrote: If the WAKEUP_INT is asserted at wakeup and not cleared, we'll end up looping around forever. This has been seen to happen on exynos5420 silicon despite the fact

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-08-09 Thread Alexander Gordeev
On Fri, Aug 09, 2013 at 08:24:38AM -0600, Jens Axboe wrote: On 08/09/2013 02:23 AM, Alexander Gordeev wrote: + ap-qc_tags = blk_mq_init_tags(ATA_MAX_QUEUE, 1, NUMA_NO_NODE); + if (!ap-qc_tags) { + kfree(ap); + return NULL; + } This should be

Re: [RFC PATCH v2 3/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2013-08-09 Thread Ivan T. Ivanov
Hi, On Fri, 2013-08-09 at 16:32 +0300, Felipe Balbi wrote: On Fri, Aug 09, 2013 at 12:53:47PM +0300, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com DWC3 glue layer is hardware layer around Synopsys DesignWare USB3 core. Its purpose is to supply Synopsys IP with required

Re: [PATCH 3/5] omap: Properly handle resources for omap_devices

2013-08-09 Thread Kevin Hilman
Pantelis Antoniou pa...@antoniou-consulting.com writes: Hi Kevin, On Aug 7, 2013, at 9:45 PM, Kevin Hilman wrote: [fixing address for Benoit] Pantelis Antoniou pa...@antoniou-consulting.com writes: omap_device relies on the platform notifier callbacks managing resources behind the

Re: [PATCH] trivial: convert comma to semicolon

2013-08-09 Thread Julia Lawall
On Fri, 9 Aug 2013, Richard Genoud wrote: diff --git a/drivers/clocksource/time-armada-370-xp.c b/drivers/clocksource/time-armada-370-xp.c index 847cab6..8149b7b 100644 --- a/drivers/clocksource/time-armada-370-xp.c +++ b/drivers/clocksource/time-armada-370-xp.c @@ -175,10 +175,10

Re: [Xen-devel] [PATCH 3/3] xen-blkfront: revoke foreign access for grants not mapped by the backend

2013-08-09 Thread Konrad Rzeszutek Wilk
On Thu, Aug 01, 2013 at 11:10:15AM +0100, David Vrabel wrote: On 31/07/13 16:00, Roger Pau Monne wrote: There's no need to keep the foreign access in a grant if it is not persistently mapped by the backend. This allows us to free grants that are not mapped by the backend, thus preventing

Re: [PATCH v4 1/4] mmc: dw_mmc: Invalidate cache of current_speed after suspend/resume

2013-08-09 Thread Doug Anderson
Seungwon and Jaehoon, On Fri, Aug 9, 2013 at 6:32 AM, Seungwon Jeon tgih@samsung.com wrote: On Wed, August 07, 2013, Doug Anderson wrote: The dw_mmc driver keeps a cache of the current slot-clock in order to avoid doing a whole lot of work every time set_ios() is called. However, after

RFC: default CONFIG_EFI_STUB=y

2013-08-09 Thread H. Peter Anvin
I would like to change the defaults for CONFIG_EFI and CONFIG_EFI_STUB to y. There is little reason to omit this since EFI now is a significant percentage of all systems. -hpa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] kexec: Disable at runtime if the kernel enforces module signing

2013-08-09 Thread Vivek Goyal
On Fri, Aug 09, 2013 at 03:07:13PM +, Matthew Garrett wrote: On Fri, 2013-08-09 at 07:02 -0400, Vivek Goyal wrote: On Fri, Aug 09, 2013 at 03:36:37AM -0400, Matthew Garrett wrote: kexec permits the loading and execution of arbitrary code in ring 0, which is something that module

[PATCH 0/1] dlm: kill the unnecessary and wrong device_close()-recalc_sigpending()

2013-08-09 Thread Oleg Nesterov
On 08/08, Oleg Nesterov wrote: And of course, there could be another bug. I just did grep recalc_sigpending and immediately found at least one buggy user, fs/dlm/user.c which calls it lockless. and the usage of sigprocmask() is wrong, see 1/1. In fact there are more users which play with

Re: [PATCH] linux-firmware/AMD: add readme files for amd-ucode

2013-08-09 Thread Sherry Hurwitz
On 08/08/2013 03:13 PM, Ben Hutchings wrote: I don't think this documentation is currently very useful. See further comments inline: On Fri, 2013-07-19 at 17:43 -0500, Sherry Hurwitz wrote: File: README File: microcode_amd.bin.README File: microcode_amd_fam15h.bin.README Signed-off-by:

[PATCH 1/1] dlm: kill the unnecessary and wrong device_close()-recalc_sigpending()

2013-08-09 Thread Oleg Nesterov
device_close()-recalc_sigpending() is not needed, sigprocmask() takes care of TIF_SIGPENDING correctly. And without -siglock it is racy and wrong, it can wrongly clear TIF_SIGPENDING and miss a signal. But even with this patch device_close() is still buggy: 1. sigprocmask() should not

Re: [PATCH v4 2/2] xen/m2p: use GNTTABOP_unmap_and_replace to reinstate the original mapping

2013-08-09 Thread Konrad Rzeszutek Wilk
On Sun, Aug 04, 2013 at 03:39:41PM +0100, Stefano Stabellini wrote: GNTTABOP_unmap_grant_ref unmaps a grant and replaces it with a 0 mapping instead of reinstating the original mapping. Doing so separately would be racy. To unmap a grant and reinstate the original mapping atomically we use

Re: [PATCH v3 03/10] arm: make SWIOTLB available

2013-08-09 Thread Konrad Rzeszutek Wilk
On Mon, Aug 05, 2013 at 05:30:49PM +0100, Stefano Stabellini wrote: IOMMU_HELPER is needed because SWIOTLB calls iommu_is_span_boundary, provided by lib/iommu_helper.c. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com And Reviewed-by: Konrad Rzeszutek Wilk

Re: RFC: default CONFIG_EFI_STUB=y

2013-08-09 Thread James Bottomley
On Fri, 2013-08-09 at 08:23 -0700, H. Peter Anvin wrote: I would like to change the defaults for CONFIG_EFI and CONFIG_EFI_STUB to y. There is little reason to omit this since EFI now is a significant percentage of all systems. You didn't actually attach the patch, but I presume this is for

Re: [PATCH 3/5] omap: Properly handle resources for omap_devices

2013-08-09 Thread Pantelis Antoniou
Hi On Aug 9, 2013, at 6:16 PM, Kevin Hilman wrote: Pantelis Antoniou pa...@antoniou-consulting.com writes: Hi Kevin, On Aug 7, 2013, at 9:45 PM, Kevin Hilman wrote: [fixing address for Benoit] Pantelis Antoniou pa...@antoniou-consulting.com writes: omap_device relies on the

Re: [PATCH] kexec: Disable at runtime if the kernel enforces module signing

2013-08-09 Thread Vivek Goyal
On Fri, Aug 09, 2013 at 03:07:13PM +, Matthew Garrett wrote: On Fri, 2013-08-09 at 07:02 -0400, Vivek Goyal wrote: On Fri, Aug 09, 2013 at 03:36:37AM -0400, Matthew Garrett wrote: kexec permits the loading and execution of arbitrary code in ring 0, which is something that module

[PATCH] gpio: Fix platform driver name in Kontron PLD GPIO driver

2013-08-09 Thread Michael Brunner
This patch changes the driver name to be consistent with the name that is registered as cell name in the MFD driver. Otherwise the driver won't load. Signed-off-by: Michael Brunner michael.brun...@kontron.com --- drivers/gpio/gpio-kempld.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] drivers/rtc/rtc-palmas.c: rename charging dt property name

2013-08-09 Thread Laxman Dewangan
Renaming the charging property names to have more meaningful: Renaming property ti,back-battery-charge-enable to ti,backup-battery-chargeable to tells OS that attahced battery is chargeable and OS can do charging. Renaming property ti,back-battery-charge-low-current to

[PATCH] gpio: Fix bit masking in Kontron PLD GPIO driver

2013-08-09 Thread Michael Brunner
This patch fixes the bit masking within the GPIO driver. The masking is basically done twice which causes the wrong GPIOs to be addressed. Signed-off-by: Michael Brunner michael.brun...@kontron.com --- drivers/gpio/gpio-kempld.c | 24 +--- 1 file changed, 9 insertions(+),

Re: [PATCH] mm/hotplug: Verify hotplug memory range

2013-08-09 Thread Toshi Kani
On Fri, 2013-08-09 at 13:52 +0800, Tang Chen wrote: On 08/09/2013 12:47 AM, Toshi Kani wrote: add_memory() and remove_memory() can only handle a memory range aligned with section. There are problems when an unaligned range is added and then deleted as follows: - add_memory() with an

[PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver

2013-08-09 Thread Michael Brunner
This patch adds DMI system IDs for the new Kontron modules COMe-bHL6 and COMe-cTH6 to the Kontron PLD driver. Signed-off-by: Michael Brunner michael.brun...@kontron.com --- drivers/mfd/kempld-core.c | 18 ++ 1 file changed, 18 insertions(+) diff --git

Re: [PATCH] kexec: Disable at runtime if the kernel enforces module signing

2013-08-09 Thread Vivek Goyal
On Fri, Aug 09, 2013 at 03:07:13PM +, Matthew Garrett wrote: On Fri, 2013-08-09 at 07:02 -0400, Vivek Goyal wrote: On Fri, Aug 09, 2013 at 03:36:37AM -0400, Matthew Garrett wrote: kexec permits the loading and execution of arbitrary code in ring 0, which is something that module

Re: [PATCH v3 07/10] xen: introduce XENMEM_get_dma_buf and xen_put_dma_buf

2013-08-09 Thread Konrad Rzeszutek Wilk
On Mon, Aug 05, 2013 at 05:30:53PM +0100, Stefano Stabellini wrote: XENMEM_exchange can't be used by autotranslate guests because of two severe limitations: - it does not copy back the mfns into the out field for autotranslate guests; - it does not guarantee that the hypervisor won't

block_all_signals() must die (Was: Patch for lost wakeups)

2013-08-09 Thread Oleg Nesterov
And sorry for off-topic email, but I can't resist. Can't we finally kill block_all_signals() and -notifier ? This is very, very wrong and doesn't work anyway. I tried to ask many, many times. Starting from 2007 at least. And every time the discussion hangs. I am quoting the last email I sent

Re: [PATCH] drivers/rtc/rtc-palmas.c: rename charging dt property name

2013-08-09 Thread Kumar Gala
On Aug 9, 2013, at 10:47 AM, Laxman Dewangan wrote: Renaming the charging property names to have more meaningful: Renaming property ti,back-battery-charge-enable to ti,backup-battery-chargeable to tells OS that attahced battery is chargeable and OS can do charging. Renaming property

Re: [PATCH v3 04/10] arm: introduce a global dma_ops pointer

2013-08-09 Thread Konrad Rzeszutek Wilk
On Mon, Aug 05, 2013 at 05:30:50PM +0100, Stefano Stabellini wrote: Initially set dma_ops to arm_dma_ops. Looks OK to me. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: will.dea...@arm.com CC: li...@arm.linux.org.uk Changes in v3: - keep using arm_dma_ops in

Re: [PATCH RFC nohz_full 3/7] nohz_full: Add per-CPU idle-state tracking

2013-08-09 Thread Frederic Weisbecker
On Fri, Jul 26, 2013 at 04:19:20PM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds the code that updates the rcu_dyntick structure's new fields to track the per-CPU idle state based on interrupts and transitions into and out of the idle loop

Re: RFC: default CONFIG_EFI_STUB=y

2013-08-09 Thread H. Peter Anvin
On 08/09/2013 08:32 AM, James Bottomley wrote: On Fri, 2013-08-09 at 08:23 -0700, H. Peter Anvin wrote: I would like to change the defaults for CONFIG_EFI and CONFIG_EFI_STUB to y. There is little reason to omit this since EFI now is a significant percentage of all systems. You didn't

Re: [PATCH] drivers/rtc/rtc-palmas.c: rename charging dt property name

2013-08-09 Thread Laxman Dewangan
On Friday 09 August 2013 09:07 PM, Kumar Gala wrote: On Aug 9, 2013, at 10:47 AM, Laxman Dewangan wrote: Renaming the charging property names to have more meaningful: Renaming property ti,back-battery-charge-enable to ti,backup-battery-chargeable to tells OS that attahced battery is

Re: [PATCH v3 10/10] xen/arm,arm64: enable SWIOTLB_XEN

2013-08-09 Thread Konrad Rzeszutek Wilk
On Mon, Aug 05, 2013 at 05:30:56PM +0100, Stefano Stabellini wrote: Xen on arm and arm64 needs SWIOTLB_XEN: when running on Xen we need to program the hardware with mfns rather than pfns for dma addresses. Remove SWIOTLB_XEN dependency on X86 and PCI and make XEN select SWIOTLB_XEN on arm and

[PATCH] usb: dwc3: core: clarify usb-phy array binding

2013-08-09 Thread Kumar Gala
The binding spec wasn't clear that the order of the phandles in the usb-phy array has meaning. Clarify this point in the binding that it should be USB2-HS-PHY, USB3-SS-PHY. Signed-off-by: Kumar Gala ga...@codeaurora.org --- Documentation/devicetree/bindings/usb/dwc3.txt | 4 +++- 1 file

Re: [PATCH] drivers/rtc/rtc-palmas.c: rename charging dt property name

2013-08-09 Thread Kumar Gala
On Aug 9, 2013, at 10:47 AM, Laxman Dewangan wrote: Renaming the charging property names to have more meaningful: Renaming property ti,back-battery-charge-enable to ti,backup-battery-chargeable to tells OS that attahced battery is chargeable and OS can do charging. Renaming property

Re: [PATCH v4 3/4] mmc: dw_mmc: Always setup the bus after suspend/resume

2013-08-09 Thread Doug Anderson
Seungwon, On Fri, Aug 9, 2013 at 6:35 AM, Seungwon Jeon tgih@samsung.com wrote: On Wed, August 07, 2013, Doug Anderson wrote: After suspend/resume all of the dw_mmc registers are reset to defaults. We restore most of them, but specifically don't setup the clock registers after resume

Re: [PATCH RFC nohz_full 4/7] nohz_full: Add full-system idle states and variables

2013-08-09 Thread Frederic Weisbecker
On Fri, Jul 26, 2013 at 04:19:21PM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds control variables and states for full-system idle. The system will progress through the states in numerical order when the system is fully idle (other than the

Re: [PATCH v3 09/10] swiotlb-xen: support autotranslate guests

2013-08-09 Thread Konrad Rzeszutek Wilk
n Mon, Aug 05, 2013 at 05:30:55PM +0100, Stefano Stabellini wrote: Support autotranslate guests in swiotlb-xen by keeping track of the phys-to-bus and bus-to-phys mappings of the swiotlb buffer (xen_io_tlb_start-xen_io_tlb_end). Use a simple direct access on a pre-allocated array for

[PATCH v2] arm: Fix is_gate_vma to have a == instead of a single =

2013-08-09 Thread Tobias Mueller
A typo was introduced when merging the security-fixes branch which made the comparison an assignment. Signed-off-by: Tobias Mueller mue...@cryptobitch.de --- In the previous version I forgot the Signed-off-by header --- arch/arm/kernel/process.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH v3 07/10] xen: introduce XENMEM_get_dma_buf and xen_put_dma_buf

2013-08-09 Thread Konrad Rzeszutek Wilk
On Fri, Aug 09, 2013 at 11:36:06AM -0400, Konrad Rzeszutek Wilk wrote: On Mon, Aug 05, 2013 at 05:30:53PM +0100, Stefano Stabellini wrote: XENMEM_exchange can't be used by autotranslate guests because of two severe limitations: - it does not copy back the mfns into the out field for

Re: dw_mmc: Does anyone use multiple slots?

2013-08-09 Thread Doug Anderson
Hi, On Thu, Aug 8, 2013 at 8:18 PM, Seungwon Jeon tgih@samsung.com wrote: On Fri, August 09, 2013, Chris Ball wrote: On Fri, Aug 09 2013, Olof Johansson wrote: On Thu, Aug 8, 2013 at 5:16 PM, Doug Anderson diand...@google.com wrote: I guess my overall question is: if there are no

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-08-09 Thread Jens Axboe
On 08/09/2013 09:07 AM, Alexander Gordeev wrote: On Fri, Aug 09, 2013 at 08:24:38AM -0600, Jens Axboe wrote: On 08/09/2013 02:23 AM, Alexander Gordeev wrote: + ap-qc_tags = blk_mq_init_tags(ATA_MAX_QUEUE, 1, NUMA_NO_NODE); + if (!ap-qc_tags) { + kfree(ap); + return

[PATCH] radeon: Use Linux division macro in si_calculate_leakage_for_v_and_t_formula

2013-08-09 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com This fixes my 32bit build which failed with: drivers/built-in.o: In function `si_calculate_leakage_for_v_and_t_formula': /home/ak/lsrc/git/linux-2.6/drivers/gpu/drm/radeon/si_dpm.c:1770: undefined reference to `__divdi3' Cc: airl...@linux.ie Cc:

Re: [PATCH part2 0/4] acpi: Trivial fix and improving for memory hotplug.

2013-08-09 Thread Tejun Heo
On Fri, Aug 09, 2013 at 03:36:16PM +0200, Rafael J. Wysocki wrote: No, it doesn't. And this patch-set can be merged first. OK, so if nobody objects, I can take patches [1,3-4/4], but I don't think I'm the right maintainer to handle [2/4]. Given the dependencies, we'll probably need some

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-09 Thread Sören Brinkmann
On Fri, Aug 09, 2013 at 11:32:42AM +0100, Srinivas KANDAGATLA wrote: On 08/08/13 18:11, Sören Brinkmann wrote: Hi Daniel, On Thu, Aug 01, 2013 at 07:48:04PM +0200, Daniel Lezcano wrote: On 08/01/2013 07:43 PM, Sören Brinkmann wrote: On Thu, Aug 01, 2013 at 07:29:12PM +0200, Daniel

[PATCH] usb: musb: am335x: Do not remove the session bin HOST-only mode

2013-08-09 Thread Sebastian Andrzej Siewior
This is what I observe: On the first connect, the musb starts with DEVCTL.Session set. On disconnect, musb_core calls try_idle. That functions removes the Session bit signalize that the session is over (something that only in OTG is required). A new device, that is plugged, is no longer

RFC: Use single pass kallsyms

2013-08-09 Thread Andi Kleen
This is my attempt to avoid extra link steps for kallsyms. Originally for LTO (where it gives dramatic build time improvements), but it also gives a nice build speedup on a standard build (-10s on my laptop) Even with this we still link two times (one more for modpost), but this may be

[PATCH 3/3] kbuild: Use single pass kallsyms

2013-08-09 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com kallsyms currenly links the kernel upto three times (in addition to another one for modpost checks) Linking can be a quite slow operation, especially when the kernel has a lot of debug information (lots of IO), or Link Time Optimization is used. Final

[PATCH 2/3] Kbuild, kallsyms: Support padding in kallsyms tables

2013-08-09 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Add support for padding the variable length tables in kallsyms. This adds a new --pad=XXX option to kallsyms to specify the table lengths, and another option --pad-file=X to write the table lengths to a file. Then when a table is shorter than the padding add

[PATCH 1/3] kallsyms/kbuild: Remove relocations from kallsyms table

2013-08-09 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Remove the ELF relocations from the kallsyms_address[] table. Instead we just store offsets to _text and relocate that while accessing the kallsyms table. This is done with a new kallsyms_offsets[] table. With these changes .tmp_kallsyms*.o becomes relocation

Re: [PATCH v3 1/5] sata, highbank: fix ordering of SGPIO signals

2013-08-09 Thread Tejun Heo
On Wed, Aug 07, 2013 at 10:52:34AM -0500, Mark Langsdorf wrote: The ACTIVITY and ERROR signals were reversed in the original commit. Fix that so that hard drive activity does not show up on the error light, and attempts to indicate that the hard drive is failing do not show up as hard drive

Re: [PATCH v3 2/5] sata highbank: enable 64-bit DMA mask when using LPAE

2013-08-09 Thread Tejun Heo
On Wed, Aug 07, 2013 at 10:52:35AM -0500, Mark Langsdorf wrote: From: Rob Herring rob.herr...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Applied to libata/for-3.12. Thanks. -- tejun -- To unsubscribe from this

Re: [RFC 2/2] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2013-08-09 Thread Ivan T. Ivanov
Hi, On Fri, 2013-08-09 at 16:23 +0300, Felipe Balbi wrote: Hi, On Tue, Aug 06, 2013 at 02:53:11PM +0300, Ivan T. Ivanov wrote: diff --git a/drivers/usb/dwc3/dwc3-msm.c b/drivers/usb/dwc3/dwc3-msm.c new file mode 100644 index 000..e509abc --- /dev/null +++

Re: [PATCH v3 3/5] devicetree: create a separate binding description for sata_highbank

2013-08-09 Thread Tejun Heo
On Wed, Aug 07, 2013 at 10:52:36AM -0500, Mark Langsdorf wrote: The Calxeda sata_highbank driver has been adding its descriptions to the ahci driver. Separate them properly. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Acked-by: Rob Herring rob.herr...@calxeda.com Will wait for

Re: [PATCH v3 3/5] devicetree: create a separate binding description for sata_highbank

2013-08-09 Thread Tejun Heo
On Fri, Aug 09, 2013 at 12:10:15PM -0400, Tejun Heo wrote: Will wait for the update. I suppose this doesn't need to go in to for-3.11-fixes? I'd really appreciate what impact each patch has. ^ descriptions of -- tejun

Re: [PATCH v3 3/5] devicetree: create a separate binding description for sata_highbank

2013-08-09 Thread Mark Langsdorf
On 08/09/2013 11:10 AM, Tejun Heo wrote: On Wed, Aug 07, 2013 at 10:52:36AM -0500, Mark Langsdorf wrote: The Calxeda sata_highbank driver has been adding its descriptions to the ahci driver. Separate them properly. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Acked-by: Rob Herring

Re: [PATCH] kexec: Disable at runtime if the kernel enforces module signing

2013-08-09 Thread Matthew Garrett
On Fri, 2013-08-09 at 11:35 -0400, Vivek Goyal wrote: Also what about all the other patches you had for secureboot where you closed down all the paths where root could write to kernel memory. So if you want to protect sig_enforce boolean, then you need to close down all these paths

Re: [PATCH v4 1/2] workqueue: add new schedule_on_cpu_mask() API

2013-08-09 Thread Chris Metcalf
On 8/9/2013 11:02 AM, Tejun Heo wrote: Hello, Chris. On Wed, Aug 07, 2013 at 04:49:44PM -0400, Chris Metcalf wrote: This primitive allows scheduling work to run on a particular set of cpus described by a struct cpumask. This can be useful, for example, if you have a per-cpu variable that

Re: [PATCH v3 3/5] devicetree: create a separate binding description for sata_highbank

2013-08-09 Thread Tejun Heo
Hello, Mark. On Fri, Aug 9, 2013 at 12:12 PM, Mark Langsdorf mark.langsd...@calxeda.com wrote: I'll update the description when I resubmit it to give you more detail on the impact. Yes, please give me some hints on to which branch the patches are targeted and whether stable should be cc'd. I

[PATCH/RFC] coccinelle: replace 0/1 with false/true in functions returning bool

2013-08-09 Thread Rasmus Villemoes
This semantic patch replaces return {0,1}; with return {false,true}; in functions returning bool. There doesn't seem to be any false positives, but some whitespace mangling is happening, for example: diff -u -p a/block/blk-throttle.c b/block/blk-throttle.c --- a/block/blk-throttle.c +++

Re: [PATCH 35/35] cpufreq: tegra: use cpufreq_table_validate_and_show()

2013-08-09 Thread Stephen Warren
like this now attached too in case you want to test: I'd be happy to test, but those changes cause build failures on top of next-20130809. Which other patches do I need to apply first? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH/RFC] coccinelle: replace 0/1 with false/true in functions returning bool

2013-08-09 Thread Julia Lawall
On Fri, 9 Aug 2013, Rasmus Villemoes wrote: This semantic patch replaces return {0,1}; with return {false,true}; in functions returning bool. There doesn't seem to be any false positives, but some whitespace mangling is happening, for example: When you change the argument to return, you

Re: [PATCH RFC nohz_full 6/7] nohz_full: Add full-system-idle state machine

2013-08-09 Thread Frederic Weisbecker
On Fri, Jul 26, 2013 at 04:19:23PM -0700, Paul E. McKenney wrote: diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index 3edae39..ff84bed 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h @@ -28,7 +28,7 @@ #include linux/gfp.h #include linux/oom.h #include

Re: [rtc-linux] Re: [PATCH 2/2 RESEND] rtc: rtc-hid-sensor-time: enable HID input processing early

2013-08-09 Thread Alexander Holler
Am 09.08.2013 13:12, schrieb Jiri Kosina: On Fri, 9 Aug 2013, Alexander Holler wrote: = [ INFO: inconsistent lock state ] 3.10.5-dockstar-00038-g03242d1-dirty #408 Not tainted - inconsistent {HARDIRQ-ON-W} - {IN-HARDIRQ-W} usage.

RE: [PATCH] radeon: Use Linux division macro in si_calculate_leakage_for_v_and_t_formula

2013-08-09 Thread Deucher, Alexander
Fix is already merged: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=adfb8e51332153016857194b85309150ac560286 -Original Message- From: Andi Kleen [mailto:a...@firstfloor.org] Sent: Friday, August 09, 2013 11:58 AM To: linux-kernel@vger.kernel.org Cc: Andi

Re: [PATCH 1/2] KEYS: Implement a big key type that can save to tmpfs

2013-08-09 Thread Nico Williams
On Thu, Aug 8, 2013 at 9:46 AM, David Howells dhowe...@redhat.com wrote: Nico Williams n...@cryptonector.com wrote: b) how to create tmpfs locations in which to store credentials (which can be unbounded in size, so storing them in the kernel is silly; Ummm... tmpfs stores them in the kernel

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-08-09 Thread Oleg Nesterov
Sorry, I didn't read this series yet. Not that I think this needs my help, but I'll try to do this a later... On 08/09, Masami Hiramatsu wrote: I just concern using kmalloc() in the event handler. GFP_KERNEL should be fine for uprobe handler. However, iirc this conflicts with the patches from

[PATCH] regulator: da9210: Remove redundant MODULE_ALIAS

2013-08-09 Thread Axel Lin
The modalias is set by the MODULE_DEVICE_TABLE, thus remove redundant MODULE_ALIAS. Also Fix trivial typo for the author name. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/da9210-regulator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-08-09 Thread Oleg Nesterov
On 08/09, Oleg Nesterov wrote: Steven, Jovi, what should we do with that patch? It seems that it was forgotten. I can take these patches into my ubprobes branch I meant that patch from Jovi, sorry for confusion. Oleg. -- To unsubscribe from this list: send the line unsubscribe linux-kernel

<    4   5   6   7   8   9   10   11   12   >