On Fri, 2011-03-25 at 09:28 -0400, Eric B Munson wrote:
> It is possible on POWER7 for some perf events to have values decrease. This
> causes a problem with the way the kernel counters are updated. Deltas are
> computed and then stored in a 64 bit value while the registers are 32 bits
> wide so
On Tue, 2011-03-08 at 17:37 +1100, Benjamin Herrenschmidt wrote:
> Instead, keep it static, expose an accessor and use that from
> the PowerMac code. Avoids easy namespace collisions and will
> make it easier to consolidate with other implementations.
>
> Signed-off-by: Benjamin Herrenschmidt
> -
Make the caller loop while there are events to handle, instead.
Signed-off-by: Matt Evans
---
Added a comment on the return value, defining <0 to be 'bad'.
drivers/usb/host/xhci-ring.c | 18 +++---
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/host/x
During a "plug-unplug" stress test on an NEC xHCI card, a null pointer
dereference was observed. xhci_address_device() dereferenced a null
virt_dev (possibly an erroneous udev->slot_id?); this patch adds a WARN_ON &
message to aid debug if it can be recreated.
Signed-off-by: Matt Evans
---
driv
On weakly-ordered systems, the reading of an event's content must occur
after reading the event's validity.
Signed-off-by: Matt Evans
---
drivers/usb/host/xhci-ring.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci
Hi Sarah,
Reposting the whole set, since there're 4 instead of 5 having dropped the 'add
debug' patch in the middle and I thought differing 'vN a/b' subjects may get
confusing otherwise. (Two of the patches haven't changed. :/ )
These remove the scratty temp variables and comment the return val
Hi,
On 29/03/11 09:19, Sarah Sharp wrote:
> On Fri, Mar 25, 2011 at 06:43:59PM +1100, Matt Evans wrote:
>> Add more debug to print queued transfers, show control intentions and
>> modify an existing message to hexify address output.
>
> Are these new debug messages really necessary? I feel like
On 29/03/11 09:16, Sarah Sharp wrote:
> On Fri, Mar 25, 2011 at 06:43:44PM +1100, Matt Evans wrote:
>> Hi Sarah,
>>
>>
>> This series addresses the endian issues with the xHCI driver, and has brought
>> lovely USB 3 to PPC. :-) I've tested various types of traffic on ppc4xx and
>> POWER7 and (some
On Mon, 2011-02-07 at 09:13 -0600, Timur Tabi wrote:
> > This behavior is modified if you specify a restricted DMA
> > mask for the device. In this case, dma_alloc_coherent
> > will force GFP_DMA on your behalf (on PowerPC).
>
> Isn't it required for all callers of dma_alloc_coherent to specify a
On Fri, 2011-03-25 at 17:50 +1100, Benjamin Herrenschmidt wrote:
> This is used by Alsa to mmap buffers allocated with dma_alloc_coherent()
> into userspace. We need a special variant to handle machines with
> non-coherent DMAs as those buffers have "special" virt addresses and
> require non-cachab
On Mon, 2011-03-28 at 15:34 -0700, Sarah Sharp wrote:
>
> What I'd like to do is take out the read of the status register out of
> the interrupt handler (which is killing performance), and make it only
> check the status register when xhci_handle_event() returns a negative
> error status. If the
On Mon, Mar 28, 2011 at 03:53:00PM +1100, Matt Evans wrote:
> Make the caller loop while there are events to handle, instead.
>
> Signed-off-by: Matt Evans
> ---
> 1 byte smaller after Sergei's suggestion.
>
> drivers/usb/host/xhci-ring.c | 16 +---
> 1 files changed, 9 insertions
On Fri, Mar 25, 2011 at 06:43:44PM +1100, Matt Evans wrote:
> Hi Sarah,
>
>
> This series addresses the endian issues with the xHCI driver, and has brought
> lovely USB 3 to PPC. :-) I've tested various types of traffic on ppc4xx and
> POWER7 and (some sound driver bugs notwithstanding) all seem
On Fri, Mar 25, 2011 at 06:44:18PM +1100, Matt Evans wrote:
> During a "plug-unplug" stress test on an NEC xHCI card, a null pointer
> dereference was observed. xhci_address_device() dereferenced a null
> virt_dev (possibly an erroneous udev->slot_id?); this patch adds a WARN_ON &
> message to aid
On Fri, Mar 25, 2011 at 06:43:59PM +1100, Matt Evans wrote:
> Add more debug to print queued transfers, show control intentions and
> modify an existing message to hexify address output.
Are these new debug messages really necessary? I feel like the xHCI
driver has way too many debugging messages
This patch looks fine, thanks!
Sarah Sharp
On Mon, Mar 28, 2011 at 03:52:57PM +1100, Matt Evans wrote:
> On weakly-ordered systems, the reading of an event's content must occur
> after reading the event's validity.
>
> Signed-off-by: Matt Evans
> ---
> Segher, thanks for the comment; explanatio
From: yu liu
In order to use lazy SPE register save/restore, we need to
know when the guest is using MSR[SPE]. In order to do that, we
need to control the actual MSR[SPE] separately from the guest's
notion of MSR[SPE].
Only bits set in msr_block can be changed by the guest in the real MSR.
Sig
From: yu liu
We need to save/restore SPE environment on e500 core.
Wrap __kvmppc_vcpu_run() so that we can put the SPE code in
e500.c.
Signed-off-by: Liu Yu
Signed-off-by: Scott Wood
---
v2: added kvm-ppc (sorry for the resend)
arch/powerpc/include/asm/kvm_ppc.h |1 +
arch/powerpc/kvm/4
From: yu liu
This patch provide a lazy way to do SPE switch.
The SPE save/restore will be done only if it's needed.
Linux already switches SPEFSCR on context switch (non-lazily), so the
only remaining bit is to save it between qemu and the guest.
Signed-off-by: Liu Yu
Signed-off-by: Scott Wood
From: yu liu
giveup_spe() saves the SPE state which is protected by MSR[SPE].
However, modifying SPEFSCR does not trap when MSR[SPE]=0.
And since SPEFSCR is already saved/restored in _switch(),
not all the callers want to save SPEFSCR again.
Thus, saving SPEFSCR should not belong to giveup_spe().
> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
> index bc5123c..61aca75 100644
> --- a/drivers/usb/gadget/Kconfig
> +++ b/drivers/usb/gadget/Kconfig
> @@ -365,6 +365,28 @@ config USB_GADGET_MUSB_HDRC
> This OTG-capable silicon IP is used in dual designs including
>
From: yu liu
We need to save/restore SPE environment on e500 core.
Wrap __kvmppc_vcpu_run() so that we can put the SPE code in
e500.c.
Signed-off-by: Liu Yu
Signed-off-by: Scott Wood
---
arch/powerpc/include/asm/kvm_ppc.h |1 +
arch/powerpc/kvm/44x.c |5 +
arch/power
From: yu liu
In order to use lazy SPE register save/restore, we need to
know when the guest is using MSR[SPE]. In order to do that, we
need to control the actual MSR[SPE] separately from the guest's
notion of MSR[SPE].
Only bits set in msr_block can be changed by the guest in the real MSR.
Sig
From: yu liu
This patch provide a lazy way to do SPE switch.
The SPE save/restore will be done only if it's needed.
Linux already switches SPEFSCR on context switch (non-lazily), so the
only remaining bit is to save it between qemu and the guest.
Signed-off-by: Liu Yu
Signed-off-by: Scott Wood
From: yu liu
giveup_spe() saves the SPE state which is protected by MSR[SPE].
However, modifying SPEFSCR does not trap when MSR[SPE]=0.
And since SPEFSCR is already saved/restored in _switch(),
not all the callers want to save SPEFSCR again.
Thus, saving SPEFSCR should not belong to giveup_spe().
Hello.
Greg KH wrote:
+config DWC_DEVICE_ONLY
+ bool "DWC Device Only Mode"
+ select USB_GADGET_SELECTED
+
+endchoice
So this is tri-modal driver after all... how come we place it in
drivers/usb/otg/dwc/, while the same tri-modal MUSB driver was placed in
drivers/usb/musb/?
From: Tseng-Hui (Frank) Lin
Icswx is a PowerPC instruction to send data to a co-processor. On Book-S
processors the LPAR_ID and process ID (PID) of the owning process are
registered in the window context of the co-processor at initialization
time. When the icswx instruction is executed the L2 gen
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
---
drivers/usb/otg/dwc/regs.h | 1326
1 files changed, 1326 insertions(+), 0 deletion
From: Tirumala Marri
The PCD is responsible for translating requests from the gadget driver
to appropriate actions on the DWC OTG controller.
Signed-off-by: Tirumala R Marri
Signed-off-by: Fushen Chen
Signed-off-by: Mark Miesfeld
---
drivers/usb/otg/dwc/pcd.c | 1766 +
From: Tirumala Marri
Implements DWC OTG USB HCD interrupt service routine.
Signed-off-by: Tirumala R Marri
Signed-off-by: Fushen Chen
Signed-off-by: Mark Miesfeld
---
drivers/usb/otg/dwc/hcd_intr.c | 1477
1 files changed, 1477 insertions(+), 0 deleti
From: Tirumala Marri
Platform probing is in dwc_otg_apmppc.c.
Driver parameter and parameter checking are in dwc_otg_param.c.
Signed-off-by: Tirumala R Marri
Signed-off-by: Fushen Chen
Signed-off-by: Mark Miesfeld
---
drivers/usb/otg/dwc/apmppc.c | 414 ++
From: Tirumala Marri
Implements functions to manage Queue Heads and Queue
Transfer Descriptors of DWC USB OTG Controller.
Signed-off-by: Tirumala R Marri
Signed-off-by: Fushen Chen
Signed-off-by: Mark Miesfeld
---
drivers/usb/otg/dwc/hcd_queue.c | 696 +++
From: Tirumala Marri
Add Synopsys DesignWare HS USB OTG driver kernel configuration.
Synopsys OTG driver may operate in host only, device only, or OTG mode.
The driver also allows user configure the core to use its internal DMA
or Slave (PIO) mode.
Signed-off-by: Tirumala R Marri
Signed-off-by
From: Tirumala Marri
Enable gadget support
Signed-off-by: Tirumala R Marri
Signed-off-by: Fushen Chen
Signed-off-by: Mark Miesfeld
---
drivers/usb/gadget/Kconfig| 22 ++
drivers/usb/gadget/gadget_chips.h |9 +
2 files changed, 31 insertions(+), 0 del
From: Tirumala Marri
v10:
1. Change address argument type from u32 to ulong to
make it arch independent.
2. Cleaning un-necasary changes from Kconfig.
v9:
1. Move the source under usb/otg/dwc.
2. Rename the source files with out dwc_otg prefix.
3. Remove unused read/write modify functi
On Mon, Mar 28, 2011 at 09:38:20PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> Tirumala Marri wrote:
>
> >>>+config DWC_DEVICE_ONLY
> >>>+ bool "DWC Device Only Mode"
> >>>+ select USB_GADGET_SELECTED
> >>>+
> >>>+endchoice
>
> >>So this is tri-modal driver after all... how come we place it
On Sun, 2011-03-27 at 08:39 +0200, Richard Cochran wrote:
> This patch adds support for the PTP clock found on the DP83640.
> The basic clock operations and one external time stamp have
> been implemented.
>
> Signed-off-by: Richard Cochran
Acked-by: John Stultz
_
On Sun, 2011-03-27 at 08:39 +0200, Richard Cochran wrote:
> This patch adds a driver for the hardware time stamping unit found on the
> IXP465. The basic clock operations and an external trigger are implemented.
>
> Signed-off-by: Richard Cochran
Acked-by: John Stultz
_
On Sun, 2011-03-27 at 08:38 +0200, Richard Cochran wrote:
> The eTSEC includes a PTP clock with quite a few features. This patch adds
> support for the basic clock adjustment functions, plus two external time
> stamps, one alarm, and the PPS callback.
>
> Signed-off-by: Richard Cochran
Acked-by:
On Sun, 2011-03-27 at 08:38 +0200, Richard Cochran wrote:
> This patch adds an infrastructure for hardware clocks that implement
> IEEE 1588, the Precision Time Protocol (PTP). A class driver offers a
> registration method to particular hardware clock drivers. Each clock is
> presented as a standar
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:
> > > hvc_open() can be called without having any backing device. This
> > > results in a call to hvc_kick() which calls wake_
Hello.
Tirumala Marri wrote:
+config DWC_DEVICE_ONLY
+ bool "DWC Device Only Mode"
+ select USB_GADGET_SELECTED
+
+endchoice
So this is tri-modal driver after all... how come we place it in
drivers/usb/otg/dwc/, while the same tri-modal MUSB driver was placed in
drivers/usb/m
> +config DWC_DEVICE_ONLY
> + bool "DWC Device Only Mode"
> + select USB_GADGET_SELECTED
> +
> +endchoice
So this is tri-modal driver after all... how come we place it in
drivers/usb/otg/dwc/, while the same tri-modal MUSB driver was placed in
drivers/usb/musb/?
[Marri] Initially this
hello sir,
i am very new in linuxppc field
i just want know that.is it possible to reconfigure FPGA at runtime by
powerpc linux.i want to put reconfigure bit file in CF and also put linux file
system in CF then how is it possible to instruct the linux to take bit
file from CF and reconfigure FPGA a
On Mar 25, 2011, at 4:32 PM, Anton Blanchard wrote:
> From: Tseng-Hui (Frank) Lin
>
> Icswx is a PowerPC instruction to send data to a co-processor. On Book-S
> processors the LPAR_ID and process ID (PID) of the owning process are
> registered in the window context of the co-processor at initia
Hi All,
I am trying to develop Linux MCC driver in SS7 mode for MPC8270.
In the driver,I want to config MCC as SS7 controller,and execute SS7
ROM microcode in the CPM.
I have taken the 8260 MCC driver in HDLC mode published in the
sourceforge.net as reference and trying to d
46 matches
Mail list logo