Re: [PATCH RFC 04/77] PCI/MSI/s390: Remove superfluous check of MSI type

2013-10-02 Thread Greg KH
On Wed, Oct 02, 2013 at 12:48:20PM +0200, Alexander Gordeev wrote: > arch_setup_msi_irqs() hook can only be called from the generic > MSI code which ensures correct MSI type parameter. > > Signed-off-by: Alexander Gordeev > --- > arch/s390/pci/pci.c |2 -- > 1 files changed, 0 insertions(+),

Re: [PATCH 0/2] fs: supply inode uid/gid setting interface

2013-08-22 Thread Greg KH
On Fri, Aug 23, 2013 at 10:48:36AM +0800, Rui Xiang wrote: > This patchset implements an accessor functions to set uid/gid > in inode struct. Just finish code clean up. Why? ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs

Re: [PATCH 2/4] hotplug, x86: Add hotplug lock to missing places

2013-08-17 Thread Greg KH
On Sat, Aug 17, 2013 at 01:46:57PM -0600, Toshi Kani wrote: > lock_device_hotplug() serializes CPU & Memory online/offline and hotplug > operations. However, this lock is not held in the debug interfaces below > that initiate CPU online/offline operations. > > - _debug_hotplug_cpu(), cpu0 hotplu

Re: [PATCH v2] powerpc: VPHN topology change updates all siblings

2013-07-24 Thread Greg KH
On Wed, Jul 24, 2013 at 10:00:05AM -0500, Robert Jennings wrote: > When an associativity level change is found for one thread, the > siblings threads need to be updated as well. This is done today > for PRRN in stage_topology_update() but is missing for VPHN in > update_cpu_associativity_changes_m

21 stable powerpc patches showing up in 3.11-rc1?

2013-07-11 Thread Greg KH
Ben, Why do I have 21 patches from you marked for -stable trees in the 3.11-rc1 merge window, like the one quoted below? All of these look serious enough that they should have gone into the 3.10-rc releases, especially as the date of when they were submitted gave you plenty of time to get them me

Re: [PATCH] powerpc: fix numa distance for form0 device tree

2013-05-06 Thread Greg KH
On Tue, May 07, 2013 at 01:49:34PM +1000, Michael Ellerman wrote: > From: Vaidyanathan Srinivasan > > Commit 7122b7bc1757682049780179d7c216dd1c83 upstream. > > The following commit breaks numa distance setup for old powerpc > systems that use form0 encoding in device tree. > > commit 41eab6

Re: [PATCH] powerpc: Fix missing doorbell IPIs during nap power saving

2013-04-29 Thread Greg KH
On Mon, Apr 29, 2013 at 06:17:40PM +1000, Ian Munsie wrote: > From: Ian Munsie > > If a doorbell IPI comes in while a thread is in nap power saving, the > doorbell interrupt won't be replayed by the hardware since it is edge > sensitive. Currently we are not replaying these interrupts in software

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-05 Thread Greg KH
On Tue, Feb 05, 2013 at 12:11:17PM +0100, Rafael J. Wysocki wrote: > On Monday, February 04, 2013 04:04:47 PM Greg KH wrote: > > On Tue, Feb 05, 2013 at 12:52:30AM +0100, Rafael J. Wysocki wrote: > > > You'd probably never try to hot-remove a disk before unmounting > >

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-04 Thread Greg KH
On Tue, Feb 05, 2013 at 12:52:30AM +0100, Rafael J. Wysocki wrote: > You'd probably never try to hot-remove a disk before unmounting filesystems > mounted from it or failing it as a RAID component and nobody sane wants the > kernel to do things like that automatically when the user presses the ejec

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-04 Thread Greg KH
On Mon, Feb 04, 2013 at 03:21:22PM +0100, Rafael J. Wysocki wrote: > On Monday, February 04, 2013 04:48:10 AM Greg KH wrote: > > On Sun, Feb 03, 2013 at 09:44:39PM +0100, Rafael J. Wysocki wrote: > > > > Yes, but those are just remove events and we can only see how >

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-04 Thread Greg KH
On Sun, Feb 03, 2013 at 09:44:39PM +0100, Rafael J. Wysocki wrote: > > Yes, but those are just remove events and we can only see how destructive > > they > > were after the removal. The point is to be able to figure out whether or > > not > > we *want* to do the removal in the first place. > >

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-04 Thread Greg KH
On Sun, Feb 03, 2013 at 05:28:09PM -0700, Toshi Kani wrote: > On Sat, 2013-02-02 at 16:01 +0100, Greg KH wrote: > > On Fri, Feb 01, 2013 at 01:40:10PM -0700, Toshi Kani wrote: > > > On Fri, 2013-02-01 at 07:30 +, Greg KH wrote: > > > > On Thu, Jan 31, 2013 at 06:3

Re: [PATCH?] Move ACPI device nodes under /sys/firmware/acpi (was: Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework)

2013-02-03 Thread Greg KH
On Sat, Feb 02, 2013 at 11:18:20PM +0100, Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 09:15:37 PM Rafael J. Wysocki wrote: > > On Saturday, February 02, 2013 03:58:01 PM Greg KH wrote: > [...] > > > > > I know it's more complicated with these

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-03 Thread Greg KH
On Sat, Feb 02, 2013 at 09:15:37PM +0100, Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 03:58:01 PM Greg KH wrote: > > On Fri, Feb 01, 2013 at 11:12:59PM +0100, Rafael J. Wysocki wrote: > > > On Friday, February 01, 2013 08:23:12 AM Greg KH wrote: > > > >

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-02 Thread Greg KH
On Fri, Feb 01, 2013 at 01:40:10PM -0700, Toshi Kani wrote: > On Fri, 2013-02-01 at 07:30 +0000, Greg KH wrote: > > On Thu, Jan 31, 2013 at 06:32:18PM -0700, Toshi Kani wrote: > > > This is already done for PCI host bridges and platform devices and I > > don't >

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-02 Thread Greg KH
On Fri, Feb 01, 2013 at 11:12:59PM +0100, Rafael J. Wysocki wrote: > On Friday, February 01, 2013 08:23:12 AM Greg KH wrote: > > On Thu, Jan 31, 2013 at 09:54:51PM +0100, Rafael J. Wysocki wrote: > > > > > But, again, I'm going to ask why you aren't using t

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-01-31 Thread Greg KH
On Thu, Jan 31, 2013 at 06:32:18PM -0700, Toshi Kani wrote: > This is already done for PCI host bridges and platform devices and I don't > > see why we can't do that for the other types of devices too. > > > > The only missing piece I see is a way to handle the "eject" problem, i.e. > > when we t

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-01-31 Thread Greg KH
On Thu, Jan 31, 2013 at 09:54:51PM +0100, Rafael J. Wysocki wrote: > > > But, again, I'm going to ask why you aren't using the existing cpu / > > > memory / bridge / node devices that we have in the kernel. Please use > > > them, or give me a _really_ good reason why they will not work. > > > > W

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-01-30 Thread Greg KH
On Wed, Jan 30, 2013 at 06:15:12PM -0700, Toshi Kani wrote: > > Please make it a "real" pointer, and not a void *, those shouldn't be > > used at all if possible. > > How about changing the "void *handle" to acpi_dev_node below? > >struct acpi_dev_nodeacpi_node; > > Basically, it has

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-01-30 Thread Greg KH
On Thu, Jan 10, 2013 at 04:40:19PM -0700, Toshi Kani wrote: > +/* > + * Hot-plug device information > + */ Again, stop it with the "generic" hotplug term here, and everywhere else. You are doing a very _specific_ type of hotplug devices, so spell it out. We've worked hard to hotplug _everything_

Re: [RFC PATCH v2 03/12] drivers/base: Add system device hotplug framework

2013-01-30 Thread Greg KH
On Thu, Jan 10, 2013 at 04:40:21PM -0700, Toshi Kani wrote: > Added sys_hotplug.c, which is the system device hotplug framework code. > > shp_register_handler() allows modules to register their hotplug handlers > to the framework. shp_submit_req() provides the interface to submit > a hotplug or o

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-01-30 Thread Greg KH
On Thu, Jan 10, 2013 at 04:40:19PM -0700, Toshi Kani wrote: > Added include/linux/sys_hotplug.h, which defines the system device > hotplug framework interfaces used by the framework itself and > handlers. > > The order values define the calling sequence of handlers. For add > execute, the orderin

Re: [RFC PATCH v2 02/12] ACPI: Add sys_hotplug.h for system device hotplug framework

2013-01-30 Thread Greg KH
On Mon, Jan 14, 2013 at 12:21:30PM -0700, Toshi Kani wrote: > On Mon, 2013-01-14 at 20:07 +0100, Rafael J. Wysocki wrote: > > On Monday, January 14, 2013 11:42:09 AM Toshi Kani wrote: > > > On Mon, 2013-01-14 at 19:47 +0100, Rafael J. Wysocki wrote: > > > > On Monday, January 14, 2013 08:53:53 AM T

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-01-30 Thread Greg KH
On Mon, Jan 14, 2013 at 12:02:04PM -0700, Toshi Kani wrote: > On Mon, 2013-01-14 at 19:48 +0100, Rafael J. Wysocki wrote: > > On Monday, January 14, 2013 08:33:48 AM Toshi Kani wrote: > > > On Fri, 2013-01-11 at 22:23 +0100, Rafael J. Wysocki wrote: > > > > On Thursday, January 10, 2013 04:40:19 PM

Re: [PATCH 6/6][v3] perf: Document the ABI of perf sysfs entries

2013-01-15 Thread Greg KH
gt; > > > - generic and POWER-specific perf events in /sys/devices/cpu/events/ > > - perf event config format in /sys/devices/cpu/format/event > > > > Document the format of these files which would become part of the ABI. > > > > Changelog[v3]: >

Re: [RFC PATCH v2 02/12] ACPI: Add sys_hotplug.h for system device hotplug framework

2013-01-14 Thread Greg KH
On Mon, Jan 14, 2013 at 08:07:35PM +0100, Rafael J. Wysocki wrote: > On Monday, January 14, 2013 11:42:09 AM Toshi Kani wrote: > > On Mon, 2013-01-14 at 19:47 +0100, Rafael J. Wysocki wrote: > > > On Monday, January 14, 2013 08:53:53 AM Toshi Kani wrote: > > > > On Fri, 2013-01-11 at 22:25 +0100, R

Re: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-10 Thread Greg KH
On Thu, Jan 10, 2013 at 12:08:35PM +0200, Felipe Balbi wrote: > Hi, > > Some recent patch has caused fsl_mxc_udc.c driver to fail compilation > because it can't find anymore. > > I would like this to be fixed still during this -rc cycle. Me too, who's sending a patch? :) _

Re: [PATCH 3/5] perf/POWER7: Make generic event translations available in sysfs

2012-12-19 Thread Greg KH
On Tue, Dec 18, 2012 at 11:28:49PM -0800, Sukadev Bhattiprolu wrote: > > [PATCH 3/5] perf/POWER7: Make generic event translations available in sysfs > > Make the generic perf events in POWER7 available via sysfs. > > $ ls /sys/bus/event_source/devices/cpu/events > branch-instructions

Re: [PATCH 056/493] edac: remove use of __devexit_p

2012-11-24 Thread Greg KH
On Sat, Nov 24, 2012 at 10:14:53AM +0100, Borislav Petkov wrote: > On Fri, Nov 23, 2012 at 08:40:24AM -0800, Greg KH wrote: > > No, as there will not be any discarded sections anymore because > > CONFIG_HOTPLUG is always enabled. We will just delete this whole > > #if/#endif s

Re: [PATCH 056/493] edac: remove use of __devexit_p

2012-11-23 Thread Greg KH
On Fri, Nov 23, 2012 at 11:06:35AM +0100, Borislav Petkov wrote: > On Thu, Nov 22, 2012 at 10:22:22AM -0800, Greg KH wrote: > > On Thu, Nov 22, 2012 at 02:44:51PM +0100, Borislav Petkov wrote: > > > On Mon, Nov 19, 2012 at 01:20:05PM -0500, Bill Pemberton wrote: > > >

Re: [PATCH 056/493] edac: remove use of __devexit_p

2012-11-22 Thread Greg KH
On Thu, Nov 22, 2012 at 02:44:51PM +0100, Borislav Petkov wrote: > On Mon, Nov 19, 2012 at 01:20:05PM -0500, Bill Pemberton wrote: > > CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer > > needed. > > Erm, I don't understand. __devexit_p is defined also for modules not > only f

Re: [PATCH] TTY: hvc_console, fix port reference count going to zero prematurely

2012-11-14 Thread Greg KH
On Thu, Nov 15, 2012 at 07:48:17AM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2012-11-14 at 07:09 -0800, Greg KH wrote: > > > So who's merging it ? > > > > Give me a chance to at least wake up please :) > > Sure ;-) Just asking since I'm about to coo

Re: [PATCH] TTY: hvc_console, fix port reference count going to zero prematurely

2012-11-14 Thread Greg KH
On Wed, Nov 14, 2012 at 11:47:59PM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2012-11-14 at 10:45 +0100, Jiri Slaby wrote: > > > > This fixes it by removing the extra kref_put() and tty_kref_put() calls. > > > > Oh yeah. Thanks. > > > > Acked-by: Jiri Slaby > > So who's merging it ? Give

Re: [PATCH v3] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-24 Thread Greg KH
On Mon, Sep 24, 2012 at 02:44:19PM +, Liu Shengzhou-B36685 wrote: > > > -Original Message- > > From: Greg KH [mailto:g...@kroah.com] > > Sent: 2012年9月22日 22:49 > > To: Kumar Gala > > Cc: Liu Shengzhou-B36685; linuxppc-dev@lists.ozlabs.org; linux- >

Re: [PATCH v3] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-22 Thread Greg KH
On Sat, Sep 22, 2012 at 09:39:15AM -0500, Kumar Gala wrote: > > On Sep 21, 2012, at 11:43 AM, Greg KH wrote: > > > On Tue, Sep 18, 2012 at 04:52:39PM +0800, Shengzhou Liu wrote: > >> when missing USB PHY clock, kernel booting up will hang during USB > >> init

Re: [PATCH v3] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-21 Thread Greg KH
On Tue, Sep 18, 2012 at 04:52:39PM +0800, Shengzhou Liu wrote: > when missing USB PHY clock, kernel booting up will hang during USB > initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid > CPU hanging in this case. > > Signed-off-by: Shengzhou Liu > --- > v3 change: no check for UTMI

Re: [PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-18 Thread Greg KH
On Tue, Sep 18, 2012 at 12:35:09AM -0500, Kumar Gala wrote: > > On Aug 22, 2012, at 5:17 AM, Shengzhou Liu wrote: > > > when missing USB PHY clock, kernel booting up will hang during USB > > initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid > > CPU hanging in this case. > > > > S

Re: [2/3][PATCH][v2] TDM Framework

2012-08-01 Thread Greg KH
On Wed, Aug 01, 2012 at 12:13:19PM +, Singh Sandeep-B37400 wrote: > > On Mon, Jul 30, 2012 at 09:50:57AM +, Singh Sandeep-B37400 wrote: > > > 1. You should send some kernel mode TDM clients. Without those the > > framework > > >is pretty useless. > > > [Sandeep] We do have a test client

Re: [2/3][PATCH][v2] TDM Framework

2012-07-30 Thread Greg KH
On Mon, Jul 30, 2012 at 09:50:57AM +, Singh Sandeep-B37400 wrote: > 1. You should send some kernel mode TDM clients. Without those the framework >is pretty useless. > [Sandeep] We do have a test client but not good enough to be pushed in > open source, should we add it to documentation??

Re: [2/3][PATCH][v2] TDM Framework

2012-07-30 Thread Greg KH
On Mon, Jul 30, 2012 at 09:10:48AM +, Aggrwal Poonam-B10812 wrote: > > > > -Original Message- > > From: Linuxppc-dev [mailto:linuxppc-dev- > > bounces+poonam.aggrwal=freescale@lists.ozlabs.org] On Behalf Of Greg > > KH > > Sent: Friday,

Re: [2/3][PATCH][v2] TDM Framework

2012-07-27 Thread Greg KH
On Fri, Jul 27, 2012 at 07:35:38PM +0530, sand...@freescale.com wrote: > +static struct kobj_type tdm_type = { > + .sysfs_ops = &tdm_ops, > + .default_attrs = tdm_attr, > +}; Ah, also, as per the documentation in the kernel (go look, it's there), I now get to publicly mock you for ignoring

Re: [2/3][PATCH][v2] TDM Framework

2012-07-27 Thread Greg KH
On Fri, Jul 27, 2012 at 07:35:38PM +0530, sand...@freescale.com wrote: > +/* Data structures required for sysfs */ > +static struct tdm_sysfs attr = { > + .attr.name = "use_latest_data", > + .attr.mode = 0664, > + .cmd_type = TDM_LATEST_DATA, > +}; What is this for? > +int tdm_sysfs_i

Re: [PATCH v16 01/10]USB/ppc4xx: Add Synopsys DWC OTG Register definitions

2012-05-12 Thread Greg KH
On Thu, May 03, 2012 at 05:53:03PM +0530, Rupjyoti Sarmah wrote: > > Add Synopsys Design Ware core register definitions. > > Signed-off-by: Rupjyoti Sarmah > Signed-off-by: Tirumala R Marri > Signed-off-by: Fushen Chen > Signed-off-by: Mark Miesfeld > --- > drivers/usb/dwc/regs.h | 1326 > +

Re: PPC / USB: kernel hangs in warm boot on 8513 in fsl-ehci

2012-04-16 Thread Greg KH
On Sun, Apr 15, 2012 at 10:45:50PM -0600, Anthony Foiani wrote: > I could try the latest kernels, but due to our vendor not upstreaming > their patches, there could be some pain in that transition. I would push back on that vendor, as this is their support issue, not ours :) Seriously, that's the

Re: [PATCH v2] powerpc+sparc/vio: Modernize driver registration

2012-03-27 Thread Greg KH
On Tue, Mar 27, 2012 at 05:50:27PM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2012-03-27 at 01:53 -0400, David Miller wrote: > > From: Benjamin Herrenschmidt > > Date: Tue, 27 Mar 2012 16:06:30 +1100 > > > > > This makes vio_register_driver() get the module owner & name at compile > > > time

Re: [PATCH 14/17] powerpc: crypto: nx driver code supporting nx encryption

2012-03-21 Thread Greg KH
On Thu, Mar 22, 2012 at 01:57:30PM +1100, Benjamin Herrenschmidt wrote: > +int __vio_register_driver(struct vio_driver *viodrv, struct module *owner, > + const char *mod_name) > { > viodrv->driver.bus = &vio_bus_type; > + viodrv->driver.name = viodrv->name; > + vi

Re: [PATCH 14/17] powerpc: crypto: nx driver code supporting nx encryption

2012-03-21 Thread Greg KH
On Wed, Mar 21, 2012 at 04:41:08PM -0500, Kent Yoder wrote: > +static int nx_register_algs(void) > +{ > + int rc = -1; > + > + if (nx_driver.of.flags != NX_OF_FLAG_MASK_READY) > + goto out; > + > + memset(&nx_driver.stats, 0, sizeof(struct nx_stats)); > + > + rc = nx_sys

Re: [PATCH 15/17] powerpc: crypto: sysfs routines and docs for the nx device driver

2012-03-21 Thread Greg KH
On Wed, Mar 21, 2012 at 04:41:20PM -0500, Kent Yoder wrote: > These routines add sysfs files supporting the Power7+ in-Nest encryption > accelerator driver. > > Signed-off-by: Kent Yoder > --- > Documentation/powerpc/pfo-nx-crypto.txt | 52 Please put sysfs file information in Documen

Re: linux-next: manual merge of the char-misc tree with the powerpc tree

2012-03-16 Thread Greg KH
On Fri, Mar 16, 2012 at 04:52:07PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the char-misc tree got a conflict in > drivers/char/viotape.c between commit ba7a4822b48f ("powerpc: Remove some > of the legacy iSeries specific device drivers") from the powerpc tree and >

Re: [PATCH 1/5] tty/hvc_vio: FW_FEATURE_ISERIES is no longer selectable

2012-03-16 Thread Greg KH
On Fri, Mar 16, 2012 at 03:16:54PM +1100, Stephen Rothwell wrote: > so remove the code that tests for it. > > Cc: Greg Kroah-Hartman > Signed-off-by: Stephen Rothwell > --- > drivers/tty/hvc/hvc_vio.c |4 > 1 files changed, 0 insertions(+), 4 deletions(-) > > Greg, it is probably easi

Re: linux-next: manual merge of the driver-core tree with the powerpc tree

2012-03-09 Thread Greg KH
On Fri, Mar 09, 2012 at 04:40:25PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/base/driver.c between commit fcd6f7620202 ("driver-core: remove > legacy iSeries hack") from the powerpc tree and commit 9875bb480cc8 > ("El

Re: [PATCH 1/9] pci_ids: Add device ID for IBM PCI-X bridge

2012-03-06 Thread Greg KH
On Tue, Mar 06, 2012 at 05:05:07PM +0800, Zhao Chenhui wrote: > Signed-off-by: Zhao Chenhui > --- > include/linux/pci_ids.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index 31d77af..8f026c0 100644 > --- a/incl

Re: [PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Greg KH
On Thu, Feb 16, 2012 at 09:39:15PM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2012-02-16 at 18:02 +0800, Shengzhou Liu wrote: > > If USB UTMI PHY is not enable, writing to portsc register will lead to > > kernel hang during boot up. > > Thanks, I'll try that tomorrow. > > Greg, you're picking

Re: [PATCH v2] powerpc/usb: fix issue of CPU halt when missing USB PHY clock

2012-02-02 Thread Greg KH
On Thu, Feb 02, 2012 at 03:39:48PM +0400, Sergei Shtylyov wrote: > Hello. > > On 02-02-2012 7:23, Shengzhou Liu wrote: > > >when missing USB PHY clock, kernel booting up will halt during USB > >initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid > >CPU hang in this case. > > >Signe

Re: linux-next: manual merge of the driver-core tree with the powerpc tree

2012-01-04 Thread Greg KH
On Wed, Dec 28, 2011 at 04:51:02PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > arch/powerpc/kernel/sysfs.c between commit 595fe91447b0 ("powerpc: Export > PIR data through sysfs") from the powerpc tree and commits 8a25a2fd126c

Re: [GIT PULL] tty-next: Fix Fsl 8250 BRK bug

2011-12-09 Thread Greg KH
On Tue, Dec 06, 2011 at 10:39:57PM -0500, Paul Gortmaker wrote: > Hi Greg, > > This is the Freescale hardware bug fix which turned into a > six-pack of 8250 updates. This is exactly what was posted > in the v2 review, with just Alan's ack added[1]. Since nobody > else has had any follow-on comme

Re: Regression: patch " hvc_console: display printk messages on console." causing infinite loop with 3.2-rc0 + Xen.

2011-11-07 Thread Greg KH
On Mon, Nov 07, 2011 at 05:19:42PM +1100, Stephen Rothwell wrote: > Hi Greg, > > On Wed, 2 Nov 2011 18:30:12 -0700 Greg KH wrote: > > > > On Wed, Nov 02, 2011 at 12:13:09PM +1100, Stephen Rothwell wrote: > > > > > > On Thu, 27 Oct 2011 07:48:06 +0200 Greg

Re: Regression: patch " hvc_console: display printk messages on console." causing infinite loop with 3.2-rc0 + Xen.

2011-11-02 Thread Greg KH
On Wed, Nov 02, 2011 at 12:13:09PM +1100, Stephen Rothwell wrote: > Hi Greg, > > On Thu, 27 Oct 2011 07:48:06 +0200 Greg KH wrote: > > > > On Thu, Oct 27, 2011 at 01:30:08AM -0400, Konrad Rzeszutek Wilk wrote: > > > Hey Miche. > > > > > > The git

Re: [RFC][PATCH 1/2] uio: allow drivers to override the pgprot for mmap

2011-10-28 Thread Greg KH
On Fri, Oct 28, 2011 at 11:48:12PM +0200, Hans J. Koch wrote: > On Fri, Oct 28, 2011 at 10:50:29AM -0500, Kumar Gala wrote: > > For some devices, the default behavior of pgprot_noncached() is not > > appropriate for all of its mappable regions. This provides a means for > > the kernel side of the U

Re: [RFC][PATCH 2/2] Example to show use of uio pgprot

2011-10-28 Thread Greg KH
On Fri, Oct 28, 2011 at 10:50:30AM -0500, Kumar Gala wrote: > --- > drivers/uio/uio_dpa.c | 200 > + > 1 files changed, 200 insertions(+), 0 deletions(-) > create mode 100644 drivers/uio/uio_dpa.c You do realize this does not build, right? thank

Re: [PATCH v15 00/10] Add-Synopsys-DesignWare-HS-USB-OTG-driver

2011-10-26 Thread Greg KH
On Wed, Oct 26, 2011 at 10:17:19AM -0700, Tirumala Marri wrote: > Greg, > > < >

Re: [PATCH] uio: Support 36-bit physical addresses on 32-bit systems

2011-10-17 Thread Greg KH
On Mon, Oct 17, 2011 at 08:03:51PM +0200, Hans J. Koch wrote: > On Mon, Oct 17, 2011 at 07:18:59PM +0200, Hans J. Koch wrote: > > On Mon, Oct 17, 2011 at 11:00:55AM -0500, Kumar Gala wrote: > > > > > > On Oct 14, 2011, at 1:31 PM, Hans J. Koch wrote: > > > > > > > On Thu, Oct 13, 2011 at 10:50:58

Re: [PATCH] uio: Support 36-bit physical addresses on 32-bit systems

2011-10-14 Thread Greg KH
On Fri, Oct 14, 2011 at 08:31:45PM +0200, Hans J. Koch wrote: > On Thu, Oct 13, 2011 at 10:50:58AM -0500, Kumar Gala wrote: > > From: Kai Jiang > > > > To support >32-bit physical addresses for UIO_MEM_PHYS type we need to > > extend the width of 'addr' in struct uio_mem. Numerous platforms like

Re: [PATCH] Fix interrupt handling in MPC8xxx GPIO driver

2011-10-11 Thread Greg KH
On Tue, Oct 11, 2011 at 10:24:21AM +0200, Felix Radensky wrote: > Interrupt handler in MPC8xxx GPIO driver is missing the call > to PIC EOI (end of interrupt) handler. As a result, at least > on 85XX systems, GPIO interrupt is delivered only once. This > patch adds the missing EOI call. Tested on c

Re: [PATCH] drivers/tty: don't use the byte channel handle as a parameter in ehv_bytechan.c

2011-09-22 Thread Greg KH
On Thu, Sep 22, 2011 at 06:15:53PM -0500, Timur Tabi wrote: > Greg KH wrote: > > This patch doesn't apply at all to my tty tree, what was it made > > against? > > An internal repository that supposed to be in-sync with the latest and > greatest. > > What'

Re: [PATCH 54/62] TTY: irq: Remove IRQF_DISABLED

2011-09-22 Thread Greg KH
On Thu, Sep 22, 2011 at 04:04:20PM -0700, Greg KH wrote: > On Wed, Sep 07, 2011 at 04:10:51PM +0800, Yong Zhang wrote: > > This flag is a NOOP and can be removed now. > > > > Signed-off-by: Yong Zhang > > Acked-by: Tobias Klauser > > --- > > driv

Re: [PATCH] drivers/tty: don't use the byte channel handle as a parameter in ehv_bytechan.c

2011-09-22 Thread Greg KH
On Tue, Sep 20, 2011 at 01:26:57PM -0500, Timur Tabi wrote: > The ePAPR hypervisor byte channel console driver only supports one byte > channel as a console, and the byte channel handle is stored in a global > variable. It doesn't make any sense to pass that handle as a parameter > to the console

Re: [PATCH 54/62] TTY: irq: Remove IRQF_DISABLED

2011-09-22 Thread Greg KH
On Wed, Sep 07, 2011 at 04:10:51PM +0800, Yong Zhang wrote: > This flag is a NOOP and can be removed now. > > Signed-off-by: Yong Zhang > Acked-by: Tobias Klauser > --- > drivers/tty/amiserial.c |2 +- > drivers/tty/cyclades.c |2 +- > drivers/tty/hvc/hvc_irq.

Re: linux-next: manual merge of the tty tree with the powerpc tree

2011-09-21 Thread Greg KH
On Wed, Sep 21, 2011 at 03:01:21PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the tty tree got conflicts in > arch/powerpc/include/asm/udbg.h and arch/powerpc/kernel/udbg.c between > commit c26afe9e8591 ("powerpc/ps3: Add gelic udbg driver") from the > powerpc tree a

Re: [PATCH] memory hotplug: Refuse to add unaligned memory regions

2011-09-14 Thread Greg KH
On Thu, Sep 15, 2011 at 06:26:15AM +1000, Anton Blanchard wrote: > > The sysfs memory probe interface allows unaligned regions > to be added: > > # echo 0xff > /sys/devices/system/memory/probe > > # cat /proc/iomem > 00ff-01fe : System RAM > 01ff-02fe : System RAM > 02ff

Re: [PATCH 02/14] dwc/otg: Structure declaration for shared data

2011-09-02 Thread Greg KH
On Fri, Sep 02, 2011 at 05:19:17PM +0530, Pratyush Anand wrote: > On Thu, Sep 1, 2011 at 4:06 AM, Greg KH wrote: > > On Tue, Aug 30, 2011 at 05:27:49PM +0530, Pratyush Anand wrote: > >> There are some DWC OTG parameters which might be passed by a platform. > >> Declara

Re: [PATCH 02/14] dwc/otg: Structure declaration for shared data

2011-08-31 Thread Greg KH
On Wed, Aug 31, 2011 at 08:18:12PM -0400, Josh Boyer wrote: > On Wed, Aug 31, 2011 at 6:36 PM, Greg KH wrote: > > On Tue, Aug 30, 2011 at 08:29:21AM -0700, Tirumala Marri wrote: > >> <-Original Message- > >>

Re: [PATCH 01/14] dwc/otg: Add Register definitions

2011-08-31 Thread Greg KH
On Tue, Aug 30, 2011 at 05:27:48PM +0530, Pratyush Anand wrote: > From: Tirumala Marri > > Add Synopsys Design Ware core register definitions. > > Signed-off-by: Tirumala R Marri > Signed-off-by: Fushen Chen > Signed-off-by: Mark Miesfeld > Signed-off-by: Pratyush Anand > --- > drivers/usb/

Re: [PATCH 02/14] dwc/otg: Structure declaration for shared data

2011-08-31 Thread Greg KH
On Tue, Aug 30, 2011 at 08:29:21AM -0700, Tirumala Marri wrote: > <-Original Message- > mailto:pratyush.an...@st.com] > < >< > > <--- > < include/linux/usb/dwc_otg.h | 274 > > [Tirumala Marri] I am not sure how to separate your changes. But we need > More time as our initial

Re: [PATCH 02/14] dwc/otg: Structure declaration for shared data

2011-08-31 Thread Greg KH
On Tue, Aug 30, 2011 at 05:27:49PM +0530, Pratyush Anand wrote: > There are some DWC OTG parameters which might be passed by a platform. > Declaration for structure of those parameters have been provided in this > include file. > > Signed-off-by: Pratyush Anand > --- > include/linux/usb/dwc_otg.

Re: [PATCH] tty/powerpc: fix build break with ehv_bytechan.c on allyesconfig

2011-08-25 Thread Greg KH
On Thu, Aug 25, 2011 at 01:51:20PM -0500, Timur Tabi wrote: > Greg KH wrote: > > But don't you really want this type of check at runtime? What happens > > if you load this driver on a machine that is not a guest? Will things > > break? Shouldn't you still refuse t

Re: [PATCH] tty/powerpc: fix build break with ehv_bytechan.c on allyesconfig

2011-08-25 Thread Greg KH
On Thu, Aug 25, 2011 at 01:02:01PM -0500, Timur Tabi wrote: > Greg KH wrote: > > tested doesn't mean that it shouldn't still build properly for other > > platforms, right? > > The problem is the dependency on MSR_GS, which is defined only for Book-E > PowerPC

Re: [PATCH] tty/powerpc: fix build break with ehv_bytechan.c on allyesconfig

2011-08-25 Thread Greg KH
On Thu, Aug 25, 2011 at 11:20:45AM -0500, Timur Tabi wrote: > The Kconfig for the ePAPR hypervisor byte channel driver has a "depends on > PPC", > which means it would compile on all PowerPC platforms, even though it's > only been tested on Freescale platforms. Change the Kconfig to depend on > F

Re: [PATCH] [v4] tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver

2011-08-25 Thread Greg KH
On Thu, Aug 25, 2011 at 10:32:25AM -0500, Timur Tabi wrote: > The ePAPR embedded hypervisor specification provides an API for "byte > channels", which are serial-like virtual devices for sending and receiving > streams of bytes. This driver provides Linux kernel support for byte > channels via thr

Re: linux-next: build failure after merge of the final tree (tty tree related)

2011-08-25 Thread Greg KH
On Thu, Aug 25, 2011 at 04:18:43PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/tty/ehv_bytechan.c: In function 'udbg_init_ehv_bc': > drivers/tty/ehv_bytechan.c:230:18: error: 'MSR_GS' un

Re: tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver

2011-07-08 Thread Greg KH
On Fri, Jul 08, 2011 at 05:15:47PM -0500, Timur Tabi wrote: > Greg KH wrote: > > Doesn't apply at all to the tty-next tree, so I can't apply it here :( > > Um, where exactly is the tty-next tree? The only thing I see that looks like > it > is this: > > git:

Re: tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver

2011-07-08 Thread Greg KH
On Thu, May 19, 2011 at 08:34:52AM -, Timur Tabi wrote: > The ePAPR embedded hypervisor specification provides an API for "byte > channels", which are serial-like virtual devices for sending and receiving > streams of bytes. This driver provides Linux kernel support for byte > channels via thr

Re: [PATCH v4 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-07-07 Thread Greg KH
On Thu, Jul 07, 2011 at 11:00:41PM -0500, Kumar Gala wrote: > On some architectures we need to setup pdev_archdata before we add the > device. Waiting til a bus_notifier is too late since we might need the > pdev_archdata in the bus notifier. One example is setting up of dma_mask > pointers such

Re: [PATCH v3 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-07-07 Thread Greg KH
On Thu, Jul 07, 2011 at 08:55:44AM -0500, Kumar Gala wrote: > > On Jul 1, 2011, at 5:09 PM, Greg KH wrote: > > > On Thu, Jun 23, 2011 at 06:33:57AM -0500, Kumar Gala wrote: > >> On some architectures we need to setup pdev_archdata before we add the > >> device.

Re: [PATCH v3 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-07-01 Thread Greg KH
On Thu, Jun 23, 2011 at 06:33:57AM -0500, Kumar Gala wrote: > On some architectures we need to setup pdev_archdata before we add the > device. Waiting til a bus_notifier is too late since we might need the > pdev_archdata in the bus notifier. One example is setting up of dma_mask > pointers such

[21/85] seqlock: Dont smp_rmb in seqlock reader spin loop

2011-06-16 Thread Greg KH
2.6.33-longterm review patch. If anyone has any objections, please let us know. -- From: Milton Miller commit 5db1256a5131d3b133946fa02ac9770a784e6eb2 upstream. Move the smp_rmb after cpu_relax loop in read_seqlock and add ACCESS_ONCE to make sure the test and return are consi

[21/91] seqlock: Dont smp_rmb in seqlock reader spin loop

2011-06-16 Thread Greg KH
2.6.32-longterm review patch. If anyone has any objections, please let us know. -- From: Milton Miller commit 5db1256a5131d3b133946fa02ac9770a784e6eb2 upstream. Move the smp_rmb after cpu_relax loop in read_seqlock and add ACCESS_ONCE to make sure the test and return are consi

Re: [PATCH 7/7] [v5] drivers/virt: introduce Freescale hypervisor management driver

2011-06-09 Thread Greg KH
On Thu, Jun 09, 2011 at 03:18:28PM -0500, Timur Tabi wrote: > > More importantly, the code you have chose (0) conflicts with existing > > drivers > > (frame buffer, scsi and wavefront among others). Please chose a free one and > > add it to Documentation/ioctl/ioctl-number.txt in the same patch. >

Re: [stable] [PATCH] 2.6.39 powerpc: Fix 32-bit SMP build

2011-06-02 Thread Greg KH
On Mon, May 30, 2011 at 08:26:21AM -0400, Josh Boyer wrote: > Backport upstream commit 6de06f313a65d0ec > > Commit fa3f82c8bb7acb ("powerpc/smp: soft-replugged CPUs must go back to > start_secondary") introduced start_secondary_resume to head_32.S, however > it uses a 64-bit instruction which

Re: [stable] PROBLEM: 2.6.39 doesn’t boot on POWER MAC

2011-06-02 Thread Greg KH
On Fri, Jun 03, 2011 at 01:10:45PM +1000, Benjamin Herrenschmidt wrote: > On Fri, 2011-06-03 at 12:41 +1000, Benjamin Herrenschmidt wrote: > > On Fri, 2011-06-03 at 00:00 +0200, Giuliano Pochini wrote: > > > On Sat, 28 May 2011 11:55:14 +0400 > > > Andrey Gusev wrote: > > > > > > > Hi! > > > > A

[088/165] seqlock: Dont smp_rmb in seqlock reader spin loop

2011-06-01 Thread Greg KH
2.6.39-stable review patch. If anyone has any objections, please let us know. -- Content-Length: 2553 Lines: 71 From: Milton Miller commit 5db1256a5131d3b133946fa02ac9770a784e6eb2 upstream. Move the smp_rmb after cpu_relax loop in read_seqlock and add ACCESS_ONCE to make sure

[086/146] seqlock: Dont smp_rmb in seqlock reader spin loop

2011-06-01 Thread Greg KH
2.6.38-stable review patch. If anyone has any objections, please let us know. -- From: Milton Miller commit 5db1256a5131d3b133946fa02ac9770a784e6eb2 upstream. Move the smp_rmb after cpu_relax loop in read_seqlock and add ACCESS_ONCE to make sure the test and return are consist

Re: [stable] [PATCH] powerpc: Fix 32-bit SMP build

2011-05-20 Thread Greg KH
On Fri, May 20, 2011 at 04:22:25PM -0400, Josh Boyer wrote: > Commit 69e3cea8d5fd526 introduced start_secondary_resume to misc_32.S, > however it uses a 64-bit instruction which is not valid on 32-bit > platforms. Use 'stw' instead. > > Reported-by: Richard Cochran > Tested-by: Richard Cochran

[11/71] hw_breakpoints, powerpc: Fix CONFIG_HAVE_HW_BREAKPOINT off-case in ptrace_set_debugreg()

2011-05-19 Thread Greg KH
2.6.38-stable review patch. If anyone has any objections, please let us know. -- From: Frederic Weisbecker commit 925f83c085e1bb08435556c5b4844a60de002e31 upstream. We make use of ptrace_get_breakpoints() / ptrace_put_breakpoints() to protect ptrace_set_debugreg() even if CONF

Re: [PATCH 6/7] tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver

2011-05-19 Thread Greg KH
On Thu, May 19, 2011 at 10:54:03AM -0500, Timur Tabi wrote: > > Depends if the functionality is useful in your environment or not > > It is, but I'd like to add it later so that I can make the 2.6.40 window (if > it > isn't already too late). It's too late, it needed to be in linux-next _before_

Re: [PATCH 6/7] tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver

2011-05-19 Thread Greg KH
On Thu, May 19, 2011 at 08:54:31AM -0500, Timur Tabi wrote: > +/* > + * The udbg subsystem calls this function to display a single character. > + * We convert CR to a CR/LF. > + */ > +static void ehv_bc_udbg_putc(char c) > +{ > + if (c == '\n') > + byte_channel_spin_send('\r'); > +

Re: [stable] Patch Upstream: hw_breakpoints, powerpc: Fix CONFIG_HAVE_HW_BREAKPOINT off-case in ptrace_set_debugreg()

2011-05-09 Thread Greg KH
On Sat, May 07, 2011 at 09:20:02PM +, James Bottomley wrote: > commit: 925f83c085e1bb08435556c5b4844a60de002e31 > From: Frederic Weisbecker > Date: Fri, 6 May 2011 01:53:18 +0200 > Subject: [PATCH] hw_breakpoints, powerpc: Fix CONFIG_HAVE_HW_BREAKPOINT > off-case in ptrace_set_debugreg() > >

Re: hvc_console: Don't access hvc_task if not initialised

2011-04-27 Thread Greg KH
On Wed, Apr 27, 2011 at 12:01:47PM +0530, Amit Shah wrote: > On (Wed) 27 Apr 2011 [14:31:29], Rusty Russell wrote: > > On Wed, 20 Apr 2011 22:36:10 +0530, Amit Shah wrote: > > > On (Wed) 20 Apr 2011 [07:34:35], Greg KH wrote: > > > > Care to either create this patc

Re: hvc_console: Don't access hvc_task if not initialised

2011-04-20 Thread Greg KH
On Wed, Apr 20, 2011 at 06:03:30PM +0530, Amit Shah wrote: > On (Mon) 28 Mar 2011 [11:52:05], Milton Miller wrote: > > On Fri, 25 Mar 2011 about 14:17:14 +0530, Amit Shah wrote: > > > On (Thu) 24 Mar 2011 [08:58:04], Milton Miller wrote: > > > > On Thu, 24 Mar 2011 07:29:58 -, Amit Shah wrote:

Re: [PATCH 0/14] Remove sysdev suspend/resume and shutdown operations

2011-04-17 Thread Greg KH
On Sun, Apr 17, 2011 at 11:01:53PM +0200, Rafael J. Wysocki wrote: > Hi, > > The following series of patches fixes bugs related to the introduction > of struct syscore_ops later in this cycle, replaces sysdev suspend/resume > operations in all of the architectures still using them with struct > sy

<    1   2   3   4   5   6   >