Re: [RFC][PATCH 0/5] tools, perf: Fix up for x86 UAPI disintegration

2012-10-26 Thread Namhyung Kim
This time, I tried on tip/master since it seemed that it contains related patches already. At first I got a conflict with davem's change: --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@@ -57,7 -53,6 +53,10 @@@ void get_term_dimensions(struct winsiz #endif #ifdef __sparc__ ++ HEAD

Re: [PATCH v1] firmware loader: introduce module parameter to customize fw search path

2012-10-26 Thread Kevin Easton
Quoting Al Viro v...@zeniv.linux.org.uk: On Thu, Oct 25, 2012 at 08:38:25PM -0700, Linus Torvalds wrote: It's valid to cast a non-const pointer to a const one. It's the *other* way around that is invalid. So marking fw_path[] as having 'const char *' elements just means that we won't be

Re: [PATCH] kfifo: remove unnecessary type check

2012-10-26 Thread Yuanhan Liu
On Fri, Oct 26, 2012 at 07:38:31AM +0200, Stefani Seibold wrote: Am Freitag, den 26.10.2012, 09:46 +0800 schrieb Yuanhan Liu: From: Yuanhan Liu yuanhan@linux.intel.com Firstly, this kind of type check doesn't work. It does something similay like following: void * __dummy =

Re: [PATCH 2/3] ext4: introduce ext4_error_remove_page

2012-10-26 Thread Theodore Ts'o
On Thu, Oct 25, 2012 at 11:12:48AM -0400, Naoya Horiguchi wrote: + /* Lost data. Handle as critical fs error. */ + bh = head = page_buffers(page); + do { + if (buffer_dirty(bh) !buffer_delay(bh)) { + block = bh-b_blocknr; +

Re: [PATCH v3 net-next] r8169: enable ALDPS for power saving

2012-10-26 Thread David Miller
From: Francois Romieu rom...@fr.zoreil.com Date: Wed, 24 Oct 2012 23:20:03 +0200 Hayes Wang hayesw...@realtek.com : Enable ALDPS function to save power when link down. Note that the feature should be set after the other PHY settings. And the firmware is necessary. Don't enable it without

Re: [PATCH] serial/arc-uart: Add new driver

2012-10-26 Thread Vineet Gupta
On Friday 26 October 2012 12:06 AM, Greg KH wrote: On Thu, Oct 25, 2012 at 12:00:08PM +0530, vineet.gup...@synopsys.com wrote: From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by:

Re: [for-next PATCH V2] PM / devfreq: Add sysfs node to expose available frequencies

2012-10-26 Thread MyungJoo Ham
devfreq governors such as ondemand are controlled by a min and max frequency, while governors like userspace governor allow us to set a specific frequency. However, for the same specific device, depending on the SoC, the available frequencies can vary. So expose the available frequencies

RE: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-10-26 Thread Liu, Jinsong
Thanks! updated accordingly, w/ 2 comments left as below: +static const struct acpi_device_id pad_device_ids[] = { + {ACPI000C, 0}, + {, 0}, +}; + +static struct acpi_driver xen_acpi_pad_driver = { + .name = processor_aggregator, + .class = ACPI_PROCESSOR_AGGREGATOR_CLASS,

Re: [PATCH] devfreq: exynos4_bus.c: Fixed an alignment of the func call args.

2012-10-26 Thread MyungJoo Ham
I fixed the following check item (via checkpatch.pl --strict option): CHECK: Alignment should match open parenthesis Signed-off-by: Sangho Yi antir...@gmail.com Acked-by: MyungJoo Ham myungjoo@samsung.com I'll apply the patch after setting up devfreq for next tree. Thanks. Cheers,

Re: [PATCH v3] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-26 Thread Ni zhan Chen
On 10/26/2012 12:44 AM, Will Deacon wrote: On x86 memory accesses to pages without the ACCESSED flag set result in the ACCESSED flag being set automatically. With the ARM architecture a page access fault is raised instead (and it will continue to be raised until the ACCESSED flag is set for the

Re: [PATCH v4] serial/arc-uart: Add New Driver

2012-10-26 Thread Vineet Gupta
On Friday 26 October 2012 12:06 AM, Greg KH wrote: On Thu, Oct 25, 2012 at 12:00:07PM +0530, vineet.gup...@synopsys.com wrote: From: Vineet Gupta vgu...@synopsys.com Hi Greg, Rebased off of tty-next and verfied that it builds fine. Did you run it? Absolutely ! What I meant was, this

Re: [PATCH] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-26 Thread Ondrej Zary
On Friday 26 October 2012, H. Peter Anvin wrote: My guess is that Windows explicitly enables A20 on resume. We should do that too, really... with the current heavily unified realmode code it should be easy - let me hack up a patch in the morning. Neither s3_beep nor s3_leds (this patch:

Re: [PATCH] bas_gigaset: fix pre_reset handling

2012-10-26 Thread David Miller
From: Tilman Schmidt til...@imap.cc Date: Wed, 24 Oct 2012 20:44:32 +0200 The delayed work function int_in_work() may call usb_reset_device() and thus, indirectly, the driver's pre_reset method. Trying to cancel the work synchronously in that situation would deadlock. Fix by avoiding

[PATCH 04/31, v2] x86/mm: Introduce pte_accessible()

2012-10-26 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: NAK NAK NAK. On Thu, Oct 25, 2012 at 5:16 AM, Peter Zijlstra a.p.zijls...@chello.nl wrote: +#define __HAVE_ARCH_PTE_ACCESSIBLE +static inline int pte_accessible(pte_t a) Stop doing this f*cking crazy ad-hoc I have some other

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-26 Thread Felipe Balbi
Hi, On Thu, Oct 25, 2012 at 09:59:01PM +0100, Mark Brown wrote: On Wed, Oct 24, 2012 at 09:58:19PM +0300, Felipe Balbi wrote: need a way to tell drivers/base hey, don't touch pinctrl at all because I know what I'm doing and that has to happen before probe() too, otherwise it's already

Re: [PATCH] ARM: dt: tegra: ventana: define pinmux for ddc

2012-10-26 Thread Mark Zhang
On 10/25/2012 11:37 PM, Stephen Warren wrote: On 10/25/2012 12:32 AM, Mark Zhang wrote: On 10/23/2012 01:14 AM, Stephen Warren wrote: ... I don't recall why pta was defined to be HDMI. The issue isn't that this patch changes the pinmux selection for the pta pingroup, but simply that both the

Re: [PATCH 05/31] x86/mm: Reduce tlb flushes from ptep_set_access_flags()

2012-10-26 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Oct 25, 2012 at 8:57 PM, Rik van Riel r...@redhat.com wrote: That may not even be needed. Apparently Intel chips automatically flush an entry from the TLB when it causes a page fault. I assume AMD chips do the same,

Re: [PATCH] kfifo: remove unnecessary type check

2012-10-26 Thread Stefani Seibold
Am Freitag, den 26.10.2012, 14:11 +0800 schrieb Yuanhan Liu: On Fri, Oct 26, 2012 at 07:38:31AM +0200, Stefani Seibold wrote: Am Freitag, den 26.10.2012, 09:46 +0800 schrieb Yuanhan Liu: From: Yuanhan Liu yuanhan@linux.intel.com Firstly, this kind of type check doesn't work. It

Re: [PATCH v2 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-26 Thread Felipe Balbi
On Thu, Oct 25, 2012 at 10:44:47AM -0700, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [121024 23:24]: Hi, On Wed, Oct 24, 2012 at 05:48:07PM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [121016 09:53]: * Kishon Vijay Abraham I kis...@ti.com [121007 23:01]:

Re: [PATCH v2 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-26 Thread Felipe Balbi
On Mon, Oct 08, 2012 at 11:29:41AM +0530, Kishon Vijay Abraham I wrote: ocp2scp was not having pdata support which makes *musb* fail for non-dt boot in OMAP platform. The pdata will have information about the devices that is connected to ocp2scp. ocp2scp driver will now make use of this

Re: [PATCH v2 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-26 Thread Felipe Balbi
Hi, On Mon, Oct 08, 2012 at 11:29:43AM +0530, Kishon Vijay Abraham I wrote: Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread Fengguang Wu
static void shrink_readahead_size_eio(struct file *filp, struct file_ra_state *ra) { - ra-ra_pages /= 4; + spin_lock(filp-f_lock); + filp-f_mode |= FMODE_RANDOM; + spin_unlock(filp-f_lock); As the example in comment above

PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Cyberman Wu
After we upgrade to MDE 4.1.0 from Tilera, we encounter a problem that only on HighPoint 2680 card works, I've tried to fix it, but since most time I'm working in user space, I'm not sure my fix is enough. Their FAE said that the guy who add PCIe I/O space support is on vacation and I can't get

[patch] gpiolib: unlock on error in gpio_export()

2012-10-26 Thread Dan Carpenter
We need to unlock here before returning. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Only needed in linux-next. diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index d5f9742..14251c3 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -728,7 +728,8 @@

[patch] mei: copy_from_user() doesn't return an error code

2012-10-26 Thread Dan Carpenter
copy_from_user() returns the number of bytes remaining but we should be returning -EFAULT here. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Only needed in linux-next. diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index ed4943f..ce1014e 100644 ---

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread Ni zhan Chen
On 10/26/2012 02:58 PM, Fengguang Wu wrote: static void shrink_readahead_size_eio(struct file *filp, struct file_ra_state *ra) { - ra-ra_pages /= 4; + spin_lock(filp-f_lock); + filp-f_mode |= FMODE_RANDOM; +

[PATCH V2 4/6] Thermal: Remove the cooling_cpufreq_list.

2012-10-26 Thread hongbo.zhang
From: hongbo.zhang hongbo.zh...@linaro.com Problem of using this list is that the cpufreq_get_max_state callback will be called when register cooling device by thermal_cooling_device_register, but this list isn't ready at this moment. What's more, there is no need to maintain such a list, we can

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread Fengguang Wu
On Fri, Oct 26, 2012 at 03:03:12PM +0800, Ni zhan Chen wrote: On 10/26/2012 02:58 PM, Fengguang Wu wrote: static void shrink_readahead_size_eio(struct file *filp, struct file_ra_state *ra) { - ra-ra_pages /= 4; +

Re: [RFC PATCH 3.7.0-rc2] dt: match id-table before creating platform device

2012-10-26 Thread Srinivas KANDAGATLA
On 23/10/12 14:15, Rob Herring wrote: re-sending my reply again, as it did not appear in my inbox from dt mailing list. Adding lkml. DT patches should go to both lists. On 10/23/2012 05:30 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com As part of

Re: [PATCH 26/31] sched, numa, mm: Add fault driven placement and migration policy

2012-10-26 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Oct 25, 2012 at 5:16 AM, Peter Zijlstra a.p.zijls...@chello.nl wrote: + /* +* Using runtime rather than walltime has the dual advantage that +* we (mostly) drive the selection from busy threads and that

Re: [RFC PATCH v2] gpiolib: add gpio get direction callback support

2012-10-26 Thread Linus Walleij
On Wed, Oct 24, 2012 at 4:25 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: Add .get_direction callback to gpio_chip. This allows gpiolib to check the current direction of a gpio. Used to show the correct gpio direction in sysfs and debug entries. If callback is not set then gpiolib

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread Ni zhan Chen
On 10/26/2012 03:09 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:03:12PM +0800, Ni zhan Chen wrote: On 10/26/2012 02:58 PM, Fengguang Wu wrote: static void shrink_readahead_size_eio(struct file *filp, struct file_ra_state *ra) { -

Re: [PATCH] gpiolib: Don't return -EPROBE_DEFER to sysfs, or for invalid gpios

2012-10-26 Thread Linus Walleij
On Thu, Oct 25, 2012 at 1:03 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: gpios requested with invalid numbers, or gpios requested from userspace via sysfs should not try to be deferred on failure. Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com Very good catch. I

[PATCH] Staging: android: binder: Fixed multi-line strings

2012-10-26 Thread Anmol Sarma
Changed all user visible multi-line strings to single line. Removed 'binder:' prefix on stings. Signed-off-by: Anmol Sarma unmole...@gmail.com --- drivers/staging/android/binder.c | 483 +- 1 file changed, 165 insertions(+), 318 deletions(-) diff --git

Re: [PATCH] kfifo: remove unnecessary type check

2012-10-26 Thread Yuanhan Liu
On Fri, Oct 26, 2012 at 03:17:57PM +0800, Yuanhan Liu wrote: On Fri, Oct 26, 2012 at 08:51:06AM +0200, Stefani Seibold wrote: Am Freitag, den 26.10.2012, 14:11 +0800 schrieb Yuanhan Liu: On Fri, Oct 26, 2012 at 07:38:31AM +0200, Stefani Seibold wrote: Am Freitag, den 26.10.2012, 09:46

Re: [PATCH v2] acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-10-26 Thread Yasuaki Ishimatsu
Hi Greg, Sorry for late reply. 2012/10/20 2:59, Greg Kroah-Hartman wrote: On Fri, Oct 19, 2012 at 06:29:52AM +0200, Rafael J. Wysocki wrote: On Thursday 11 of October 2012 19:12:28 Yasuaki Ishimatsu wrote: acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number.

Re: [PATCH] ARM: davinci: dm644x: fix out range signal for ED

2012-10-26 Thread Sekhar Nori
On 10/4/2012 7:23 PM, Prabhakar Lad wrote: Sekhar On Thu, Oct 4, 2012 at 12:43 PM, Sekhar Nori nsek...@ti.com wrote: On 10/4/2012 10:22 AM, Prabhakar Lad wrote: Hi Sekhar, On Wed, Oct 3, 2012 at 4:08 PM, Sekhar Nori nsek...@ti.com wrote: On 10/3/2012 12:05 PM, Prabhakar wrote: From: Lad,

Re: [patch] gpiolib: unlock on error in gpio_export()

2012-10-26 Thread Linus Walleij
On Fri, Oct 26, 2012 at 8:59 AM, Dan Carpenter dan.carpen...@oracle.com wrote: We need to unlock here before returning. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Only needed in linux-next. Thanks Dan, applied to my devel branch. Yours, Linus Walleij -- To unsubscribe from

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread Fengguang Wu
On Fri, Oct 26, 2012 at 03:19:57PM +0800, Ni zhan Chen wrote: On 10/26/2012 03:09 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:03:12PM +0800, Ni zhan Chen wrote: On 10/26/2012 02:58 PM, Fengguang Wu wrote: static void shrink_readahead_size_eio(struct file *filp,

Re: [PATCH] net: usb: Fix memory leak on Tx data path

2012-10-26 Thread Oliver Neukum
On Thursday 25 October 2012 21:17:54 Hemant Kumar wrote: Driver anchors the tx urbs and defers the urb submission if a transmit request comes when the interface is suspended. Anchoring urb increments the urb reference count. These deferred urbs are later accessed by calling

Re: [PATCH v3] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-26 Thread Kirill A. Shutemov
On Thu, Oct 25, 2012 at 05:44:31PM +0100, Will Deacon wrote: On x86 memory accesses to pages without the ACCESSED flag set result in the ACCESSED flag being set automatically. With the ARM architecture a page access fault is raised instead (and it will continue to be raised until the ACCESSED

Re: [PATCH] net: usb: Fix memory leak on Tx data path

2012-10-26 Thread David Miller
From: Oliver Neukum oneu...@suse.de Date: Fri, 26 Oct 2012 09:39:16 +0200 On Thursday 25 October 2012 21:17:54 Hemant Kumar wrote: Driver anchors the tx urbs and defers the urb submission if a transmit request comes when the interface is suspended. Anchoring urb increments the urb reference

Re: [PATCH] ARM: davinci: dm644x: fix out range signal for ED

2012-10-26 Thread Prabhakar Lad
Sekhar, On Fri, Oct 26, 2012 at 1:05 PM, Sekhar Nori nsek...@ti.com wrote: On 10/4/2012 7:23 PM, Prabhakar Lad wrote: Sekhar On Thu, Oct 4, 2012 at 12:43 PM, Sekhar Nori nsek...@ti.com wrote: On 10/4/2012 10:22 AM, Prabhakar Lad wrote: Hi Sekhar, On Wed, Oct 3, 2012 at 4:08 PM, Sekhar

Re: [PATCH v2 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-26 Thread Arnd Bergmann
On Friday 26 October 2012, Felipe Balbi wrote: +static void omap_init_ocp2scp(void) +{ + struct omap_hwmod *oh; + struct platform_device *pdev; + int bus_id = -1, dev_cnt = 0, i; + struct omap_ocp2scp_dev *ocp2scp_dev; + const char

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread Ni zhan Chen
On 10/26/2012 03:36 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:19:57PM +0800, Ni zhan Chen wrote: On 10/26/2012 03:09 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:03:12PM +0800, Ni zhan Chen wrote: On 10/26/2012 02:58 PM, Fengguang Wu wrote: static void

Re: MMTests 0.06

2012-10-26 Thread Ni zhan Chen
On 10/12/2012 10:51 PM, Mel Gorman wrote: MMTests 0.06 is a configurable test suite that runs a number of common workloads of interest to MM developers. There are multiple additions all but in many respects the most useful will be automatic package installation. The package names are based on

Re: [PATCH] add some drop_caches documentation and info messsge

2012-10-26 Thread Mika Boström
On Wed, Oct 24, 2012 at 01:48:36PM -0700, Andrew Morton wrote: Dave Hansen d...@linux.vnet.ibm.com wrote: What kind of interface _is_ it in the first place? Is it really a production-level thing that we expect users to be poking at? Or, is it a rarely-used debugging and benchmarking knob

[PATCH 1/2] kfifo: round up the fifo size power of 2

2012-10-26 Thread Yuanhan Liu
Say, if we want to allocate a filo with size of 6 bytes, it would be safer to allocate 8 bytes instead of 4 bytes. I know it works with rounddown_pow_of_two as well, since size is maintained in the kfifo internal part. But, I'm quite curious why Stefani chose rounddown_pow_of_two. To reduce

[PATCH 2/2] kfifo: handle the case that alloc size is equal to 0

2012-10-26 Thread Yuanhan Liu
is_power_of_2(size) will be failed if size is 0, and then it calls roundup_pow_of_two(0), then will return a quite *huge* value(well, the comments at roundup_pow_of_two macro says: the result is undefined when n == 0). Moving the size check before power of 2 testing and rounding will fix this not

Re: [Xen-devel] [PATCH 4/5] xen: arm: implement remap interfaces needed for privcmd mappings.

2012-10-26 Thread Ian Campbell
On Fri, 2012-10-26 at 02:39 +0100, Mukesh Rathor wrote: Yup. I made the change on xen side and added this patch to my tree and got it working after reverting Konrad's setup.c changes. Not sure if you need an ack from x86, but if you do: Acked-by: Mukesh Rathor mukesh.rat...@oracle.com The

[GIT PULL] EFI fixes for v3.7

2012-10-26 Thread Matt Fleming
Hi guys, The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: Linux 3.7-rc1 (2012-10-14 14:41:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-for-3.7 for you to fetch changes up to

Re: [PATCH 10/31] mm/mpol: Remove NUMA_INTERLEAVE_HIT

2012-10-26 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: Peter Zijlstra a.p.zijls...@chello.nl writes: Since the NUMA_INTERLEAVE_HIT statistic is useless on its own; it wants to be compared to either a total of interleave allocations or to a miss count, remove it. Fixing it would be possible, but

Re: MMTests 0.06

2012-10-26 Thread Mel Gorman
On Fri, Oct 26, 2012 at 03:48:48PM +0800, Ni zhan Chen wrote: On 10/12/2012 10:51 PM, Mel Gorman wrote: MMTests 0.06 is a configurable test suite that runs a number of common workloads of interest to MM developers. There are multiple additions all but in many respects the most useful will be

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread Fengguang Wu
On Fri, Oct 26, 2012 at 03:47:19PM +0800, Ni zhan Chen wrote: On 10/26/2012 03:36 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:19:57PM +0800, Ni zhan Chen wrote: On 10/26/2012 03:09 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:03:12PM +0800, Ni zhan Chen wrote: On 10/26/2012 02:58

Re: PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Bjorn Helgaas
[+cc Chris, also a few comments below] On Fri, Oct 26, 2012 at 12:59 AM, Cyberman Wu cyphe...@gmail.com wrote: After we upgrade to MDE 4.1.0 from Tilera, we encounter a problem that only on HighPoint 2680 card works, I've tried to fix it, but since most time I'm working in user space, I'm not

Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-26 Thread Daniel Vetter
On Fri, Oct 26, 2012 at 6:43 AM, Justin P. Mattock justinmatt...@gmail.com wrote: No worries, it is another ILK hang similar to the ones reported earlier - it just seems the ring stops advancing. Hopefully it is a missing w/a from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile

Re: [ 08/31] use clamp_t in UNAME26 fix

2012-10-26 Thread Jonathan Nieder
Greg Kroah-Hartman wrote: On Thu, Oct 25, 2012 at 05:11:19PM -0700, Jonathan Nieder wrote: Greg Kroah-Hartman wrote: v = ((LINUX_VERSION_CODE 8) 0xff) + 40; - copy = min(sizeof(buf), max_t(size_t, 1, len)); + copy = clamp_t(size_t, len, 1, sizeof(buf));

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread Ni zhan Chen
On 10/26/2012 04:02 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:47:19PM +0800, Ni zhan Chen wrote: On 10/26/2012 03:36 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:19:57PM +0800, Ni zhan Chen wrote: On 10/26/2012 03:09 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:03:12PM

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-26 Thread YingHang Zhu
Hi Fengguang, On Fri, Oct 26, 2012 at 4:02 PM, Fengguang Wu fengguang...@intel.com wrote: On Fri, Oct 26, 2012 at 03:47:19PM +0800, Ni zhan Chen wrote: On 10/26/2012 03:36 PM, Fengguang Wu wrote: On Fri, Oct 26, 2012 at 03:19:57PM +0800, Ni zhan Chen wrote: On 10/26/2012 03:09 PM, Fengguang

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

2012-10-26 Thread Arnd Bergmann
On Friday 26 October 2012, Jaegeuk Kim wrote: + +#define F2FS_ROOT_INO(sbi) (sbi-root_ino_num) +#define F2FS_NODE_INO(sbi) (sbi-node_ino_num) +#define F2FS_META_INO(sbi) (sbi-meta_ino_num) + +#define GFP_F2FS_MOVABLE (__GFP_WAIT | __GFP_IO | __GFP_ZERO) +

Re: [PATCH 1/1] usb: gadget: Don't attempt to dequeue requests for a disabled USB endpoint on Freescale hardware

2012-10-26 Thread Felipe Balbi
Hi, On Thu, Oct 25, 2012 at 02:36:24AM +0200, Laurent Pinchart wrote: Hi Felipe, On Monday 22 October 2012 13:56:01 Felipe Balbi wrote: On Mon, Oct 22, 2012 at 12:47:21PM +0200, Laurent Pinchart wrote: On Monday 22 October 2012 03:33:19 Li Yang-R58472 wrote: On Saturday, October 20,

[PATCH] n_gsm: prevent crash due to dereferencing NULL gsm-tty

2012-10-26 Thread Guillaume Juan
From: Guillaume Juan guillaume.j...@sagemcom.com If gsm-tty happens to be NULL in gsmld_output, avoid crashing the kernel (the crash is replaced by a warning dump). Prevent at earlier level such situation: - gsmtty_hangup does no longer call gsm_dlci_begin_close when called synchronously from

Re: [GIT PULL] EFI fixes for v3.7

2012-10-26 Thread Ingo Molnar
* Matt Fleming m...@console-pimps.org wrote: Hi guys, The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: Linux 3.7-rc1 (2012-10-14 14:41:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git

[PATCH] Staging: android: binder: Fixed multi-line strings

2012-10-26 Thread Anmol Sarma
Changed all user visible multi-line strings to single line. Removed 'binder:' prefix on stings. Signed-off-by: Anmol Sarma unmole...@gmail.com --- drivers/staging/android/binder.c | 370 -- 1 file changed, 150 insertions(+), 220 deletions(-) diff --git

Re: [PATCH RFT] microblaze: dma-mapping: support debug_dma_mapping_error

2012-10-26 Thread Michal Simek
On 10/26/2012 01:29 AM, Shuah Khan wrote: Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan

Re: [PATCH v2 1/1] Platform: x86: Add Chrome OS Laptop driver

2012-10-26 Thread Corentin Chary
On Thu, Oct 25, 2012 at 10:21 PM, Benson Leung ble...@chromium.org wrote: This adds the chromeos_laptop driver. It supports the Cypress APA SMBUS touchpad as well as the isl29018 i2c ambient light sensor on the Samsung Series 5 550 Chromebook. Signed-off-by: Benson Leung ble...@chromium.org

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

2012-10-26 Thread Jaegeuk Kim
On Friday 26 October 2012, Jaegeuk Kim wrote: + +#define F2FS_ROOT_INO(sbi) (sbi-root_ino_num) +#define F2FS_NODE_INO(sbi) (sbi-node_ino_num) +#define F2FS_META_INO(sbi) (sbi-meta_ino_num) + +#define GFP_F2FS_MOVABLE (__GFP_WAIT | __GFP_IO | __GFP_ZERO)

Re: [GIT PULL 0/3] perf/core trace improvements

2012-10-26 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: Hi Ingo, Please consider pulling, got sidetracked today with some other stuff, but made progress on reviewing the group patches from Namhyung that Jiri uses for that PERF_SAMPLE_READ patchset. - Arnaldo The following changes

Re: [RFC PATCH v3 00/16] DMA Engine support for AM33XX

2012-10-26 Thread Russ Dill
On Thu, Oct 18, 2012 at 6:26 AM, Matt Porter mpor...@ti.com wrote: Changes since v2: - Rebased on 3.7-rc1 - Fixed bug in DT/pdata parsing first found by Gururaja that turned out to be masked by some toolchains - Dropped unused mach-omap2/devices.c hsmmc patch

Re: [PATCH RFT] ARM64: dma-mapping: support debug_dma_mapping_error

2012-10-26 Thread Santosh Shilimkar
On Friday 26 October 2012 04:17 AM, Shuah Khan wrote: Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated.

Re: [PATCH] kfifo: remove unnecessary type check

2012-10-26 Thread Yuanhan Liu
On Fri, Oct 26, 2012 at 08:51:06AM +0200, Stefani Seibold wrote: Am Freitag, den 26.10.2012, 14:11 +0800 schrieb Yuanhan Liu: On Fri, Oct 26, 2012 at 07:38:31AM +0200, Stefani Seibold wrote: Am Freitag, den 26.10.2012, 09:46 +0800 schrieb Yuanhan Liu: From: Yuanhan Liu

Re: [patch for-3.7] mm, mempolicy: fix printing stack contents in numa_maps

2012-10-26 Thread Peter Zijlstra
On Thu, 2012-10-25 at 16:09 -0700, Linus Torvalds wrote: On Thu, Oct 25, 2012 at 7:39 AM, Peter Zijlstra pet...@infradead.org wrote: So I think the below should work, we hold the spinlock over both rb-tree modification as sp free, this makes mpol_shared_policy_lookup() which returns the

Re: [PATCH 01/16] math128: Introduce various 128bit primitives

2012-10-26 Thread Peter Zijlstra
On Thu, 2012-10-25 at 15:26 -0700, Linus Torvalds wrote: it's the *rest* of the u128 math I really object to. I also wonder about the u64xu64 math case for SCHED_DEADLINE, because I assume that it doesn't actually end up using the 128-bit result in that form, but scales it down again some way?

Re: [PATCH] hrtimer:__run_hrtimer races with enqueue_hrtimer

2012-10-26 Thread Yanmin Zhang
On Fri, 2012-10-26 at 10:51 +0800, he, bo wrote: From: Yanmin Zhang yanmin.zh...@intel.com We hit a kernel panic at __run_hrtimer=BUG_ON(timer-state != HRTIMER_STATE_CALLBACK). 2[ 10.226053, 3] kernel BUG at /home/android/xiaobing/ymz/r4/hardware/intel/linux-2.6/kernel/hrtimer.c:1228!

[tip:perf/core] perf tools: Don' t stop synthesizing threads when one vanishes

2012-10-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ba361c92e73c771fcbbbd24c2c03c322e2de2e31 Gitweb: http://git.kernel.org/tip/ba361c92e73c771fcbbbd24c2c03c322e2de2e31 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 17 Oct 2012 18:50:13 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[PATCH V2] hrtimer:__run_hrtimer races with enqueue_hrtimer

2012-10-26 Thread Yanmin Zhang
V2 adds a checking HRTIMER_STATE_ENQUEUED. If HRTIMER_STATE_ENQUEUED is set, We don't call enqueue_hrtimer. It should be rare that HRTIMER_STATE_ENQUEUED is set. --- We hit a kernel panic at __run_hrtimer=BUG_ON(timer-state != HRTIMER_STATE_CALLBACK). 2[ 10.226053, 3] kernel BUG at

[tip:perf/core] perf trace: Count number of events for each thread and globally

2012-10-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: efd5745e43f3aabd95d521289e0caa0e30668cf4 Gitweb: http://git.kernel.org/tip/efd5745e43f3aabd95d521289e0caa0e30668cf4 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 17 Oct 2012 17:09:46 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-26 Thread Viresh Kumar
Hi Vinod, On 16 October 2012 09:49, Viresh Kumar viresh.ku...@linaro.org wrote: dw_dmac driver already supports device tree but it used to have its platform data passed the non-DT way. This patch does following changes: - pass platform data via DT, non-DT way still takes precedence if both

[PATCH RESEND 1/5] tools lib traceevent: Do not generate dependency for system header files

2012-10-26 Thread Namhyung Kim
Ingo reported (again!) that 'make clean' on perf/traceevent does not work due to some reason with system header file. Quotes Ingo: Note that the old dependency related build failure thought to be fixed in commit 860df5833e46 is back: make[1]: *** No rule to make target

[PATCH 5/5] perf tools: Fix LIBELF_MMAP checking

2012-10-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Currently checking mmap support in libelf failed due to wrong flags. CHK libelf CHK libdw CHK libunwind CHK -DLIBELF_MMAP /tmp/ccYJwdR0.o: In function `main': :(.text+0x18): undefined reference to `elf_begin' collect2: error: ld returned 1

[tip:perf/core] perf trace: Use sched: sched_stat_runtime to provide a thread summary

2012-10-26 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1302d88e66f12a7b46a5598e641d93f0713007e0 Gitweb: http://git.kernel.org/tip/1302d88e66f12a7b46a5598e641d93f0713007e0 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 17 Oct 2012 17:13:12 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[PATCH 3/5] perf tools: Convert invocation of MAKE into SUBDIR

2012-10-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com This will show directory change info in a consistent form. Also it can be converted again into David Howell's descend command. Cc: Borislav Petkov b...@amd64.org Cc: David Howells dhowe...@redhat.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

where is trace_kmalloc_node?

2012-10-26 Thread yili0568
hello: everyone, I can't find the definition of trace_kmalloc_node, where is it? -- 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

Re: [PATCH v2 3/4] DMA: PL330: Balance module remove function with probe

2012-10-26 Thread Vinod Koul
On Thu, 2012-10-25 at 16:53 +0530, Inderpal Singh wrote: This code will get executed only in case of force removal of the module which was discussed in the first version of the patch at [1]. Now, if we do not have to think about force removal then this patch will go back to the first

Re: [PATCH 2/2] ARM: mach-imx: CAN clock fix for i.MX53

2012-10-26 Thread Sascha Hauer
On Thu, Oct 25, 2012 at 01:26:40PM +0200, Roland Stigge wrote: This patch fixes CAN clocking on i.MX53. Signed-off-by: Roland Stigge sti...@antcom.de --- arch/arm/mach-imx/clk-imx51-imx53.c |8 1 file changed, 4 insertions(+), 4 deletions(-) ---

Re: PCIe IO space support on Tilera GX: Is there any one who can confirm my modification to fix it is OK?

2012-10-26 Thread Cyberman Wu
We're not using 3.6.x, we're using is from MDE-4.1.0 from Tilera and it patch 3.0.38. From its release notes that PCIe I/O space is already supported. I provide diff of pci_gx.c between 3.6.3 and MDE-4.1.0 for a hint, since I don't know if it's allowed to use attached file in mail list, and their

Re: arch/x86/Kconfig: not select X86_MPPARSE when SFI is present

2012-10-26 Thread Bin Gao
Yes, your suggested descriptions more match the change. I'm sending a new patch for your review. Thanks. -Bin On Thu, Oct 25, 2012 at 09:57:52AM +0200, Ingo Molnar wrote: * Bin Gao bin@linux.intel.com wrote: MPS tables are not needed for systems that have proper ACPI support. This

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-26 Thread Vinod Koul
On Fri, 2012-10-26 at 14:25 +0530, Viresh Kumar wrote: Hi Vinod, On 16 October 2012 09:49, Viresh Kumar viresh.ku...@linaro.org wrote: dw_dmac driver already supports device tree but it used to have its platform data passed the non-DT way. This patch does following changes: - pass

[PATCH 3/3] x86: ce4100: fixup PCI configuration register access for devices without interrupts

2012-10-26 Thread Florian Fainelli
From: Maxime Bizon mbi...@freebox.fr Some CE4100 devices such as the: - DFX module (01:0b.7) - entertainment encryption device (01:10.0) - multimedia controller (01:12.0) do not have a device interrupt at all. This patch fixes the PCI controller code to declare the missing PCI configuration

[PATCH 1/3] x86: ce4100: implement pm_poweroff

2012-10-26 Thread Florian Fainelli
The CE4100 platform is currently missing a proper pm_poweroff implementation leading to poweroff making the CPU spin forever and the CE4100 platform does not enter a low-power mode where the external Power Management Unit can properly power off the system. Power off on this platform is implemented

Re: [PATCH v3] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-26 Thread Will Deacon
On Fri, Oct 26, 2012 at 08:44:35AM +0100, Kirill A. Shutemov wrote: On Thu, Oct 25, 2012 at 05:44:31PM +0100, Will Deacon wrote: On x86 memory accesses to pages without the ACCESSED flag set result in the ACCESSED flag being set automatically. With the ARM architecture a page access

Re: where is trace_kmalloc_node?

2012-10-26 Thread David Rientjes
On Fri, 26 Oct 2012, yili0...@gmail.com wrote: hello: everyone, I can't find the definition of trace_kmalloc_node, where is it? Look for DEFINE_EVENT(..., kmalloc_node, ...) in include/trace/events/kmem.h. -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH 0/3] x86: ce4100 fixes and improvements

2012-10-26 Thread Florian Fainelli
Hi all, This patch serie contains shutdown/reboot fixes for the CE4100 platform as well as a PCI controller fix for devices without an interrupt line. Florian Fainelli (3): x86: ce4100: implement pm_poweroff x86: ce4100: force reboot method to be KBD x86: ce4100: fixup PCI configuration

Re: [PATCH 00/31] numa/core patches

2012-10-26 Thread Peter Zijlstra
On Fri, 2012-10-26 at 17:07 +0800, Zhouping Liu wrote: [ 180.918591] RIP: 0010:[8118c39a] [8118c39a] mem_cgroup_prepare_migration+0xba/0xd0 [ 182.681450] [81183b60] do_huge_pmd_numa_page+0x180/0x500 [ 182.775090] [811585c9] handle_mm_fault+0x1e9/0x360 [

[PATCH 2/3] x86: ce4100: force reboot method to be KBD

2012-10-26 Thread Florian Fainelli
From: Maxime Bizon mbi...@freebox.fr The default reboot is via ACPI for this platform, and the CEFDK bootloader actually supports this, but will issue a system power off instead of a real reboot. Setting the reboot method to be KBD instead of ACPI ensures proper system reboot. Signed-off-by:

Re: [PATCH 2/3] PCI: correctly detect ACPI PCI host bridge objects

2012-10-26 Thread Bjorn Helgaas
On Thu, Oct 18, 2012 at 2:50 PM, Yinghai Lu ying...@kernel.org wrote: From: Jiang Liu jiang@huawei.com The code in pci_root_hp.c depends on function acpi_is_root_bridge() to check whether an ACPI object is a PCI host bridge or not. If an ACPI device hasn't been created for the ACPI object

[PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-26 Thread Ondrej Zary
Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable A20 line but resume code assumes that KBC was used. The laptop will not resume from S3 otherwise but powers off after a while and then powers on again stuck with a blank screen. Fix it by enabling A20 using KBC. Affected

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-26 Thread Peter Zijlstra
On Fri, 2012-10-26 at 10:29 +0900, Namhyung Kim wrote: Hi Jiri, On Sat, 20 Oct 2012 16:33:08 +0200, Jiri Olsa wrote: hi, adding support to read sample values through the PERF_SAMPLE_READ sample type. It's now possible to specify 'S' modifier for an event and get its sample value by

Re: [PATCH v2 2/4] gpio: add viperboard gpio driver

2012-10-26 Thread Lars Poeschel
On Thursday 25 October 2012 at 18:06:51, Mark Brown wrote: Are you saying that whoever designed this USB device has done it so that it takes a byte stream with something like RRVV where RR is the register and VV is the value? That's the marshalling, as you'll have seen that's done before the

Re: [PATCH 2/2] ARM: mach-imx: CAN clock fix for i.MX53

2012-10-26 Thread Roland Stigge
Hi! On 10/26/2012 10:59 AM, Sascha Hauer wrote: On Thu, Oct 25, 2012 at 01:26:40PM +0200, Roland Stigge wrote: This patch fixes CAN clocking on i.MX53. Signed-off-by: Roland Stigge sti...@antcom.de --- arch/arm/mach-imx/clk-imx51-imx53.c |8 1 file changed, 4 insertions(+),

  1   2   3   4   5   6   7   8   9   10   >