[PATCH] fsl/sata: create a sysfs entry for rx water mark

2013-03-03 Thread Qiang Liu
Support config RX WATER MARK via sysfs when running at run-time; A wrokaround for fix the exception happened to some WD HDD, found on WD3000HLFS-01G6U1, WD3000HLFS-01G6U0, some SSD disks. The read performance is also regression (about 30%) when use default value. According to the latest documents,

RE: [PATCH 1/6 v8] iommu/fsl: Store iommu domain information pointer in archdata.

2013-03-03 Thread Sethi Varun-B16395
> -Original Message- > From: Yoder Stuart-B08248 > Sent: Friday, March 01, 2013 9:52 PM > To: Alexey Kardashevskiy; Sethi Varun-B16395 > Cc: Kumar Gala; Benjamin Herrenschmidt; io...@lists.linux-foundation.org; > linuxppc-dev@lists.ozlabs.org list; linux-ker...@vger.kernel.org list; > Woo

Re: [PATCH] kexec/ppc: Fix kernel program entry point while changing the load addr

2013-03-03 Thread Suzuki K. Poulose
On 03/04/2013 07:11 AM, Simon Horman wrote: [ Cc: linuxppc-dev@lists.ozlabs.org ] On Sun, Mar 03, 2013 at 01:06:00PM +0530, Suzuki K. Poulose wrote: From: Suzuki K. Poulose uImage probe fills the entry point (ep) based on the load_addr from the uImage headers. If we change the load_addr, we s

Re: [PATCH -V1 07/24] powerpc: Add size argument to pgtable_cache_add

2013-03-03 Thread Paul Mackerras
On Tue, Feb 26, 2013 at 01:34:57PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > We will use this later with THP changes to request for pmd table of double > the size. > THP code does PTE page allocation along with large page request and deposit > them > for later use. This is t

Re: [PATCH -V1 08/24] powerpc: Use encode avpn where we need only avpn values

2013-03-03 Thread Paul Mackerras
On Tue, Feb 26, 2013 at 01:34:58PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > In all these cases we are doing something similar to > > HPTE_V_COMPARE(hpte_v, want_v) which ignores the HPTE_V_LARGE bit > > With MPSS support we would need actual page size to set HPTE_V_LARGE >

Re: [PATCH -V1 09/24] powerpc: Decode the pte-lp-encoding bits correctly.

2013-03-03 Thread Paul Mackerras
On Tue, Feb 26, 2013 at 01:34:59PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > We look at both the segment base page size and actual page size and store > the pte-lp-encodings in an array per base page size. > > We also update all relevant functions to take actual page size arg

Re: [PATCH -V1 06/24] powerpc: Reduce PTE table memory wastage

2013-03-03 Thread Paul Mackerras
On Tue, Feb 26, 2013 at 01:34:56PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > We allocate one page for the last level of linux page table. With THP and > large page size of 16MB, that would mean we are be wasting large part > of that page. To map 16MB area, we only need a PTE s

Re: [PATCH 0/3] Enable multiple MSI feature in pSeries

2013-03-03 Thread Mike Qiu
于 2013/3/1 11:54, Michael Ellerman 写道: On Fri, Mar 01, 2013 at 11:08:45AM +0800, Mike wrote: Hi all Any comments? or any questions about my patchset? You were going to get some performance numbers that show a definite benefit for using more than one MSI. Yes, but my patch just enable the kern

Re: [PATCH] kexec/ppc: Fix kernel program entry point while changing the load addr

2013-03-03 Thread Simon Horman
[ Cc: linuxppc-dev@lists.ozlabs.org ] On Sun, Mar 03, 2013 at 01:06:00PM +0530, Suzuki K. Poulose wrote: > From: Suzuki K. Poulose > > uImage probe fills the entry point (ep) based on the load_addr > from the uImage headers. If we change the load_addr, we should > accordingly update the entry po

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Benjamin Herrenschmidt
On Sun, 2013-03-03 at 20:16 +0100, Phileas Fogg wrote: > Benjamin Herrenschmidt wrote: > > Thanks. It looks like a bisection might indeed be the way to go... > > > > Out of curiosity, have you tried without some of your additional drivers ? > > Maybe one of them is the culprit... > > > > Cheers, >

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Phileas Fogg
Benjamin Herrenschmidt wrote: Thanks. It looks like a bisection might indeed be the way to go... Out of curiosity, have you tried without some of your additional drivers ? Maybe one of them is the culprit... Cheers, Ben. Not yet, will do. But I tested the official Debian Wheezy RC netinstall

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Benjamin Herrenschmidt
On Sun, 2013-03-03 at 05:16 -0700, Phileas Fogg wrote: > i'm testing currently with slightly modified g5_defconfig. I enabled > the Ralink driver for my USB WLAN NIC and some other stuff, nothing > fancy. Anyways, i'm sending you config for 3.0.67. Linux 3.0.67 hangs on > my machine too. > > I c

Re: [PATCH V2] lglock: add read-preference local-global rwlock

2013-03-03 Thread Oleg Nesterov
On 03/02, Oleg Nesterov wrote: > > On 03/02, Lai Jiangshan wrote: > > > > +void lg_rwlock_local_read_unlock(struct lgrwlock *lgrw) > > +{ > > + switch (__this_cpu_read(*lgrw->reader_refcnt)) { > > + case 1: > > + __this_cpu_write(*lgrw->reader_refcnt, 0); > > + lg_local_unlo

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Phileas Fogg
Benjamin Herrenschmidt wrote: On Sat, 2013-03-02 at 15:40 +0100, Phileas Fogg wrote: recently i got a PowerMac G5 and installed Debian Linux 2.6.32 on it. Everything works so far and Debian boots properly. Today i tried to boot Linux 3 on the machine and it doesn't boot. The Linux 3 kernel was

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Benjamin Herrenschmidt
On Sun, 2013-03-03 at 11:23 +0300, Denis Kirjanov wrote: > I'm running 3.7.6 without any problems on my quad core machine. You > have to try to compile with g5_defconfig... Sure but I still want to know what in his config is breaking it, chances are that's something that we should fix :-) Cheers,

Re: Linux kernel 3.x problems on PowerMac G5

2013-03-03 Thread Denis Kirjanov
I'm running 3.7.6 without any problems on my quad core machine. You have to try to compile with g5_defconfig... On 3/3/13, Benjamin Herrenschmidt wrote: > On Sat, 2013-03-02 at 17:22 +0100, Andreas Schwab wrote: >> > Thanks. Then i configured something wrongly probably. >> > I tried Linux 2.6.39.