Re: mvsas regression since 3.5

2012-12-23 Thread Drunkard Zhang
2012/12/23 Xi Wang : > On 12/22/12 10:33 AM, Drunkard Zhang wrote: >> I'm using Asus PIKE 6480 SAS card, whose chipset is "RAID bus >> controller: Marvell Technology Group Ltd. MV64460/64461/64462 System >> Controller, Revision B", with latest stable branch 3.7.1 only 1 of 8 >> ports works, to get

Re: mvsas regression since 3.5

2012-12-23 Thread James Bottomley
On Sun, 2012-12-23 at 16:26 +0800, Drunkard Zhang wrote: > > Particularly, can you first change > > > > #define bit(n) ((u64)1 << n) > > > > in drivers/scsi/mvsas/mv_sas.h back to > > > > #define bit(n) ((u32)1 << n) > > > > and see if it works for you? Thanks. > > > > Thanks for reply. > >

Re: [PATCH] bnx2x: use ARRAY_SIZE where possible

2012-12-23 Thread Eilon Greenstein
On Thu, 2012-12-20 at 14:11 -0500, Sasha Levin wrote: > Signed-off-by: Sasha Levin Hi Sasha, I have no problem with this cosmetic change, but it should probably be sent to net-next when it is open again. When you do resubmit it, you can add my ACK: Acked-by Eilon Greenstein Thanks, Eilon --

Re: [PATCH] kvm: Fix memory slot generation updates

2012-12-23 Thread Gleb Natapov
On Fri, Dec 21, 2012 at 08:20:16AM -0700, Alex Williamson wrote: > Previous patch "kvm: Minor memory slot optimization" overlooked the > generation field of the memory slots. Re-using the original memory > slots left us with with two slightly different memory slots with the > same generation. To

RE: [PATCH] mei: fix mismatch in mutex unlock-lock in mei_amthif_read()

2012-12-23 Thread Winkler, Tomas
> > Users of mei_amthif_read() expect it leaves dev->device_lock held, while > there is a path where mei_amthif_read() unlocks device_lock and returns - > ERESTARTSYS. > > The patch move code locking device_lock back before the return. > > Found by Linux Driver Verification project (linuxtesti

Re: [GIT PULL] perf changes for v3.8

2012-12-23 Thread Gleb Natapov
On Sat, Dec 22, 2012 at 12:30:35PM -0700, David Ahern wrote: > On 12/17/12 3:20 AM, Gleb Natapov wrote: > >Does the regression happen because of commit 20b279ddb38c. If it does I > >think it is safe to revert it. KVM disables PEBS during guest entry now, so > >VMs shouldn't be blowing up (they do n

[PATCH] m68k: Wire up finit_module

2012-12-23 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/unistd.h |2 +- arch/m68k/include/uapi/asm/unistd.h |1 + arch/m68k/kernel/syscalltable.S |1 + 3 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/un

Re: [PATCH 17/25] wm97xx: don't use [delayed_]work_pending()

2012-12-23 Thread Dmitry Torokhov
Hi Tejun, On Fri, Dec 21, 2012 at 05:57:07PM -0800, Tejun Heo wrote: > There's no need to test whether a (delayed) work item in pending > before queueing, flushing or cancelling it. Most uses are unnecessary > and quite a few of them are buggy. > > Remove unnecessary pending tests from wm97xx.

Re: [PATCH] clk: debug clock tree

2012-12-23 Thread Prashant Gaikwad
On Saturday 22 December 2012 04:26 AM, Mike Turquette wrote: On Wed, Dec 19, 2012 at 11:53 PM, Prashant Gaikwad wrote: On Thursday 13 December 2012 11:31 PM, Stephen Warren wrote: On 12/13/2012 09:27 AM, Mike Turquette wrote: On Wed, Dec 12, 2012 at 7:49 PM, Prashant Gaikwad wrote: Adds deb

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Borislav Petkov
On Sat, Dec 22, 2012 at 07:42:16PM -0500, Alex Deucher wrote: > Does booting with radeon.wb=0 help? Right, this param specification somehow didn't work here: [0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.8.0-rc1 root=/dev/sda1 ro vga=0 log_bug_len=10M resume=/dev/sda2 no_console_suspen

[PATCH 00/11] Migrate Tegra to common clock framework

2012-12-23 Thread Prashant Gaikwad
This patchset does following: 1. Decompose single tegra clock structure into multiple clocks. 2. Try to use standard clock types supported by common clock framework. 3. Use dynamic initialization. 4. Move all clock code to drivers/clk/tegra from mach-tegra. 5. Add device tree support for Tegra20 an

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Borislav Petkov
On Sun, Dec 23, 2012 at 11:01:37AM +, Andy Furniss wrote: > no_wb=1 should work. Yeah, maybe all those radeon and other GPU module parameters' syntax should be documented somewhere - Documentation/kernel-parameters.txt for example, or a GPU-specific file, whatever - so that we can save us all

[PATCH 03/11] ARM: tegra: Define Tegra20 CAR binding

2012-12-23 Thread Prashant Gaikwad
From: Stephen Warren The Tegra20 CAR (Clock And Reset) Controller controls most aspects of most clocks within Tegra20. The device tree binding models this as a single monolithic clock provider, which exports many clocks. This reduces the number of nodes needed in device tree to represent these cl

[PATCH 02/11] arm: tegra: Move tegra_cpu_car.h to linux/clk/tegra.h

2012-12-23 Thread Prashant Gaikwad
tegra_cpu_car_ops struct is going to be accessed from drivers/clk/tegra. Move the tegra_cpu_car_ops to include/linux/clk/tegra.h. Signed-off-by: Prashant Gaikwad --- arch/arm/mach-tegra/clock.c|2 +- arch/arm/mach-tegra/hotplug.c |2 +- arch/a

[PATCH 04/11] ARM: Tegra: Define Tegra30 CAR binding

2012-12-23 Thread Prashant Gaikwad
The device tree binding models Tegra30 CAR (Clock And Reset) as a single monolithic clock provider. Signed-off-by: Prashant Gaikwad --- .../bindings/clock/nvidia,tegra30-car.txt | 282 arch/arm/boot/dts/tegra30.dtsi |6 + 2 files changed, 28

[PATCH 09/11] clk: tegra: add dt support

2012-12-23 Thread Prashant Gaikwad
Add support to initialize clock from DT. Signed-off-by: Prashant Gaikwad --- drivers/clk/tegra/clk.c | 23 +++ drivers/clk/tegra/clk.h |2 ++ include/linux/clk/tegra.h |1 + 3 files changed, 26 insertions(+), 0 deletions(-) diff --git a/drivers/clk/tegra/clk.c

[PATCH 06/11] ARM: dt: tegra20: Add device node for APB MISC

2012-12-23 Thread Prashant Gaikwad
APB misc contains multiple registers required by different modules such as CAR. Signed-off-by: Prashant Gaikwad --- arch/arm/boot/dts/tegra20.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index b2

[PATCH 10/11] arm: tegra: Migrate to new clock code

2012-12-23 Thread Prashant Gaikwad
Migrate tegra clock support to drivers/clk/tegra, this involves moving 1. definition of tegra_cpu_car_ops to clk.c 2. definition of reset functions to clk-peripheral.c 3. change parent of cpu clock. Signed-off-by: Prashant Gaikwad --- arch/arm/mach-tegra/board-dt-tegra20.c | 18 --

[PATCH 07/11] clk: tegra: add clock support for tegra20

2012-12-23 Thread Prashant Gaikwad
Add tegra20 clock support based on common clock framework. Signed-off-by: Prashant Gaikwad --- drivers/clk/tegra/Makefile |2 + drivers/clk/tegra/clk-tegra20.c | 1269 +++ drivers/clk/tegra/clk.h |6 + 3 files changed, 1277 insertions(+),

[PATCH 05/11] ARM: dt: tegra30: Add device node for APB MISC

2012-12-23 Thread Prashant Gaikwad
APB misc contains multiple registers required by different modules such as CAR. Signed-off-by: Prashant Gaikwad --- arch/arm/boot/dts/tegra30.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 74

[PATCH] ehci-mxc: remove Efika MX-specific CHRGVBUS hack

2012-12-23 Thread Matt Sealey
Since Efika MX platform support (pre-devicetree) was removed from the tree this code no longer has any possibility of running and clutters up the driver which is being replaced by the chipidea host in the future anyway. Signed-off-by: Matt Sealey Tested-by: Steev Klimazewski CC: Sascha Hauer CC

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Andy Furniss
Borislav Petkov wrote: On Sun, Dec 23, 2012 at 11:01:37AM +, Andy Furniss wrote: no_wb=1 should work. Yeah, maybe all those radeon and other GPU module parameters' syntax should be documented somewhere - Documentation/kernel-parameters.txt for example, or a GPU-specific file, whatever - so

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Andy Furniss
Borislav Petkov wrote: [ 28.191072] radeon: `0' invalid for parameter `wb' although the whole driver blubber didn't appear on the console fterwards aso something got turned off allright. Then, I went and tried "radeon.no_wb" where the driver blubber appeared but AGP writeback was still enabl

[PATCH] ehci-mxc: remove Efika MX-specific CHRGVBUS hack

2012-12-23 Thread Matt Sealey
Since Efika MX platform support (pre-devicetree) was removed from the tree this code no longer has any possibility of running and clutters up the driver which is being replaced by the chipidea host in the future anyway. Signed-off-by: Matt Sealey Tested-by: Steev Klimazewski CC: Sascha Hauer CC

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Borislav Petkov
On Sun, Dec 23, 2012 at 11:19:00AM +, Andy Furniss wrote: > modinfo radeon > > will give a list assuming you use modules, I think all of them need =. Yep, that is one way of getting that info, thanks. I always go and look at Documentation/kernel-parameters.txt and forget about modinfo. As yo

Re: [3.8-rc1] Networking problems after pulling-in net.git#master

2012-12-23 Thread Borislav Petkov
On Sun, Dec 23, 2012 at 04:14:39AM +0100, Sedat Dilek wrote: > Hi, > > after reading the thread "Regression in 3.8-rc1: "BUG: sleeping > function called from invalid context"" [1] I decided to pull-in > net.git#master (up to commit 9b1536c490d5: "bridge: call > br_netpoll_disable in br_add_if") on

Re: [PATCH 07/18] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2012-12-23 Thread Alex Shi
>> @@ -2487,7 +2487,7 @@ static void __update_cpu_load(struct rq *this_rq, >> unsigned long this_load, >> void update_idle_cpu_load(struct rq *this_rq) >> { >> unsigned long curr_jiffies = ACCESS_ONCE(jiffies); >> - unsigned long load = this_rq->load.weight; >> + unsigned long load

Re: [PATCH v2 0/5] KVM: x86: improve reexecute_instruction

2012-12-23 Thread Gleb Natapov
On Fri, Dec 14, 2012 at 11:05:46PM -0200, Marcelo Tosatti wrote: > On Fri, Dec 14, 2012 at 12:50:09PM +0800, Xiao Guangrong wrote: > > >>> program a timer interrupt and #GP? > > >> > > >> Could you please explain the detail? > > > > > > Before the instruction which writes continuously to the page

Re: [PATCH 1/2] don't wait on disk to start on resume

2012-12-23 Thread James Bottomley
Missing cc to linux-scsi added On Thu, 2012-12-20 at 20:35 -0800, Derek Basehore wrote: > We no longer wait for the disk to spin up in sd_resume. It now enters the > request to spinup the disk into the elevator and returns. > > A function is scheduled under the scsi_sd_probe_domain to wait for t

Re: CoreSight framework and drivers

2012-12-23 Thread Will Deacon
On Fri, Dec 21, 2012 at 10:18:28PM +, Pratik Patel wrote: > What user interface do you plan to provide for the CTI? Maybe > something consistent with other CoreSight components in sysfs to > allow users to enable, disable, map and unmap ??? > > Please let me know your thoughts. Rather than ha

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Markus Trippelsdorf
On 2012.12.23 at 12:31 +0100, Borislav Petkov wrote: > On Sun, Dec 23, 2012 at 11:19:00AM +, Andy Furniss wrote: > > modinfo radeon > > > > will give a list assuming you use modules, I think all of them need =. > > Yep, that is one way of getting that info, thanks. I always go and look > at D

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Joe Perches
On Sun, 2012-12-23 at 11:01 +, Andy Furniss wrote: > Borislav Petkov wrote: > > > [ 28.191072] radeon: `0' invalid for parameter `wb' > > > > although the whole driver blubber didn't appear on the console fterwards > > aso something got turned off allright. > > > > Then, I went and tried "ra

Re: [PATCH 4/4] efikamx: remove Efika MX-specific CHRGVBUS hack from the USB driver

2012-12-23 Thread Fabio Estevam
On Sun, Dec 23, 2012 at 8:42 AM, Matt Sealey wrote: > Anyone got a clue who the actual USB maintainer is who cares about ehci-mxc? $ ./scripts/get_maintainer.pl -F drivers/usb/host/ehci-mxc.c Alan Stern (maintainer:USB EHCI DRIVER) Greg Kroah-Hartman (supporter:USB SUBSYSTEM) linux-...@vger.ker

Re: [PATCH 06/18] sched: set initial load avg of new forked task as its load weight

2012-12-23 Thread Alex Shi
>> update_curr(cfs_rq); >> account_entity_enqueue(cfs_rq, se); >> - enqueue_entity_load_avg(cfs_rq, se, flags & ENQUEUE_WAKEUP); >> + enqueue_entity_load_avg(cfs_rq, se, flags & >> + (ENQUEUE_WAKEUP | ENQUEUE_NEWTASK)); > > It seems that just passing

Re: [PATCH 01/18] sched: select_task_rq_fair clean up

2012-12-23 Thread Alex Shi
On Fri, Dec 21, 2012 at 12:28 PM, Namhyung Kim wrote: > Hi, > > On Tue, 11 Dec 2012 12:00:55 +0530, Preeti U. Murthy wrote: >> On 12/11/2012 10:58 AM, Alex Shi wrote: >>> On 12/11/2012 12:23 PM, Preeti U Murthy wrote: Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: > It is impo

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Borislav Petkov
On Sun, Dec 23, 2012 at 12:51:33PM +0100, Markus Trippelsdorf wrote: > (If you don't use modules: git grep MODULE_PARM_DESC -- > drivers/gpu/drm/radeon/ ) Yeah. > You may have hit the same issue as I, see: > http://thread.gmane.org/gmane.comp.video.dri.devel/78328 Yes, it very much looks like it

Re: [3.8-rc1] Networking problems after pulling-in net.git#master

2012-12-23 Thread Sedat Dilek
On Sun, Dec 23, 2012 at 12:42 PM, Borislav Petkov wrote: > On Sun, Dec 23, 2012 at 04:14:39AM +0100, Sedat Dilek wrote: >> Hi, >> >> after reading the thread "Regression in 3.8-rc1: "BUG: sleeping >> function called from invalid context"" [1] I decided to pull-in >> net.git#master (up to commit 9b

Re: [PATCH 08/18] sched: consider runnable load average in move_tasks

2012-12-23 Thread Alex Shi
On Fri, Dec 21, 2012 at 12:43 PM, Namhyung Kim wrote: > On Wed, 12 Dec 2012 14:26:44 +0800, Alex Shi wrote: >> On 12/12/2012 12:41 PM, Preeti U Murthy wrote: >>> Also why can't p->se.load_avg_contrib be used directly? as a return >>> value for task_h_load_avg? since this is already updated in >>>

Re: dire state of rtl driver in 3.7

2012-12-23 Thread Borislav Petkov
On Sun, Dec 23, 2012 at 06:49:55AM +0100, Mike Galbraith wrote: > Looks a lot like my driver experience with older kernels, I had to use > the external driver in the rare event that I needed wireless to work. > The in tree driver works peachy these days (needed it recently, was > pleasantly surpris

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2012-12-23 Thread Borislav Petkov
On Sun, Dec 23, 2012 at 01:22:12PM +0100, Borislav Petkov wrote: > Right, let me try that and report back. Yep, looks like reverting the above commit fixes it - the boston.com website loads just fine. Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine.

Re: [PATCH] kvm: Fix memory slot generation updates

2012-12-23 Thread Takuya Yoshikawa
On Sun, 23 Dec 2012 10:55:06 +0200 Gleb Natapov wrote: > Applied, thanks. What about this small cleanup on to of the patch: Looks nice! Hope to see this applied as well. Thanks, Takuya > diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c > index 14cbae8..e45c20c 100644 > --- a/vir

[Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Rafael J. Wysocki
Hi Laurent, Commit f0ed2ce ([media] uvcvideo: Set error_idx properly for extended controls API failures) of yours unfortunately causes user space to misbehave on one of my test systems. Namely, there's no sound under KDE 4.9.4 (Tumbleweed version using pulseaudio) and there's a knotify4 process o

Re: [3.8-rc1] Networking problems after pulling-in net.git#master

2012-12-23 Thread Cong Wang
On Sun, Dec 23, 2012 at 9:19 PM, Sedat Dilek wrote: > > The culprit commit here seems to be... > > commit 9650388b5c56578fdccc79c57a8c82fb92b8e7f1 > Author: Eric Dumazet > Date: Fri Dec 21 07:32:10 2012 + > > ipv4: arp: fix a lockdep splat in arp_solicit() Can you try the following one

Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Mauro Carvalho Chehab
Em Sun, 23 Dec 2012 14:39:32 +0100 "Rafael J. Wysocki" escreveu: > Hi Laurent, > > Commit f0ed2ce ([media] uvcvideo: Set error_idx properly for extended > controls API failures) of yours unfortunately causes user space to misbehave > on one of my test systems. Namely, there's no sound under KDE

[PATCH v2] mm: modify pgdat_balanced() so that it also handles order=0

2012-12-23 Thread Zlatko Calusic
On 22.12.2012 19:54, Zlatko Calusic wrote: > On 20.12.2012 21:58, Andrew Morton wrote: >> There seems to be some complexity/duplication here between the new >> unbalanced_zone() and pgdat_balanced(). >> >> Can we modify pgdat_balanced() so that it also handles order=0, then do >> >> -if

Re: [3.8-rc1] Networking problems after pulling-in net.git#master

2012-12-23 Thread Sedat Dilek
On Sun, Dec 23, 2012 at 2:44 PM, Cong Wang wrote: > On Sun, Dec 23, 2012 at 9:19 PM, Sedat Dilek wrote: >> >> The culprit commit here seems to be... >> >> commit 9650388b5c56578fdccc79c57a8c82fb92b8e7f1 >> Author: Eric Dumazet >> Date: Fri Dec 21 07:32:10 2012 + >> >> ipv4: arp: fix a

Re: [3.8-rc1] Networking problems after pulling-in net.git#master

2012-12-23 Thread Julian Anastasov
Hello, On Sun, 23 Dec 2012, Cong Wang wrote: > On Sun, Dec 23, 2012 at 9:19 PM, Sedat Dilek wrote: > > > > The culprit commit here seems to be... > > > > commit 9650388b5c56578fdccc79c57a8c82fb92b8e7f1 > > Author: Eric Dumazet > > Date: Fri Dec 21 07:32:10 2012 + > > > > ipv4

Re: [3.8-rc1] Networking problems after pulling-in net.git#master

2012-12-23 Thread Cong Wang
On Sun, Dec 23, 2012 at 10:14 PM, Sedat Dilek wrote: > > [ CCing Eric ] > > YES, thie fixes my problem. > But your patch was somehow malformed, so I attached mine. > Thanks for testing! I knew it as I replied in wed Gmail. :) I will send a normal patch with your Reported-by and Tested-by. -- To

Re: [3.8-rc1] Networking problems after pulling-in net.git#master

2012-12-23 Thread Cong Wang
On Sun, Dec 23, 2012 at 10:10 PM, Julian Anastasov wrote: >> - memset(dst_ha, 0, dev->addr_len); >> + memcpy(dst_ha, dev->broadcast, MAX_ADDR_LEN); > > Use dev->addr_len instead of MAX_ADDR_LEN or > better provide NULL ptr to arp_send as before the > "ipv4: arp:

Re: [PATCH v7 00/27] x86, boot, 64bit: Add support for loading ramdisk and bzImage above 4G

2012-12-23 Thread H. Peter Anvin
Explanation please? Yinghai Lu wrote: >On Sat, Dec 22, 2012 at 5:24 AM, Konrad Rzeszutek Wilk > wrote: >> >> Interestingly enough I only see this on any AMD machine - different >> motherboards, different memory configurations. >> >> And also in a HVM guest running on an AMD machine. If it runs o

Re: [3.8-rc1] Networking problems after pulling-in net.git#master

2012-12-23 Thread Sedat Dilek
On Sun, Dec 23, 2012 at 3:25 PM, Cong Wang wrote: > On Sun, Dec 23, 2012 at 10:14 PM, Sedat Dilek wrote: >> >> [ CCing Eric ] >> >> YES, thie fixes my problem. >> But your patch was somehow malformed, so I attached mine. >> > > Thanks for testing! > > I knew it as I replied in wed Gmail. :) I wil

Re: [PATCH v3 5/5] KVM: x86: improve reexecute_instruction

2012-12-23 Thread Gleb Natapov
On Sat, Dec 15, 2012 at 03:01:12PM +0800, Xiao Guangrong wrote: > The current reexecute_instruction can not well detect the failed instruction > emulation. It allows guest to retry all the instructions except it accesses > on error pfn > > For example, some cases are nested-write-protect - if the

3.6.8. jfs issue?

2012-12-23 Thread Udo van den Heuvel
Hello, Found this one on one of the boxes: BUG: unable to handle kernel paging request at 3b1c IP: [] find_get_page+0x33/0x80 PGD 115a8a067 PUD 11901f067 PMD 0 Oops: [#1] PREEMPT SMP Modules linked in: vfat msdos fat nls_utf8 isofs fuse binfmt_misc cpufreq_ondemand f71882fg tda10

Re: [RFC PATCH 5/6] uprobes: add bp_vaddr argument to consumer handler

2012-12-23 Thread Oleg Nesterov
On 12/22, Oleg Nesterov wrote: > > Forgot to ask... > > On 12/22, Oleg Nesterov wrote: > > > > On 12/21, Anton Arapov wrote: > > > > > > struct uprobe_consumer { > > > - int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs); > > > + int (*handler)(struct uprobe_consumer *self, unsigne

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-23 Thread Oleg Nesterov
On 12/23, Srivatsa S. Bhat wrote: > > On 12/20/2012 07:12 PM, Oleg Nesterov wrote: > > > > We need mb() + rmb(). Plust cli/sti unless this arch has optimized > > this_cpu_add() like x86 (as you pointed out). > > > > Hey, IIUC, we actually don't need mb() in the reader!! Just an rmb() will do. Well

[PATCH 0/6 v12] gpio: Add block GPIO

2012-12-23 Thread Roland Stigge
This set of patches adds: * Block GPIO API to gpiolib * Sysfs support for GPIO API, to provide userland access * Device interface for userland access (alternative to sysfs) * Devicetree support to instantiate GPIO blocks via DT * Example implementations in several gpio drivers since they need sp

[PATCH 1/6 v12] gpio: Add a block GPIO API to gpiolib

2012-12-23 Thread Roland Stigge
The recurring task of providing simultaneous access to GPIO lines (especially for bit banging protocols) needs an appropriate API. This patch adds a kernel internal "Block GPIO" API that enables simultaneous access to several GPIOs. This is done by abstracting GPIOs to an n-bit word: Once requeste

[PATCH 4/6 v12] gpiolib: Fix default attributes for class

2012-12-23 Thread Roland Stigge
There is a race condition between creating a gpio or gpiochip device and adding default attributes. This patch fixes this by defining the default attributes as dev_attrs of the class. For this, it was necessary to create a separate gpiochip_class besides gpio_class. Signed-off-by: Roland Stigge -

[PATCH 5/6 v12] gpio: Add device tree support to block GPIO API

2012-12-23 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 ++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c | 100 ++

[PATCH 6/6 v12] gpio: Add block gpio to several gpio drivers

2012-12-23 Thread Roland Stigge
This patch adds block GPIO support to several gpio drivers. This implements block GPIO only for some selected drivers since block GPIO is an optional feature which may not be suitable for every GPIO hardware. (With automatic fallback to the single GPIO functions if not available in a driver.) Sig

[PATCH 3/6 v12] gpio: Add userland device interface to block GPIO

2012-12-23 Thread Roland Stigge
This patch adds a character device interface to the block GPIO system. Signed-off-by: Roland Stigge --- Documentation/ABI/testing/dev-gpioblock | 34 drivers/gpio/gpiolib.c | 225 +++- include/linux/gpio.h| 13 + 3 files

[PATCH 2/6 v12] gpio: Add sysfs support to block GPIO API

2012-12-23 Thread Roland Stigge
This patch adds sysfs support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/ABI/testing/sysfs-gpio | 20 ++ drivers/gpio/gpiolib.c | 252 ++- include/asm-generic/gpio.h | 11 + include/linux/gpio.h

[v3.8-rc1] Multimedia regression, ioctl(17,..)-API changed ?

2012-12-23 Thread Jörg Otte
With kernel v3.8 all multimedia programs under KDE4 don't work (Kubuntu 12.04). They alltogether ( at least Dragonplayer (Mediaplayer), Knotify4 (system-sound), System-Settings-Multimedia,..) are looping forever producing 100% CPU-usage and must be killed. With kernel 3.7 there are no problems. I

[PATCH] samsung-laptop: Set keyboard backlight initially

2012-12-23 Thread Roland Stigge
After boot, /sys/devices/platform/samsung/leds/samsung::kbd_backlight/brightness shows the maximum value (8) by readout, but the led is off. I need to manually set it to the respective value to have keyboard backlight. Fixing via readout-write in samsung_leds_init(). Tested on Samsung NP900X3C.

Re: [PATCH] brcmsmac: initialize morepending in brcms_b_recv()

2012-12-23 Thread Arend van Spriel
On 12/22/2012 10:07 PM, Geert Uytterhoeven wrote: > drivers/net/wireless/brcm80211/brcmsmac/main.c: In function ‘brcms_b_recv’: > drivers/net/wireless/brcm80211/brcmsmac/main.c:7636: warning: ‘morepending’ > may be used uninitialized in this function > Reading the code this warning seems to be i

Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Linus Torvalds
On Sun, Dec 23, 2012 at 6:08 AM, Mauro Carvalho Chehab wrote: > > Are you saying that pulseaudio is entering on some weird loop if the > returned value is not -EINVAL? That seems a bug at pulseaudio. Mauro, SHUT THE FUCK UP! It's a bug alright - in the kernel. How long have you been a maintainer

Re: [v3.8-rc1] Multimedia regression, ioctl(17,..)-API changed ?

2012-12-23 Thread Linus Torvalds
Jörg - does current git work for you? It has a patch from Rafael that just reverts the insane error code, and fixed something very similar for him. (I just pushed out, so it might take a few minutes to mirror out to the public sites). Linus On Sun, Dec 23, 2012 at 8:46 AM, Jörg Ott

Re: [PATCH v7 00/27] x86, boot, 64bit: Add support for loading ramdisk and bzImage above 4G

2012-12-23 Thread Yinghai Lu
On Sun, Dec 23, 2012 at 6:33 AM, H. Peter Anvin wrote: > Explanation please? > you have following change in the patch /* Finally jump to run C code and to be on real kernel address * Since we are running on identity-mapped space we have to jump * to the full 64bit addre

Re: [PATCH v7 00/27] x86, boot, 64bit: Add support for loading ramdisk and bzImage above 4G

2012-12-23 Thread Borislav Petkov
On Sun, Dec 23, 2012 at 10:00:26AM -0800, Yinghai Lu wrote: > On Sun, Dec 23, 2012 at 6:33 AM, H. Peter Anvin wrote: > > Explanation please? > > you have following change in the patch > > /* Finally jump to run C code and to be on real kernel address > * Since we are running on i

Re: dire state of rtl driver in 3.7

2012-12-23 Thread Larry Finger
On 12/22/2012 11:49 PM, Mike Galbraith wrote: On Sun, 2012-12-23 at 00:09 +0900, Norbert Preining wrote: Network card is built in into a Lenovo Thinkpad Edge Toshiba Satellite. # lspci -nnv -s 03:00.0 03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LA

Re: dire state of rtl driver in 3.7

2012-12-23 Thread Borislav Petkov
On Sun, Dec 23, 2012 at 01:13:20PM -0600, Larry Finger wrote: > Again a different driver! What do you mean "in a bunch of networks"? > How am I supposed to duplicate the conditions with descriptions like > this? A "bunch of networks" means, everytime I was at a coffee shop or similar, I'd try to u

Re: [PATCH 1/3] uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead

2012-12-23 Thread Oleg Nesterov
On 12/13, Srikar Dronamraju wrote: > > * Oleg Nesterov [2012-11-25 23:33:44]: almost month ago ;) > Acked-by: Srikar Dronamraju Thanks! but what about 2/3 and 3/3? I'd like to send the final (and technically trivial) series which actually turns the filtering on. Oleg. -- To unsubscribe fro

Re: dire state of rtl driver in 3.7

2012-12-23 Thread Larry Finger
On 12/23/2012 07:21 AM, Borislav Petkov wrote: On Sun, Dec 23, 2012 at 06:49:55AM +0100, Mike Galbraith wrote: Looks a lot like my driver experience with older kernels, I had to use the external driver in the rare event that I needed wireless to work. The in tree driver works peachy these days (

[PATCH 2/3] mm, bootmem: panic in bootmem alloc functions even if slab is available

2012-12-23 Thread Sasha Levin
Bootmem alloc functions are supposed to panic if allocation fails unless a *_nopanic() function is used. However, if slab is available this is not the case currently, and the function might return a NULL. Currect it to panic on failed allocations even if slab is available. Signed-off-by: Sasha Le

[PATCH 1/3] mm, sparse: allocate bootmem without panicing in sparse_mem_maps_populate_node

2012-12-23 Thread Sasha Levin
__alloc_bootmem_node_high() would panic if it failed allocating, so the fallback would never get reached. Switch to using __alloc_bootmem_node_high_nopanic(). Signed-off-by: Sasha Levin --- mm/sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/sparse.c b/mm/sparse.c

[PATCH 3/3] mm, sparse: don't check return value of alloc_bootmem calls

2012-12-23 Thread Sasha Levin
There's no need to check the result of alloc_bootmem() functions since they'll panic if allocation fails. Signed-off-by: Sasha Levin --- mm/sparse.c | 4 1 file changed, 4 deletions(-) diff --git a/mm/sparse.c b/mm/sparse.c index 72a0db6..949fb38 100644 --- a/mm/sparse.c +++ b/mm/sparse.c

Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Mauro Carvalho Chehab
Linus, Em Sun, 23 Dec 2012 09:36:15 -0800 Linus Torvalds escreveu: > To make matters worse, commit f0ed2ce840b3 is clearly total and utter > CRAP even if it didn't break applications. ENOENT is not a valid error > return from an ioctl. Never has been, never will be. ENOENT means "No > such file

Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Laurent Pinchart
Hi Linus, On Sunday 23 December 2012 09:36:15 Linus Torvalds wrote: > On Sun, Dec 23, 2012 at 6:08 AM, Mauro Carvalho Chehab wrote: > > Are you saying that pulseaudio is entering on some weird loop if the > > returned value is not -EINVAL? That seems a bug at pulseaudio. > > Mauro, SHUT THE FUCK

Re: [v3.8-rc1] Multimedia regression, ioctl(17,..)-API changed ?

2012-12-23 Thread Mauro Carvalho Chehab
Hi Jörg, Em Sun, 23 Dec 2012 17:46:07 +0100 Jörg Otte escreveu: > With kernel v3.8 all multimedia programs under KDE4 don't work (Kubuntu > 12.04). > They alltogether ( at least Dragonplayer (Mediaplayer), Knotify4 > (system-sound), > System-Settings-Multimedia,..) are looping forever producing

[2.6.32.y, 2.6.34.y] Re: [PATCH] x86: Don't use the EFI reboot method by default

2012-12-23 Thread Jonathan Nieder
Hi Willy et al, Please consider f70e957cda22 x86: Don't use the EFI reboot method by default, 2011-07-06 for application to the 2.6.32.y and 2.6.34.y trees. The patch was applied upstream late in the 3.0 cycle, so newer kernels don't need it. In 2011, Keith Ward wrote[1]: > W

Re: [2.6.32.y, 2.6.34.y] Re: [PATCH] x86: Don't use the EFI reboot method by default

2012-12-23 Thread Willy Tarreau
Hi Jonathan, [ccing Paul for 2.6.34] On Sun, Dec 23, 2012 at 12:59:50PM -0800, Jonathan Nieder wrote: > Hi Willy et al, > > Please consider > > f70e957cda22 x86: Don't use the EFI reboot method by default, >2011-07-06 > > for application to the 2.6.32.y and 2.6.34.y trees. T

Re: [2.6.32.y, 2.6.34.y] Re: [PATCH] x86: Don't use the EFI reboot method by default

2012-12-23 Thread Ben Hutchings
On Sun, 2012-12-23 at 22:03 +0100, Willy Tarreau wrote: > Hi Jonathan, > > [ccing Paul for 2.6.34] > > On Sun, Dec 23, 2012 at 12:59:50PM -0800, Jonathan Nieder wrote: > > Hi Willy et al, > > > > Please consider > > > > f70e957cda22 x86: Don't use the EFI reboot method by default, > >

Segfault in perf tool

2012-12-23 Thread Stefan Beller
Hi, I get segmentation faults when running one of these commands: perf report -g --sort symbol_to perf report -g --sort symbol_from perf report -g --sort dso_from perf report -g --sort dso_to I am running uname -a Linux sb 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_6

Re: [REGRESSION][3.8.-rc1][ INFO: possible circular locking dependency detected ]

2012-12-23 Thread Christian Kujau
On Sat, 22 Dec 2012 at 16:28, Maciej Rutecki wrote: > Got during suspend to disk: I got a similar message on a powerpc G4 system, right after bootup (no suspend involved): http://nerdbynature.de/bits/3.8.0-rc1/ [ 97.803049] == [ 97.803

[PATCH] brd: enable diskstats

2012-12-23 Thread Ryo Onodera
Signed-off-by: Ryo Onodera --- drivers/block/brd.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/block/brd.c b/drivers/block/brd.c index 531ceb3..181b2d7 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c @@ -332,6 +332,7 @@ static void brd_make_request(struct requ

Re: [PATCH] brd: enable diskstats

2012-12-23 Thread Ryo Onodera
Hi, I'm Ryo Onodera. This is a resend for my earlier patch. Because I got no reply, I've added other people as CC, picking from the commit history of the relevant file. I created this very tiny patch to enable /proc/diskstats for /dev/ramX. I'm contacting Nick Piggin as the maintainer of ramdis

linux-next stats (Was: Linux 3.8-rc1)

2012-12-23 Thread Stephen Rothwell
On Fri, 21 Dec 2012 18:00:58 -0800 Linus Torvalds wrote: > > The longest night of the year is upon us (*), and what better thing to > do than get yourself some nice mulled wine, sit back, relax, and play > with the most recent rc kernel? > > This has been a big merge window: we've got more commi

Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Linus Torvalds
On Sun, Dec 23, 2012 at 12:21 PM, Mauro Carvalho Chehab wrote: > > Agreed: ENOENT was a bad choice, and it should be reverted. Well, *any* other error value is likely a bad choice. > What I'm trying to understand is why pulseaudio is complaining. > Is it because it only accepts EINVAL error code

Re: Linux 3.8-rc1 - another regression on USB :-(

2012-12-23 Thread Linus Torvalds
Woody, Any chance you can bisect this? It's not going to be hugely pleasant (with 11k+ commits in between 3.7 and 3.8-rc1 you'll have to compile and test at least 14 kernels), but it would help enormously. Of course, maybe some USB person can guess what would cause the device to go offline.. Adde

linux-next: manual merge of the driver-core.current tree with Linus' tree

2012-12-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core.current tree got conflicts in 21 files in drivers/i2c between commit 0b255e927d47 ("i2c: remove __dev* attributes from subsystem") from Linus' tree and commit eeb30d064414 ("Drivers: i2c: remove __dev* attributes") from the driver-core.current t

Re: [RFC PATCH 1/3] x86,smp: move waiting on contended lock out of line

2012-12-23 Thread Rafael Aquini
On Fri, Dec 21, 2012 at 06:50:38PM -0500, Rik van Riel wrote: > Subject: x86,smp: move waiting on contended ticket lock out of line > > Moving the wait loop for congested loops to its own function allows > us to add things to that wait loop, without growing the size of the > kernel text appreciabl

Re: [RFC PATCH 2/3] x86,smp: proportional backoff for ticket spinlocks

2012-12-23 Thread Rafael Aquini
On Fri, Dec 21, 2012 at 06:51:15PM -0500, Rik van Riel wrote: > Subject: x86,smp: proportional backoff for ticket spinlocks > > Simple fixed value proportional backoff for ticket spinlocks. > By pounding on the cacheline with the spin lock less often, > bus traffic is reduced. In cases of a data s

Re: linux-next: manual merge of the driver-core.current tree with Linus' tree

2012-12-23 Thread Stephen Rothwell
Hi Greg, On Mon, 24 Dec 2012 09:52:00 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the driver-core.current tree got conflicts > in 21 files in drivers/i2c between commit 0b255e927d47 ("i2c: remove > __dev* attributes from subsystem") from Linus' tree and commit > eeb30d064414 ("

Re: [RFC PATCH 3/3] x86,smp: auto tune spinlock backoff delay factor

2012-12-23 Thread Rafael Aquini
On Fri, Dec 21, 2012 at 10:58:48PM -0500, Rik van Riel wrote: > On 12/21/2012 10:49 PM, Steven Rostedt wrote: > >On Fri, Dec 21, 2012 at 09:51:35PM -0500, Rik van Riel wrote: > > >>However, since spinlock contention should not be the > >>usual state, and all a scalable lock does is make sure > >>t

Re: [GIT PULL] perf changes for v3.8

2012-12-23 Thread David Ahern
On 12/23/12 2:23 AM, Gleb Natapov wrote: Your patch alone was not enough. Start here: https://lkml.org/lkml/2012/7/12/3 I cannot reproduce this failure. I reverted 20b279ddb38c and ran "perf record -e cycles:ppG" while guest was running. Admittedly I ran the test for a short time, but without

Re: Linux 3.8-rc1 - another regression on USB :-(

2012-12-23 Thread Greg Kroah-Hartman
On Sun, Dec 23, 2012 at 02:35:49PM -0800, Linus Torvalds wrote: > Woody, > Any chance you can bisect this? It's not going to be hugely pleasant > (with 11k+ commits in between 3.7 and 3.8-rc1 you'll have to compile > and test at least 14 kernels), but it would help enormously. Of > course, maybe s

Re: [PATCH] mm: compare MIGRATE_ISOLATE selectively

2012-12-23 Thread Minchan Kim
On Fri, Dec 21, 2012 at 01:46:23PM +0100, Michal Nazarewicz wrote: > > On Thu, Dec 20, 2012 at 04:49:44PM +0100, Michal Nazarewicz wrote: > >> Perhaps “is_migrate_isolate” to match already existing “is_migrate_cma”? > > On Fri, Dec 21 2012, Minchan Kim wrote: > > Good poking. In fact, while I made

Re: linux-next: manual merge of the driver-core.current tree with Linus' tree

2012-12-23 Thread Greg KH
On Mon, Dec 24, 2012 at 09:56:14AM +1100, Stephen Rothwell wrote: > Hi Greg, > > On Mon, 24 Dec 2012 09:52:00 +1100 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the driver-core.current tree got conflicts > > in 21 files in drivers/i2c between commit 0b255e927d47 ("i2c: remove >

Re: [2.6.32.y, 2.6.34.y] Re: [PATCH] x86: Don't use the EFI reboot method by default

2012-12-23 Thread Willy Tarreau
On Sun, Dec 23, 2012 at 09:11:36PM +, Ben Hutchings wrote: (...) > In 2.6.32 the relevant code is in arch/x86/kernel/efi.c. With the > filename changed, the patch applies cleanly and works for me. OK, thanks Ben, I had not looked at it yet. Best regards, Willy -- To unsubscribe from this li

[PATCH] ACPI / power: Remove useless message from device registering routine

2012-12-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit 71fbad6 (PCI/ACPI: Notify PCI devices when their power resource is turned on) made acpi_pci_bind() call acpi_power_resource_register_device(), the debug message at the end of the latter appears in the kernel log for every PCI device that doesn't happen to have

  1   2   >