Use a resource_size_t instead of unsigned long since some arch's are
capable of having ioremap deal with addresses greater than the size of a
unsigned long.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
---
include/linux/io.h |4 ++--
lib/devres.c |4 ++--
2 files changed, 4
My test builds for efika currently fail with this message:
FATAL: drivers/serial/mpc52xx_uart: struct of_device_id is not terminated with
a NULL entry!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [sub-make] Error 2
Could you do a little patch to add the NULL entry
Kumar Gala wrote:
Use a resource_size_t instead of unsigned long since some arch's are
capable of having ioremap deal with addresses greater than the size of a
unsigned long.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
Acked-by: Tejun Heo [EMAIL PROTECTED]
Thanks.
--
tejun
Tejun Heo wrote:
Kumar Gala wrote:
Use a resource_size_t instead of unsigned long since some arch's are
capable of having ioremap deal with addresses greater than the size of a
unsigned long.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
Acked-by: Tejun Heo [EMAIL PROTECTED]
Fine with me,
this patch only makes a few fixes for latest kernel git tree
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
On Book-E SMP systems each core has its own private watchdog.
If only one watchdog is enabled, when the core that doesn't
enable the watchdog is hung, system can't reset because no
watchdog is running on it. That's bad. It means we must
enable watchdogs on both cores.
We can use
It looks like when Anton added the PTRACE_GET_DEBUGREG/
PTRACE_SET_DEBUGREG he envisioned future chips having more than one
IABR/DABR.
I'm wondering what the feeling is about using the commands for
handling some of the sub-arch variants we have:
e300 (603 style machine) - adds IABR2,
On Thursday 24 April 2008, Tony Breeds wrote:
This patch adds the required functionality to fill in all pacas at runtime.
With NR_CPUS=1024
text data bss dec hex filename
137 1704032 0 1704169 1a00e9 arch/powerpc/kernel/paca.o :Before
121 1179744 524288 1704153
Hi all,
This is yesterday's patch set updated to apply cleanly (and hopefully
work) on top of 2.6.25-git13. Basically the only change since yesterday
is the sync with the rtc subsystem updates, which converted 3 drivers
(rtc-x1205, rtc-pcf8563 and rtc-isl1208).
The plan is to send this to Linus
Based on earlier work by Jon Smirl and Jochen Friedrich.
This patch allows new-style i2c chip drivers to have alias names using
the official kernel aliasing system and MODULE_DEVICE_TABLE(). At this
point, the old i2c driver binding scheme (driver_name/type) is still
supported.
Signed-off-by:
Based on earlier work by Jon Smirl and Jochen Friedrich.
Update most new-style i2c drivers to use standard module aliasing
instead of the old driver_name/type driver matching scheme. I've
left the video drivers apart (except for SoC camera drivers) as
they're a bit more diffcult to deal with,
Linus,
Please do:
git pull \
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git master
There are 14 commits there that Andrew Morton sent to me to merge,
from Badari Pulavarty (memory hot-remove stuff) and Zhang Wei (RapidIO
patches). Plus there are 5 other powerpc-related
On Tue, Apr 29, 2008 at 12:27 AM, Paul Mackerras [EMAIL PROTECTED] wrote:
My test builds for efika currently fail with this message:
FATAL: drivers/serial/mpc52xx_uart: struct of_device_id is not terminated
with a NULL entry!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error
On 4/29/08, Jean Delvare [EMAIL PROTECTED] wrote:
Based on earlier work by Jon Smirl and Jochen Friedrich.
+/* Looks like: i2c:S */
+static int do_i2c_entry(const char *filename, struct i2c_device_id *id,
+ char *alias)
+{
+ sprintf(alias, I2C_MODULE_PREFIX
From: Grant Likely [EMAIL PROTECTED]
If CONFIG_PPC_MPC5121 is not set, then the of_device_id table for the
mpc5200 serial driver will not get terminated with a NULL entry.
Signed-off-by: Grant Likely [EMAIL PROTECTED]
---
drivers/serial/mpc52xx_uart.c |2 +-
1 files changed, 1
Hi Jon,
On Tue, 29 Apr 2008 08:16:13 -0400, Jon Smirl wrote:
On 4/29/08, Jean Delvare [EMAIL PROTECTED] wrote:
Based on earlier work by Jon Smirl and Jochen Friedrich.
+/* Looks like: i2c:S */
+static int do_i2c_entry(const char *filename, struct i2c_device_id *id,
+
The following changes since commit 6c39103ce5192bdb2195f3daab7323dfa44fb52e:
Zhang Wei (1):
[RAPIDIO] Change RapidIO doorbell source and target ID field to 16-bit
are available in the git repository at:
git://git.secretlab.ca/git/linux-2.6-mpc52xx.git for-2.6.26
Bartlomiej Sieka
On Mon, Apr 28, 2008 at 09:33:24PM +0200, Sam Ravnborg wrote:
On Mon, Apr 28, 2008 at 02:20:44PM +1000, Tony Breeds wrote:
On Sun, Apr 27, 2008 at 08:03:46PM +0200, Christian Kujau wrote:
Hi,
the build failure reported[0] by Kamalesh back in 01/2008 is still
present in today's
We need to have unique transfer_to_handler paths for each exception level
that is supported. We need to use the proper xSRR0/1 depending on which
exception level the interrupt was from. The macro conversion lets up
templatize this code path.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
---
Since gpiolib-dynamic-gpio-number-allocation.patch -mm patch was recently
merged into Linus' tree (commit 8d0aab2f16c4fa170f32e7a74a52cd0122bbafef),
we can use dynamic GPIO base allocation now.
This, in turn, removes number of gpios per chip constraint.
Signed-off-by: Anton Vorontsov [EMAIL
On Apr 29, 2008, at 1:37 AM, Jeff Garzik wrote:
Tejun Heo wrote:
Kumar Gala wrote:
Use a resource_size_t instead of unsigned long since some arch's are
capable of having ioremap deal with addresses greater than the
size of a
unsigned long.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
On Apr 25, 2008, at 10:38 PM, Benjamin Herrenschmidt wrote:
On Fri, 2008-04-25 at 19:52 -0700, Tushar Tyagi wrote:
Hello,
I'm working a new DMA hardware for PPC processors.
The processor is a 32 bit architecture having 40 bit physical address
space.
So we need the 32 bit processor code base
On Tue, 29 Apr 2008, Paul Mackerras wrote:
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git master
Umm, where did the diffstat go? I really want to see it to compare against
what I get. I checked the shortlog and everything matches, but please,
keep the diffstat coming too.
On Tue, Apr 29, 2008 at 09:08:14AM -0500, Kumar Gala wrote:
On Apr 29, 2008, at 1:37 AM, Jeff Garzik wrote:
Tejun Heo wrote:
Kumar Gala wrote:
Use a resource_size_t instead of unsigned long since some arch's are
capable of having ioremap deal with addresses greater than the size of a
Use a resource_size_t instead of unsigned long since some arch's are
capable of having ioremap deal with addresses greater than the size of a
unsigned long.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
---
For GregKH to actually get the patch.
- k
include/linux/io.h |4 ++--
lib/devres.c
Signed-off-by: Stefan Roscher stefan.roscher at de.ibm.com
---
drivers/infiniband/hw/ehca/ehca_classes.h |5
drivers/infiniband/hw/ehca/ehca_cq.c | 10
drivers/infiniband/hw/ehca/ehca_main.c| 36 +++-
drivers/infiniband/hw/ehca/ehca_qp.c
The firmware on MPC8610HPCD boards enables ULI ethernet and leaves it
in some funky state before booting Linux. For drivers, it's always good
idea to (re)initialize the hardware prior to requesting interrupts.
This patch fixes the following oops:
Oops: Kernel access of bad area, sig: 11 [#1]
This patch fixes uli526x driver's issues on a PowerPC boards: uli chip
is unable to receive the packets.
It appears that send_frame_filter prepares the setup frame in the
endianness unsafe manner. On a big endian machines we should shift
the address nibble by two bytes.
Signed-off-by: Anton
As of current mainline tree, TULIP driver is unusable on MPC8610HPCD
boards. There is a patch[1] floating around (and also included in the
BSP), which tries to heal the situation, though the ethernet is still
unusable. Practically it takes ages to mount NFS filesystem:
VFS: Mounted root (nfs
Kumar Gala wrote:
Its a pretty trivial
patch and would be nice to go into 2.6.26. I would also consider it a
bug fix of shorts for any driver
Looked like a bugfix of longs to me... :-)
jdl
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
We don't need init_hwif_ali15x3() on the PowerPC systems either.
Before:
ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc8) at PCI slot 0001:03:1f.0
ALI15X3: 100% native mode on irq 19
ide0: BM-DMA at 0x1120-0x1127
ide1: BM-DMA at 0x1128-0x112f
hda: SONY DVD RW AW-Q170A, ATAPI CD/DVD-ROM
This patch adds pcie node which is resposible for PCI-E x8 slot
functioning. Though, this was tested using only x1 SKY2 NIC.
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc8610_hpcd.dts | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
Signed-off-by: Stefan Roscher stefan.roscher at de.ibm.com
Kind of an inadequate changelog ;)
Is this a fix or an enhancement or what?
+if (atomic_read(shca-num_cqs) = ehca_max_cq) {
+if (atomic_read(shca-num_qps) = ehca_max_qp) {
These are racy in the sense that multiple
All,
actually I'm having trouble getting the IRQ0 work on a MPC8343 with
2.6.25-rc8.
There's an external PCI device connected to it
Regarding to the manual IRQ0 is somewhat special and has Vector 48 assigned.
Therefore my dts entry for this device looks like :
interrupt-map = 0x5800 0 0
mpc52xx_uart_int and __uart_put_char both try to acquire the
port-lock. Therefore the function sequence of:
mpc52xx_uart_int-- ...--flush_to_ldisc--...--__uart_put_char
can potentially trigger a deadlock. To avoid this deadlock a fix
similar to that found in the 8250.c serial driver is applied.
With the demo-ppc405.sh I can create a cross compiler for gnu/linux does anyone
know how to build one for netbsd 3.0. (ie. what to put in for the target in the
.dat file)
-- Joel Parker
Be a better
On Apr 29, 2008, at 10:53 AM, Anton Vorontsov wrote:
floating around (and also included in the
BSP), which tries to heal the situation, though the ethernet is still
unusable. Practically it takes ages to mount NFS filesystem:
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory:
If a lot of QPs fall into Error state at once and the EQ of the respective
HCA is too small, it might overrun, causing the eHCA driver to stop
processing completion events and call application software's completion
handlers, effectively causing traffic to stop.
Fix this by limiting available QPs
thanks, makes sense, applied.
fast turnaround too ;)
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
On Tue, Apr 29, 2008 at 08:56:56AM -0500, Kumar Gala wrote:
+#if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
+#ifdef CONFIG_SMP
+#define SMP_ADJUST_GLOBAL_DBCR0
\
+ rlwinm r9,r1,0,0,(31-THREAD_SHIFT);
On Tue, Apr 29, 2008 at 08:40:47PM +0200, Wolfgang Denk wrote:
This probably depends a bit on the performance of the system in
question. Did you measure it - for example - on a 50 MHz MPC850 ?
You got a 64bit kernel to run on a MPC850? wow :)
Not sure what the slowest supported 64bit cpu
Hi Kumar,
Here is the fourth version. Old one started to cause non trivial merge
conflicts.
Also, I re-exported the gtm_timer structure, so drivers could actually
use its irq member.
Thanks.
--
Anton Vorontsov
email: [EMAIL PROTECTED]
irc://irc.freenode.net/bd2
GTM stands for General-purpose Timers Module and able to generate
timer{1,2,3,4} interrupts. These timers are used by the drivers that
need time precise interrupts (like for USB transactions scheduling for
the Freescale USB Host controller as found in some QE and CPM chips),
or these timers could
This patch adds a function to the qe_lib to setup QE USB clocks routing.
To setup clocks safely, cmxgcr register needs locking, so I just reused
ucc_lock since it was used only to protect cmxgcr.
The idea behind placing clocks routing functions into the qe_lib is that
later we'll hopefully switch
- split and export __par_io_config_pin() out of par_io_config_pin(), so we
could use the prefixed version with GPIO LIB API;
- rename struct port_regs to qe_pio_regs, and place it into qe.h;
- rename #define NUM_OF_PINS to QE_PIO_PINS, and place it into qe.h.
Signed-off-by: Anton Vorontsov
This is needed to access QE GPIOs via Linux GPIO API.
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED]
---
Documentation/powerpc/booting-without-of.txt | 37 ---
arch/powerpc/sysdev/qe_lib/Kconfig |9 ++
arch/powerpc/sysdev/qe_lib/Makefile |1 +
This is patch adds board file, device tree, and defconfig for the new
board, made by Freescale Semiconductor Inc. and Logic Product Development.
Currently supported:
1. UEC{1,2,7,4};
2. I2C;
3. SPI;
4. NS16550 serial;
5. PCI and miniPCI;
6. Intel NOR StrataFlash X16 64Mbit PC28F640P30T85;
7.
This patch adds few bindings for the new drivers to be submitted through
appropriate maintainers.
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED]
---
Documentation/powerpc/booting-without-of.txt | 125 ++
1 files changed, 125 insertions(+), 0 deletions(-)
diff --git
On Tue, Apr 29, 2008 at 07:39:07PM +0100, Franca, Jose (NSN - PT/Portugal -
MiniMD) wrote:
We are developing a MPC8247 based telecom board (512MB), using
linux 2.4 with some proprietary changes on IP stack and we are facing
some problems when we have heavy traffic on our Ethernet
On Tue, Apr 29, 2008 at 04:35:14PM +0300, Adrian Bunk wrote:
On Mon, Apr 28, 2008 at 09:33:24PM +0200, Sam Ravnborg wrote:
On Mon, Apr 28, 2008 at 02:20:44PM +1000, Tony Breeds wrote:
On Sun, Apr 27, 2008 at 08:03:46PM +0200, Christian Kujau wrote:
Hi,
the build failure
On Apr 29, 2008, at 1:35 PM, Scott Wood wrote:
On Tue, Apr 29, 2008 at 08:56:56AM -0500, Kumar Gala wrote:
+#if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
+#ifdef CONFIG_SMP
+#define SMP_ADJUST_GLOBAL_DBCR0
\
+ rlwinm
On Tue, Apr 29, 2008 at 02:36:32PM -0500, Kumar Gala wrote:
what's an assembler macro look like?
.macro macroname arg1 arg2
do something with \arg1
do something with \arg2
.endm
I don't believe we use them anywhere else.
arch/powerpc/boot/ps3-hvcall.S uses them, as well as
On Tue, Apr 29, 2008 at 09:17:53PM +0200, Sam Ravnborg wrote:
...
So something like:
config PPC32_NVRAM
bool
depends on NVRAM
obj-$(CONFIG_PPC32_NVRAM) += nvram.o
obj-$(CONFIG_NVRAM) += nvram.o
Or did you have another solution in mind?
I start to understand the
Anton Vorontsov wrote:
This patch adds a function to the qe_lib to setup QE USB clocks routing.
To setup clocks safely, cmxgcr register needs locking, so I just reused
ucc_lock since it was used only to protect cmxgcr.
The idea behind placing clocks routing functions into the qe_lib is that
Anton Vorontsov wrote:
- split and export __par_io_config_pin() out of par_io_config_pin(), so we
could use the prefixed version with GPIO LIB API;
- rename struct port_regs to qe_pio_regs, and place it into qe.h;
- rename #define NUM_OF_PINS to QE_PIO_PINS, and place it into qe.h.
On Sun, Apr 27, 2008 at 12:59 AM, Peter Korsgaard [EMAIL PROTECTED] wrote:
This patch adds the low level support code for the Cypress c67x00 family of
OTG controllers. The low level code is responsible for register access and
implements the software protocol for communicating with the 16bit
On Sun, Apr 27, 2008 at 12:59 AM, Peter Korsgaard [EMAIL PROTECTED] wrote:
This patch add the core driver for the c67x00 USB OTG controller. The core
driver is responsible for the platform bus binding and creating either
USB HCD or USB Gadget instances for each of the serial interface
Follow up of my email of 4/16/2008 titled MV64x60 device bus.
For each mv64360 entry in the OpenFirmware database, add the
registration of an of_bus to take care of devices connected to
the MV64x60 asynchronous devices controller.
Signed-off-by: Remi Machet ([EMAIL PROTECTED])
---
Use the
Anton Vorontsov wrote:
This is needed to access QE GPIOs via Linux GPIO API.
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED]
---
Documentation/powerpc/booting-without-of.txt | 37 ---
arch/powerpc/sysdev/qe_lib/Kconfig |9 ++
arch/powerpc/sysdev/qe_lib/Makefile
Hi Everyone,
Has anyone setup and used the MPC5200b PSC6 port as a serial port? I am
having trouble getting mine to work. I am using PSC1, 2 and 3 already,
and they work fine. In my DTS file, I have PSC6 configured like this:
[EMAIL PROTECTED] { // PSC6
device_type = serial;
On Tue, Apr 29, 2008 at 01:26:38PM -0700, Remi Machet wrote:
Follow up of my email of 4/16/2008 titled MV64x60 device bus.
For each mv64360 entry in the OpenFirmware database, add the
registration of an of_bus to take care of devices connected to
the MV64x60 asynchronous devices controller.
Wolfgang Denk writes:
This probably depends a bit on the performance of the system in
question. Did you measure it - for example - on a 50 MHz MPC850 ?
The patch only affects arch/powerpc/kernel/entry_64.S. So no, I
didn't measure it on a 50MHz MPC850, or indeed any 32-bit system. :)
On Tue, Apr 29, 2008 at 03:29:00PM -0500, Timur Tabi wrote:
Anton Vorontsov wrote:
This is needed to access QE GPIOs via Linux GPIO API.
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED]
---
Documentation/powerpc/booting-without-of.txt | 37 ---
Anton Vorontsov wrote:
Well, I'm indeed removing [further] support for the par_io nodes,
overwriting it with gpio nodes. That way we'll stop new use cases of
these nodes.
I have no problem with replacing par_io nodes with gpio nodes.
Eventually I plan to adjust the existing code/device
On Mon, 28 Apr 2008, Scott Wood wrote:
Wouldn't ../pmu-battery.0/power_supply/PMU_battery_0/power be feasible too?
Feasible, yes, but uglier
I did not want to argue about ugliness, as this is a matter of
personal taste.
If userspace tools make it awkward to deal with filenames with
From: Grant Likely [EMAIL PROTECTED]
Various improvements for configuring the MPC5200 MII link from the
device tree:
* Look for 'current-speed' property for fixed speed MII links
* Look for 'fsl,7-wire-mode' property for boards using the 7 wire mode
* move definition of private data structure out
Kumar Gala writes:
We need to have unique transfer_to_handler paths for each exception level
that is supported. We need to use the proper xSRR0/1 depending on which
exception level the interrupt was from. The macro conversion lets up
templatize this code path.
It seems to me that this
On Apr 29, 2008, at 4:28 PM, Paul Mackerras wrote:
Kumar Gala writes:
We need to have unique transfer_to_handler paths for each exception
level
that is supported. We need to use the proper xSRR0/1 depending on
which
exception level the interrupt was from. The macro conversion lets up
Olof Johansson wrote:
On Tue, Apr 29, 2008 at 03:17:45PM +1000, Mark Nelson wrote:
Make iommu_map_sg take a struct iommu_table. It did so before commit
740c3ce66700640a6e6136ff679b067e92125794 (iommu sg merging: ppc: make
iommu respect the segment size limits).
This stops the function looking
On Mon, 28 Apr 2008 18:07:17 -0400
Sean MacLennan [EMAIL PROTECTED] wrote:
On Mon, 28 Apr 2008 16:54:24 -0500
Scott Wood [EMAIL PROTECTED] wrote:
Why can't the existing partition binding be used with NAND? It's
what we do with Freescale FCM NAND.
I guess I could put the partitions in
The current_thread_info() macro, used by preempt_count(), assumes the
stack is THREAD_SIZE aligned. It should probably also be THREAD_SIZE
in size.
The emergency stack currently isn't either of these things, which could
potentially cause problems anytime we're running on the emergency
stack. That
Kumar Gala writes:
Wouldn't it be better and safer to have the exception prolog for
critical interrupts save SRR0/1 in the stack frame, and have the
prolog for machine checks save SRR0/1 and CSRR0/1 likewise?
If we do this I guess we can use SRR0/1 regardless of which level we
came
Remi Machet writes:
Follow up of my email of 4/16/2008 titled MV64x60 device bus.
For each mv64360 entry in the OpenFirmware database, add the
registration of an of_bus to take care of devices connected to
the MV64x60 asynchronous devices controller.
Your patch description should also
Commit edd8ce67436851a62f99f1d9707b40ea6a8e5323 (Use extended crashkernel
command line on ppc64), changed the logic in reserve_crashkernel()
which deals with the crashkernel= command line option.
This introduced a bug in the case when there is no crashkernel= option,
or it is incorrect. We would
This patch changes vmemmap to use a different region (region 0xf) of the
address space whose page size can be dynamically configured at boot.
The problem with the current approach of always using 16M pages is that
it's not well suited to machines that have small amounts of memory such
as small
75 matches
Mail list logo