[PATCH 6/8] rcu: call rcu_read_unlock_special() in rcu_preempt_check_callbacks()

2013-08-07 Thread Lai Jiangshan
if rcu_read_unlock_special() is deferred, we can invoke it earlier in the schedule-tick. Signed-off-by: Lai Jiangshan --- kernel/rcutree_plugin.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index 997b424..c9ff9f1

[PATCH 12/26] x86 kernel apic: notify MSI irqdomain(s) on etup/teardown of MSI IRQs

2013-08-07 Thread Davide Ciminaghi
This patch should have no effect on non-OF x86 machines. When CONFIG_OF is enabled, an irqdomain exists for each MSI controller in the devicetree. This patch invokes the functions taking care of adding/removing IRQs numbers to/from the MSI irqdomain they belong to. Signed-off-by: Davide

[PATCH 09/26] kernel irqdomain: export irq_domain_disassociate()

2013-08-07 Thread Davide Ciminaghi
irq_create_of_mapping() requires an irqdomain to be registered for each interrupt controller node. While extending devicetree usage on x86 to devices with MSI irqs, [at least] an msi interrupt controller node had to be added together with the relevant irqdomain. Registering a nomap irqdomain for

[PATCH 22/26] AMBA: pci-amba bridge: extend number of amba devs per pci device

2013-08-07 Thread Davide Ciminaghi
This patch makes it possible to create multiple AMBA devices per PCI device (multiple AMBA devices on the same PCI bar, or one/more AMBA devices referring to more than one PCI BAR). This feature is needed to completely support the Connext chip, which has, for instance, multiple devices on the same

[PATCH 18/26] x86 STA2X11 platform: add a common probe function for platform devices

2013-08-07 Thread Davide Ciminaghi
This patch introduces a common probe method for the STA2X11 base platform drivers. The following steps are performed: * Registers belonging to the probed device are ioremapped. * devm_regmap_init_mmio() is invoked on such registers. * A struct sta2x11_platform_drv_data containing device data is

[PATCH 16/26] x86 STA2X11 platform: add sta2x11_platform_init()

2013-08-07 Thread Davide Ciminaghi
This patch adds an init function which looks for connext nodes in the device tree (compatible "pci104a,cc17") and creates a list of sta2x11 related data structures (struct sta2x11_instance_data). For each sta2x11, the relevant four platform devices are also created (scr, apbreg, apb-soc-regs,

[PATCH 17/26] x86 STA2X11 platform: add sta2x11_instance_data helpers

2013-08-07 Thread Davide Ciminaghi
This patch adds functions to get a pointer to a sta2x11 instance data structure given a pointer to a connext device or device node. Such helpers will be used by the (now empty) common probe function, and maybe by the common clock framework. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo

[PATCH 19/26] x86 STA2X11 platform: create sta2x11-clock-regs device

2013-08-07 Thread Davide Ciminaghi
This patch creates a virtual platform device each time the apb-soc-regs and sctl devices have been probed for a given sta2x11 instance. This will trigger clock registration for such instance. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/include/asm/sta2x11.h |

[PATCH 13/26] drivers/amba/pci-amba.c: use devicetree for amba device creation.

2013-08-07 Thread Davide Ciminaghi
The following scheme applies for each pci-amba device within the devicetree: * sta2x11 pci express port (pci id = 0xcc17) | | * pci-amba bridge node (pci id = 0xcc18) | +---+ | | | * amba-bus

[PATCH 21/26] AMBA: pci-amba bridge: improve code readability

2013-08-07 Thread Davide Ciminaghi
This patch moves the code fixing up irq numbers for amba devices to a separate function (fixup_amba_irqs()). Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/amba/pci-amba.c | 97 +- 1 files changed, 53 insertions(+), 44

[PATCH 20/26] x86 STA2X11 platform: remove useless pr_info()'s

2013-08-07 Thread Davide Ciminaghi
Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/platform/sta2x11/sta2x11.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/x86/platform/sta2x11/sta2x11.c b/arch/x86/platform/sta2x11/sta2x11.c index 57ed10d..b3e9cec 100644 ---

[PATCH 14/26] gpio: remove sta2x11-gpio

2013-08-07 Thread Davide Ciminaghi
The Connext chip has 4 gpio cells looking very similar to those of the Nomadik, whose gpio/pinctrl driver (already featuring devicetree support) will be used instead of the sta2x11 specific one. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/gpio/Kconfig|8

Re: [PATCH] kernel/sysctl_binary.c: improve the usage of return value 'result'

2013-08-07 Thread Chen Gang
Firstly, sorry for replying late, and also thank you for your detail patient reply. On 08/07/2013 03:45 PM, Eric W. Biederman wrote: > Chen Gang writes: > >> On 08/07/2013 05:46 AM, Eric W. Biederman wrote: >>> Chen Gang writes: >>> >>> Have you tested this code? Do you have anything that

[PATCH 02/26] DMA: PL330: use prefix in reg names to build under x86

2013-08-07 Thread Alessandro Rubini
This driver would not compile if ARM_AMBA is selected under x86, because "CS" and "DS" are already defined there. But AMBA is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. The patch just adds the "PL330_" prefix to all registers, so it can be built by randomconfig after

[PATCH 00/26] STA2X11 devicetree support for amba/pci

2013-08-07 Thread Alessandro Rubini
[DISCLAIMER : both of us (Alessandro and Davide) are not devicetree experts, so please understand how our issues and our dislike of the approach may result from some lack of knowledge. (any pointer is welcome).] As some of you may remember, we're submitting patches adding support for the STA2X11

[PATCH 10/26] x86 devicetree: add irq domain for msi irqs

2013-08-07 Thread Davide Ciminaghi
An irqdomain is created for each MSI interrupt controller found in the tree. This is to make irq_create_of_mapping() happy later on. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- .../devicetree/bindings/x86/interrupt.txt | 14 ++

[PATCH 11/26] x86 devicetree: add functions for handling setup/teardown of MSI irqs

2013-08-07 Thread Davide Ciminaghi
This patch introduces x86_of_new_msi_irq() and x86_of_del_msi_irq(), which shall be invoked by native_setup_msi_irqs() and native_teardown_msi_irq() respectively to add/delete irq numbers to/from the "dummy" msi irqdomain. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi ---

[PATCH 06/26] x86 STA2X11: select devicetree related config items.

2013-08-07 Thread Davide Ciminaghi
This patch selects some config items needed for adding device tree support to STA2X11 based machines. In particular: * OF_DYNAMIC is needed to use of_detach_node() and avoid instantiating the same node twice. * IRQ_DOMAIN is needed because irq_of_parse_and_map() needs

[PATCH 03/26] mmc: Use the new

2013-08-07 Thread Alessandro Rubini
For portability, use . Signed-off-by: Alessandro Rubini Link: http://lkml.kernel.org/r/1355146956-6009-6-git-send-email-cimina...@gnudd.com Acked-by: Giancarlo Asnaghi Acked-by: David Brown Signed-off-by: H. Peter Anvin --- drivers/mmc/host/mmci.c |2 +- drivers/mmc/host/msm_sdcc.c

[PATCH 08/26] OF platform, of_amba_device_create(): add parent resource to parameters.

2013-08-07 Thread Davide Ciminaghi
This is needed when creating pci-amba devices: an amba device's resource shall be child of the corresponding pci device's resource. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/of/platform.c | 11 +++ include/linux/of_platform.h |3 ++- 2 files

[PATCH 07/26] OF platform: export of_amba_device_create()

2013-08-07 Thread Davide Ciminaghi
This is needed because the pci-amba bus will create one or more amba devices for each probed pci device. We cannot create all the devices belonging to the same amba bus with just one call to of_platform_populate() Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi ---

[PATCH 04/26] x86: add CONFIG_ARM_AMBA, selected by STA2X11

2013-08-07 Thread Alessandro Rubini
The sta2x11 I/O Hub is a bridge from PCIe to AMBA. It reuses a number of amba drivers and needs to activate core bus support. Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi --- arch/x86/Kconfig |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH 05/26] drivers/amba: add support for a PCI bridge

2013-08-07 Thread Alessandro Rubini
This is a PCI driver that registers AMBA devices for the range of supported devices. It is currently used by STA2X11, which exports AMBA peripherals under PCIe. The original AMBA drivers work with no changes or minimal ones. Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi Cc:

[PATCH 2/8] rcu: remove irq/softirq context check in rcu_read_unlock_special()

2013-08-07 Thread Lai Jiangshan
After patch 10f39bb1, "special & RCU_READ_UNLOCK_BLOCKED" can't be true in irq nor softirq.(due to RCU_READ_UNLOCK_BLOCKED can only be set when preemption) Signed-off-by: Lai Jiangshan --- kernel/rcutree_plugin.h |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git

[PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Lai Jiangshan
Although all articles declare that rcu read site is deadlock-immunity. It is not true for rcu-preempt, it will be deadlock if rcu read site overlaps with scheduler lock. ec433f0c, 10f39bb1 and 016a8d5b just partially solve it. But rcu read site is still not deadlock-immunity. And the problem

[PATCH 01/26] x86: fix warning for sta2x11

2013-08-07 Thread Alessandro Rubini
The .free fied of struct dma_map_ops features a prototype that is different from what lib/swiotlb.c offers. The new "attrs" argument in dma_ops.free is missing from the generic implementation. This removes the build warning by providing a function that just calls swiotlb_free_coherent() without

[PATCH 26/26] pinctrl: add support for sta2x11 (via pinctrl-nomadik)

2013-08-07 Thread Davide Ciminaghi
Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- .../devicetree/bindings/pinctrl/ste,nomadik.txt|2 +- drivers/pinctrl/Kconfig|6 +- drivers/pinctrl/Makefile |1 + drivers/pinctrl/pinctrl-nomadik-sta2x11.c

[PATCH 25/26] drivers/clk: sta2x11 common clock framework implementation

2013-08-07 Thread Davide Ciminaghi
This patch was submitted as RFC on June 20th 2012 (see https://lkml.org/lkml/2012/6/20/779 for more details) and resubmitted on March 8th 2013 (see https://lkml.org/lkml/2013/3/8/245 for more details). This is a new version which: * Gets rid of the platform bus notifier replacing it with a

[PATCH 23/26] AMBA: pci-amba bridge: export function creating pci-amba device names

2013-08-07 Thread Davide Ciminaghi
pci_amba_get_dev_name() will be used by the sta2x11 common clock framework to register clkdevs with the same name as the corresponding amba or platform device. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/amba/pci-amba.c | 14 ++

[PATCH 4/8] rcu: delay task rcu state cleanup in exit_rcu()

2013-08-07 Thread Lai Jiangshan
exit_rcu() tries to clean up the task rcu state when the task is exiting. It did it by calls __rcu_read_unlock(). Actually, calling rcu_read_unlock_special() is enough. This patch defer it to the rcu_preempt_note_context_switch() of the next schedule(). This patch prepares for the next patch

[PATCH 7/8] rcu: add # of deferred _special() statistics

2013-08-07 Thread Lai Jiangshan
Signed-off-by: Lai Jiangshan --- kernel/rcutree.h|1 + kernel/rcutree_plugin.h |1 + kernel/rcutree_trace.c |1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/kernel/rcutree.h b/kernel/rcutree.h index 4a39d36..a5e9643 100644 --- a/kernel/rcutree.h +++

[PATCH 24/26] x86 STA2X11: add dts for Intel's Northville board

2013-08-07 Thread Davide Ciminaghi
The base for this dts was automatically generated to avoid typos, most of all in ranges and interrupt-map properties. It was then hand-edited to add some details (for instance mmci1 gpio's). This dts is still incomplete. Yet, it contains most of the pci-amba devices and allows a northville board

[PATCH 8/8] rcu: remove irq work for rsp_wakeup()

2013-08-07 Thread Lai Jiangshan
It is safe to aquire scheduler lock in rnp->lock since the rcu read lock is always deadlock-immunity(rnp->lock is always can't be nested in scheduler lock) it partial revert patch 016a8d5b. Signed-off-by: Lai Jiangshan --- kernel/rcutree.c | 17 ++--- kernel/rcutree.h |1 - 2

[PATCH 3/8] rcu: keep irqs disabled in rcu_read_unlock_special()

2013-08-07 Thread Lai Jiangshan
rcu_read_unlock_special() may enable irqs temporarily before it finish its last work. It doesn't introduce any extremely bad things. but it does add more task rcu machine states and add more complexity, bad to review. And if the task is preempted when it enables irqs, the

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-07 Thread Nix
On 6 Aug 2013, Trond Myklebust verbalised: > True. How about something like the following instead. Note the change to > the original patch... Well, with those applied I could reboot without a panic for the first time since 3.8.x: looking good. I'll give it a reboot or two with a system that's not

[PATCH V4] drivers/rtc/rtc-palmas.c: support for backup battery charging

2013-08-07 Thread Laxman Dewangan
Palmas series device like TPS65913, TPS80036 supports the backup battery for powering the RTC when no other energy source is available. The backup battery is optional, connected to the VBACKUP pin, and can be nonrechargeable or rechargeable. The rechargeable battery can be charged from the system

Re: [PATCH] bitops: move BITS() macro to the bitops file

2013-08-07 Thread anish singh
On Wed, Aug 7, 2013 at 2:36 PM, Linus Walleij wrote: > This macro was invented by Mattias Nilsson for the usecase > where you want to set a sequence of bits inside a n-bit > word, while leaving the head and tail of the sequence all > zeroes. For example: > > #include > > u16 mask = BITS(4,

Re: [Help Test] kdump, x86, acpi: Reproduce CPU0 SMI corruption issue after unsetting BSP flag

2013-08-07 Thread HATAYAMA Daisuke
(2013/08/07 1:25), Bjorn Helgaas wrote: On Tue, Aug 6, 2013 at 3:19 AM, HATAYAMA Daisuke wrote: So, could anyone help testing the idea 2) above if you have which of the following machines? (or other ones that can lead to the same bug) - HP Compaq 6910p - HP Compaq 6710b - HP Compaq 6710s - HP

Re: unused swap offset / bad page map.

2013-08-07 Thread Hillf Danton
Hello Dave On Wed, Aug 7, 2013 at 1:51 PM, Dave Jones wrote: > Seen while fuzzing with lots of child processes. > > swap_free: Unused swap offset entry 001263f5 > BUG: Bad page map in process trinity-child29 pte:24c7ea00 pmd:09fec067 > addr:7f9db958d000 vm_flags:00100073

Re: [PATCH V2 Resend 4/4] timer: Migrate running timer

2013-08-07 Thread Viresh Kumar
On 24 July 2013 14:47, Viresh Kumar wrote: > On 18 June 2013 10:21, Viresh Kumar wrote: > Hi Thomas, > > Do you still see some light of hope in this patch :) ? Ping!! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH V7 23/30] thermal: exynos: Add thermal configuration data for exynos5440 TMU sensor

2013-08-07 Thread Naveen Krishna Ch
On 26 June 2013 06:54, Jungseok Lee wrote: > On Monday, June 24, 2013 7:51 PM, Amit Daniel Kachhap wrote: >>This patch adds configuration data for exynos5440 soc. Also register >>definations for the controller are added. >> >>Acked-by: Jonghwa Lee >>Acked-by: Kukjin Kim >>Signed-off-by: Amit

Re: [PATCH] f2fs: fix a deadlock in fsync

2013-08-07 Thread Jaegeuk Kim
Hi Jin, 2013-08-07 (수), 12:23 +0800, Jim Xu: > Hi Kim, > > The patch sounds good to me. > > BTW, as in the deadlock situation I noticed, I did not find any thread was > doing checkpoint at that moment. The bdi writeback thread and the fsync user > thread was not. Neither was the background

Re: [PATCH] regulator: fan53555: Prevent multiple include of fan53555.h

2013-08-07 Thread Mark Brown
On Wed, Aug 07, 2013 at 08:56:10AM +0800, Axel Lin wrote: > Add define for __FAN53555_H__ to prevent multiple include of the header file. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/2] hwmon: (lm90) Add power control

2013-08-07 Thread Wei Ni
On 08/07/2013 04:45 PM, Alexander Shiyan wrote: >> On 08/07/2013 03:50 PM, Guenter Roeck wrote: >>> On 08/07/2013 12:32 AM, Wei Ni wrote: On 08/07/2013 03:27 PM, Alexander Shiyan wrote: >> The device lm90 can be controlled by the vdd rail. >> Adding the power control support to power

Re: [PATCH V5 17/30] thermal: exynos: Remove non DT based support

2013-08-07 Thread Naveen Krishna Ch
On 11 June 2013 18:23, Amit Daniel Kachhap wrote: > Recently non DT support from Exynos platform is removed and hence > removing non DT support from the driver also. This will help in easy > maintainence. > > Signed-off-by: Amit Daniel Kachhap Hello Amit, When you remove the non-DT support why

Re: [RFC/PATCH 0/2] ext4: Transparent Decompression Support

2013-08-07 Thread Andreas Dilger
On 2013-08-04, at 5:48 PM, Dave Chinner wrote: > On Sat, Aug 03, 2013 at 10:21:14PM -0400, Jörn Engel wrote: >> On Sat, 3 August 2013 20:33:16 -0400, Theodore Ts'o wrote: >>> >>> P.P.S. At least in theory, nothing of what I've described here has to be >>> ext4 specific. We could implement this

Re: [PATCH 0/2] hugepage: optimize page fault path locking

2013-08-07 Thread Joonsoo Kim
On Tue, Aug 06, 2013 at 05:08:04PM -0700, Davidlohr Bueso wrote: > On Mon, 2013-07-29 at 15:18 +0900, Joonsoo Kim wrote: > > On Fri, Jul 26, 2013 at 07:27:23AM -0700, Davidlohr Bueso wrote: > > > This patchset attempts to reduce the amount of contention we impose > > > on the

Re: [PATCH 17/18] mm, hugetlb: retry if we fail to allocate a hugepage with use_reserve

2013-08-07 Thread Joonsoo Kim
On Tue, Aug 06, 2013 at 06:38:49PM -0700, Davidlohr Bueso wrote: > On Wed, 2013-08-07 at 11:03 +1000, David Gibson wrote: > > On Tue, Aug 06, 2013 at 05:18:44PM -0700, Davidlohr Bueso wrote: > > > On Mon, 2013-08-05 at 16:36 +0900, Joonsoo Kim wrote: > > > > > Any mapping that doesn't use the

Re: [PATCH v3 11/11] netfilter: use ns_printk in iptable context

2013-08-07 Thread Pablo Neira Ayuso
Hi, On Wed, Aug 07, 2013 at 03:37:15PM +0800, Rui Xiang wrote: > To containerise iptables log, use ns_printk > to report individual logs to container as > getting syslog_ns from net->user_ns. This patch is missing the removal of a couple of LOC at the very beginning of ipt_log_packet and

Re: [PATCH] kernel/sysctl_binary.c: improve the usage of return value 'result'

2013-08-07 Thread Chen Gang
On 08/07/2013 04:44 PM, Li Zefan wrote: >>> The first one is, if you get a reply from a maintainer (especially a top >>> maintainer), try harder to understand/learn from that reply, but don't >>> keep asking why and don't keep arguing without much thinking. I think >>> what's why sometimes people

[PATCH 3/3] mm: use zone_is_initialized() instead of if(zone->wait_table)

2013-08-07 Thread Xishi Qiu
Use "zone_is_initialized()" instead of "if (zone->wait_table)". Simplify the code, no functional change. Signed-off-by: Xishi Qiu --- mm/memory_hotplug.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index f3fcac1..387654b

[PATCH 2/3] mm: use zone_is_empty() instead of if(zone->spanned_pages)

2013-08-07 Thread Xishi Qiu
Use "zone_is_empty()" instead of "if (zone->spanned_pages)". Simplify the code, no functional change. Signed-off-by: Xishi Qiu --- mm/memory_hotplug.c |6 +++--- mm/page_alloc.c |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/memory_hotplug.c

[PATCH 1/3] mm: use zone_end_pfn() instead of zone_start_pfn+spanned_pages

2013-08-07 Thread Xishi Qiu
Use "zone_end_pfn()" instead of "zone->zone_start_pfn + zone->spanned_pages". Simplify the code, no functional change. Signed-off-by: Xishi Qiu --- kernel/power/snapshot.c | 12 ++-- mm/memory_hotplug.c |4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [PATCH v3] backlight: lm3630: apply chip revision

2013-08-07 Thread Jingoo Han
On Wednesday, August 07, 2013 1:56 PM, Daniel Jeong wrote: > > The LM3630 chip was revised by TI and chip name was also changed to LM3630A. > And register map, default values and initial sequences are changed. > The files, lm3630_bl.{c,h} are replaced by lm3630a_bl.{c,h} > You can find more

[PATCH] bitops: move BITS() macro to the bitops file

2013-08-07 Thread Linus Walleij
This macro was invented by Mattias Nilsson for the usecase where you want to set a sequence of bits inside a n-bit word, while leaving the head and tail of the sequence all zeroes. For example: #include u16 mask = BITS(4, 12); Yields a mask like this: 0001 This patch moves

[PATCH] netconsole: avoid a crash with multiple sysfs writers

2013-08-07 Thread Dan Aloni
When my 'ifup eth' script was fired multiple times and ran concurrent on my laptop, for some obscure /etc scripting reason, it was revealed that the store_enabled() function in netconsole doesn't handle it nicely, as recorded by the Oops below (a syslog paste, but not mangled too much to prevent

Re: Backlight control only in the kernel?

2013-08-07 Thread Aaron Lu
On 08/07/2013 03:44 PM, Borislav Petkov wrote: > On Sun, Jun 09, 2013 at 07:01:36PM -0400, Matthew Garrett wrote: >> Windows 8 introduced new policy for backlight control by pushing it out to >> graphics drivers. This appears to have coincided with a range of vendors >> adding Windows 8 checks to

[PATCH] ARM: at91/dt: split sama5d3 definition

2013-08-07 Thread Boris BREZILLON
This patch splits the sama5d3 SoCs definition: - a common base for all sama5d3 SoCs (sama5d3.dtsi) - several optional peripheral definitions which will be included by sama5d3 specific SoCs (sama5d3_'periph name'.dtsi) - sama5d3 specific SoC definitions (sama5d3x.dtsi) This provides a better

Re: [PATCH V9 05/14] perf tools: tidy up sample parsing overflow checking

2013-08-07 Thread Namhyung Kim
On Wed, 07 Aug 2013 11:19:32 +0300, Adrian Hunter wrote: > On 07/08/13 11:09, Namhyung Kim wrote: >> On Mon, 5 Aug 2013 19:26:25 +0300, Adrian Hunter wrote: >>> The size of data retrieved from a sample event must be >>> validated to ensure it does not go past the end of the >>> event. That was

test

2013-08-07 Thread Carl-Valentin Schmitt
this e-mail is a test. want to check if I am already subscribed to vger.kernel.org Val. -- 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

Re: [PATCH V9 01/14] perf tools: add debug prints

2013-08-07 Thread Namhyung Kim
On Wed, 07 Aug 2013 11:13:23 +0300, Adrian Hunter wrote: > On 07/08/13 09:44, Namhyung Kim wrote: >> Things like this likely being ended up with typo. How about this? (not >> tested) > > And yet there aren't any typos. Yes, but there's a possibility of adding one later. I have a memory that

Re: [PATCH trivial] UAPI: Kbuild: add/modify comments for "uapi/Kbuild" and "uapi/linux/Kbuild"

2013-08-07 Thread Chen Gang
On 08/07/2013 03:32 PM, Rob Landley wrote: > On 08/06/2013 12:31:43 PM, Joe Perches wrote: >> On Tue, 2013-08-06 at 09:46 +0800, Chen Gang wrote: >> > "include/uapi/" is the whole Linux kernel API, it is important enough >> > to get more global explanations by comments. >> >> It'd probably be

Re: [BUG linux-next] watchdog: build breakage for non-SMP builds

2013-08-07 Thread Michal Hocko
On Wed 07-08-13 09:44:42, Lothar Waßmann wrote: > Hi, > > commit 0ce6966b "watchdog: update watchdog_tresh properly" breaks > build on non-SMP systems (more specifically: on systems where > CONFIG_USE_GENERIC_SMP_HELPERS is not set): > linux-next/kernel/watchdog.c: In function 'update_timers': >

[PATCH] kvm tools: Fix build of guest init with biarch powerpc compilers

2013-08-07 Thread Michael Ellerman
On powerpc we build kvmtool as a 64bit binary. We do that by setting -m64 in our CFLAGS. For most things we just call $(CC) and it passes that info onto the linker. However there is one place where we explicitly call the linker, in the build of guest/init - and in that case we need to tell the

[PATCH] kexec: remove unnecessary return

2013-08-07 Thread Simon Horman
From: Xishi Qiu Code can not run here forever, so remove the unnecessary return. Signed-off-by: Xishi Qiu Suggested-by: Zhang Yanfei Reviewed-by: Zhang Yanfei Signed-off-by: Simon Horman --- kernel/kexec.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) Andrew, could you

Re: [PATCH 06/18] MAINTAINERS: ARM: plat-nomadik: Update patterns

2013-08-07 Thread Linus Walleij
On Mon, Jul 22, 2013 at 2:15 AM, Joe Perches wrote: > commit 694e33a7f4 ("ARM: plat-nomadik: move MTU, kill plat-nomadik") > moved the files, update the patterns. > > Signed-off-by: Joe Perches > cc: Linus Walleij I applied this to my Nomadik tree, yell if you will push it some other path.

Re: [PATCH] kernel/sysctl_binary.c: improve the usage of return value 'result'

2013-08-07 Thread Li Zefan
>> The first one is, if you get a reply from a maintainer (especially a top >> maintainer), try harder to understand/learn from that reply, but don't >> keep asking why and don't keep arguing without much thinking. I think >> what's why sometimes people are annoyed in the discussion with you. >> >

Re: [PATCH 1/2] hwmon: (lm90) Add power control

2013-08-07 Thread Alexander Shiyan
> On 08/07/2013 03:50 PM, Guenter Roeck wrote: > > On 08/07/2013 12:32 AM, Wei Ni wrote: > >> On 08/07/2013 03:27 PM, Alexander Shiyan wrote: > The device lm90 can be controlled by the vdd rail. > Adding the power control support to power on/off the vdd rail. > And make sure that

Re: [PATCH] mfd: ti_am335x_tscadc: fix spin lock and reg_cache

2013-08-07 Thread Lee Jones
On Mon, 05 Aug 2013, Zubair Lutfullah wrote: > Reg_cache variable is used to lock step enable register > from being accessed and written by both TSC and ADC > at the same time. > However, it isn't updated anywhere in the code at all. > > If both TSC and ADC are used, eventually 1 is always >

Re: [PATCH V9 04/14] perf tools: change machine__findnew_thread() to set thread pid

2013-08-07 Thread Namhyung Kim
On Wed, 07 Aug 2013 11:34:23 +0300, Adrian Hunter wrote: > On 07/08/13 10:51, Namhyung Kim wrote: >> On Mon, 5 Aug 2013 19:26:24 +0300, Adrian Hunter wrote: >>> Add a new parameter for 'pid' to machine__findnew_thread(). >>> Change callers to pass 'pid' when it is known. >>> >> [SNIP] >> >>> @@

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

2013-08-07 Thread Thomas Petazzoni
Dear Stephen Rothwell, On Wed, 7 Aug 2013 14:25:01 +1000, Stephen Rothwell wrote: > Hi all, > > After merging the mvebu tree, today's linux-next build > (x86_64 allmodconfig) failed like this: > > arch/x86/kernel/x86_init.c:115:22: error: 'default_restore_msi_irqs' > undeclared here (not in a

[PATCH] thermal: exynos_tmu: fix wrong error check for mapped memory

2013-08-07 Thread Naveen Krishna Chatradhi
The error check is checking for a "base" mapped memory base instead of "base_common". Fixing the same. Signed-off-by: Naveen Krishna Chatradhi --- drivers/thermal/samsung/exynos_tmu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c

[PATCH net v2] net: rename busy poll MIB counter

2013-08-07 Thread Eliezer Tamir
Rename mib counter from "low latency" to "busy poll" v1 also moved the counter to the ip MIB (suggested by Shawn Bohrer) Eric Dumazet suggested that the current location is better. So v2 just renames the counter to fit the new naming convention. Signed-off-by: Eliezer Tamir ---

Re: linux-next: Tree for Aug 7

2013-08-07 Thread Sedat Dilek
onflicts against the ext4 tree. > > > [ CC some netdev and wireless folks ] Yesterday, I discovered an issue with net-next. The patch in [1] fixed the problems in my network/wifi environment. Hannes confirmed that virtio_net are s

Re: [PATCH V9 04/14] perf tools: change machine__findnew_thread() to set thread pid

2013-08-07 Thread Adrian Hunter
On 07/08/13 10:51, Namhyung Kim wrote: > On Mon, 5 Aug 2013 19:26:24 +0300, Adrian Hunter wrote: >> Add a new parameter for 'pid' to machine__findnew_thread(). >> Change callers to pass 'pid' when it is known. >> > [SNIP] > >> @@ -198,7 +198,7 @@ static int perf_event__inject_buildid(struct

Re: [PATCH 1/5] pdev: Fix platform device resource linking

2013-08-07 Thread Russell King - ARM Linux
On Wed, Aug 07, 2013 at 02:57:00PM +0900, Greg Kroah-Hartman wrote: > On Tue, Aug 06, 2013 at 11:19:14AM +0100, Russell King - ARM Linux wrote: > > On Tue, Aug 06, 2013 at 06:15:27PM +0800, Greg Kroah-Hartman wrote: > > > On Tue, Aug 06, 2013 at 12:45:42PM +0300, Pantelis Antoniou wrote: > > > >

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

2013-08-07 Thread Mike Galbraith
On Tue, 2013-08-06 at 09:29 +0200, Mike Galbraith wrote: ... > E5620+write 0 -> > /dev/cpu_dma_latency, hold open > v3.7.10 578.5 KHz 1.000 675.4 KHz 1.000 > v3.7.10-nothrottle 366.7 KHz .633 395.0 KHz

Re: [PATCH V9 08/14] perf tools: move struct ip_event

2013-08-07 Thread Namhyung Kim
On Mon, 5 Aug 2013 19:26:28 +0300, Adrian Hunter wrote: > struct ip_event assumes fixed positions for ip, pid > and tid. That is no longer true with the addition of > PERF_SAMPLE_IDENTIFIER. > > struct ip_event is no longer used except by hists_link.c. > Move it there. I think you can just get

Re: [PATCH v6 2/8] ASoC: atmel: machine driver for at91sam9x5-wm8731 boards

2013-08-07 Thread Richard Genoud
2013/8/6 Mark Brown : > On Tue, Jul 30, 2013 at 12:32:03PM +0200, Richard Genoud wrote: >> From: Nicolas Ferre >> >> Description of the Asoc machine driver for an at91sam9x5 based board >> with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a >> master on the SSC/I2S interface.

Re: [PATCH V9 05/14] perf tools: tidy up sample parsing overflow checking

2013-08-07 Thread Adrian Hunter
On 07/08/13 11:09, Namhyung Kim wrote: > On Mon, 5 Aug 2013 19:26:25 +0300, Adrian Hunter wrote: >> The size of data retrieved from a sample event must be >> validated to ensure it does not go past the end of the >> event. That was being done sporadically and without >> considering integer

Dear user

2013-08-07 Thread ADMIN
Dear user Your e-mail exceeds 2 GB, which is created by our webmaster, you are currently at 2.30GB, you can not send or receive new messages until you check your account. Fill out the form to confirm your account. Complete the form below to confirm your e-mail address: (1) E-mail: (2) Username:

Re: [PATCH V9 05/14] perf tools: tidy up sample parsing overflow checking

2013-08-07 Thread Namhyung Kim
On Mon, 5 Aug 2013 19:26:25 +0300, Adrian Hunter wrote: > The size of data retrieved from a sample event must be > validated to ensure it does not go past the end of the > event. That was being done sporadically and without > considering integer overflows. Wouldn't it be great if the macro (or

Re: [PATCH 1/2] hwmon: (lm90) Add power control

2013-08-07 Thread Wei Ni
On 08/07/2013 03:50 PM, Guenter Roeck wrote: > On 08/07/2013 12:32 AM, Wei Ni wrote: >> On 08/07/2013 03:27 PM, Alexander Shiyan wrote: The device lm90 can be controlled by the vdd rail. Adding the power control support to power on/off the vdd rail. And make sure that power is

Re: [RFC PATCH] clock: correct the comparison parameter of MHz

2013-08-07 Thread Bo Shen
Hi Russell King, On 8/7/2013 16:02, Russell King - ARM Linux wrote: On Wed, Aug 07, 2013 at 03:47:40PM +0800, Bo Shen wrote: correct the comparison parameter of MHz from 4,000,000 to 1,000,000 You're assuming this wasn't intentional. As the division by 100 ends up losing the fractional

Re: [PATCH V9 01/14] perf tools: add debug prints

2013-08-07 Thread Adrian Hunter
On 07/08/13 09:44, Namhyung Kim wrote: > Hi Adrian, > > On Mon, 5 Aug 2013 19:26:21 +0300, Adrian Hunter wrote: >> It is useful to see the arguments to perf_event_open >> and whether the perf events ring buffer was mmapped >> per-cpu or per-thread. That information will now be >> displayed when

Re: [RFC PATCH] clock: correct the comparison parameter of MHz

2013-08-07 Thread Russell King - ARM Linux
On Wed, Aug 07, 2013 at 03:47:40PM +0800, Bo Shen wrote: > correct the comparison parameter of MHz from 4,000,000 to 1,000,000 You're assuming this wasn't intentional. As the division by 100 ends up losing the fractional rate, I decided to leave 1-4MHz as kHz, so something like 1.832MHz

Re: [PATCH] kernel/sysctl_binary.c: improve the usage of return value 'result'

2013-08-07 Thread Chen Gang
On 08/07/2013 03:02 PM, Li Zefan wrote: >>> To be honest... >>> >>> You are too bad in english to do kernel development. You don't seem to >>> know how to communicate in english... >>> >> >> So I should improve my English, and now I am just trying improving. >> >> At least, it is not an excuse to

Re: [PATCH 1/3] clk: s2mps11: Add support for s2mps11

2013-08-07 Thread Lee Jones
On Tue, 06 Aug 2013, Mike Turquette wrote: > Quoting Yadwinder Singh Brar (2013-08-05 21:25:44) > > Hi Mike, > > > > On Tue, Aug 6, 2013 at 4:53 AM, Mike Turquette > > wrote: > > > Quoting Yadwinder Singh Brar (2013-07-07 04:44:20) > > >> This patch adds support to register three(AP/CP/BT)

Re: [PATCH v3 00/11] Add namespace support for syslog

2013-08-07 Thread Eric W. Biederman
Since this still has not been addressed. I am going to repeat Andrews objection again. Isn't there a better way to get iptables information out than to use syslog. I did not have time to follow up on that but it did appear that someone did have a better way to get the information out.

[RFC PATCH] clock: correct the comparison parameter of MHz

2013-08-07 Thread Bo Shen
correct the comparison parameter of MHz from 4,000,000 to 1,000,000 Signed-off-by: Bo Shen --- kernel/time/sched_clock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c index a326f27..62885f7 100644 ---

[PATCH] udev: fail firmware loading immediately if no search path is defined

2013-08-07 Thread Maarten Lankhorst
Op 07-08-13 02:26, Andy Lutomirski schreef: > On Tue, Aug 6, 2013 at 5:24 PM, Tom Gundersen wrote: >> On 6 Aug 2013 18:32, "Bryan Kadzban" wrote: >>> On Tue, Aug 06, 2013 at 11:17:17AM +0200, Tom Gundersen wrote: On Tue, Aug 6, 2013 at 11:11 AM, Tom Gundersen wrote: > On Tue, Aug 6,

Re: [PATCH V9 04/14] perf tools: change machine__findnew_thread() to set thread pid

2013-08-07 Thread Namhyung Kim
On Mon, 5 Aug 2013 19:26:24 +0300, Adrian Hunter wrote: > Add a new parameter for 'pid' to machine__findnew_thread(). > Change callers to pass 'pid' when it is known. > [SNIP] > @@ -198,7 +198,7 @@ static int perf_event__inject_buildid(struct perf_tool > *tool, > > cpumode =

Re: [PATCH v3 4/5] iio: mxs-lradc: add scale_available file to channels

2013-08-07 Thread Alexandre Belloni
Hi Jonathan, Lars I would really like to see that included in 3.12. While I agree there is room for improvement, I don't think there are any comments that need an immediate action before inclusion apart from the decision that has to be taken for the device tree. Can you confirm whether you'll

Re: [PATCH 1/2] hwmon: (lm90) Add power control

2013-08-07 Thread Guenter Roeck
On 08/07/2013 12:32 AM, Wei Ni wrote: On 08/07/2013 03:27 PM, Alexander Shiyan wrote: The device lm90 can be controlled by the vdd rail. Adding the power control support to power on/off the vdd rail. And make sure that power is enabled before accessing the device. Signed-off-by: Wei Ni ---

Re: [PATCH 1/2] hwmon: (lm90) Add power control

2013-08-07 Thread Guenter Roeck
On 08/07/2013 12:27 AM, Alexander Shiyan wrote: The device lm90 can be controlled by the vdd rail. Adding the power control support to power on/off the vdd rail. And make sure that power is enabled before accessing the device. Signed-off-by: Wei Ni --- drivers/hwmon/lm90.c | 52

Re: [PATCH v2] staging/lustre: lloop depends on BLOCK

2013-08-07 Thread Dilger, Andreas
On 2013/08/02 4:49 AM, "Christoph Hellwig" wrote: >On Thu, Aug 01, 2013 at 07:57:22PM +, Dilger, Andreas wrote: >> It provides significant performance improvement for network IO on >>Lustre. >> It bypasses DLM locking in Lustre and the VFS layer on the client, >>copying >> in the loop driver,

[BUG linux-next] watchdog: build breakage for non-SMP builds

2013-08-07 Thread Lothar Waßmann
Hi, commit 0ce6966b "watchdog: update watchdog_tresh properly" breaks build on non-SMP systems (more specifically: on systems where CONFIG_USE_GENERIC_SMP_HELPERS is not set): linux-next/kernel/watchdog.c: In function 'update_timers': linux-next/kernel/watchdog.c:522:2: error: implicit

Re: [PATCH] kernel/sysctl_binary.c: improve the usage of return value 'result'

2013-08-07 Thread Eric W. Biederman
Chen Gang writes: > On 08/07/2013 05:46 AM, Eric W. Biederman wrote: >> Chen Gang writes: >> >> Have you tested this code? Do you have anything that actually the >> uses sysctl binary interface? >> > > No, I only compile about it, not give a test. It is really better to > give a test, but it

Re: [PATCH 5/5] arm: omap: Proper cleanups for omap_device

2013-08-07 Thread Pantelis Antoniou
Hi Greg, On Aug 6, 2013, at 1:14 PM, Greg Kroah-Hartman wrote: > On Tue, Aug 06, 2013 at 12:37:25PM +0300, Pantelis Antoniou wrote: >>> I don't like this at all, sorry. >>> >> [snip] >> Don't shoot the messenger please... >> >> This is all about fixing a crash without messing too many

Re: [PATCH V2 00/17] EFI stub for ARM

2013-08-07 Thread Matt Fleming
On Tue, 06 Aug, at 08:44:56PM, Roy Franz wrote: > This patchset depends (trivially) on a separately submitted bugfix to the > EFI stub: "correct call to free_pages" > http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=df981edcb9bce00b9c5e4f3cc33f3f98bc9a2394 For those playing at

<    3   4   5   6   7   8   9   10   11   12   >