[PATCH 11/11] hsi: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the hsi code to use the correct field. Cc: Andrew Morton Cc: Kees Cook Signed-off-by: Greg Kroah-Hartman --- drivers/hsi/hsi.c | 10 ++ 1 file changed, 6 insertions(+), 4 deleti

[PATCH TRIVIAL] net: correct typos in comments

2013-10-06 Thread ZHAO Gang
Signed-off-by: ZHAO Gang --- include/linux/netdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 3de49ac..0dd6de7 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -366,7 +366,7 @@ ty

[PATCH 06/11] bcma: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the bcma bus code to use the correct field. Cc: Rafał Miłecki Cc: Signed-off-by: Greg Kroah-Hartman --- Rafał, I can take this through my driver-core tree if you like, just let me know

[PATCH 09/11] ssb: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the ssb bus code to use the correct field. Cc: Michael Buesch Cc: Signed-off-by: Greg Kroah-Hartman --- Michael, I can take this through my driver-core tree if you like, just let me kno

[PATCH 08/11] rapidio: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the rapidio bus code to use the correct field. Cc: Matt Porter Cc: Alexandre Bounine Signed-off-by: Greg Kroah-Hartman --- Matt and Alexandre, I can take this through my driver-core tre

[PATCH 07/11] pcmcia: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the pcmcia bus code to use the correct field. Cc: Bill Pemberton Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/pcmcia/ds.c | 65 -

[PATCH 00/11] driver core bus cleanup to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
Here's a series to start cleaning up the different bus code to not use 'dev_attr' and instead, use 'dev_groups' as dev_attr will be removed soon. greg k-h --- drivers/bcma/main.c| 23 ++--- drivers/hsi/hsi.c | 10 ++- drivers/mmc/core/bus.

[PATCH 05/11] uwb: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the uwb bus code to use the correct field. Cc: Bruno Morelli Cc: Signed-off-by: Greg Kroah-Hartman --- drivers/uwb/umc-bus.c | 13 - 1 file changed, 8 insertions(+), 5 delet

[PATCH 01/11] pci: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the PCI bus code to use the correct field. Cc: Bjorn Helgaas Cc: Signed-off-by: Greg Kroah-Hartman --- Bjorn, I can take this through my driver-core tree if you like, just let me know w

Re: [RFC][PATCH 4/3] vfs: Allow rmdir to remove mounts in all but the current mount namespace

2013-10-06 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > Quoting Eric W. Biederman (ebied...@xmission.com): >> >> Programs have been known to test for empty directories by attempting >> to remove them. To keep from violating the principle of least >> surprise don't let directories the caller can see with someting >> mounte

[PATCH 03/11] PNP: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the PNP bus code to use the correct field. Cc: Rafael J. Wysocki Cc: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman --- Rafael, I can take this through my driver-core tree if you like,

[PATCH 02/11] mdio_bus: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the MDIO bus code to use the correct field. Cc: David S. Miller Cc: Mark Brown Cc: Nick Bowler Cc: Signed-off-by: Greg Kroah-Hartman --- David, I can take this through my driver-core

[PATCH 04/11] MMC: convert bus code to use dev_groups

2013-10-06 Thread Greg Kroah-Hartman
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the MMC bus code to use the correct field. Cc: Chris Ball Cc: Ulf Hansson Cc: Konstantin Dorfman Cc: Seungwon Jeon Cc: Signed-off-by: Greg Kroah-Hartman --- Chris, I can take this th

Re: [PATCH 1/2] hyperv-fb: add pci stub

2013-10-06 Thread Gerd Hoffmann
On Mi, 2013-10-02 at 14:29 +, KY Srinivasan wrote: > > > This patch adds a pci stub driver to hyper-fb. The hyperv framebuffer > > driver will bind to the pci device then, so linux kernel and userspace > > know there is a proper kernel driver for the device active. lspci shows > > this for e

[PATCH v2 3/3] Documentation regarding perf/sdt

2013-10-06 Thread Hemant Kumar
This patch adds documentation regarding perf support to SDT notes/markers. Signed-off-by: Hemant Kumar Shaw --- tools/perf/Documentation/perf-probe.txt | 15 ++- tools/perf/Documentation/sdt-probes.txt | 163 +++ 2 files changed, 176 insertions(+), 2 deletions(-)

[PATCH] perf timechart: remove lock_depth from trace_entry

2013-10-06 Thread Chia-I Wu
struct trace_entry went out-of-sync with the kernel since commit b000c8065 "tracing: Remove the extra 4 bytes of padding in events" causing "perf timechart" to be broken. Signed-off-by: Chia-I Wu --- tools/perf/builtin-timechart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/

Re: Use of drivers/platform and matching include?

2013-10-06 Thread Andi Shyti
Hi, > As we look at upstreaming more support for the Qualcomm MSM SoCs there are a > number of drivers or library like routines that are unique to the MSM > platform, we are thinking that putting them under: just a question, is this code the one you have already in codeaurora for 8974/8226/8626

[PATCH v2 2/3] Support for perf to probe into SDT markers:

2013-10-06 Thread Hemant Kumar
This allows perf to probe into the sdt markers/notes present in the libraries and executables. We try to find the associated location and handle prelinking (since, stapsdt notes section is not allocated during runtime). Prelinking is handled with the help of base section which is allocated during r

[PATCH v2 1/3] SDT markers listing by perf:

2013-10-06 Thread Hemant Kumar
This patch will enable perf to list all the sdt markers present in an elf file. The markers are present in the .note.stapsdt section of the elf. We can traverse through this section and collect the required info about the markers. We can use '-S/--markers' with perf to view the SDT notes. Currentl

[PATCH v2 0/3] Perf support to SDT markers

2013-10-06 Thread Hemant Kumar
This patchset helps in probing dtrace style markers(SDT) present in user space applications through perf. Notes/markes are placed at important places by the developers. They have a negligible overhead when not enabled. We can enable them and probe at these places and find some important information

[PATCH V4 1/9] perf tools: make a separate function to parse /proc/modules

2013-10-06 Thread Adrian Hunter
Make a separate function to parse /proc/modules so that it can be reused. Signed-off-by: Adrian Hunter --- tools/perf/util/machine.c | 67 +-- tools/perf/util/symbol.c | 58 tools/perf/util/symbol.h | 3 +++

[PATCH V4 4/9] perf tools: add map__find_other_map_symbol()

2013-10-06 Thread Adrian Hunter
Add a function to find a symbol using an ip that might be on a different map. Signed-off-by: Adrian Hunter --- tools/perf/util/map.c | 27 +++ tools/perf/util/map.h | 2 ++ 2 files changed, 29 insertions(+) diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c inde

[PATCH V4 2/9] perf tools: validate kcore module addresses

2013-10-06 Thread Adrian Hunter
Before using kcore we need to check that modules are in memory at the same addresses that they were when data was recorded. This is done because, while we could remap symbols to different addresses, the object code linkages would still be different which would provide an erroneous view of the obje

[PATCH V4 3/9] perf tools: workaround objdump difficulties with kcore

2013-10-06 Thread Adrian Hunter
objdump fails to annotate module symbols when looking at kcore. Workaround this by extracting object code from kcore and putting it in a temporary file for objdump to use instead. The temporary file is created to look like kcore but contains only the function being disassembled. Signed-off-by: A

[PATCH V4 9/9] perf tools: add ability to find kcore in build-id cache

2013-10-06 Thread Adrian Hunter
When no vmlinux is found, tools will use kallsyms and, if possible, kcore. Add the ability to find kcore in the build-id cache. Signed-off-by: Adrian Hunter --- tools/perf/util/symbol.c | 147 +-- 1 file changed, 103 insertions(+), 44 deletions(-) di

[PATCH V4 5/9] perf tools: fix annotate_browser__callq()

2013-10-06 Thread Adrian Hunter
When following a call, annotate_browser__callq() uses the current symbol's map to look up the target ip. That will not work if the target ip is on a map with a different mapping (i.e. start - pgoff is different). Signed-off-by: Adrian Hunter --- tools/perf/ui/browsers/annotate.c | 10 ++

[PATCH V4 8/9] perf buildid-cache: add ability to add kcore to the cache

2013-10-06 Thread Adrian Hunter
kcore can be used to view the running kernel object code. However, kcore changes as modules are loaded and unloaded, and when the kernel decides to modify its own code. Consequently it is useful to create a copy of kcore at a particular time. Unlike vmlinux, kcore is not unique for a given build-i

[PATCH V4 7/9] perf tools: add copyfile_mode()

2013-10-06 Thread Adrian Hunter
Add a function to copy a file specifying the permissions to use for the created file. Signed-off-by: Adrian Hunter --- tools/perf/util/util.c | 18 +- tools/perf/util/util.h | 1 + 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/tools/perf/util/util.c b/tools/per

[PATCH V4 6/9] perf tools: find kcore symbols on other maps

2013-10-06 Thread Adrian Hunter
Use the new map__find_other_map_symbol() to find kcore symbols on other maps. Signed-off-by: Adrian Hunter --- tools/perf/util/annotate.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 46746b8..6c

[PATCH V4 0/9] perf tools: kcore improvements

2013-10-06 Thread Adrian Hunter
Hi Here are some improvements for using kcore (version 4). There are 3 improvements: - validate that kcore matches the perf.data modules - workaround objdump difficulties with kcore - add kcore to the build-id cache Changes in V4: perf tools: fix path unpopulated

Re: [RFC,4/5] squashfs: support multiple decompress stream buffer

2013-10-06 Thread Minchan Kim
On Mon, Oct 07, 2013 at 03:09:51PM +0900, Minchan Kim wrote: > Hello Phillip, > > On Mon, Oct 07, 2013 at 04:41:20AM +0100, Phillip Lougher wrote: > > Hi, > > > > This a partial review, based on the stuff I've managed to review > > so far! > > > > 1. This is a substantial performance improvement

[BUG] Junk output from perf test

2013-10-06 Thread Ramkumar Ramachandra
Hi, `perf test` doesn't give me a clean run; it seems to be out-of-date. I spent many hours on tracing "parse events tests" with gdb, but preprocessor macros and other complexity make my job very difficult. I haven't determined where the warnings in #5 are coming from exactly, but it seems to be t

Re: [RFC][PATCH 2/3] vfs: Add a function to lazily unmount all mounts from any dentry.

2013-10-06 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > Quoting Eric W. Biederman (ebied...@xmission.com): >> >> Signed-off-by: Eric W. Biederman >> --- >> fs/mount.h |1 + >> fs/namespace.c | 24 >> 2 files changed, 25 insertions(+), 0 deletions(-) >> >> diff --git a/fs/mount.h b/fs/m

Re: [PATCH] [media] davinci: vpfe: remove deprecated IRQF_DISABLED

2013-10-06 Thread Prabhakar Lad
On Sun, Oct 6, 2013 at 11:53 AM, Michael Opdenacker wrote: > This patch proposes to remove the use of the IRQF_DISABLED flag > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker Acked-by: Lad, Prabhakar Regrads, --Prabhakar Lad -- To unsubscribe fr

Re: [RFC,4/5] squashfs: support multiple decompress stream buffer

2013-10-06 Thread Minchan Kim
Hello Phillip, On Mon, Oct 07, 2013 at 04:41:20AM +0100, Phillip Lougher wrote: > Hi, > > This a partial review, based on the stuff I've managed to review > so far! > > 1. This is a substantial performance improvement, which is great >stuff! Thanks. > >But like the "squashfs: remove c

Re: [RFC] [PATCH 00/19] Non disruptive application core dump infrastructure using task_work_add()

2013-10-06 Thread Suzuki K. Poulose
On 10/04/2013 07:14 PM, Andi Kleen wrote: > On Fri, Oct 04, 2013 at 04:00:12PM +0530, Janani Venkataraman wrote: >> Hi all, >> >> The following series implements an infrastructure for capturing the core of >> an >> application without disrupting its process. > > The problem is that gcore et.al.

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-06 Thread Bhushan Bharat-R65777
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, October 04, 2013 11:42 PM > To: Bhushan Bharat-R65777 > Cc: j...@8bytes.org; b...@kernel.crashing.org; ga...@kernel.crashing.org; > linux- > ker...@vger.kernel.org; linuxppc-...@lists.ozlabs.

Re: BUG: sleeping function called from invalid context at mm/slab.c:3060

2013-10-06 Thread Fengguang Wu
On Sun, Oct 06, 2013 at 09:41:21AM +0100, Russell King - ARM Linux wrote: > On Sun, Oct 06, 2013 at 03:58:11PM +0800, Fengguang Wu wrote: > > Greetings, > > > > I got the below dmesg and the first bad commit is > > > > commit c817a67ecba7c3c2aaa104796d78f160af60920d > > Author: Russell King > >

Re: [PATCH] kernel/futex.c: notice the return value after rt_mutex_finish_proxy_lock() fails

2013-10-06 Thread Chen Gang
After read the code again, I have addtional opinion for discussing, please check thanks. The related contents are at bottom. On 09/13/2013 09:52 AM, Chen Gang wrote: > On 09/13/2013 07:36 AM, Thomas Gleixner wrote: >> That crusade does not involve any failure analysis or test cases. It's >> just

Re: [xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC

2013-10-06 Thread Fengguang Wu
On Mon, Oct 07, 2013 at 10:11:18AM +0800, Fengguang Wu wrote: > On Sun, Oct 06, 2013 at 10:26:24AM -0700, Linus Torvalds wrote: > > On Sun, Oct 6, 2013 at 1:23 AM, Fengguang Wu wrote: > > > > > > I got the below dmesg and the first bad commit is commit cf39c8e5352b: > > > Merge tag 'stable/for

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-10-06 Thread Ethan Zhao
Got it. On Mon, Oct 7, 2013 at 12:41 PM, Mike Galbraith wrote: > On Fri, 2013-10-04 at 20:06 +0800, Ethan Zhao wrote: >> Mike, Peter, >>Seems lots of work has been done these days, studious guys. those >> patches merged in last stable/dev branch (fix performance regression >> caused by extra

Re: [RFC] ARM: kernel: irq: Simplify allocation of stack frame

2013-10-06 Thread Joel Fernandes
On 10/06/2013 05:41 PM, Russell King - ARM Linux wrote: > On Sun, Oct 06, 2013 at 05:30:47PM -0500, Joel Fernandes wrote: >> On receiving IRQ exception in SVC mode, all the SVC mode registers are saved >> onto the stack very early on. >> >> The stack frame allocation code for IRQ entry during SVC m

[PATCH] fs: btrfs: suppress compilation warnings

2013-10-06 Thread Chris Yungmann
This patch suppresses the following compilation warnings (mostly unused variables): fs/btrfs/backref.c: In function 'iterate_inode_extrefs': fs/btrfs/backref.c:1652:6: warning: variable 'slot' set but not used [-Wunused-but-set-variable] int slot; ^ fs/btrfs/ctree.c: In function 'btrfs_s

Re: [PATCH v6] clk: add MOXA ART SoCs clock driver

2013-10-06 Thread Mike Turquette
Quoting Jonas Jensen (2013-07-29 02:44:22) > This patch adds MOXA ART SoCs clock driver support. > > Signed-off-by: Jonas Jensen I've taken this patch into clk-next. Thanks for the rework. Is it possible for parent clocks of these moxa core clocks to change rate? It might make sense for your dr

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-10-06 Thread Mike Galbraith
On Fri, 2013-10-04 at 20:06 +0800, Ethan Zhao wrote: > Mike, Peter, >Seems lots of work has been done these days, studious guys. those > patches merged in last stable/dev branch (fix performance regression > caused by extra rtimer programming and rescheduling IPI,confusing > idle... etc) ? So

Re: [RFC][PATCH 4/3] vfs: Allow rmdir to remove mounts in all but the current mount namespace

2013-10-06 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > Programs have been known to test for empty directories by attempting > to remove them. To keep from violating the principle of least > surprise don't let directories the caller can see with someting > mounted on them be deleted. Do you think

Re: [RFC][PATCH 2/3] vfs: Add a function to lazily unmount all mounts from any dentry.

2013-10-06 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > Signed-off-by: Eric W. Biederman > --- > fs/mount.h |1 + > fs/namespace.c | 24 > 2 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/fs/mount.h b/fs/mount.h > index e4342b8dfab1..7a6a2bb3f

Re: [PATCH -tip V2] [BUGFIX] perf probe: Fix to find line information for probe list

2013-10-06 Thread Masami Hiramatsu
Ping? :) (2013/09/30 18:21), Masami Hiramatsu wrote: > Fix to find the correct (as much as possible) line information > for listing probes. Without this fix, perf probe --list action > will show incorrect line information as below; > > # perf probe getname_flags > # perf probe -l > probe:getnam

re: [RFC,4/5] squashfs: support multiple decompress stream buffer

2013-10-06 Thread Phillip Lougher
Hi, This a partial review, based on the stuff I've managed to review so far! 1. This is a substantial performance improvement, which is great stuff! But like the "squashfs: remove cache for normal data page" patch it needs to be optional, with the previous behaviour retained as defa

Re: Mount failure due to restricted access to a point along the mount path

2013-10-06 Thread Shirish Pargaonkar
So instead of breaking superblock sharing and fscache functionality with 2), it may be better off to explore 1). Will spend some time doing so. Regards, Shirish On Fri, May 10, 2013 at 9:27 AM, Jeff Layton wrote: > On Fri, 10 May 2013 16:13:30 +0200 > Miklos Szeredi wrote: > >> Hi, >> >> A wh

Re: [PATCH] memstick: Fix memory leak in memstick_check() error path

2013-10-06 Thread Larry Finger
On 10/06/2013 08:57 PM, Alex Dubov wrote: Hi, In the good old times, when this driver was first written, device name used to be a fixed size array (of 32 chars, if I'm not mistaken) in the kobj struct, so there was no need to free it explicitly. Since than, somebody changed the name field to

Re: mmap for /proc/vmcore broken since 3.12-rc1

2013-10-06 Thread HATAYAMA Daisuke
(2013/10/03 15:12), HATAYAMA Daisuke wrote: (2013/10/02 21:03), Michael Holzheu wrote: Hello Alexey, Looks like the following commit broke mmap for /proc/vmcore: commit c4fe24485729fc2cbff324c111e67a1cc2f9adea Author: Alexey Dobriyan Date: Tue Aug 20 22:17:24 2013 +0300 sparc: fix PCI

Re: [f2fs-dev][PATCH]f2fs: avoid congestion_wait when do_checkpoint for better performance

2013-10-06 Thread Jaegeuk Kim
Hi, Please do checkpatch.pl before sending a patch. Thanks, 2013-09-30 (월), 18:28 +0800, yuan zhong: > Previously, do_checkpoint() will call congestion_wait() for waiting the > pages (previous submitted node/meta/data pages) to be written back. > Because congestion_wait() will set a regular per

Re: [PATCH v2] usb: g_ffs: fix compilation warning

2013-10-06 Thread David Cohen
Hi Sergei, (replying from my personal e-mail) On Sun, Oct 6, 2013 at 3:02 PM, Sergei Shtylyov wrote: > > Hello. > > On 05-10-2013 0:30, David Cohen wrote: > >> If USB_FUNCTIONFS is selected without USB_FUNCTIONFS_ETH and >> USB_FUNCTIONFS_RNIS, u_ether.h won't be included and then >> USB_ETHERNE

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Felipe Contreras
On Sun, Oct 6, 2013 at 8:54 PM, Theodore Ts'o wrote: > On Mon, Oct 07, 2013 at 02:27:04AM +0100, Matthew Garrett wrote: >> > > Having a per-entry comment is significantly clearer. >> > >> > That is your opinion, it's not a demonstrable fact. >> >> Say one of the machines turns out to need the quir

Re: [PATCH 1/1] clk/zynq: Fix possible memory leak

2013-10-06 Thread Baruch Siach
Hi Felipe, On Sun, Oct 06, 2013 at 09:55:17PM -0300, Felipe Pena wrote: > The zynq_clk_register_fclk function can leak memory (fclk_lock) when unable > to alloc memory for fclk_gate_lock > > Signed-off-by: Felipe Pena > --- > drivers/clk/zynq/clkc.c |1 + > 1 file changed, 1 insertion(+) >

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Felipe Contreras
On Sun, Oct 6, 2013 at 8:27 PM, Matthew Garrett wrote: > On Sun, Oct 06, 2013 at 08:01:34PM -0500, Felipe Contreras wrote: >> On Sun, Oct 6, 2013 at 7:53 PM, Matthew Garrett wrote: >> > No, it demonstrably doesn't. The comments that do exist refer to only a >> > subset of the entries underneath t

Re: [xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC

2013-10-06 Thread Fengguang Wu
On Sun, Oct 06, 2013 at 10:26:24AM -0700, Linus Torvalds wrote: > On Sun, Oct 6, 2013 at 1:23 AM, Fengguang Wu wrote: > > > > I got the below dmesg and the first bad commit is commit cf39c8e5352b: > > Merge tag 'stable/for-linus-3.12-rc0-tag' of > > git://git.kernel.org/pub/scm/linux/kernel/g

[PATCH] acpi: add missing win8 OSI comment to blacklist

2013-10-06 Thread Felipe Contreras
In my original patch[1] I wrote a comment describing the reason for disabling Windows 2012 OSI mode for a group of machines, however, due to unknown reasons (probably a conflict resolution mismatch), the comment was dropped in 94fb982 (ACPI: blacklist win8 OSI for buggy laptops). Since Matthew Gar

Re: [PATCH] Fix the upper MTU limit in ipv6 GRE tunnel

2013-10-06 Thread Hannes Frederic Sowa
On Sun, Oct 06, 2013 at 08:18:15PM +0100, Oussama Ghorbel wrote: > Yes, to summarize, the idea of this patch was to fix the incoherence > in the condition of ip6gre_tunnel_change_mtu function > > if (new_mtu < 68 || >new_mtu > 0xFFF8 - dev->hard_header_len - tunnel->hlen) > > From the ip6gr

Re: [PATCH 6/7] x86, kaslr: report kernel offset on panic

2013-10-06 Thread HATAYAMA Daisuke
(2013/10/03 22:47), Dave Anderson wrote: - Original Message - (2013/10/02 18:13), HATAYAMA Daisuke wrote: (2013/10/02 16:48), Kees Cook wrote: + + return 0; +} + +/* * Determine if we were loaded by an EFI loader. If so, then we have also been * passed the efi memma

[PATCH v10 15/20] iommu/exynos: remove calls to Runtime PM API functions

2013-10-06 Thread Cho KyongHo
Runtime power management by exynos-iommu driver independently from master H/W's runtime pm is not useful for power saving since attaching master H/W in probing time turns on its local power endlessly. Thus this removes runtime pm API calls. Runtime PM support is added in the following commits to ex

[PATCH v10 20/20] iommu/exynos: add devices attached to the System MMU to an IOMMU group

2013-10-06 Thread Cho KyongHo
Patch written by Antonios Motakis : IOMMU groups are expected by certain users of the IOMMU API, e.g. VFIO. Since each device is behind its own System MMU, we can allocate a new IOMMU group for each device. Reviewd-by: Cho KyongHo Signed-off-by: Antonios Motakis --- drivers/iommu/exynos-iommu.

[PATCH v10 19/20] iommu/exynos: return 0 if iommu_attach_device() successes

2013-10-06 Thread Cho KyongHo
iommu_attach_device() against exynos-iommu positive integer on success if the caller calls iommu_attach_device() with the same iommu_domain multiple times without call to iommu_detach_device() to inform the caller how many calls to iommu_detach_device() to really detach iommu. However the conventi

[PATCH v10 17/20] iommu/exynos: add support for power management subsystems.

2013-10-06 Thread Cho KyongHo
This adds support for Suspend to RAM and Runtime Power Management. Since System MMU is located in the same local power domain of its master H/W, System MMU must be initialized before it is working if its power domain was ever turned off. TLB invalidation according to unmapping on page tables must

[PATCH v10 16/20] iommu/exynos: turn on useful configuration options

2013-10-06 Thread Cho KyongHo
This turns on ACGEN and SYSSEL. ACGEN is architectural clock gating that gates clocks by System MMU itself if it is not active. Note that ACGEN is different from clock gating by the CPU. ACGEN just gates clocks to the internal logic of System MMU while clock gating by the CPU gates clocks to the S

[PATCH v10 18/20] iommu/exynos: change rwlock to spinlock

2013-10-06 Thread Cho KyongHo
Since acquiring read_lock is not more frequent than write_lock, it is not beneficial to use rwlock, this commit changes rwlock to spinlock. Reviewed-by: Grant Grundler Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 35 ++- 1 files changed, 18 ins

Re: [PATCH] memstick: Fix memory leak in memstick_check() error path

2013-10-06 Thread Alex Dubov
Hi, In the good old times, when this driver was first written, device name used to be a fixed size array (of 32 chars, if I'm not mistaken) in the kobj struct, so there was no need to free it explicitly. Since than, somebody changed the name field to become a loose pointer, but it's not obviou

[PATCH v10 12/20] iommu/exynos: support for device tree

2013-10-06 Thread Cho KyongHo
This commit adds device tree support for System MMU. This also include the following changes and enhancements: * use managed device helper functions. Simplyfies System MMU device driver. Signed-off-by: Cho KyongHo --- drivers/iommu/Kconfig|5 ++--- drivers/iommu/exynos-iommu.c | 2

[PATCH v10 14/20] iommu/exynos: remove custom fault handler

2013-10-06 Thread Cho KyongHo
This commit removes custom fault handler. The device drivers that need to register fault handler can register with iommu_set_fault_handler(). CC: Grant Grundler Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 80 - 1 files changed, 24 inse

[PATCH v10 11/20] ARM: dts: Add description of System MMU of Exynos SoCs

2013-10-06 Thread Cho KyongHo
This patch adds dts entries for the System MMU devices found on Exynos4 and Exynos5 SoC series and the System MMU binding documentation. CC: Sylwester Nawrocki Signed-off-by: Cho KyongHo --- .../bindings/iommu/samsung,exynos4210-sysmmu.txt | 76 + arch/arm/boot/dts/exynos4.dtsi

[PATCH v10 10/20] clk: exynos: add gate clock descriptions of System MMU

2013-10-06 Thread Cho KyongHo
This adds gate clocks of all System MMUs and their master IPs that are not apeared in clk-exynos5250.c and clk-exynos5420.c Also fixes GATE_IP_ACP to 0x18800 and changed GATE_DA to GATE for System MMU clocks in clk-exynos4.c Signed-off-by: Cho KyongHo --- .../devicetree/bindings/clock/exynos5250

[PATCH v10 13/20] iommu/exynos: gating clocks of master H/W

2013-10-06 Thread Cho KyongHo
This patch gates clocks of master H/W as well as clocks of System MMU if master clocks are specified. Some Exynos SoCs (i.e. GScalers in Exynos5250) have dependencies in the gating clocks of master H/W and its System MMU. If a H/W is the case, accessing control registers of System MMU is prohibite

[PATCH v10 09/20] iommu/exynos: use managed device helper functions

2013-10-06 Thread Cho KyongHo
This patch uses managed device helper functions in the probe(). Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 64 - 1 files changed, 25 insertions(+), 39 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu

[PATCH v10 06/20] iommu/exynos: always enable runtime PM

2013-10-06 Thread Cho KyongHo
Checking if the probing device has a parent device was just to discover if the probing device is involved in a power domain when the power domain controlled by Samsung's custom implementation. Since generic IO power domain is applied, it is required to remove the condition to see if the probing dev

[PATCH v10 08/20] iommu/exynos: remove dbgname from drvdata of a System MMU

2013-10-06 Thread Cho KyongHo
This patch removes dbgname member from sysmmu_drvdata structure. Kernel message for debugging already has the name of a single System MMU node. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 34 +- 1 files changed, 13 insertions(+), 21 deletions(-

[PATCH v10 05/20] iommu/exynos: allocate lv2 page table from own slab

2013-10-06 Thread Cho KyongHo
Since kmalloc() does not guarantee that the allignment of 1KiB when it allocates 1KiB, it is required to allocate lv2 page table from own slab that guarantees alignment of 1KiB Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 34 -- 1 files changed,

[PATCH v10 04/20] iommu/exynos: fix L2TLB invalidation

2013-10-06 Thread Cho KyongHo
L2TLB is 8-way set-associative TLB with 512 entries. The number of sets is 64. A single 4KB(small page) translation information is cached only to a set whose index is the same with the lower 6 bits of the page frame number. A single 64KB(large page) translation information can be cached to any 16 s

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Theodore Ts'o
On Mon, Oct 07, 2013 at 02:27:04AM +0100, Matthew Garrett wrote: > > > Having a per-entry comment is significantly clearer. > > > > That is your opinion, it's not a demonstrable fact. > > Say one of the machines turns out to need the quirk for two different > reasons. How do we document that? Lo

[PATCH v10 07/20] iommu/exynos: always use a single clock descriptor

2013-10-06 Thread Cho KyongHo
System MMU driver is changed to control only a single instance of System MMU at a time. Since a single instance of System MMU has only a single clock descriptor for its clock gating, there is no need to obtain two or more clock descriptors. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iom

[PATCH v10 03/20] iommu/exynos: change error handling when page table update is failed

2013-10-06 Thread Cho KyongHo
This patch changes not to panic on any error when updating page table. Instead prints error messages with callstack. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 58 +++-- 1 files changed, 44 insertions(+), 14 deletions(-) diff --git a/driv

[PATCH v10 02/20] iommu/exynos: add missing cache flush for removed page table entries

2013-10-06 Thread Cho KyongHo
This commit adds cache flush for removed small and large page entries in exynos_iommu_unmap(). Missing cache flush of removed page table entries can cause missing page fault interrupt when a master IP accesses an unmapped area. Reviewed-by: Tomasz Figa Tested-by: Grant Grundler Signed-off-by: Ch

[PATCH v10 01/20] iommu/exynos: do not include removed header

2013-10-06 Thread Cho KyongHo
Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header without removing remaining use of it from exynos-iommu driver, thus causing a compilation error. This patch fixes the error by removing respective include line from

[PATCH v10 00/20] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-10-06 Thread Cho KyongHo
The current exynos-iommu(System MMU) driver does not work autonomously since it is lack of support for power management of peripheral blocks. For example, MFC device driver must ensure that its System MMU is disabled before MFC block is power-down not to invalidate IOTLB in the System MMU when I/O

Re: [RFC] Input: introduce ABS_MAX2/CNT2 and friends

2013-10-06 Thread Peter Hutterer
On Sun, Oct 06, 2013 at 05:04:36PM -0700, Dmitry Torokhov wrote: > Peter Hutterer wrote: > >On Sun, Oct 06, 2013 at 12:47:00AM -0700, Dmitry Torokhov wrote: > >> On Fri, Oct 04, 2013 at 09:32:23AM +1000, Peter Hutterer wrote: > >> > On Thu, Oct 03, 2013 at 12:10:36AM +0200, David Herrmann wrote: >

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Matthew Garrett
On Sun, Oct 06, 2013 at 08:01:34PM -0500, Felipe Contreras wrote: > On Sun, Oct 6, 2013 at 7:53 PM, Matthew Garrett wrote: > > No, it demonstrably doesn't. The comments that do exist refer to only a > > subset of the entries underneath them. > > That's not true. > > /* > * BIOS invocation of _OS

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Felipe Contreras
On Sun, Oct 6, 2013 at 7:53 PM, Matthew Garrett wrote: > On Sun, Oct 06, 2013 at 07:50:18PM -0500, Felipe Contreras wrote: >> On Sun, Oct 6, 2013 at 7:32 PM, Matthew Garrett wrote: >> > I don't get the final >> > say in whether or not this patch gets merged, but there's a decent >> > chance that

[PATCH 1/1] clk/zynq: Fix possible memory leak

2013-10-06 Thread Felipe Pena
The zynq_clk_register_fclk function can leak memory (fclk_lock) when unable to alloc memory for fclk_gate_lock Signed-off-by: Felipe Pena --- drivers/clk/zynq/clkc.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/zynq/clkc.c b/drivers/clk/zynq/clkc.c index cc40fe6..7ea4b5c 1

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Matthew Garrett
On Sun, Oct 06, 2013 at 07:50:18PM -0500, Felipe Contreras wrote: > On Sun, Oct 6, 2013 at 7:32 PM, Matthew Garrett wrote: > > I don't get the final > > say in whether or not this patch gets merged, but there's a decent > > chance that I'm going to be the one who has to remove the entries again >

Re: [RFC,3/5] squashfs: remove cache for normal data page

2013-10-06 Thread Minchan Kim
On Fri, Oct 04, 2013 at 07:13:31AM +0100, Phillip Lougher wrote: > Minchan Kim wrote: > >Sqsuashfs have used cache for normal data pages but it's pointless > >because MM already has cache layer and squashfs adds extra pages > >into MM's page cache when it reads a page from compressed block. > > >

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Felipe Contreras
On Sun, Oct 6, 2013 at 7:32 PM, Matthew Garrett wrote: > On Sun, Oct 06, 2013 at 07:27:48PM -0500, Felipe Contreras wrote: > >> If _you_ want to add comments for each entry in the list you can do so >> after this patch is applied. > > If you want to participate in a collaborative development effor

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Matthew Garrett
On Sun, Oct 06, 2013 at 07:27:48PM -0500, Felipe Contreras wrote: > If _you_ want to add comments for each entry in the list you can do so > after this patch is applied. If you want to participate in a collaborative development effort you should pay attention to other people's concerns. I don't

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Felipe Contreras
On Sun, Oct 6, 2013 at 6:57 PM, Matthew Garrett wrote: > On Sun, Oct 06, 2013 at 06:36:57PM -0500, Felipe Contreras wrote: >> On Sun, Oct 6, 2013 at 6:31 PM, Matthew Garrett wrote: >> > On Sun, Oct 06, 2013 at 06:27:28PM -0500, Felipe Contreras wrote: >> >> From acpi_osi_dmi_table: >> >> >> >> /*

Re: [PATCH 16/22] dm: Refactor for new bio cloning/splitting

2013-10-06 Thread Mike Snitzer
On Fri, Oct 04 2013 at 1:07pm -0400, Mike Snitzer wrote: > With your latest fix I was able to create a thin device and format with > XFS. Unfortunately, when I tried to run the thinp-test-suite the very > first BasicTests test (test_dd_benchmark) fails -- need to look closer > but it would see

[PATCH 2/2] sysrq: Allow magic SysRq key functions to be disabled through Kconfig

2013-10-06 Thread Ben Hutchings
Turn the initial value of sysctl kernel.sysrq (SYSRQ_DEFAULT_ENABLE) into a Kconfig variable. Original version by Bastian Blank . Signed-off-by: Ben Hutchings --- v2: - Added cross-references between sysrq.txt and Kconfig help (and added the hex values with a preparatory patch) - Removed the r

Re: [RFC] Input: introduce ABS_MAX2/CNT2 and friends

2013-10-06 Thread Dmitry Torokhov
Peter Hutterer wrote: >On Sun, Oct 06, 2013 at 12:47:00AM -0700, Dmitry Torokhov wrote: >> On Fri, Oct 04, 2013 at 09:32:23AM +1000, Peter Hutterer wrote: >> > On Thu, Oct 03, 2013 at 12:10:36AM +0200, David Herrmann wrote: >> > > As we painfully noticed during the 3.12 merge-window our >> > > EVI

Re: [PATCH] memstick: Fix memory leak in memstick_check() error path

2013-10-06 Thread Larry Finger
On 10/04/2013 03:54 AM, Catalin Marinas wrote: On 3 October 2013 22:13, Larry Finger wrote: diff --git a/drivers/memstick/core/memstick.c b/drivers/memstick/core/memstick.c index ffcb10a..0c73a45 100644 --- a/drivers/memstick/core/memstick.c +++ b/drivers/memstick/core/memstick.c @@ -415,6 +415

Re: cifs: Fix inability to write files >2GB to SMB2/3 shares (THIS TIME I GOT IT RIGHT, PROMISE!)

2013-10-06 Thread Steve French
Looks good. Will plan to merge into cifs-2..6.git soon. Probably should also go to stable kernels On Sun, Oct 6, 2013 at 2:08 PM, Jan Klos wrote: > When connecting to SMB2/3 shares, maximum file size is set to non-LFS maximum > in superblock. This is due to cap_large_files bit being different

Re: [PATCH] acpi: update win8 OSI blacklist

2013-10-06 Thread Matthew Garrett
On Sun, Oct 06, 2013 at 06:36:57PM -0500, Felipe Contreras wrote: > On Sun, Oct 6, 2013 at 6:31 PM, Matthew Garrett wrote: > > On Sun, Oct 06, 2013 at 06:27:28PM -0500, Felipe Contreras wrote: > >> From acpi_osi_dmi_table: > >> > >> /* > >> * BIOS invocation of _OSI(Linux) is almost always a BIOS

[PATCH 1/2] sysrq: Document hexadecimal values for kernel.sysrq bitmask

2013-10-06 Thread Ben Hutchings
It makes more sense to enter a bitmask in hexadecimal rather than decimal. Sadly we can't make it read back as hexadecimal. Signed-off-by: Ben Hutchings --- Documentation/sysrq.txt | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Documentation/sysrq.txt b

  1   2   3   >