Re: [PATCH v4 1/10] mm/hwpoison: fix lose PG_dirty flag for errors on mlocked pages

2013-08-29 Thread Andi Kleen
I did a quick read and the patches look all good to me (except the one just moving code around -- seems pointless, forward declarations are totally fine) Acked-by: Andi Kleen a...@linux.intel.com -Andi -- a...@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send

Re: [PATCH] ARC: Fix __udelay parentheses

2013-08-29 Thread Joe Perches
On Thu, 2013-08-29 at 05:55 +, Vineet Gupta wrote: The intent of writing orig code was to generate only 1 MPYHU insn (32*32 = high-part-64) for the whole math, at any optimization level whatsoever. If the first MPY is overflowing, u r likely spinning for 10,000 usec (10ms) which is 1

Re: [PATCH] hpet, allow user controlled mmap for user processes

2013-08-29 Thread Matt Wilson
On Fri, Mar 22, 2013 at 09:32:54AM -0400, Prarit Bhargava wrote: The CONFIG_HPET_MMAP Kconfig option exposes the memory map of the HPET registers to userspace. The Kconfig help points out that in some cases this can be a security risk as some systems may erroneously configure the map such

[patch] mm, memcg: store memcg name for oom kill log consistency

2013-08-29 Thread David Rientjes
A shared buffer is currently used for the name of the oom memcg and the memcg of the killed process. There is no serialization of memcg oom kills, so this buffer can easily be overwritten if there is a concurrent oom kill in another memcg. This patch stores the names of the memcgs directly in

Re: [PATCH v3 1/3] extcon: extcon-gpio-usbvid: Generic USB VBUS/ID detection via GPIO

2013-08-29 Thread Chanwoo Choi
Hi George, On 08/29/2013 11:21 AM, George Cherian wrote: Hi Chanwoo, Thanks for the review and sorry for all the trivial mistakes. On 8/29/2013 7:05 AM, Chanwoo Choi wrote: Hi George, You didn't modify this patchset about my comment on v1 patchset. Please pay attention to comment. On

Re: [PATCH] ARC: Fix __udelay parentheses

2013-08-29 Thread Vineet Gupta
On 08/29/2013 11:31 AM, Joe Perches wrote: On Thu, 2013-08-29 at 05:55 +, Vineet Gupta wrote: The intent of writing orig code was to generate only 1 MPYHU insn (32*32 = high-part-64) for the whole math, at any optimization level whatsoever. If the first MPY is overflowing, u r likely

Re: [PATCH] mm/mmap: remove unnecessary assignment

2013-08-29 Thread David Rientjes
On Thu, 29 Aug 2013, Yanchuan Nian wrote: From: Yanchuan Nian ycn...@gmail.com pgoff is not used after the statement pgoff = vma-vm_pgoff;, so the assignment is redundant. Signed-off-by: Yanchuan Nian ycn...@gmail.com Acked-by: David Rientjes rient...@google.com -- To unsubscribe from

Re: [PATCH] ARC: Add read*_relaxed to asm/io.h

2013-08-29 Thread Vineet Gupta
On 08/29/2013 12:03 AM, Mischa Jonker wrote: Some drivers require these, and ARC didn't had them yet. Signed-off-by: Mischa Jonker mjon...@synopsys.com Applied. Thx, -Vineet -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 2/4] usb: r8a66597-hcd: use platform_{get,set}_drvdata()

2013-08-29 Thread Greg KH
On Thu, Aug 29, 2013 at 10:54:51AM +0800, Libo Chen wrote: On 2013/8/28 12:36, Greg KH wrote: On Tue, Aug 27, 2013 at 04:10:22PM +0800, Libo Chen wrote: Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with

Re: Announcement of Linux v3.11-rc7?

2013-08-29 Thread Viresh Kumar
On Mon, Aug 26, 2013 at 6:23 PM, Pavel Machek pa...@ucw.cz wrote: Hi! I am reading LKML offline (mostly on marc.info). Did you send out an announcement for Linux v3.11-rc7 or am I missing sth.? I don't think it hit the mailing list. (Either that, or list unsubscribed me, again). No you

Re: [gcv v3 32/35] arc: Replace __get_cpu_var uses

2013-08-29 Thread Vineet Gupta
On 08/29/2013 01:18 AM, Christoph Lameter wrote: Acked-by: Vineet Gupta vgu...@synopsys.com Signed-off-by: Christoph Lameter c...@linux.com Applied to for-next. Thx, -Vineet -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] ARC: Fix __udelay parentheses

2013-08-29 Thread Joe Perches
On Thu, 2013-08-29 at 06:24 +, Vineet Gupta wrote: On 08/29/2013 11:31 AM, Joe Perches wrote: I think the whole thing is odd and it should simply be loops = loops_per_jiffy * usecs_to_jiffies(usecs) [] On the topic of multiply vs. divide (which probably is not relevant to topic

Re: [PATCH] ARC: Add perf support

2013-08-29 Thread Ingo Molnar
* Mischa Jonker mischa.jon...@synopsys.com wrote: +/* The generalized performance events seem to really be a copy + of the available events on x86 processors; the mapping to ARC + events is not always possible 1-to-1. Fortunately, there doesn't + seem to be an exact definition for

Re: [PATCH] ARC: Fix __udelay parentheses

2013-08-29 Thread Vineet Gupta
On 08/29/2013 12:07 PM, Joe Perches wrote: On the topic of multiply vs. divide (which probably is not relevant to topic at hand though), since ARCompact doesn't have native divide, we end up emulating it using libgcc routines. That makes it slightly non-deterministic (not a big deal) and

Re: [PATCH 1/3] cpuidle: coupled: disable interrupts after entering safe state

2013-08-29 Thread Prashant Gaikwad
On Saturday 24 August 2013 01:15 AM, Colin Cross wrote: Calling cpuidle_enter_state is expected to return with interrupts enabled, but interrupts must be disabled before starting the ready loop synchronization stage. Call local_irq_disable after each call to cpuidle_enter_state for the safe

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-08-29 Thread Xiao Guangrong
On 08/28/2013 09:36 PM, Gleb Natapov wrote: On Wed, Aug 28, 2013 at 08:15:36PM +0800, Xiao Guangrong wrote: On 08/28/2013 06:49 PM, Gleb Natapov wrote: On Wed, Aug 28, 2013 at 06:13:43PM +0800, Xiao Guangrong wrote: On 08/28/2013 05:46 PM, Gleb Natapov wrote: On Wed, Aug 28, 2013 at

Re: [PATCH 4/5] ARM: tegra: Add host1x, dc and hdmi to Tegra114 device tree

2013-08-29 Thread Terje Bergström
On 28.08.2013 16:18, Thierry Reding wrote: I think that's not all. I have local patches that also introduce a v2 of host1x, because the number of syncpoints is different. There may also be other differences, but Terje might be more qualified to answer that. Tegra4 host1x has an extra

Re: [PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-08-29 Thread Tero Kristo
On 08/29/2013 04:14 AM, Mike Turquette wrote: Quoting Kumar Gala (2013-08-28 08:50:10) On Aug 22, 2013, at 12:53 AM, Mike Turquette wrote: Device Tree binding for the basic clock multiplexer, plus the setup function to register the clock. Based on the existing fixed-clock binding. Includes

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-08-29 Thread Ingo Molnar
* Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2013-08-28 at 18:40 -0700, Linus Torvalds wrote: Just FYI: I've merged two preparatory patches in my tree for the whole lockref thing. Instead of applying your four patches as-is during the merge window, I ended up writing

RE: [PATCH v6 2/3] mmc: dw_mmc: Honor requests to set the clock to 0 (turn off clock)

2013-08-29 Thread Seungwon Jeon
On Tuesday, August 27, 2013, Doug Anderson wrote: Jaehoon / Seungwon, On Mon, Aug 26, 2013 at 2:06 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: On 08/26/2013 01:34 PM, Seungwon Jeon wrote: On Fri, August 23, 2013, Doug Anderson wrote: Previously the dw_mmc driver would ignore any

Re: [PATCH] arm: Prevent memory aliasing on non-LPAE kernels

2013-08-29 Thread takashi . yoshii . zj
Hi Stepan, What is the status of this fix? I am looking forward it to be merged, but it seems not have happend, yet. Are you waiting for it to be merged, too? or planning to post v2? # IMHO, v2 is not needed. Checked conditions and places are reasonable. I just confirmed on 3.11-rc7, that - The

Re: [PATCH] pinctrl: rockchip: Implement .request() and .free() callbacks on the GPIO chips

2013-08-29 Thread Linus Walleij
On Tue, Aug 27, 2013 at 4:30 PM, Axel Lin axel@ingics.com wrote: Implement .request() and .free() callbacks on the GPIO chips to inform pinctrl when a GPIO is requested or freed. Signed-off-by: Axel Lin axel@ingics.com Patch applied with Heiko's tags. Yours, Linus Walleij -- To

Re: [PATCH 1/3] cpuidle: coupled: disable interrupts after entering safe state

2013-08-29 Thread Colin Cross
On Wed, Aug 28, 2013 at 11:50 PM, Prashant Gaikwad pgaik...@nvidia.com wrote: On Saturday 24 August 2013 01:15 AM, Colin Cross wrote: Calling cpuidle_enter_state is expected to return with interrupts enabled, but interrupts must be disabled before starting the ready loop synchronization

linux-next: manual merge of the pinctrl tree with Linus' tree

2013-08-29 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in drivers/pinctrl/pinctrl-sunxi.c between commit 1bee963db9dd (pinctrl: sunxi: Add spinlocks) from Linus' tree and commit 03b054e9696c (pinctrl: Pass all configs to driver on pin_config_set()) from the pinctrl tree. I fixed

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-29 Thread Gleb Natapov
On Sat, Aug 03, 2013 at 02:09:43PM +0900, Takuya Yoshikawa wrote: On Tue, 30 Jul 2013 21:01:58 +0800 Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: Background == Currently, when mark memslot dirty logged or get dirty page, we need to write-protect large guest memory, it

Re: ipc-msg broken again on 3.11-rc7? (was Re: linux-next: Tree for Jun 21 [ BROKEN ipc/ipc-msg ])

2013-08-29 Thread Vineet Gupta
On 08/29/2013 08:34 AM, Sedat Dilek wrote: On Wed, Aug 28, 2013 at 1:58 PM, Vineet Gupta vineet.gup...@synopsys.com wrote: Hi David, On 06/26/2013 04:59 AM, Davidlohr Bueso wrote: On Tue, 2013-06-25 at 23:41 +0200, Sedat Dilek wrote: On Tue, Jun 25, 2013 at 10:33 PM, Davidlohr Bueso

Re: [Xen-devel] [PATCH 2/3 v3] Refactor MSI restore call-chain to drop unnecessary argument

2013-08-29 Thread Jan Beulich
On 29.08.13 at 04:52, Zhenzhong Duan zhenzhong.d...@oracle.com wrote: But in initial domain (aka priviliged guest), it's different. Driver init call graph under initial domain: driver_init- msix_capability_init- msix_program_entries- msix_mask_irq-

Re: [PATCH 01/12] KVM: MMU: remove unused parameter

2013-08-29 Thread Gleb Natapov
On Tue, Jul 30, 2013 at 09:01:59PM +0800, Xiao Guangrong wrote: @vcpu in page_fault_can_be_fast() is not used so remove it Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Applied this one. Thanks. --- arch/x86/kvm/mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH v3 1/3] extcon: extcon-gpio-usbvid: Generic USB VBUS/ID detection via GPIO

2013-08-29 Thread George Cherian
Hi Chanwoo, On 8/29/2013 11:53 AM, Chanwoo Choi wrote: [snip] You should keep following naming stlye. extcon-gpio-usbvid.c is wrong naming style. - extcon-[device name].c - extcon-gpio-usbvid.c - extcon-dra7xx.c or etc. Actually dra7xx is the SoC name and the USB VBUS/ID detection is not

Re: Kernel migration eat CPUs

2013-08-29 Thread Mike Galbraith
(CCs) On Thu, 2013-08-22 at 19:00 +0400, Alexey Vlasov wrote: Hi, Beginning from 3.7 including 3.10 kernel, I noticed that from time to time all CPUs turn out to be busy 100% and at the moment websites of my clients work slowly or don’t work at all. top screen:

linux-next: manual merge of the arm-soc tree with the v4l-dvb tree

2013-08-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/board-bockw.c between commit 9c43952d0f1e ([media] ARM: shmobile: BOCK-W: add VIN and ML86V7667 support) from the v4l-dvb tree and commit bockw_init (ARM: shmobile: r8a7778: cleanup registration of

Re: linux-next: manual merge of the pinctrl tree with Linus' tree

2013-08-29 Thread Linus Walleij
On Thu, Aug 29, 2013 at 9:17 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in drivers/pinctrl/pinctrl-sunxi.c between commit 1bee963db9dd (pinctrl: sunxi: Add spinlocks) from Linus' tree and commit 03b054e9696c

Re: [PATCH 2/4] pinmux: Add TB10x pinmux driver

2013-08-29 Thread Christian Ruppert
On Wed, Aug 28, 2013 at 08:49:36PM +0200, Linus Walleij wrote: On Wed, Aug 21, 2013 at 5:57 PM, Christian Ruppert christian.rupp...@abilis.com wrote: On Wed, Aug 14, 2013 at 06:53:56PM +0200, Linus Walleij wrote: OK, that can also be called a bank or register but whatever. As you

linux-next: manual merge of the arm-soc tree with the v4l-dvb tree

2013-08-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/board-marzen.c between commit 7cef5e7fd1ab ([media] ARM: shmobile: Marzen: add VIN and ADV7180 support) from the v4l-dvb tree and commits 85469abe4930 (ARM: shmobile: Remove Marzen use of

Re: [PATCH 1/2] procfs: restore 0400 permissions on /proc/*/{syscall,stack,personality}

2013-08-29 Thread Eric W. Biederman
Kees Cook keesc...@chromium.org writes: On Wed, Aug 28, 2013 at 6:08 PM, Eric W. Biederman ebied...@xmission.com wrote: Kees Cook keesc...@chromium.org writes: On Wed, Aug 28, 2013 at 5:26 PM, Eric W. Biederman ebied...@xmission.com wrote: Can someome please state what they are worried

Re: linux-next: manual merge of the pinctrl tree with Linus' tree

2013-08-29 Thread Linus Walleij
On Thu, Aug 29, 2013 at 9:17 AM, Stephen Rothwell s...@canb.auug.org.au wrote: I fixed it up (see below) and can carry the fix as necessary (no action is required). I made a bit different fix, I just lock the spinlock around the entire loop, as this is not doing any delays or anything like

linux-next: manual merge of the arm-soc tree with the v4l-dvb tree

2013-08-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/include/mach/r8a7778.h between commit 803c2df21752 ([media] ARM: shmobile: r8a7778: add VIN support) from the v4l-dvb tree and commits cfa66a81621d (ARM: shmobile: bockw: add DT reference), a66c9744574c

Re: [PATCH] pinctrl: pinconf-generic: Remove ti prefix in dev_err messages

2013-08-29 Thread Linus Walleij
On Thu, Aug 29, 2013 at 4:05 AM, Axel Lin axel@ingics.com wrote: It does not make sense to show ti prefix in pinconf_generic_dt_subnode_to_map() dev_err messages. Signed-off-by: Axel Lin axel@ingics.com Patch applied, probably a copy/paste bug. Yours, Linus Walleij -- To

linux-next: manual merge of the arm-soc tree with the v4l-dvb tree

2013-08-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/include/mach/r8a7779.h between commit 4714a0255eee ([media] ARM: shmobile: r8a7779: add VIN support) from the v4l-dvb tree and commit fee529df76ff (ARM: shmobile: r8a7779: cleanup registration of usb

Re: ipc-msg broken again on 3.11-rc7? (was Re: linux-next: Tree for Jun 21 [ BROKEN ipc/ipc-msg ])

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 9:21 AM, Vineet Gupta vineet.gup...@synopsys.com wrote: On 08/29/2013 08:34 AM, Sedat Dilek wrote: On Wed, Aug 28, 2013 at 1:58 PM, Vineet Gupta vineet.gup...@synopsys.com wrote: Hi David, On 06/26/2013 04:59 AM, Davidlohr Bueso wrote: On Tue, 2013-06-25 at 23:41

Re: Announcement of Linux v3.11-rc7?

2013-08-29 Thread Sedat Dilek
On Thu, Aug 29, 2013 at 8:33 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On Mon, Aug 26, 2013 at 6:23 PM, Pavel Machek pa...@ucw.cz wrote: Hi! I am reading LKML offline (mostly on marc.info). Did you send out an announcement for Linux v3.11-rc7 or am I missing sth.? I don't think it

[PATCH] drivers: misc: ti-st: fix potential race if st_kim_start fails

2013-08-29 Thread Oleksandr Kozaruk
If st_kim_start() fails registered protocols should be removed. This is done by calling st_reg_complete(), which as comment states is called with spin lock held. But in st_register() when st_kim_start fails it is called without holding spin lock, creating possibility of concurrent access to

linux-next: manual merge of the arm-soc tree with the v4l-dvb tree

2013-08-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/setup-r8a7778.c between commit 803c2df21752 ([media] ARM: shmobile: r8a7778: add VIN support) from the v4l-dvb tree and commits cfa66a81621d (ARM: shmobile: bockw: add DT reference) and a66c9744574c

Re: [gcv v3 06/35] scheduler: Replace __get_cpu_var uses

2013-08-29 Thread Peter Zijlstra
On Wed, Aug 28, 2013 at 07:48:14PM +, Christoph Lameter wrote: Transformations done to __get_cpu_var() 1. Determine the address of the percpu instance of the current processor. DEFINE_PER_CPU(int, y); int *x = __get_cpu_var(y); Converts to int *x =

linux-next: manual merge of the arm-soc tree with the v4l-dvb tree

2013-08-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/setup-r8a7779.c between commit 4714a0255eee ([media] ARM: shmobile: r8a7779: add VIN support) from the v4l-dvb tree and commit fee529df76ff (ARM: shmobile: r8a7779: cleanup registration of usb phy) from

Re: linux-next: Tree for Aug 28 [ xhci build breakage ]

2013-08-29 Thread Sedat Dilek
On Wed, Aug 28, 2013 at 11:15 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Wed, Aug 28, 2013 at 07:39:14PM +0200, Sedat Dilek wrote: On Wed, Aug 28, 2013 at 7:24 PM, Dmitry Kasatkin d.kasat...@samsung.com wrote: Still noone answered me why drivers/usb/host/xhci-ring.c does NOT

Re: Announcement of Linux v3.11-rc7?

2013-08-29 Thread Viresh Kumar
On 29 August 2013 13:26, Sedat Dilek sedat.di...@gmail.com wrote: What people write on their personal whatever accounts is not of my interest. I never gave someone a Like/Dislike or +/- as I am not subscribed to such online services. The Linux v3.11-rc7 announcement belongs to LKML. ( Yes, I

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-29 Thread Linus Walleij
On Wed, Aug 21, 2013 at 8:30 AM, Sonic Zhang sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com The new ADI GPIO2 controller was introduced since the BF548 and BF60x processors. It differs a lot from the old one on BF5xx processors. So, create a pinctrl driver under the

Re: [PATCH v4 1/4] lib: Introduce atomic MMIO modify

2013-08-29 Thread Thomas Petazzoni
Dear Andrew Morton, On Wed, 28 Aug 2013 12:33:52 -0700, Andrew Morton wrote: It only works if both subsystems agree to use atomic_io_modify(). And if they're both capable of doing that, they are both capable of implementing an agreed-upon internal locking scheme, so why bother?

linux-next: manual merge of the arm-soc tree with the pm tree

2013-08-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/cpuidle/Makefile between commits b98e01ad4ed9 (cpuidle: Add Kconfig.arm and move calxeda, kirkwood and zynq) and d3f2950f2ade (ARM: ux500: cpuidle: Move ux500 cpuidle driver to drivers/cpuidle) from the pm tree and

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-29 Thread Linus Walleij
On Thu, Aug 22, 2013 at 9:07 AM, Sonic Zhang sonic@gmail.com wrote: Is it possible that 2 and more pinctrl devices are on the same SoC? Or do we always assume there is only one pinctrl device on one SoC? It is possible to have N pinctrl devices on the same SoC, not to mention the whole

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-29 Thread Linus Walleij
On Thu, Aug 22, 2013 at 9:07 AM, Sonic Zhang sonic@gmail.com wrote: There are 6 to 9 GPIO HW blocks in one Blackfin SoC. Function pinmux_enable_setting() in current pinctrl framework assumes the function mux setting of one peripheral pin group is configured in one pinctrl device. But, the

linux-next: manual merge of the renesas tree with the v4l-dvb tree

2013-08-29 Thread Stephen Rothwell
Hi Simon, Today's linux-next merge of the renesas tree got a conflict in arch/arm/configs/marzen_defconfig between commit e0c332c671e7 ([media] ARM: shmobile: Marzen: enable VIN and ADV7180 in defconfig) from the v4l-dvb tree and commit febedc9c9fe3 (ARM: shmobile: marzen: Select DRM_RCAR_DU in

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-29 Thread Linus Walleij
On Thu, Aug 22, 2013 at 10:48 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/22/2013 01:07 AM, Sonic Zhang wrote: There are 6 to 9 GPIO HW blocks in one Blackfin SoC. Function pinmux_enable_setting() in current pinctrl framework assumes the function mux setting of one peripheral pin

[PATCH v2 2/3] regmap: rbtree: Reduce number of nodes, take 2

2013-08-29 Thread Lars-Peter Clausen
Support for reducing the number of nodes and memory consumption of the rbtree cache by allowing for small unused holes in the node's register cache block was initially added in commit 0c7ed856 (regmap: Cut down on the average # of nodes in the rbtree cache). But the commit had problems and so its

[PATCH v2 1/3] regmap: rbtree: Simplify adjacent node look-up

2013-08-29 Thread Lars-Peter Clausen
A register which is adjacent to a node will either be left to the first register or right to the last register. It will not be within the node's range, so there is no point in checking for each register cached by the node whether the new register is next to it. It is sufficient to check whether

Re: [PATCH 2/4] pinmux: Add TB10x pinmux driver

2013-08-29 Thread Linus Walleij
On Thu, Aug 29, 2013 at 9:35 AM, Christian Ruppert christian.rupp...@abilis.com wrote: On Wed, Aug 28, 2013 at 08:49:36PM +0200, Linus Walleij wrote: On Wed, Aug 21, 2013 at 5:57 PM, Christian Ruppert christian.rupp...@abilis.com wrote: On Wed, Aug 14, 2013 at 06:53:56PM +0200, Linus Walleij

[PATCH v2 3/3] regmap: rbtree: Make cache_present bitmap per node

2013-08-29 Thread Lars-Peter Clausen
With devices which have a dense and small register map but placed at a large offset the global cache_present bitmap imposes a huge memory overhead. Making the cache_present per rbtree node avoids the issue and easily reduces the memory footprint by a factor of ten. For devices with a more sparse

Re: [GIT PULL] at91: soc update for 3.12 #1

2013-08-29 Thread Nicolas Ferre
On 29/08/2013 03:09, Bo Shen : Hi Olof, On 08/29/2013 07:58 AM, Olof Johansson wrote: On Mon, Aug 26, 2013 at 05:55:43PM +0200, Nicolas Ferre wrote: Arnd, Olof, Kevin, Here is AT91 SoC updates for 3.12 kernel. It is the first pull-request for this topic and it is based on 3.11-rc5 like your

[GIT PULL v2] at91: soc update for 3.12 #1

2013-08-29 Thread Nicolas Ferre
Arnd, Olof, Kevin, (respin of previous pull-request with author name fixed) Here is AT91 SoC updates for 3.12 kernel. It is the first pull-request for this topic and it is based on 3.11-rc5 like your next/soc branch. Thanks, best regards, The following changes since commit

Re: mutex warning in cpufreq + RFC patch

2013-08-29 Thread Viresh Kumar
On 28 August 2013 22:22, Stephen Boyd sb...@codeaurora.org wrote: On 08/27/13 23:58, Viresh Kumar wrote: I haven't gone through the hack yet, but I am trying to understand the problem first.. There had been some work in the past around this kind of scenarios.. commit

Re: mutex warning in cpufreq + RFC patch

2013-08-29 Thread Viresh Kumar
On 29 August 2013 14:07, Viresh Kumar viresh.ku...@linaro.org wrote: On 28 August 2013 22:22, Stephen Boyd sb...@codeaurora.org wrote: On 08/27/13 23:58, Viresh Kumar wrote: I haven't gone through the hack yet, but I am trying to understand the problem first.. There had been some work in the

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

2013-08-29 Thread Ian Campbell
On Wed, 2013-08-28 at 21:07 +0100, Stefano Stabellini wrote: On Thu, 15 Aug 2013, Ian Campbell wrote: On Thu, 2013-08-15 at 12:10 +0100, Stefano Stabellini wrote: At the moment always rely on swiotlb-xen, but when Xen starts supporting hardware IOMMUs we'll be able to avoid it

[RFC/PATCH 2/2] scsi: ufs: requests completion handling

2013-08-29 Thread Raviv Shvili
The patch solves the request completion report order. At the current implementation, when multiple requests end at the same interrupt call, the requests reported as completed according to a bitmap scan from the lowest tags to the highest, regardless the requests priority. That cause to a priority

[RESEND/PATCH 1/2] scsi: ufs: fix the setting interrupt aggregation counter

2013-08-29 Thread Raviv Shvili
IACTH(Interrupt aggregation counter threshold) value is allowed up to 0x1F and current setting value is the maximum. This value is related with NUTRS(max:0x20) of HCI's capability. Considering HCI controller doesn't support the maximum, IACTH setting should be adjusted with possible value. For

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-08-29 Thread Gleb Natapov
On Thu, Aug 29, 2013 at 02:50:51PM +0800, Xiao Guangrong wrote: BTW I do not see rcu_assign_pointer()/rcu_dereference() in your patches which hints on IIUC, We can not directly use rcu_assign_pointer(), that is something like: p = v to assign a pointer to a pointer. But in our case, we

Re: [PATCH 10/12] KVM: MMU: allow locklessly access shadow page table out of vcpu thread

2013-08-29 Thread Gleb Natapov
On Tue, Jul 30, 2013 at 09:02:08PM +0800, Xiao Guangrong wrote: It is easy if the handler is in the vcpu context, in that case we can use walk_shadow_page_lockless_begin() and walk_shadow_page_lockless_end() that disable interrupt to stop shadow page be freed. But we are on the ioctl context

Re: [PATCH 1/2] procfs: restore 0400 permissions on /proc/*/{syscall,stack,personality}

2013-08-29 Thread Djalal Harouni
Hi Eric, On Wed, Aug 28, 2013 at 05:26:56PM -0700, Eric W. Biederman wrote: I have take a moment and read this thread, and have been completely unenlightend. People are upset but it is totally unclear why. There is no explanation why it is ok to ignore the suid-exec case, as the posted

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-29 Thread Sonic Zhang
Hi Linus, On Thu, Aug 29, 2013 at 4:02 PM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Aug 21, 2013 at 8:30 AM, Sonic Zhang sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com The new ADI GPIO2 controller was introduced since the BF548 and BF60x processors. It

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-29 Thread Sonic Zhang
Hi Stephen, On Wed, Aug 28, 2013 at 10:23 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/27/2013 09:56 PM, Sonic Zhang wrote: Hi Stephen, On Wed, Aug 28, 2013 at 5:39 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/27/2013 03:30 AM, Sonic Zhang wrote: Hi Stephen, On Fri,

linux-next: manual merge of the akpm tree with the selinux tree

2013-08-29 Thread Stephen Rothwell
Hi Andrew, I have dropped the patch revert SELinux: do not handle seclabel as a special flag from the akpm tree as the patch that it reverted was dropped form the selinux tree (along with everything else in that tree). -- Cheers, Stephen Rothwells...@canb.auug.org.au

Re: [PATCH 10/12] KVM: MMU: allow locklessly access shadow page table out of vcpu thread

2013-08-29 Thread Xiao Guangrong
On 08/29/2013 05:10 PM, Gleb Natapov wrote: On Tue, Jul 30, 2013 at 09:02:08PM +0800, Xiao Guangrong wrote: It is easy if the handler is in the vcpu context, in that case we can use walk_shadow_page_lockless_begin() and walk_shadow_page_lockless_end() that disable interrupt to stop shadow page

Re: [PATCH] fuse: hotfix truncate_pagecache() issue

2013-08-29 Thread Miklos Szeredi
On Wed, Aug 28, 2013 at 04:21:46PM +0400, Maxim Patlasov wrote: The way how fuse calls truncate_pagecache() from fuse_change_attributes() is completely wrong. Because, w/o i_mutex held, we never sure whether 'oldsize' and 'attr-size' are valid by the time of execution of

Re: [PATCH 0/2] ARM: Dove: Add audio to the DT

2013-08-29 Thread Jean-Francois Moine
On Wed, 28 Aug 2013 16:48:29 +0200 Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: On Wed, 28 Aug 2013 11:34:38 +0200, Jean-Francois Moine wrote: This patch series adds audio DT to the Dove boards and activates the Cubox audio device. Full audio in the Cubox will work when

Re: [RFC/PATCH 2/2] scsi: ufs: requests completion handling

2013-08-29 Thread James Bottomley
On Thu, 2013-08-29 at 11:54 +0300, Raviv Shvili wrote: The patch solves the request completion report order. At the current implementation, when multiple requests end at the same interrupt call, the requests reported as completed according to a bitmap scan from the lowest tags to the highest,

[PATCH 2/2] x86, apic: Disable BSP if boot cpu is AP

2013-08-29 Thread HATAYAMA Daisuke
Currently, on x86 architecture, if crash happens on AP in the kdump 1st kernel, the 2nd kernel fails to wake up multiple CPUs. The typical behaviour we actually see is immediate system reset or hang. This comes from the hardware specification that the processor with BSP flag is jumped at BIOS

[PATCH 0/2] x86, apic: Disable BSP if boot cpu is AP

2013-08-29 Thread HATAYAMA Daisuke
This is the patch series to address the issue that kdump 2nd kernel now fails to wake up multiple CPUs. This is based on 3.11-rc7. I tested this patch series on x86. I used 2 cpus by specifying nr_cpus=2 for the 2nd kernel. I checked both ACPI MADT and MP table case; the former is default on my

[PATCH 1/2] x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP

2013-08-29 Thread HATAYAMA Daisuke
Kexec can enter the kdump 2nd kernel on AP if crash happens on AP. To check if boot cpu is BSP, introduce a helper function boot_cpu_is_bsp(). Signed-off-by: HATAYAMA Daisuke d.hatay...@jp.fujitsu.com --- arch/x86/include/asm/mpspec.h |3 +++ arch/x86/kernel/apic/apic.c | 14

Re: [PATCH] cpuset: mm: Reduce large amounts of memory barrier related damage v3

2013-08-29 Thread Mel Gorman
On Fri, Aug 23, 2013 at 08:15:46PM +0200, Peter Zijlstra wrote: On Fri, Aug 23, 2013 at 03:03:32PM +0200, Peter Zijlstra wrote: So I think this patch is broken (still). I am assuming the lack of complaints is that it is not a heavily executed path. I expect that you (and Rik) are hitting this

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-29 Thread Sonic Zhang
Hi Linus, On Thu, Aug 29, 2013 at 4:12 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Aug 22, 2013 at 9:07 AM, Sonic Zhang sonic@gmail.com wrote: There are 6 to 9 GPIO HW blocks in one Blackfin SoC. Function pinmux_enable_setting() in current pinctrl framework assumes the

[PATCH] radeon kms: fix uninitialised hotplug work usage in r100_irq_process()

2013-08-29 Thread Sergey Senozhatsky
Commit a01c34f72e7cd2624570818f579b5ab464f93de2 (radeon kms: do not flush uninitialized hotplug work) moved work initialisation phase to the last step of radeon_irq_kms_init(). Meelis Roos reported that this causes problems on his machine because drm_irq_install() uses hotplug work on r100.

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-08-29 Thread Xiao Guangrong
On 08/29/2013 05:08 PM, Gleb Natapov wrote: On Thu, Aug 29, 2013 at 02:50:51PM +0800, Xiao Guangrong wrote: BTW I do not see rcu_assign_pointer()/rcu_dereference() in your patches which hints on IIUC, We can not directly use rcu_assign_pointer(), that is something like: p = v to assign a

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-08-29 Thread Gleb Natapov
On Thu, Aug 29, 2013 at 02:50:51PM +0800, Xiao Guangrong wrote: After more thinking, I still think rcu_assign_pointer() is unneeded when a entry is removed. The remove-API does not care the order between unlink the entry and the changes to its fields. It is the caller's responsibility: -

Re: [PATCH 1/3 v3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-29 Thread Sonic Zhang
Hi Linus, On Thu, Aug 29, 2013 at 4:19 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Aug 22, 2013 at 10:48 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/22/2013 01:07 AM, Sonic Zhang wrote: There are 6 to 9 GPIO HW blocks in one Blackfin SoC. Function

[PATCH v4 1/1] i2c: rcar: modify I2C driver

2013-08-29 Thread Nguyen Viet Dung
This patch modify I2C driver of rcar-H1 to usable on both rcar-H1 and rcar-H2. Signed-off-by: Nguyen Viet Dung nv-d...@jinso.co.jp --- drivers/i2c/busses/i2c-rcar.c | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git

[PATCH v4 0/1] ARM: shmobile: r8a7790: add I2C support

2013-08-29 Thread Nguyen Viet Dung
Hi Wolfram CC Morimoto Please consider the following patch for the r8a7790 Soc. This patch modify I2C driver of rcar-H1 to usable on both rcar-H1 and rcar-H2. It was developed base on the renesas-devel-20130722 branch and have tested on the Lager board. Thanks, Nguyen viet Dung Nguyen Viet Dung

Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT

2013-08-29 Thread Jean-Francois Moine
On Wed, 28 Aug 2013 23:49:12 +0400 Sergei Shtylyov sergei.shtyl...@cogentembedded.com wrote: diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index 499abad..78227e2 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi @@ -573,6 +573,24 @@

Re: RE : [PATCH] hwmon: (htu21) Add Measurement Specialties HTU21D support

2013-08-29 Thread Guenter Roeck
On Thu, Aug 29, 2013 at 10:06:00AM +0200, Markezana, William wrote: Please see Documentation/SubmittingPatches, section 15, The canonical patch format. Also, please run your patch through scripts/checkpatch.pl; we won't accept it with checkpatch warnings or errors unless you provide a good reason

Re: [PATCH] cpuset: mm: Reduce large amounts of memory barrier related damage v3

2013-08-29 Thread Peter Zijlstra
On Thu, Aug 29, 2013 at 10:28:29AM +0100, Mel Gorman wrote: On Fri, Aug 23, 2013 at 08:15:46PM +0200, Peter Zijlstra wrote: On Fri, Aug 23, 2013 at 03:03:32PM +0200, Peter Zijlstra wrote: So I think this patch is broken (still). I am assuming the lack of complaints is that it is not a

[PATCH] drivers: ide: Kconfig: let IDE_H8300 depends on H8300H_AKI3068NET or H8300H_H8MAX

2013-08-29 Thread Chen Gang
According to the code in arch/h8300/Kbuild.ide, IDE_H8300 need depend on H8300H_AKI3068NET || H8300H_H8MAX, or can not pass compiling with allmodconfig for h8300. The related error: drivers/ide/ide-h8300.c: In function 'hw_setup': drivers/ide/ide-h8300.c:73:27: error: 'CONFIG_H8300_IDE_BASE'

Re: [PATCH] cpuset: mm: Reduce large amounts of memory barrier related damage v3

2013-08-29 Thread Peter Zijlstra
On Thu, Aug 29, 2013 at 11:43:42AM +0200, Peter Zijlstra wrote: diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 7431001..ae880c3 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -1755,22 +1755,24 @@ unsigned slab_node(void) } /* Do static interleaving for a VMA with known

Re: [PATCH v3 1/1 resend] i2c: rcar: modify I2C driver

2013-08-29 Thread Nguyen Viet Dung
Hi Wolfram, Thank your for the guide. I have understood your guide. And I have released version 4 of I2C patch. Please check it for me. Thanks, Nguyen Viet Dung On 08/28/2013 06:02 PM, Wolfram Sang wrote: On Tue, Aug 27, 2013 at 04:55:22PM +0900, Nguyen Viet Dung wrote: This patch modify

Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT

2013-08-29 Thread Jean-Francois Moine
On Wed, 28 Aug 2013 13:15:48 +0200 Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: For what reason does the driver needs to know whether it's the instance 0 or instance 1 ? If it's needed for some specific reason, then there should probably be something like marvell,i2s-channel-id

linux-next: build warnings after merge of the akpm-current tree

2013-08-29 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (sparc64 defconfig and others) produced these warnings: mm/page-writeback.c: In function 'balance_dirty_pages_ratelimited': mm/page-writeback.c:1450:13: warning: 'bdi_thresh' may be used uninitialized in this function

Re: [PATCH 1/1] MAINTAINERS: Change maintainer for cyttsp driver

2013-08-29 Thread Javier Martinez Canillas
On Tue, Jul 16, 2013 at 8:57 AM, Ferruh Yigit f...@cypress.com wrote: On 07/15/2013 12:41 AM, Javier Martinez Canillas wrote: I haven't had time to work on this driver for a long time and Ferruh has been doing a great job making it more generic, adding support for new hardware and providing

Re: [RFC PATCH v2 3/4] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-29 Thread Lorenzo Pieralisi
On Wed, Aug 28, 2013 at 08:46:38PM +0100, Grant Likely wrote: On Thu, 22 Aug 2013 14:59:30 +0100, Mark Rutland mark.rutl...@arm.com wrote: On Mon, Aug 19, 2013 at 02:56:10PM +0100, Sudeep KarkadaNagesha wrote: On 19/08/13 14:02, Rob Herring wrote: On 08/19/2013 05:19 AM, Mark Rutland

Re: [Xen-devel] [PATCH 2/3 v3] Refactor MSI restore call-chain to drop unnecessary argument

2013-08-29 Thread Zhenzhong Duan
On 2013-08-29 15:23, Jan Beulich wrote: On 29.08.13 at 04:52, Zhenzhong Duan zhenzhong.d...@oracle.com wrote: But in initial domain (aka priviliged guest), it's different. Driver init call graph under initial domain: driver_init- msix_capability_init- msix_program_entries-

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-08-29 Thread Gleb Natapov
On Thu, Aug 29, 2013 at 05:31:42PM +0800, Xiao Guangrong wrote: As Documentation/RCU/whatisRCU.txt says: As with rcu_assign_pointer(), an important function of rcu_dereference() is to document which pointers are protected by RCU, in particular, flagging a pointer

Re: [PATCH] gpiolib: Fix crash when exporting non-existant gpio

2013-08-29 Thread Linus Walleij
On Sat, Aug 24, 2013 at 10:48 PM, danielfsan...@att.net wrote: [ 222.961384] Unable to handle kernel NULL pointer dereference at virtual address 0044 [ 222.969486] pgd = d97d [ 222.972190] [0044] *pgd=1aaca831, *pte=, *ppte= [ 222.978483] Internal error:

warning!!

2013-08-29 Thread webmaster
Webmail Warning Deactivation Of Your Webmail Account Kindly note that We recently did some upgrade on our database. During the upgrade there was an unusual responds code from your email address requesting for deactivation. Verify to deactivate or keep your email account active.In order to

  1   2   3   4   5   6   7   8   >