Re: [PATCH 02/16] f2fs: add on-disk layout

2012-10-06 Thread Stefan Hajnoczi
> +/* > + * For superblock > + */ > +struct f2fs_super_block { > + __le32 magic; /* Magic Number */ > + __le16 major_ver; /* Major Version */ > + __le16 minor_ver; /* Minor Version */ > + __le32 log_sectorsize; /* log2 (Sector size in bytes) */ > + __le32

Re: AW: [REGRESSION] Kernel 3.6 drops network packets instead of forwarding

2012-10-06 Thread Eric Dumazet
On Sat, 2012-10-06 at 17:52 +, Chini, Georg (HP App Services) wrote: > Hello, > > > Looks like the bug fixed by : > > > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f4ef85bbda96324785097356336bc79cdd37db0a > > > > (David Miller will send it to stable team sho

Re:

2012-10-06 Thread Geert Uytterhoeven
On Sun, Oct 7, 2012 at 1:15 AM, David Howells wrote: > (3) m68k turned out to have a header installation problem due to it lacking a > kvm_para.h file. Sh also. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k

Re: PROBLEM: It seems that /usr/bin/time program reports a wrong value for MaxRSS.

2012-10-06 Thread Kamran Amini
On Sun, Oct 7, 2012 at 1:18 AM, Hugh Dickins wrote: > On Thu, 4 Oct 2012, Kamran Amini wrote: >> >> It seems that /usr/bin/time program reports a wrong value for MaxRSS. >> The report shows MaxRSS, about 4 times the >> actual allocated memory by a process and its children. MaxRSS (Maximum >> Resid

Re: [ 110/180] ext4: dont let i_reserved_meta_blocks go negative

2012-10-06 Thread Willy Tarreau
On Sun, Oct 07, 2012 at 02:47:22AM +0100, Ben Hutchings wrote: (...) > > > This seems to be working around a bug elsewhere. Has the underlying > > > bug been fixed in mainline yet? > > > > > > > Yes, the bug was fixed in: > > > > 03179fe92318e7934c180d96f12eff2cb36ef7b6 > > ext4: undo ext4_calc

Re: [PATCH 01/16] f2fs: add document

2012-10-06 Thread Stefan Hajnoczi
On Sat, Oct 6, 2012 at 9:40 PM, Jaegeuk Kim wrote: > 2012-10-06 (토), 09:19 +0200, Stefan Hajnoczi: >> > This adds a document describing the mount options, proc entries, usage, and >> > design of Flash-Friendly File System, namely F2FS. >> > >> > Signed-off-by: Jaegeuk Kim samsung.com> >> > --- >>

[PATCH v4 -tip 3/3] AHCI: Support multiple MSIs

2012-10-06 Thread Alexander Gordeev
Take advantage of multiple MSIs implementation on x86 - on systems with IRQ remapping AHCI ports not only get assigned separate MSI vectors - but also separate IRQs. As result, interrupts generated by different ports could be serviced on different CPUs rather than on a single one. In cases when nu

[PATCH v4 -tip 2/3] PCI, MSI: Enable multiple MSIs with pci_enable_msi_block_auto()

2012-10-06 Thread Alexander Gordeev
The new function pci_enable_msi_block_auto() tries to allocate maximum possible number of MSIs up to the number the device supports. It generalizes a pattern when pci_enable_msi_block() is contiguously called until it succeeds or fails. Opposite to pci_enable_msi_block() which takes the number of

[PATCH v4 -tip 1/3] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-10-06 Thread Alexander Gordeev
The MSI specification has several constraints in comparison with MSI-X, most notable of them is the inability to configure MSIs independently. As a result, it is impossible to dispatch interrupts from different queues to different CPUs. This is largely devalues the support of multiple MSIs in SMP s

[PATCH v4 -tip 0/3] x86, MSI, AHCI: Support multiple MSIs

2012-10-06 Thread Alexander Gordeev
Hello, Compared to v3: Based on Ingo's review: I have not noticed that v3 2/5 patch "x86, MSI: Allocate as many multiple IRQs as requested" is redundant, since the AHCI code tries to allocate maximum possible number of MSIs. As there are no other users of

Re: [PATCH] pwm: Get rid of HAVE_PWM

2012-10-06 Thread Shawn Guo
On Thu, Oct 04, 2012 at 08:06:59AM +0200, Thierry Reding wrote: > Now that all drivers have been moved to the PWM subsystem, remove the > legacy HAVE_PWM symbol and replace it with the new PWM symbol. While at > it, select the PWM subsystem and corresponding PWM driver on boards that > require PWM

Re: [PATCH] vlan: don't deliver frames for unknown vlans to protocols

2012-10-06 Thread David Miller
From: Florian Zumbiehl Date: Thu, 4 Oct 2012 18:50:20 +0200 > 6a32e4f9dd9219261f8856f817e6655114cfec2f made the vlan code skip marking > vlan-tagged frames for not locally configured vlans as PACKET_OTHERHOST if > there was an rx_handler, as the rx_handler could cause the frame to be > received

Re: [PATCH 09/17] ARM: imx: select ARM_CPU_SUSPEND if necessary

2012-10-06 Thread Shawn Guo
Isn't the following the approach we agreed on? http://thread.gmane.org/gmane.linux.ports.arm.kernel/183222/focus=1348538 Shawn On Tue, Oct 02, 2012 at 06:36:48PM +0200, Arnd Bergmann wrote: > As tests using 'make randconfig' showed, imx5 requires the same logic > as imx6 to select ARM_CPU_SUSPEN

[GIT PULL] ACPI & Power Management patches for Linux-3.7-merge

2012-10-06 Thread Len Brown
Hi Linus, Please pull these ACPI & Power Management patches. acpidump utility added intel_idle driver now supports IVB Xeon turbostat utility can now count SMIs ACPI can now bind to USB3 hubs misc fixes You will see two minor merge conflicts; acpixf.h and usb-acpi.c. Note that the conflict resol

Re: [PATCH] pwm: dt: Fix description of second PWM cell

2012-10-06 Thread Shawn Guo
On Mon, Oct 01, 2012 at 08:47:33AM +0200, Thierry Reding wrote: > The second cell in the PWM specifier denotes the period in nanoseconds, > not the duty cycle. The latter can be freely configured at runtime and > a PWM with a fixed duty cycle would be rather pointless. > > Signed-off-by: Thierry R

Deadlock on poweroff

2012-10-06 Thread Kirill A. Shutemov
Hi Paul and all, With commit 755609a9087fa983f567dc5452b2fa7b089b591f I've got deadlock on poweroff. It guess it happens because of race for cpu_hotplug.lock: CPU A CPU B disable_nonboot_cpus() _cpu_down() cpu_hotplug_begin() mutex_lock(&cpu_hotplug.loc

[PATCH 45/49] intel_idle: enable IVB Xeon support

2012-10-06 Thread Len Brown
From: Len Brown IVB Xeon currently shares the same parameters IVB client. Signed-off-by: Len Brown --- drivers/idle/intel_idle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index e872617..b0f6b4c 100644 --- a/drivers/idle/intel_idle

[PATCH 49/49] ACPI: Add new sysfs interface to export device description

2012-10-06 Thread Len Brown
From: Lance Ortiz Add support to export the device description obtained from the ACPI _STR method, if one exists for a device, to user-space via a sysfs interface. This new interface provides a standard and platform neutral way for users to obtain the description text stored in the ACPI _STR meth

[PATCH 48/49] ACPI: Harden acpi_table_parse_entries() against BIOS bug

2012-10-06 Thread Len Brown
From: Fenghua Yu Parsing acpi table entries may fall into an infinite loop on a buggy BIOS which has entry length=0 in acpi table. Instead of kernel hang with few failure clue which leads to heavy lifting debug effort, this patch hardens kernel boot by booting into non NUMA mode. The debug info

[PATCH 47/49] tools/power/turbostat: add option to count SMIs, re-name some options

2012-10-06 Thread Len Brown
From: Len Brown Counting SMIs is popular, so add a dedicated "-s" option to do it, and juggle some of the other option letters. -S is now system summary (was -s) -c is 32 bit counter (was -d) -C is 64-bit counter (was -D) -p is 1st thread in core (was -c) -P is 1st thread in package (was -p) bu

[PATCH 46/49] tools/power turbostat: add [-d MSR#][-D MSR#] options to print counter deltas

2012-10-06 Thread Len Brown
From: Len Brown # turbostat -d 0x34 is useful for printing the number of SMI's within an interval on Nehalem and newer processors. where # turbostat -m 0x34 will simply print out the total SMI count since reset. Suggested-by: Andi Kleen Signed-off-by: Len Brown --- tools/power/x86/turbostat

[PATCH 44/49] tools/power turbostat: add [-m MSR#] option

2012-10-06 Thread Len Brown
From: Len Brown -m MSR# prints the specified MSR in 32-bit format -M MSR# prints the specified MSR in 64-bit format Signed-off-by: Len Brown --- tools/power/x86/turbostat/turbostat.8 | 14 +++- tools/power/x86/turbostat/turbostat.c | 68 +++ 2 files changed,

[PATCH 43/49] tools/power turbostat: make -M output pretty

2012-10-06 Thread Len Brown
From: Len Brown The -M option dumps the specified 64-bit MSR with every sample. Previously it was output at the end of each line. However, with the v2 style of printing, the lines are now staggered, making MSR output hard to read. So move the MSR output column to the left where things are align

[PATCH 42/49] tools/power turbostat: print more turbo-limit information

2012-10-06 Thread Len Brown
From: Len Brown The "turbo-limit" is the maximum opportunistic processor speed, assuming no electrical or thermal constraints. For a given processor, the turbo-limit varies, depending on the number of active cores. Generally, there is more opportunity when fewer cores are active. Under the "-v"

ACPI & PM queue for 3.7-merge - part 2

2012-10-06 Thread Len Brown
completing the series that started with Subject: ACPI & PM queue for 3.7-merge cheers, Len Brown, Intel Open Source Technology Center -- 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 http://vge

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-06 Thread Dave Airlie
>> >> Really I would much prefer to add some "Don't enable it unless you're >> doing kernel hacking. >> If unsure say N" text in the Kconfig. >> >> I can understand that distros want to cover as much feature as they >> can for their users. But >> should it be an excuse for not reading outstanding w

Re: [ 110/180] ext4: dont let i_reserved_meta_blocks go negative

2012-10-06 Thread Ben Hutchings
On Fri, 2012-10-05 at 07:59 -0400, Brian Foster wrote: > On 10/04/2012 05:55 PM, Ben Hutchings wrote: > > On Tue, Oct 02, 2012 at 12:53:47AM +0200, Willy Tarreau wrote: > >> 2.6.32-longterm review patch. If anyone has any objections, please let me > >> know. > >> > >> -- > >> > >>

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-06 Thread Paul E. McKenney
On Sat, Oct 06, 2012 at 06:10:36PM +0200, Frederic Weisbecker wrote: > 2012/10/5 Paul E. McKenney : > > On Thu, Oct 04, 2012 at 07:31:50AM -0700, Paul E. McKenney wrote: > >> On Thu, Oct 04, 2012 at 02:55:39AM +0100, Matthew Garrett wrote: > >> > On Wed, Oct 03, 2012 at 01:03:14PM -0700, Paul E. Mc

Re: Minimal jitter = good desktop.

2012-10-06 Thread el_es
Uwaysi Bin Kareem paradoxuncreated.com> writes: > > This is really simple, and I don`t care about top posting, down posting, > in the middle comments or whatever. Do whatehver you like, and have no > other rule that what is in your soul. That is what drives ultimately > society. Look up Ar

Re: [ 29/52] xHCI: add aborting command ring function

2012-10-06 Thread Ben Hutchings
On Thu, 2012-10-04 at 14:21 -0700, Greg Kroah-Hartman wrote: [...] > --- a/drivers/usb/host/xhci.c > +++ b/drivers/usb/host/xhci.c > @@ -52,7 +52,7 @@ MODULE_PARM_DESC(link_quirk, "Don't clea > * handshake done). There are two failure modes: "usec" have passed (major > * hardware flakeout), o

Re: [ 28/52] xHCI: add cmd_ring_state

2012-10-06 Thread Ben Hutchings
On Thu, 2012-10-04 at 14:21 -0700, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Elric Fu > > commit c181bc5b5d5c79b71203cd10cef97f802fb6f9c1 upstream. > > Adding cmd_ring_state for command ring. It help

Re: [PATCH] mm: memmap_init_zone() performance improvement

2012-10-06 Thread Ni zhan Chen
On 10/03/2012 10:56 PM, Mike Yoknis wrote: memmap_init_zone() loops through every Page Frame Number (pfn), including pfn values that are within the gaps between existing memory sections. The unneeded looping will become a boot performance issue when machines configure larger memory ranges that w

Re: Please add back the asm-generic tree to linux-next

2012-10-06 Thread Stephen Rothwell
Hi Arnd, On Sat, 6 Oct 2012 12:54:45 + Arnd Bergmann wrote: > > I haven't used my asm-generic git tree for the last year, but now I have some > patches in it again. I was (ab)using the arm-soc tree for now to get the > few patches into linux-next, but the URL is still listed in the MAINTAINER

Re: [PATCH v4] trace,x86: add x86 irq vector tracepoints

2012-10-06 Thread Borislav Petkov
On Sat, Oct 06, 2012 at 02:26:17PM -0400, Steven Rostedt wrote: > On Sat, 2012-10-06 at 19:32 +0200, Borislav Petkov wrote: > > > > 2) Are the tracepoints done in a way that it's not going to cause "ABI" > > > issues. If not then we need to redesign the tracepoints. > > > > Btw, this we should be

Re: [PATCH 03/16] f2fs: add superblock and major in-memory structures

2012-10-06 Thread David Sterba
On Fri, Oct 05, 2012 at 08:57:46PM +0900, ? wrote: > +struct f2fs_nm_info { > + block_t nat_blkaddr;/* base disk address of NAT */ > + unsigned int nat_segs; /* the number of nat segments */ > + unsigned int nat_blocks;/* the number of nat blocks of

Re: [GIT PULL] Disintegrate UAPI for openrisc

2012-10-06 Thread David Howells
Jonas Bonn wrote: > I gave this a try and it all looks good for OpenRISC. I'll be happy, in > principle, to push this for 3.7... but it's a bit disconcerting that > there's a bunch of stuff here that shouldn't be going via the OpenRISC > tree. Any chance you could give a heads-up when everythin

[no subject]

2012-10-06 Thread David Howells
Hi Linus, Could you pull this branch please? It contains some fixups for the UAPI stuff. There are four main parts: (1) I found I needed some more fixups in the wake of testing Arm64 (some asm/unistd.h files had weird guards that caused problems - mostly in arches for which I don't

Re: [PATCH v2 03/10] compiler-gcc{3,4}.h: Use GCC_VERSION macro

2012-10-06 Thread Borislav Petkov
On Fri, Oct 05, 2012 at 02:42:42PM -0500, danielfsan...@att.net wrote: > Using GCC_VERSION reduces complexity, is easier to read and is GCC's > recommended mechanism for doing version checks. (Just don't ask me why > they didn't define it in the first place.) This also makes it easy to > merge com

Re: [PATCH v2 03/10] compiler-gcc{3,4}.h: Use GCC_VERSION macro

2012-10-06 Thread Borislav Petkov
On Fri, Oct 05, 2012 at 02:42:42PM -0500, danielfsan...@att.net wrote: > Using GCC_VERSION reduces complexity, is easier to read and is GCC's > recommended mechanism for doing version checks. (Just don't ask me why > they didn't define it in the first place.) This also makes it easy to > merge com

Re: [PATCH 02/16] f2fs: add on-disk layout

2012-10-06 Thread David Sterba
On Fri, Oct 05, 2012 at 08:56:44PM +0900, ? wrote: > +struct node_footer { > + __le32 nid; /* node id */ > + __le32 ino; /* inode nunmber */ > + __le32 cold:1; /* cold mark */ > + __le32 fsync:1; /* fsync mark */ > + __le32 dentry

Re: PROBLEM: It seems that /usr/bin/time program reports a wrong value for MaxRSS.

2012-10-06 Thread Hugh Dickins
On Thu, 4 Oct 2012, Kamran Amini wrote: > > It seems that /usr/bin/time program reports a wrong value for MaxRSS. > The report shows MaxRSS, about 4 times the > actual allocated memory by a process and its children. MaxRSS (Maximum > Resident Set Size) is assumed to be maximum > allocated memory b

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-06 Thread Stéphane Chatty
Le 6 oct. 2012 à 23:28, Jiri Kosina a écrit : > On Sat, 6 Oct 2012, Jiri Kosina wrote: > >>> My vote is a clear 3. It took me a few years to kick all users (as >>> opposed to implementers) of i2c from drivers/i2c and finding them a >>> proper home, I'm not going to accept new intruders. Grouping

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-06 Thread Jiri Kosina
On Sat, 6 Oct 2012, Jiri Kosina wrote: > > My vote is a clear 3. It took me a few years to kick all users (as > > opposed to implementers) of i2c from drivers/i2c and finding them a > > proper home, I'm not going to accept new intruders. Grouping drivers > > according to what they implement makes

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-06 Thread Stéphane Chatty
Le 6 oct. 2012 à 23:11, Jean Delvare a écrit : > On Sat, 6 Oct 2012 22:30:00 +0200, Stéphane Chatty wrote: >> Le 6 oct. 2012 à 22:04, Jean Delvare a écrit : >>> Looks like the wrong place for this driver. HID-over-USB support lives >>> under drivers/hid, so your driver should go there as well. No

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-06 Thread Jiri Kosina
On Sat, 6 Oct 2012, Jean Delvare wrote: > > The question is what drives the choice of where to put HID-over-XXX, among > > the following > > 1- who the maintainer is. Here, Benjamin will probably maintain this > > so it does not help. > > 2- dependencies. HID-over-XXX depends on HID as much as

Re: [net:master 1/9] pch_gbe_main.c:(.text+0x510370): undefined reference to `pch_ch_control_write'

2012-10-06 Thread David Miller
From: Haicheng Li Date: Sun, 07 Oct 2012 01:21:09 +0800 > Take IXGBE_PTP as example, it explicitly selects PPS, and also depends > on EXPERIMENTAL: > config IXGBE_PTP > bool "PTP Clock Support" > default n > depends on IXGBE && EXPERIMENTAL > select PPS > s

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-06 Thread Jean Delvare
On Sat, 6 Oct 2012 22:30:00 +0200, Stéphane Chatty wrote: > Le 6 oct. 2012 à 22:04, Jean Delvare a écrit : > > Looks like the wrong place for this driver. HID-over-USB support lives > > under drivers/hid, so your driver should go there as well. Not only > > this will be more consistent, but it also

Re: [GIT PULL] Disintegrate UAPI for openrisc

2012-10-06 Thread Jonas Bonn
Hi David, On Thu, 2012-10-04 at 20:51 +0100, David Howells wrote: > Can you merge the following branch into the openrisc tree please. > > This is to complete part of the UAPI disintegration for which the preparatory > patches were pulled recently. > > Note that there are some fixup patches which

Re: 3.5 regression on i915

2012-10-06 Thread Willy Tarreau
On Sat, Oct 06, 2012 at 05:10:57PM +0100, Chris Wilson wrote: > So far I have tested -intel-2.6.3 and -intel-2.7.1 with xorg-1.5.3 and > kernel-3.7 on a 965gm both using the EXA AccelMethod, and both are still > operational. > > Can you send the complete Xorg.log for the current failure? Thanks,

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-06 Thread Stéphane Chatty
Hi Jean (I cc Marcel Holtmann because BT is involved too) Le 6 oct. 2012 à 22:04, Jean Delvare a écrit : > Hi Benjamin, > > On Fri, 14 Sep 2012 15:41:43 +0200, benjamin.tissoires wrote: >> From: Benjamin Tissoires >> >> Microsoft published the protocol specification of HID over i2c: >> http:/

[PATCH 41/49] tools/power turbostat: delete unused line

2012-10-06 Thread Len Brown
From: Len Brown MSR_TSC is no longer needed because we now use RDTSC directly. Signed-off-by: Len Brown --- tools/power/x86/turbostat/turbostat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 7108d86..3c9

[PATCH 40/49] tools/power turbostat: run on IVB Xeon

2012-10-06 Thread Len Brown
From: Len Brown This fix is required to run on IVB Xeon, which previously had an incorrect cpuid model number listed. Signed-off-by: Len Brown --- tools/power/x86/turbostat/turbostat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/power/x86/turbostat/turbostat.c

[PATCH 39/49] tools/power/acpi/acpidump: create acpidump(8), local make install targets

2012-10-06 Thread Len Brown
From: Len Brown Signed-off-by: Len Brown --- tools/power/acpi/Makefile | 4 +++ tools/power/acpi/acpidump.8 | 59 + 2 files changed, 63 insertions(+) create mode 100644 tools/power/acpi/acpidump.8 diff --git a/tools/power/acpi/Makefile b/tools/po

[PATCH 38/49] tools/power/acpi/acpidump: version 20101221 - find dynamic tables in sysfs

2012-10-06 Thread Len Brown
From: Yakui Zhao This is unchanged version 20101221, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. This version finds dynamic tables exported by Linux in /sys/firmware/acpi/tables/dynamic Signed-off-by: Yakui Zhao Signed-off-by: Len Brown --- tools

[PATCH 37/49] ACPI: run _OSC after ACPI_FULL_INITIALIZATION

2012-10-06 Thread Len Brown
From: Lin Ming The _OSC method may exist in module level code, so it must be called after ACPI_FULL_INITIALIZATION On some new platforms with Zero-Power-Optical-Disk-Drive (ZPODD) support, this fix is necessary to save power. Signed-off-by: Lin Ming Tested-by: Aaron Lu Signed-off-by: Len Brow

[PATCH 36/49] tools/power/acpi/acpidump: create acpidump(8), local make install targets

2012-10-06 Thread Len Brown
From: Len Brown Signed-off-by: Len Brown --- tools/power/acpi/Makefile | 4 +++ tools/power/acpi/acpidump.8 | 59 + 2 files changed, 63 insertions(+) create mode 100644 tools/power/acpi/acpidump.8 diff --git a/tools/power/acpi/Makefile b/tools/po

[PATCH 35/49] tools/power/acpi/acpidump: version 20101221 - find dynamic tables in sysfs

2012-10-06 Thread Len Brown
From: Len Brown This is unchanged version 20101221, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. This version finds dynamic tables exported by Linux in /sys/firmware/acpi/tables/dynamic Signed-off-by: Len Brown --- tools/power/acpi/acpidump.c | 187

[PATCH 34/49] tools/power/acpi/acpidump: version 20071116

2012-10-06 Thread Len Brown
From: Len Brown This is unchanged version 20071116, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown --- tools/power/acpi/acpidump.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/power/acpi/acp

[PATCH 33/49] tools/power/acpi/acpidump: version 20070714

2012-10-06 Thread Len Brown
From: Len Brown This is unchanged version 20070714, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown --- tools/power/acpi/Makefile | 7 ++- tools/power/acpi/acpidump.c | 127 ++-- 2 fi

[PATCH 32/49] tools/power/acpi/acpidump: version 20060606

2012-10-06 Thread Len Brown
From: Len Brown This is unchanged version 20060606, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown --- tools/power/acpi/acpidump.c | 97 +++-- 1 file changed, 59 insertions(+), 38 deleti

[PATCH 31/49] tools/power/acpi/acpidump: version 20051111

2012-10-06 Thread Len Brown
From: Len Brown This is unchanged version 2005, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown --- tools/power/acpi/Makefile | 15 ++ tools/power/acpi/acpidump.c | 472 2 fil

[PATCH 30/49] xo15-ebook: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Signed-off-by: Len Brown --- drivers/platform/x86/xo15-ebook.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/platform/x86/xo15-ebook.c b/drivers/platform/x86/xo15-ebook.c index 38ba39d..16d340c 1

[PATCH 29/49] toshiba_bluetooth: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Signed-off-by: Len Brown --- drivers/platform/x86/toshiba_bluetooth.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetoo

[PATCH 28/49] topstar-laptop: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Acked-by: Herton R. Krzesinski Signed-off-by: Len Brown --- drivers/platform/x86/topstar-laptop.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/platform/x86/topstar-laptop.c b/drivers/pl

[PATCH 27/49] ideapad: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Acked-by: Ike Panhc Signed-off-by: Len Brown --- drivers/platform/x86/ideapad-laptop.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-

[PATCH 26/49] hp_accel: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Reviewed-by: Éric Piel Signed-off-by: Len Brown --- drivers/platform/x86/hp_accel.c | 25 + 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_acce

[PATCH 25/49] Input: atlas_btns - convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Acked-by: Dmitry Torokhov Signed-off-by: Len Brown --- drivers/input/misc/atlas_btns.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/drivers/input/misc/atlas_btns.c b/drivers/input/misc/atlas_btns.c i

[PATCH 24/49] i2c-scmi: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Acked-by: Jean Delvare Signed-off-by: Len Brown --- drivers/i2c/busses/i2c-scmi.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/i2c/busses/i2c-scmi.c b/drivers/i2c/busses/i2c-scmi.c index 388cbdc

[PATCH 23/49] ACPI/sbshc: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Signed-off-by: Len Brown --- drivers/acpi/sbshc.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/acpi/sbshc.c b/drivers/acpi/sbshc.c index f8d2a47..cf6129a 100644 --- a/drivers/acpi/sbshc.c +++

[PATCH 22/49] ACPI/hed: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Signed-off-by: Len Brown --- drivers/acpi/hed.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/drivers/acpi/hed.c b/drivers/acpi/hed.c index d0c1967..20a0f2c 100644 --- a/drivers/acpi/hed.c +++ b/dri

[PATCH 21/49] ACPI/fan: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Signed-off-by: Len Brown --- drivers/acpi/fan.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c index bc36a47..3bd6a54 100644 --- a/drivers/acpi/fan.c +++ b/d

[PATCH 20/49] ACPI/button: convert to module_acpi_driver()

2012-10-06 Thread Len Brown
From: Mika Westerberg Signed-off-by: Mika Westerberg Signed-off-by: Len Brown --- drivers/acpi/button.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index 314a3b8..f0d936b 100644 --- a/drivers/acpi/button.c +++

[PATCH 19/49] ACPI: introduce module_acpi_driver() helper macro

2012-10-06 Thread Len Brown
From: Mika Westerberg Add a helper macro module_acpi_driver() which reduces the boilerplate code for ACPI drivers. This is similar what is done for other busses (PCI, SPI, I2C etc). Signed-off-by: Mika Westerberg Signed-off-by: Len Brown --- include/acpi/acpi_bus.h | 13 + 1 file

[PATCH 18/49] ACPI: Allow ACPI binding with USB-3.0 hub

2012-10-06 Thread Len Brown
From: Lan Tianyu A USB port's position and connectability can't be identified on some boards via USB hub registers. ACPI _UPC and _PLD can help to resolve this issue and so it is necessary to bind USB with ACPI. This patch is to allow ACPI binding with USB-3.0 hub. Current ACPI only can bind one

[PATCH 17/49] ACPICA: Update version to 20120913

2012-10-06 Thread Len Brown
From: Bob Moore Version 20120913. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Signed-off-by: Len Brown --- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 03457a9..267bfc4 100644 --- a/include/

[PATCH 16/49] ACPICA: Table Manager: Merge duplicate code (root table)

2012-10-06 Thread Len Brown
From: Lv Zheng Merge/remove duplicate code in the root table resize functions One function is external, the other is internal. Lv Zheng, ACPICA BZ 846: https://acpica.org/bugzilla/show_bug.cgi?id=846 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Signed-off-by: Len Brown --- drivers/acpi

[PATCH 15/49] ACPICA: Headers: Add new ACPI 5 HEST notify type values.

2012-10-06 Thread Len Brown
From: Bob Moore Add values 5 (CMCI) and 6 (MCE). Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Signed-off-by: Len Brown --- include/acpi/actbl1.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index c41d6f9..280fc45 100

[PATCH 14/49] usb-acpi: Comply with the ACPI API change

2012-10-06 Thread Len Brown
From: Feng Tang acpi_get_physical_device_location()'s 2nd argument has been changed in ACPI implementaion, so need a follow-on change in usb_acpi_check_pld(). Signed-off-by: Feng Tang Signed-off-by: Bob Moore Cc: Matthew Garrett Cc: Greg Kroah-Hartman Cc: Lan Tianyu Signed-off-by: Len Brown

[PATCH 12/49] ACPICA: Update version to 20120816.

2012-10-06 Thread Len Brown
From: Bob Moore Version 20120816. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 270517d..03457a9 100644 --- a/include

[PATCH 13/49] ACPI: Use ACPICA native way to decode the PLD buffer

2012-10-06 Thread Len Brown
From: Feng Tang This patch is on top of the ACPICA 20120816 release, which implemented a native way to decode PLD buffer, so use it instead of leting upper level users do the decoding. v2: Modify the check for PLD buffer length to reject buffers whose length < 16 Signed-off-by: Feng Tang Signe

[PATCH 11/49] ACPICA: Add struct header support for _FDE, _GRT, _GTM, and _SRT names.

2012-10-06 Thread Len Brown
From: Bob Moore Added structs for the buffers related to these predefined names, in acbuffer.h Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- include/acpi/acbuffer.h | 43 +++ 1 file changed, 43 insertions(+) diff --git

[PATCH 10/49] ACPICA: Add support for complex _PLD buffers.

2012-10-06 Thread Len Brown
From: Bob Moore _PLD (Physical Location of Device) returns a bit-packed buffer that is difficult to parse. This change adds a new interface, AcpiDecodePldBuffer that parses the buffer into a more usable local struct. Also adds macros to both get and set individual fields within the packed _PLD bu

[PATCH 08/49] ACPICA: GPE support: Remove extraneous parameter from low-level function.

2012-10-06 Thread Len Brown
From: Feng Tang The gpe_register_info argument is no longer needed, reduce it to make code simpler. Signed-off-by: Feng Tang Signed-off-by: Bob Moore Signed-off-by: Len Brown --- drivers/acpi/acpica/achware.h | 3 +-- drivers/acpi/acpica/evgpe.c | 3 +-- drivers/acpi/acpica/evxfgpe.c |

[PATCH 09/49] ACPICA: Headers: Add support for CSRT and DBG2 ACPI tables.

2012-10-06 Thread Len Brown
From: Bob Moore These tables are defined outside of the ACPI specification. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- include/acpi/actbl2.h | 111 ++ include/acpi/actbl3.h | 1 - 2 files changed, 111 inser

[PATCH 07/49] ACPICA: Debug output: Update output for Processor object.

2012-10-06 Thread Len Brown
From: Bob Moore Cleanup output for Processor(). Length is a byte, not a word. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- drivers/acpi/acpica/nsdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/nsdump.c b/drivers

[PATCH 06/49] ACPICA: GPE Support: Update debug info for GPE tracing.

2012-10-06 Thread Len Brown
From: Bob Moore Add additional debug info to assist with GPE debugging. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- drivers/acpi/acpica/evgpe.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/acpica/ev

[PATCH 05/49] ACPICA: Add Windows8/Server2012 string for _OSI method.

2012-10-06 Thread Len Brown
From: Bob Moore This change adds a new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 2012. >From Microsoft document "How to Identify the Windows Version in ACPI by Using _OSI", July 13, 2012. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown ---

[PATCH 04/49] ACPICA: Comment update: Fix some typos in actble.h

2012-10-06 Thread Len Brown
From: Bob Moore No functional change. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- include/acpi/actbl.h | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/include/acpi/actbl.h b/include/acpi

[PATCH 03/49] ACPICA: Split ACPICA initialization functions to new file, utxfinit.c

2012-10-06 Thread Len Brown
From: Bob Moore Split utxface.c to improve modularity and reduce file size. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- drivers/acpi/acpica/Makefile | 1 + drivers/acpi/acpica/utxface.c | 267 +- drivers/acpi/acpica/utxf

[PATCH 02/49] ACPICA: Enable Scope change to root during module-level code execution.

2012-10-06 Thread Len Brown
From: Bob Moore Allows constructs like this: If () Scope (\) ... Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- drivers/acpi/acpica/dswload.c | 14 ++ drivers/acpi/acpica/dswload2.c | 14 ++ 2 files changed, 28

[PATCH 01/49] ACPI: delelte more BFS/GTS related definition and code

2012-10-06 Thread Len Brown
From: Feng Tang This is a follow on for commmit 3f6f49c7 "ACPI: delete _GTS/_BFS support" to do more cleanup. Signed-off-by: Feng Tang Signed-off-by: Bob Moore Signed-off-by: Len Brown --- drivers/acpi/acpica/hwxfsleep.c | 1 - include/acpi/acnames.h | 2 -- include/acpi/actypes.h

ACPI & PM queue for 3.7-merge

2012-10-06 Thread Len Brown
Here's my queue for 3.7 add acpidump utility intel_idle driver now supports IVB Xeon turbostat can now count SMIs ACPI can now bind to USB3 hubs misc fixes Let me know if you have troubles with any of these patches. thanks, Len Brown, Intel Open Source Technology Center -- To unsubscribe from t

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-06 Thread Jaegeuk Kim
2012-10-06 (토), 17:54 +0400, Vyacheslav Dubeyko: > Hi Jaegeuk, Hi. We know each other, right? :) > > > From: 김재극 > > To: v...@zeniv.linux.org.uk, 'Theodore Ts'o' , > > gre...@linuxfoundation.org, linux-kernel@vger.kernel.org, > > chur@samsung.com, cm224@samsung.c

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-06 Thread Jean Delvare
Hi Benjamin, On Fri, 14 Sep 2012 15:41:43 +0200, benjamin.tissoires wrote: > From: Benjamin Tissoires > > Microsoft published the protocol specification of HID over i2c: > http://msdn.microsoft.com/en-us/library/windows/hardware/hh852380.aspx > > This patch introduces an implementation of this

[PATCH] pidns: remove recursion from free_pid_ns (v3)

2012-10-06 Thread Andrew Vagin
Here is a stack trace of recursion: free_pid_ns(parent) put_pid_ns(parent) kref_put(&ns->kref, free_pid_ns); free_pid_ns This patch turns recursion into loops. pidns can be nested many times, so in case of recursion a simple user space program can provoke a kernel panic due to exceed

Re: [PATCH v1] i2c-hid: introduce HID over i2c specification implementation

2012-10-06 Thread Jean Delvare
On Wed, 3 Oct 2012 09:43:12 -0700, Dmitry Torokhov wrote: > On Fri, Sep 14, 2012 at 03:41:43PM +0200, benjamin.tissoires wrote: > > + } > > + > > + do { > > + ret = i2c_transfer(client->adapter, msg, msg_num); > > + if (ret > 0) > > + break; > > +

Re: [PATCH v2] ACPI: Add new sysfs interface to export device description

2012-10-06 Thread Len Brown
Applied. thanks for the refresh. Len Brown, Intel Open Source Technology Center -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ a

Re: [PATCH 01/16] f2fs: add document

2012-10-06 Thread Jaegeuk Kim
2012-10-06 (토), 09:19 +0200, Stefan Hajnoczi: > > This adds a document describing the mount options, proc entries, usage, and > > design of Flash-Friendly File System, namely F2FS. > > > > Signed-off-by: Jaegeuk Kim samsung.com> > > --- > > Documentation/filesystems/00-INDEX |2 + > > Docume

Re: [PATCH 1/3] efi: Add support for a UEFI variable filesystem

2012-10-06 Thread Matt Fleming
On Fri, 2012-10-05 at 13:54 +0800, Jeremy Kerr wrote: > From: Matthew Garrett > > The existing EFI variables code only supports variables of up to 1024 > bytes. This limitation existed in version 0.99 of the EFI specification, > but was removed before any full releases. Since variables can now be

Re: [PATCH] pidns: remove recursion from free_pid_ns (v2)

2012-10-06 Thread Oleg Nesterov
On 10/06, Andrew Vagin wrote: > > --- a/kernel/pid_namespace.c > +++ b/kernel/pid_namespace.c > @@ -138,11 +138,20 @@ void free_pid_ns(struct kref *kref) > > ns = container_of(kref, struct pid_namespace, kref); > > - parent = ns->parent; > - destroy_pid_namespace(ns); > + whil

  1   2   3   >