[PATCH v3] ARM: at91: add Acme Systems Aria G25 board

2013-04-04 Thread Nicolas Ferre
From: Douglas Gilbert Signed-off-by: Douglas Gilbert Signed-off-by: Nicolas Ferre --- Hi all, Here is the third revision of this patch. I plan to include it in a pull-request real-soon-now! v3: - move to "at91-" prefix for .dts[i] files - remove the rtc activation code because of the ongo

Re: [PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Neil Horman
On Thu, Apr 04, 2013 at 08:57:06AM -0600, Bjorn Helgaas wrote: > On Thu, Apr 4, 2013 at 8:50 AM, Neil Horman wrote: > > On Thu, Apr 04, 2013 at 03:27:29PM +0100, David Woodhouse wrote: > >> On Wed, 2013-04-03 at 17:53 -0600, Bjorn Helgaas wrote: > >> > ); > >> > > + > >> > > + if ((revision

Re: [PATCH 1/5] net: Add EMAC ethernet driver found on Allwinner A10 SoC's

2013-04-04 Thread Stefan Roese
Hi Florian, On 24.03.2013 20:03, Florian Fainelli wrote: > Your phylib implementation looks good now, just some minor comments below: Thanks for the review. I'll try to address your new comments in a few days (currently swamped). Thanks, Stefan -- To unsubscribe from this list: send the line "u

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 15:33, Michael S. Tsirkin wrote: > On Thu, Apr 04, 2013 at 03:06:42PM +0200, Alexander Graf wrote: >> >> On 04.04.2013, at 14:56, Gleb Natapov wrote: >> >>> On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:45, Gleb Natapov wrote:

Re: [RFC][PATCH 7/7] memcg: kill memcg refcnt

2013-04-04 Thread Michal Hocko
On Wed 03-04-13 17:14:11, Li Zefan wrote: > Now memcg has the same life cycle as the corresponding cgroup. > Kill the useless refcnt. > > Signed-off-by: Li Zefan Acked-by: Michal Hocko Thanks! > --- > mm/memcontrol.c | 24 +--- > 1 file changed, 1 insertion(+), 23 deletio

Re: [RFC][PATCH 6/7] memcg: don't need to get a reference to the parent

2013-04-04 Thread Michal Hocko
On Wed 03-04-13 17:13:21, Li Zefan wrote: > The cgroup core guarantees it's always safe to access the parent. > > Signed-off-by: Li Zefan I would just prefer if you put a comment into place where we used to take a reference to parent so that it is more obvious in the code. See bellow. Acked-by:

Re: [RFC][PATCH 5/7] cgroup: make sure parent won't be destroyed before its children

2013-04-04 Thread Michal Hocko
On Wed 03-04-13 17:13:08, Li Zefan wrote: > Suppose we rmdir a cgroup and there're still css refs, this cgroup won't > be freed. Then we rmdir the parent cgroup, and the parent is freed due > to css ref draining to 0. Now it would be a disaster if the child cgroup > tries to access its parent. > >

Re: [RFC][PATCH 5/7] cgroup: make sure parent won't be destroyed before its children

2013-04-04 Thread Michal Hocko
On Thu 04-04-13 08:22:13, Tejun Heo wrote: > On Thu, Apr 04, 2013 at 05:20:28PM +0200, Michal Hocko wrote: > > > But what harm does an additional reference do? > > > > No harm at all. I just wanted to be sure that this is not yet another > > "for memcg" hack. So if this is useful for other control

[GIT PULL] UBIFS changes for 3.9-rc6

2013-04-04 Thread Artem Bityutskiy
Hi Linus, please, pull a single UBIFS fix for v3.9. The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at: git://git.infradead.org/linux-ubifs.git tags/upstream-3.9-rc6 for you to fetch

Re: [PATCH v2] ARM: at91: add Acme Systems Aria G25 board

2013-04-04 Thread Nicolas Ferre
On 04/03/2013 09:10 PM, Douglas Gilbert : > On 13-04-02 02:48 PM, Olof Johansson wrote: >> Hi, >> >> I just saw this since it came in through a pull request >> >> On Tue, Mar 26, 2013 at 4:39 AM, Nicolas Ferre >> wrote: >>> From: Douglas Gilbert >>> >>> Signed-off-by: Douglas Gilbert >>> Signed-

Re: [PATCH] [PATCH] Gaurantee spinlocks implicit barrier for !PREEMPT_COUNT

2013-04-04 Thread Christian Ruppert
Hi Vineet, Our stress testing campaign has just successfully completed on this patch. It seems to solve several issues we have seen in unpatched versions, amongst others the original timer issue, a crash in hrtimer rb-tree manipulation etc. Greetings, Christian On Wed, Apr 03, 2013 at 07:41:22

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Michael S. Tsirkin
On Thu, Apr 04, 2013 at 04:14:57PM +0300, Gleb Natapov wrote: > On Thu, Apr 04, 2013 at 03:06:42PM +0200, Alexander Graf wrote: > > > > On 04.04.2013, at 14:56, Gleb Natapov wrote: > > > > > On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: > > >> > > >> On 04.04.2013, at 14:45, Gl

Re: scanning for LUNs

2013-04-04 Thread James Bottomley
On Thu, 2013-04-04 at 08:12 -0700, K. Y. Srinivasan wrote: > Here is the code snippet for scanning LUNS (drivers/scsi/scsi_scan.c in > function > __scsi_scan_target()): > > /* > * Scan LUN 0, if there is some response, scan further. Ideally, we > * would not configure L

Re: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Alex Williamson
On Thu, 2013-04-04 at 13:00 +, Sethi Varun-B16395 wrote: > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Wednesday, April 03, 2013 11:32 PM > > To: Joerg Roedel > > Cc: Sethi Varun-B16395; Yoder Stuart-B08248; Wood Scott-B07421; > > io..

Re: [RFC][PATCH 5/7] cgroup: make sure parent won't be destroyed before its children

2013-04-04 Thread Tejun Heo
On Thu, Apr 04, 2013 at 05:20:28PM +0200, Michal Hocko wrote: > > But what harm does an additional reference do? > > No harm at all. I just wanted to be sure that this is not yet another > "for memcg" hack. So if this is useful for other controllers then I have > no objections of course. I think

Re: [RFC][PATCH 5/7] cgroup: make sure parent won't be destroyed before its children

2013-04-04 Thread Michal Hocko
On Thu 04-04-13 06:53:53, Tejun Heo wrote: > Hey, > > On Thu, Apr 04, 2013 at 01:37:50PM +0200, Michal Hocko wrote: > > On Wed 03-04-13 17:13:08, Li Zefan wrote: > > > Suppose we rmdir a cgroup and there're still css refs, this cgroup won't > > > be freed. Then we rmdir the parent cgroup, and the

[PATCH v4] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Neil Horman
A few years back intel published a spec update: http://www.intel.com/content/dam/doc/specification-update/5520-and-5500-chipset-ioh-specification-update.pdf For the 5520 and 5500 chipsets which contained an errata (specificially errata 53), which noted that these chipsets can't properly do interru

Re: [PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Bjorn Helgaas
On Thu, Apr 4, 2013 at 8:50 AM, Neil Horman wrote: > On Thu, Apr 04, 2013 at 03:27:29PM +0100, David Woodhouse wrote: >> On Wed, 2013-04-03 at 17:53 -0600, Bjorn Helgaas wrote: >> > ); >> > > + >> > > + if ((revision == 0x13) && irq_remapping_enabled) { >> > > +pr_warn(HW_ERR

Re: [PATCH] input: don't call input_dev_release_keys() in resume

2013-04-04 Thread Oskar Andero
On 15:01 Thu 07 Mar , oskar.and...@sonymobile.com wrote: > From: Aleksej Makarov > > When waking up the platform by pressing a specific key, sending a > release on that key makes it impossible to react on the event in > user-space. > > Cc: Dmitry Torokhov > Reviewed-by: Radovan Lekanovic >

[PATCH RFC 3/3] mutex: dynamically disable mutex spinning at high load

2013-04-04 Thread Waiman Long
The Linux mutex code has a MUTEX_SPIN_ON_OWNER configuration option that was enabled by default in major distributions like Red Hat. Allowing threads waiting on mutex to spin while the mutex owner is running will theoretically reduce latency on the acquisition of mutex at the expense of energy effi

[PATCH RFC 0/3] mutex: Improve mutex performance by doing less atomic-ops & spinning

2013-04-04 Thread Waiman Long
This patch set is a collection of 3 different mutex related patches aimed at improving mutex performance especially for system with large number of CPUs. This is achieved by doing less atomic operations and mutex spinning (when the CONFIG_MUTEX_SPIN_ON_OWNER is on). The first patch reduces the num

[PATCH] workqueue: avoid false negative WARN_ON() in destroy_workqueue()

2013-04-04 Thread Tejun Heo
>From 5c529597e922c26910fe49b8d5f93aeaca9a2415 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Thu, 4 Apr 2013 10:05:38 +0800 destroy_workqueue() performs several sanity checks before proceeding with destruction of a workqueue. One of the checks verifies that refcnt of each pwq (pool_workqueu

[PATCH RFC 1/3] mutex: Make more scalable by doing less atomic operations

2013-04-04 Thread Waiman Long
In the __mutex_lock_common() function, an initial entry into the lock slow path will cause two atomic_xchg instructions to be issued. Together with the atomic decrement in the fast path, a total of three atomic read-modify-write instructions will be issued in rapid succession. This can cause a lot

[PATCH RFC 2/3] mutex: restrict mutex spinning to only one task per mutex

2013-04-04 Thread Waiman Long
The current mutex spinning code allow multiple tasks to spin on a single mutex concurrently. There are two major problems with this approach: 1. This is not very energy efficient as the spinning tasks are not doing useful work. The spinning tasks may also block other more important or use

[PATCH linux-next v8] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-04 Thread Nathan Zimmer
We eventually would like to remove the rwlock cpufreq_driver_lock or convert it back to a spinlock and protect the read sections with RCU. The first step in that is moving the cpufreq_driver to use the rcu. I don't see an easy wasy to protect the cpufreq_cpu_data structure with the RCU, so I am le

Re: [PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Neil Horman
On Thu, Apr 04, 2013 at 03:27:29PM +0100, David Woodhouse wrote: > On Wed, 2013-04-03 at 17:53 -0600, Bjorn Helgaas wrote: > > ); > > > + > > > + if ((revision == 0x13) && irq_remapping_enabled) { > > > +pr_warn(HW_ERR "This system BIOS has enabled interrupt > > > remapping\n

Re: [PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Viresh Kumar wrote: > > On 4 April 2013 18:32, Arnd Bergmann wrote: > > Moving the files is good, but I don't see a reason to make the cbe_cpufreq.h > > header globally visible in include/linux/. Isn't it just used by as the > > interface between ppc_cbe_cpufreq_pmi.c

Re: [PATCH v3 01/11] usb: phy: Add APIs for runtime power management

2013-04-04 Thread Alan Stern
On Thu, 4 Apr 2013, Felipe Balbi wrote: > > >> Some subsystems handle this issue by calling pm_runtime_get_sync() > > >> before probing a driver and pm_runtime_put_sync() after unbinding the > > >> driver. If the driver is runtime-PM-enabled, it then does its own > > >> put_sync near the end of i

scanning for LUNs

2013-04-04 Thread K. Y. Srinivasan
Here is the code snippet for scanning LUNS (drivers/scsi/scsi_scan.c in function __scsi_scan_target()): /* * Scan LUN 0, if there is some response, scan further. Ideally, we * would not configure LUN 0 until all LUNs are scanned. */ res = scsi_probe_and

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Michael S. Tsirkin
On Thu, Apr 04, 2013 at 04:02:57PM +0200, Alexander Graf wrote: > > On 04.04.2013, at 14:58, Michael S. Tsirkin wrote: > > > On Thu, Apr 04, 2013 at 02:22:09PM +0200, Alexander Graf wrote: > >> > >> On 04.04.2013, at 14:08, Gleb Natapov wrote: > >> > >>> On Thu, Apr 04, 2013 at 01:57:34PM +0200

Re: mm: BUG in do_huge_pmd_wp_page

2013-04-04 Thread Sasha Levin
On 04/04/2013 10:30 AM, Kirill A. Shutemov wrote: > Sasha Levin wrote: >> Ping? I'm seeing a whole bunch of these with current -next. > > Do you have a way to reproduce? Not really, trinity just manages to make it happen quite often. I can add something in the code to spew more debug info when i

Re: [PATCH 6/7] workqueue: node-awared allocation for unbound pool

2013-04-04 Thread Tejun Heo
Hello, On Thu, Apr 04, 2013 at 10:05:37AM +0800, Lai Jiangshan wrote: > calculate the node of the pool earlier, and allocate the pool > from the node. > > Signed-off-by: Lai Jiangshan > --- > kernel/workqueue.c | 29 +++-- > 1 files changed, 15 insertions(+), 14 deleti

Re: [PATCH 5/7] workqueue, use default pwq when fail to allocate node pwd

2013-04-04 Thread Tejun Heo
On Thu, Apr 04, 2013 at 10:05:36AM +0800, Lai Jiangshan wrote: > When we fail to allocate the node pwq, we can use the default pwq > for the node. > > Thus we can avoid failure after allocated default pwq, and remove > some code for failure path. I don't know about this one. The reason why we fa

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Michael S. Tsirkin
On Thu, Apr 04, 2013 at 03:06:42PM +0200, Alexander Graf wrote: > > On 04.04.2013, at 14:56, Gleb Natapov wrote: > > > On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: > >> > >> On 04.04.2013, at 14:45, Gleb Natapov wrote: > >> > >>> On Thu, Apr 04, 2013 at 02:39:51PM +0200, Alex

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/4 Frederic Weisbecker : > 2013/4/3 Vincent Guittot : >> On my smp platform which is made of 5 cores in 2 clusters, I have the >> nr_busy_cpu field of sched_group_power struct that is not null when the >> platform is fully idle. The root cause is: >> During the boot sequence, some CPUs reach

Re: [PATCH 4/4] uprobes/tracing: generalize struct uprobe_trace_entry_head

2013-04-04 Thread Srikar Dronamraju
* Oleg Nesterov [2013-03-29 19:15:48]: > struct uprobe_trace_entry_head has a single member for reporting, > "unsigned long ip". If we want to support uretprobes we need to > create another struct which has "func" and "ret_ip" and duplicate > a lot of functions, like trace_kprobe.c does. > > To

Re: [PATCH 3/4] uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls

2013-04-04 Thread Srikar Dronamraju
* Oleg Nesterov [2013-03-29 19:15:45]: > uprobe_trace_func() is never called with irqs or preemption > disabled, no need to ask preempt_count() or local_save_flags(). > > Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju Adding Masami in the Cc. > --- > kernel/trace/trace_uprobe.c |

Re: [PATCH 2/4] uprobes/tracing: Kill the pointless seq_print_ip_sym() call

2013-04-04 Thread Srikar Dronamraju
* Oleg Nesterov [2013-03-29 19:15:43]: > seq_print_ip_sym(ip) in print_uprobe_event() is pointless, > kallsyms_lookup(ip) can not resolve a user-space address. > > Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju > --- > kernel/trace/trace_uprobe.c |8 +--- > 1 files changed

Re: [PATCH 1/4] uprobes/tracing: Kill the pointless task_pt_regs() calls

2013-04-04 Thread Srikar Dronamraju
* Oleg Nesterov [2013-03-29 19:15:40]: > uprobe_trace_func() and uprobe_perf_func() do not need task_pt_regs(), > we already have "struct pt_regs *regs". > > Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju Adding Masami in the cc. > --- > kernel/trace/trace_uprobe.c |4 ++-- >

Re: mm: BUG in do_huge_pmd_wp_page

2013-04-04 Thread Kirill A. Shutemov
Sasha Levin wrote: > Ping? I'm seeing a whole bunch of these with current -next. Do you have a way to reproduce? -- Kirill A. Shutemov -- 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://

Re: [PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread David Woodhouse
On Wed, 2013-04-03 at 17:53 -0600, Bjorn Helgaas wrote: > ); > > + > > + if ((revision == 0x13) && irq_remapping_enabled) { > > +pr_warn(HW_ERR "This system BIOS has enabled interrupt > > remapping\n" > > +"on a chipset that contains an errata making

alsa problem

2013-04-04 Thread Donn Washburn
I am not on the list Please forward. It works some times on a openSuSE 12.3 KDE 4 system the kernel is 3.9.0-rc5 donn@m1l-suse:~> /usr/sbin/hwinfo --sound 19: PCI 14.2: 0403 Audio device [Created at pci.319] Unique ID: 5Dex.9zCmC9gVD38 SysFS ID: /devices/pci:00/:00:14.2 SysFS Bu

Re: [PATCH] intel-iommu: Synchronize gcmd value with global command register

2013-04-04 Thread David Woodhouse
On Thu, 2013-04-04 at 14:48 +0900, Takao Indoh wrote: > > - DMAR fault messages floods and second kernel does not boot. Recently I > saw similar report. https://lkml.org/lkml/2013/3/8/120 Right. So the fix for that is to make the subsequent errors silent, until/unless we actually get a request

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/3 Vincent Guittot : > On my smp platform which is made of 5 cores in 2 clusters, I have the > nr_busy_cpu field of sched_group_power struct that is not null when the > platform is fully idle. The root cause is: > During the boot sequence, some CPUs reach the idle loop and set their > NOHZ_ID

Re: [PATCH] blk: start bypass mode in blk_unregister_queue

2013-04-04 Thread Aaron Lu
On 04/04/2013 10:20 PM, Tejun Heo wrote: > Hello, > > On Thu, Apr 04, 2013 at 10:16:39PM +0800, Aaron Lu wrote: >> It probably wouldn't happen for normal user, only for some SCSI driver >> developers like me, e.g. the sr_mod will normally load during boot, and >> when I made some changes to the co

[PATCH v1] sysfs: check if one entry has been removed before freeing

2013-04-04 Thread Ming Lei
It might be a kernel disaster if one sysfs entry is freed but still referenced by sysfs tree. Recently Dave and Sasha reported one use-after-free problem on sysfs entry, and the problem has been troubleshooted with help of debug message added in this patch. Given sysfs_get_dirent/sysfs_put are ex

Re: [PATCH] blk: start bypass mode in blk_unregister_queue

2013-04-04 Thread Tejun Heo
Hello, On Thu, Apr 04, 2013 at 10:16:39PM +0800, Aaron Lu wrote: > It probably wouldn't happen for normal user, only for some SCSI driver > developers like me, e.g. the sr_mod will normally load during boot, and > when I made some changes to the code, I'll unload the driver and reload > it. This i

Re: [PATCH v1] mmc: card: Adding support for sanitize in eMMC 4.5

2013-04-04 Thread Chris Ball
Hi Yaniv, Maya, On Mon, Mar 11 2013, Luca Porzio (lporzio) wrote: > In case of Sanitize timeout, the eMMC might go in an unclear state. > May I suggest to: > - issue an HPI before leaving thus bring the eMMC back into safe status > - report the 'sanitize not complete error' and let the user decide

Re: [PATCH 2/3] resource: Add release_mem_region_adjustable()

2013-04-04 Thread Toshi Kani
On Thu, 2013-04-04 at 14:48 +0800, Ram Pai wrote: > On Wed, Apr 03, 2013 at 01:55:05PM -0600, Toshi Kani wrote: > > On Wed, 2013-04-03 at 13:37 +0800, Ram Pai wrote: > > > On Tue, Apr 02, 2013 at 10:17:29AM -0600, Toshi Kani wrote: > > > > + while ((res = *p)) { > > ...snip... > > > > > +

[PATCH v4] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-04 Thread Vincent Guittot
The current update of the rq's load can be erroneous when RT tasks are involved The update of the load of a rq that becomes idle, is done only if the avg_idle is less than sysctl_sched_migration_cost. If RT tasks and short idle duration alternate, the runnable_avg will not be updated correctly and

Re: [PATCH v2 2/4] x86, kdump: Retore crashkernel= to allocate low

2013-04-04 Thread Vivek Goyal
On Wed, Apr 03, 2013 at 05:38:25PM -0700, Yinghai Lu wrote: > Vivek found old kexec-tools does not work new kernel anymore. > > So change back crashkernel= back to old behavoir, and add crashkernel_high= > to let user decide if buffer could be above 4G, and also new kexec-tools will > be needed. >

Re: [PATCH] blk: start bypass mode in blk_unregister_queue

2013-04-04 Thread Aaron Lu
On 04/04/2013 10:03 PM, Tejun Heo wrote: > On Thu, Apr 04, 2013 at 10:01:14PM +0800, Aaron Lu wrote: >> In blk_register_queue, we will end bypass mode for the queue; but in >> blk_unregister_queue, we didn't start bypass mode for it. This would >> cause the WARN_ON_ONCE(q->bypass_depth < 0) to trig

Re: [PATCH 3/7] workqueue: rename rebind_workers() to associate_cpu_pool()

2013-04-04 Thread Tejun Heo
On Thu, Apr 04, 2013 at 10:05:34AM +0800, Lai Jiangshan wrote: > merge the code of clearing POOL_DISASSOCIATED to rebind_workers(), and > rename rebind_workers() to associate_cpu_pool(). > > It merges high related code together and simplify > workqueue_cpu_up_callback(). > > Signed-off-by: Lai Ji

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Michael S. Tsirkin
On Thu, Apr 04, 2013 at 03:56:49PM +0300, Gleb Natapov wrote: > On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: > > > > On 04.04.2013, at 14:45, Gleb Natapov wrote: > > > > > On Thu, Apr 04, 2013 at 02:39:51PM +0200, Alexander Graf wrote: > > >> > > >> On 04.04.2013, at 14:38, Gl

Re: [PATCH 1/7] workqueue: add __WQ_FREEZING and remove POOL_FREEZING

2013-04-04 Thread Tejun Heo
Hello, Lai. On Thu, Apr 04, 2013 at 10:05:32AM +0800, Lai Jiangshan wrote: > @@ -4757,25 +4747,16 @@ void thaw_workqueues(void) > { > struct workqueue_struct *wq; > struct pool_workqueue *pwq; > - struct worker_pool *pool; > - int pi; > > mutex_lock(&wq_pool_mutex); >

Re: [PATCH v2 1/4] x86, kdump: Set crashkernel_low automatically

2013-04-04 Thread Vivek Goyal
On Wed, Apr 03, 2013 at 05:38:23PM -0700, Yinghai Lu wrote: [..] > + if (ret != 0) { > + /* > + * two parts from lib/swiotlb.c: > + * swiotlb size: user specified with swiotlb= or default. > + * swiotlb overflow buffer: now is hardco

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-04-04 Thread Christoph Lameter
On Thu, 4 Apr 2013, Joonsoo Kim wrote: > Pekka alreay applied it. > Do we need update? Well I thought the passing of the count via lru.next would be something worthwhile to pick up. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@v

Re: [PATCH v2] pps: hide more configuration symbols behind CONFIG_PPS

2013-04-04 Thread Florian Fainelli
Le 01/15/13 17:24, Florian Fainelli a écrit : This patch makes CONFIG_PPS_DEBUG and CONFIG_NTP_PPS be hidden if CONFIG_PPS is not selected, such that we are not prompted for these configuration options if CONFIG_PPS is not set. It seems like this patch has not been merged, yet it is still appli

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Michael S. Tsirkin
On Thu, Apr 04, 2013 at 02:39:51PM +0200, Alexander Graf wrote: > > On 04.04.2013, at 14:38, Gleb Natapov wrote: > > > On Thu, Apr 04, 2013 at 02:32:08PM +0200, Alexander Graf wrote: > >> > >> On 04.04.2013, at 14:08, Gleb Natapov wrote: > >> > >>> On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alex

Re: mm: BUG in do_huge_pmd_wp_page

2013-04-04 Thread Sasha Levin
Ping? I'm seeing a whole bunch of these with current -next. Thanks, Sasha On 03/29/2013 09:04 AM, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running latest -next > kernel, > I've stumbled on the following. > > It seems that the code in do_huge_pmd_wp_

Re: [PATCH v2] nfsd: fix bug on nfs4 stateid deallocation

2013-04-04 Thread Yanchuan Nian
On Wed, Apr 03, 2013 at 02:55:08PM -0400, J. Bruce Fields wrote: > On Wed, Apr 03, 2013 at 06:58:43PM +0800, Yanchuan Nian wrote: > > On Mon, Apr 01, 2013 at 09:50:44PM -0400, J. Bruce Fields wrote: > > > On Wed, Mar 13, 2013 at 11:04:54PM +0800, Yanchuan Nian wrote: > > > > 2013/3/11 J. Bruce Fiel

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Michael S. Tsirkin
On Thu, Apr 04, 2013 at 02:32:08PM +0200, Alexander Graf wrote: > > On 04.04.2013, at 14:08, Gleb Natapov wrote: > > > On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: > >> > >> On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: > >> > >>> With KVM, MMIO is much slower than PIO,

Re: [PATCH] blk: start bypass mode in blk_unregister_queue

2013-04-04 Thread Tejun Heo
On Thu, Apr 04, 2013 at 10:01:14PM +0800, Aaron Lu wrote: > In blk_register_queue, we will end bypass mode for the queue; but in > blk_unregister_queue, we didn't start bypass mode for it. This would > cause the WARN_ON_ONCE(q->bypass_depth < 0) to trigger if the queue gets > registered, unregister

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:58, Michael S. Tsirkin wrote: > On Thu, Apr 04, 2013 at 02:22:09PM +0200, Alexander Graf wrote: >> >> On 04.04.2013, at 14:08, Gleb Natapov wrote: >> >>> On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: On 04.04.2013, at 12:50, Michael S. Tsirkin w

[PATCH] blk: start bypass mode in blk_unregister_queue

2013-04-04 Thread Aaron Lu
In blk_register_queue, we will end bypass mode for the queue; but in blk_unregister_queue, we didn't start bypass mode for it. This would cause the WARN_ON_ONCE(q->bypass_depth < 0) to trigger if the queue gets registered, unregistered and then again registered, e.g. unload scsi cdrom module driver

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Michael S. Tsirkin
On Thu, Apr 04, 2013 at 02:22:09PM +0200, Alexander Graf wrote: > > On 04.04.2013, at 14:08, Gleb Natapov wrote: > > > On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: > >> > >> On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: > >> > >>> With KVM, MMIO is much slower than PIO,

[PATCH v3] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-04 Thread Neil Horman
A few years back intel published a spec update: http://www.intel.com/content/dam/doc/specification-update/5520-and-5500-chipset-ioh-specification-update.pdf For the 5520 and 5500 chipsets which contained an errata (specificially errata 53), which noted that these chipsets can't properly do interru

Re: [RFC][PATCH 5/7] cgroup: make sure parent won't be destroyed before its children

2013-04-04 Thread Tejun Heo
Hey, On Thu, Apr 04, 2013 at 01:37:50PM +0200, Michal Hocko wrote: > On Wed 03-04-13 17:13:08, Li Zefan wrote: > > Suppose we rmdir a cgroup and there're still css refs, this cgroup won't > > be freed. Then we rmdir the parent cgroup, and the parent is freed due > > to css ref draining to 0. Now i

Re: [PATCH 3/4] x86, kdump: Retore crashkernel= to allocate low

2013-04-04 Thread Vivek Goyal
On Wed, Apr 03, 2013 at 05:56:00PM -0700, Yinghai Lu wrote: [..] > > One big rang under 4G is working well till second kernel need more than 512M > on bigger system with more memory. Currently one range is allocated below 896MB (and not 4G). So if we extend crashkernel=X to first try below 896MB

Re: [PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
On 4 April 2013 18:32, Arnd Bergmann wrote: > Moving the files is good, but I don't see a reason to make the cbe_cpufreq.h > header globally visible in include/linux/. Isn't it just used by as the > interface between ppc_cbe_cpufreq_pmi.c and ppc_cbe_cpufreq.c? When i moved it initially i though

Re: posix_cpu_timer: initialize "now" variable

2013-04-04 Thread Frederic Weisbecker
2013/4/4 Arnd Bergmann : > Patch 6d0e025 "posix_cpu_timer: consolidate expiry time type" in linux-next > introduces a new compiler warning: > > kernel/posix-cpu-timers.c: In function 'posix_cpu_timer_schedule': > kernel/posix-cpu-timers.c:1127:19: warning: 'now' may be used uninitialized > in this

Re: [PATCH -tip 0/4] do not make cputime scaling in kernel

2013-04-04 Thread Frederic Weisbecker
2013/4/4 Stanislaw Gruszka : > On Thu, Apr 04, 2013 at 02:31:42PM +0200, Frederic Weisbecker wrote: >> I don't know. I'm not convinced userland is the right place to perform >> this kind of check. The kernel perhaps doesn't give guarantee about >> utime/stime precision but now users may have got us

[PATCH v2] MIPS: Alchemy: Fix typo "CONFIG_DEBUG_PCI"

2013-04-04 Thread Paul Bolle
Commit 7517de348663b08a808aff44b5300e817157a568 ("MIPS: Alchemy: Redo PCI as platform driver") added a reference to CONFIG_DEBUG_PCI. Change it to CONFIG_PCI_DEBUG, as that is a valid Kconfig macro. Also add a newline to a debugging printk that this fix enables. Signed-off-by: Paul Bolle --- Thi

Re: [PATCH] THP: Use explicit memory barrier

2013-04-04 Thread Andrea Arcangeli
On Wed, Apr 03, 2013 at 09:14:01AM +0900, Minchan Kim wrote: > clear_huge_page(page, haddr, HPAGE_PMD_NR); > + /* > + * The memory barrier inside __SetPageUptodate makes sure that > + * clear_huge_page writes become visible after the set_pmd_at() s/after/before/ > + * wri

posix_cpu_timer: initialize "now" variable

2013-04-04 Thread Arnd Bergmann
Patch 6d0e025 "posix_cpu_timer: consolidate expiry time type" in linux-next introduces a new compiler warning: kernel/posix-cpu-timers.c: In function 'posix_cpu_timer_schedule': kernel/posix-cpu-timers.c:1127:19: warning: 'now' may be used uninitialized in this function [-Wmaybe-uninitialized]

Re: [PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Linus Walleij
On Thu, Apr 4, 2013 at 12:02 PM, Lars Poeschel wrote: > From: Lars Poeschel > > This converts the mcp23s08 driver to be able to be used with device > tree. > There is a "spi-present-mask" device tree property, that allows to > use multiple of this spi chips on the same chipselect. > > Signed-off

Re: [PATCH 3/4] x86, kdump: Retore crashkernel= to allocate low

2013-04-04 Thread Vivek Goyal
On Wed, Apr 03, 2013 at 05:56:00PM -0700, Yinghai Lu wrote: > On Wed, Apr 3, 2013 at 2:00 PM, Vivek Goyal wrote: > > On Wed, Apr 03, 2013 at 01:38:56PM -0700, Yinghai Lu wrote: > >> On Wed, Apr 3, 2013 at 10:47 AM, Vivek Goyal wrote: > >> > So what I am saying that all our code is written assumin

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 04, 2013 at 02:01:48PM +0200, Peter Zijlstra wrote: > > I'm sorry, this email ended up quite a bit longer than I had hoped for; > please bear with me. > > On Tue, 2013-04-02 at 18:59 +0200, Peter Zijlstra wrote: > > struct ww_mutex; /* wound/wait */ > > > > int mutex_wound_lock(s

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

2013-04-04 Thread Lukáš Czerner
On Thu, 4 Apr 2013, Theodore Ts'o wrote: > Date: Thu, 4 Apr 2013 09:20:48 -0400 > From: Theodore Ts'o > To: Lukáš Czerner > Cc: Stephen Rothwell , linux-n...@vger.kernel.org, > linux-kernel@vger.kernel.org > Subject: Re: linux-next: build failure after merge of the ext4 tree > > On Thu, Apr

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

2013-04-04 Thread Theodore Ts'o
On Thu, Apr 04, 2013 at 03:18:32PM +0200, Lukáš Czerner wrote: > I am afraid I do not understand why this is happening. The commit > simply replaces ext4_get_group_no_and_offset() with > ext4_get_group_number() which has the similar definition in the same > header file. Maybe someone knows what thi

[PATCH] mm, x86: Do not zero hugetlbfs pages at boot. -v3

2013-04-04 Thread Robin Holt
Reserving a large number of 1GB hugetlbfs pages at boot takes a very long time due to the pages being memset to 0 during the reservation. This is unneeded as the pages will be zeroed by clear_huge_page() when being allocated by the user. Large system sites would at times like to allocate a very la

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

2013-04-04 Thread Lukáš Czerner
On Thu, 4 Apr 2013, Stephen Rothwell wrote: > Date: Thu, 4 Apr 2013 10:43:19 +1100 > From: Stephen Rothwell > To: Theodore Ts'o > Cc: linux-n...@vger.kernel.org, linux-kernel@vger.kernel.org, > Lukas Czerner > Subject: linux-next: build failure after merge of the ext4 tree > > Hi Ted, > >

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Gleb Natapov
On Thu, Apr 04, 2013 at 03:06:42PM +0200, Alexander Graf wrote: > > On 04.04.2013, at 14:56, Gleb Natapov wrote: > > > On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: > >> > >> On 04.04.2013, at 14:45, Gleb Natapov wrote: > >> > >>> On Thu, Apr 04, 2013 at 02:39:51PM +0200, Alex

Re: [PATCH v2] ADP1653 board code for Nokia RX-51

2013-04-04 Thread Laurent Pinchart
Hi Sakari, On Thursday 04 April 2013 01:22:28 Sakari Ailus wrote: > On Tue, Mar 26, 2013 at 12:07:01AM +0100, Laurent Pinchart wrote: > > On Sunday 24 March 2013 23:46:01 Sakari Ailus wrote: > > > Pali Rohár wrote: > > > > On Thursday 07 March 2013 23:18:27 Sakari Ailus wrote: > > > >> On Wed, Mar

Re: [PATCH -tip 0/4] do not make cputime scaling in kernel

2013-04-04 Thread Stanislaw Gruszka
On Thu, Apr 04, 2013 at 02:31:42PM +0200, Frederic Weisbecker wrote: > 2013/4/4 Stanislaw Gruszka : > > This patch series removes cputime scaling from kernel. It can be easily > > done in user space using floating point if we provide sum_exec_runtime, > > what patches 2/4 and 3/4 do. I have procps

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:56, Gleb Natapov wrote: > On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: >> >> On 04.04.2013, at 14:45, Gleb Natapov wrote: >> >>> On Thu, Apr 04, 2013 at 02:39:51PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:38, Gleb Natapov wrote:

Re: [PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Viresh Kumar wrote: > This patch moves cpufreq driver of powerpc platforms/cell to drivers/cpufreq. > > Cc: Arnd Bergmann > Cc: Benjamin Herrenschmidt > Cc: linuxppc-...@lists.ozlabs.org > Signed-off-by: Viresh Kumar > --- > Compile Tested only. > > arch/powerpc/pla

Re: [PATCH v3 6/7] NFSv4: Add O_DENY* open flags support

2013-04-04 Thread Jeff Layton
On Thu, 4 Apr 2013 14:30:12 +0400 Pavel Shilovsky wrote: > 2013/3/12 Jeff Layton : > > On Mon, 11 Mar 2013 14:54:34 -0400 > > Jeff Layton wrote: > > > >> On Thu, 28 Feb 2013 19:25:32 +0400 > >> Pavel Shilovsky wrote: > >> > >> > by passing these flags to NFSv4 open request. > >> > > >> > Signed

[PATCH 2/2] efivars: Implement no_storage_paranoia parameter

2013-04-04 Thread Richard Weinberger
Using this parameter one can disable the storage_size/2 check if he is really sure that the UEFI does sane gc. Signed-off-by: Richard Weinberger --- drivers/firmware/efivars.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/firmware/efivars.c b/drivers/firmware/

Re: [PATCH] Blackfin: bf537: rename "CONFIG_ADT75"

2013-04-04 Thread Guenter Roeck
On Thu, Apr 04, 2013 at 02:59:43PM +0200, Paul Bolle wrote: > On Thu, 2013-04-04 at 05:07 -0700, Guenter Roeck wrote: > > On Thu, Apr 04, 2013 at 01:40:03PM +0200, Jean Delvare wrote: > > > This breakage is telling us something about the weird approach taken in > > > this file, methinks. > > > >

[PATCH 1/2] efivars: Check max_size only if it is non-zero.

2013-04-04 Thread Richard Weinberger
Some (broken?) EFI implementations return always a MaximumVariableSize of 0, check against max_size only if it is non-zero. Signed-off-by: Richard Weinberger --- drivers/firmware/efivars.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/firmware/efivars.c b/drivers/

RE: [PATCH v2 2/7] ARM: tegra: update device trees for USB binding rework

2013-04-04 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, April 04, 2013 12:47 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; ba...@ti.com; > st...@rowland.harvard.edu; linux-te...@vger.kernel.org; linux- > u...@vger.kernel.org; linux-kernel@vg

[PATCH 01/18] cpufreq: ARM: Arrange drivers in alphabetical order

2013-04-04 Thread Viresh Kumar
Normally we keep drivers in alphabetical inside Kconfig and Makefile and over time this was broken for ARM cpufreq drivers. Fix it. Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Viresh Kumar Acked-by: Stephen Warren Tested-by: Stephen Warren Acked-by: Arnd Bergmann --- drivers/cpufr

Re: [PATCH] Blackfin: bf537: rename "CONFIG_ADT75"

2013-04-04 Thread Paul Bolle
On Thu, 2013-04-04 at 05:07 -0700, Guenter Roeck wrote: > On Thu, Apr 04, 2013 at 01:40:03PM +0200, Jean Delvare wrote: > > This breakage is telling us something about the weird approach taken in > > this file, methinks. > > > Yes, they have persistent problems with renamed or moved drivers. I so

RE: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-04 Thread Sethi Varun-B16395
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, April 03, 2013 11:32 PM > To: Joerg Roedel > Cc: Sethi Varun-B16395; Yoder Stuart-B08248; Wood Scott-B07421; > io...@lists.linux-foundation.org; linuxppc-...@lists.ozlabs.org; linux- > ker.

[PATCH 11/18] cpufreq: cris: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq. Cc: Jesper Nilsson Cc: Mikael Starvik Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar Acked-by: Jesper Nilsson --- arch/cris/arch-v32/mach-a3/Makefile | 1 - arch/cris/arch

[PATCH 10/18] cpufreq: blackfin: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
This patch moves cpufreq driver of BLACKFIN architecture to drivers/cpufreq. Cc: Mike Frysinger Cc: uclinux-dist-de...@blackfin.uclinux.org Signed-off-by: Viresh Kumar Acked-by: Steven Miao --- arch/blackfin/mach-common/Makefile | 1 - drivers/cpufreq/Make

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Gleb Natapov
On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: > > On 04.04.2013, at 14:45, Gleb Natapov wrote: > > > On Thu, Apr 04, 2013 at 02:39:51PM +0200, Alexander Graf wrote: > >> > >> On 04.04.2013, at 14:38, Gleb Natapov wrote: > >> > >>> On Thu, Apr 04, 2013 at 02:32:08PM +0200, Alex

[PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
This patch moves cpufreq driver of powerpc platform to drivers/cpufreq. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Olof Johansson Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Viresh Kumar --- Compile Tested only. arch/powerpc/platforms/Kconfig | 31

[PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
This patch moves cpufreq driver of powerpc platforms/cell to drivers/cpufreq. Cc: Arnd Bergmann Cc: Benjamin Herrenschmidt Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Viresh Kumar --- Compile Tested only. arch/powerpc/platforms/cell/Kconfig| 26 +- arc

<    1   2   3   4   5   6   7   8   >