On Thu, 6 Dec 2007, Benjamin Herrenschmidt wrote:
On Wed, 2007-12-05 at 22:39 -0800, Greg KH wrote:
that is it can be either unsigned int, unsigned long or unsigned
long
long... and we have no way to reliably printk that.
We do this already just fine. Take a look in the kernel, I
On Thu, Dec 06, 2007 at 06:58:54PM +1100, Benjamin Herrenschmidt wrote:
I was just hoping somebody had a better idea, like a way to add a new
format specifier to printk without losing gcc type checking :-)
It's been discussed before. Some of the solutions discussed:
- Add something like
Andrew Morton wrote:
On Mon, 3 Dec 2007 19:00:25 GMT Linux Kernel Mailing List
linux-kernel@vger.kernel.org wrote:
Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2b1e300a9dfc3196ccddf6f1d74b91b7af55e416
Commit:
On Thu, 06 Dec 2007 09:21:53 +0100 Giacomo Catenazzi [EMAIL PROTECTED] wrote:
Andrew Morton wrote:
On Mon, 3 Dec 2007 19:00:25 GMT Linux Kernel Mailing List
linux-kernel@vger.kernel.org wrote:
Gitweb:
Andrew Morgan wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
KaiGai Kohei wrote:
BTW, could you tell me your intention about pam_cap.c is implemented
with pam_sm_authenticate() and pam_sm_setcred()?
I think it can be done with pam_sm_open_session(), and this approach
enables to reduce
Giacomo Catenazzi [EMAIL PROTECTED] writes:
Andrew Morton wrote:
On Mon, 3 Dec 2007 19:00:25 GMT Linux Kernel Mailing List
linux-kernel@vger.kernel.org wrote:
Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2b1e300a9dfc3196ccddf6f1d74b91b7af55e416
Nick Piggin wrote:
Xip does only work, if both do match PAGE_SIZE because it
does'nt support multiple calls to direct_access in the get_xip_page
address space operation. Thus we check both here, actually this was
changed from how it looks after your patch as a bugfix where our
tester tried a
Am Donnerstag, 6. Dezember 2007 03:25 schrieb David Miller:
POSIX says nothing about the semantics of route resolution.
Of course not. Applications must not care about what happens at the transport
layer.
Non-blocking doesn't mean cannot sleep no matter what.
... and as O_CREAT on open()
On Thu, Dec 06, 2007 at 09:43:27AM +0100, Carsten Otte wrote:
Nick Piggin wrote:
Xip does only work, if both do match PAGE_SIZE because it
does'nt support multiple calls to direct_access in the get_xip_page
address space operation. Thus we check both here, actually this was
changed from
From: Stefan Rompf [EMAIL PROTECTED]
Date: Thu, 6 Dec 2007 09:49:01 +0100
If the connection cannot be established immediately and O_NONBLOCK is set
for
the file descriptor for the socket, connect() shall fail and set errno to
[EINPROGRESS], but the connection request shall not be aborted,
Gidday,
Some news:
* man-pages now has an (irregularly updated) blog:
http://linux-man-pages.blogspot.com/
* Since man-pages-2.69, each man page now includes a COLOPHON
section at the end of the page which indicates the version of
man-pages in which this page is released, and also
On Thu, Dec 06 2007 at 2:26 +0200, Kiyoshi Ueda [EMAIL PROTECTED] wrote:
Hi Boaz,
On Tue, 04 Dec 2007 15:39:12 +0200, Boaz Harrosh [EMAIL PROTECTED] wrote:
On Sat, Dec 01 2007 at 1:35 +0200, Kiyoshi Ueda [EMAIL PROTECTED] wrote:
This patch converts bidi of scsi mid-layer to use
On Wed, 05 Dec 2007 23:54:29 +0100, Francois Romieu wrote:
Holger Hoffstaette [EMAIL PROTECTED] : [...]
Should I file this in bugzilla?
Yes.
Thanks for responding - will do. I verified with 2.6.24-rc4 (same bug) and
have some new information about this.
Despite my previous posting the
The casting is safe only when the list_head member is the
first member of the structure.
Signed-off-by: Li Zefan [EMAIL PROTECTED]
---
arch/ppc/syslib/ocp.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/ppc/syslib/ocp.c b/arch/ppc/syslib/ocp.c
index
The casting is safe only when the list_head member is the
first member of the structure.
Signed-off-by: Li Zefan [EMAIL PROTECTED]
---
drivers/char/drm/i915_irq.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/drm/i915_irq.c b/drivers/char/drm/i915_irq.c
Hi Thomas,
could you test this one please.
---
From: Cyrill Gorcunov [EMAIL PROTECTED]
Subject: [PATCH] iwlwifi3945/4965 - fix rate control algo reference leak
This patch does fix rate control algo reference leak in case
if network device has been failed to register. In this case
special flag
On Monday 26 November 2007 11:23, Swen Schillig wrote:
On Sunday 25 November 2007 12:16, James Bottomley wrote:
On Wed, 2007-10-31 at 11:33 +0100, Swen Schillig wrote:
From: Swen Schillig [EMAIL PROTECTED]
add some statistics provided by the zFCP adapter to the sysfs
The new
Trying to format a floppy (2-3 of them) on a GA-P35-DS4 2.0 with a regular
Sony floppy on Debian x86_64 with kernel 2.6.23.9:
# fdformat /dev/fd0
Could not determine current format type: No such device
# mformat a:
mformat: Could not get geometry of device (No such device)
#
# cat
On Wed, Dec 05, 2007 at 09:02:46PM -0500, Mathieu Desnoyers wrote:
Hi,
Here is a repost of the text edit lock for 2.6.24-rc4-mm3. It is useful to
coordinate modification of live kernel code patching.
It includes a modification to kprobes (its first user) and is useful for the
Immediate
On Wednesday 05 December 2007 23:31, Andrew Morton wrote:
Rather than asking the stack how much memory will this request consume
you could instead ask how much memory are you currently using.
ie: on entry to the stack, do
current-account_block_allocations = 1;
Nick Piggin wrote:
After my patch, we can do XIP in a hardsect size PAGE_SIZE block
device -- this seems to be a fine thing to do at least for the
ramdisk code. Would this situation be problematic for existing drivers,
and if so, in what way?
I have done some archeology, and our ancient CVS
Don't cast struct foo * to struct list_head *, it's safe only when
the list member is the first member of struct foo.
Also don't cast struct list_head * to struct foo *.
BTW: I'm not so sure where this patch should go to.
Signed-off-by: Li Zefan [EMAIL PROTECTED]
---
On Wed, Dec 05, Dave Hansen wrote:
I think the key here is what kind of consistency we're trying to
provide. If a directory is being changed underneath a reader, what
kinds of guarantees do they get about the contents of their directory
read? When do those guarantees start? Are there any
On Thu, 6 Dec 2007, Geert Uytterhoeven wrote:
On Thu, 6 Dec 2007, Yasunori Goto wrote:
I'll try Milton's suggestion to pre-allocate the memory early. It seems
that should work as long as nothing else before the hot-plug mem is added
needs a large chunk.
Hello. Geoff-san. Sorry for
On Thu, 6 Dec 2007, Yasunori Goto wrote:
I'll try Milton's suggestion to pre-allocate the memory early. It seems
that should work as long as nothing else before the hot-plug mem is added
needs a large chunk.
Hello. Geoff-san. Sorry for late response.
Could you tell me the value of the
hi Mathieu,
* Mathieu Desnoyers [EMAIL PROTECTED] wrote:
Hi,
Here is the architecture dependent instrumentation for LTTng. [...]
A fundamental observation about markers, and i raised this point many
many months ago already, so it might sound repetitive, but i'm unsure
wether it's
Jean Delvare [EMAIL PROTECTED] writes:
On Mon, 26 Nov 2007 09:29:40 +0100, Wagner Ferenc wrote:
On the policy side: some files are not applicable to some types of
bonds, and return a single linefeed in that case. Except for one
single case, which returns 'NA\n'. The patch changes these
Denis V. Lunev [EMAIL PROTECTED] writes:
/proc/sys/fs/binfmt_misc dentry disappeared during d_revalidate.
d_revalidate only dentries from shadowed one and below.
http://bugzilla.kernel.org/show_bug.cgi?id=9504
Denis this is decent except it doesn't completely close the possibility of
leaking
On Thu, Dec 06, 2007 at 10:59:02AM +0100, Carsten Otte wrote:
Nick Piggin wrote:
After my patch, we can do XIP in a hardsect size PAGE_SIZE block
device -- this seems to be a fine thing to do at least for the
ramdisk code. Would this situation be problematic for existing drivers,
and if so,
* Daniel Walker [EMAIL PROTECTED] wrote:
It's called stopmachine_mutex now, but it's a semaphore. So make it a
struct mutex .
Signed-off-by: Daniel Walker [EMAIL PROTECTED]
Acked-by: Ingo Molnar [EMAIL PROTECTED]
Ingo
--
To unsubscribe from this list: send the line unsubscribe
* Daniel Walker [EMAIL PROTECTED] wrote:
The port_mutex is actually a semaphore, so easily converted to a
struct mutex.
Signed-off-by: Daniel Walker [EMAIL PROTECTED]
Acked-by: Ingo Molnar [EMAIL PROTECTED]
cool. How far away are we from being able to remove all the semaphore
code? :-)
Nick Piggin wrote:
OK, thanks for taking a look at that. It will be helpful for testing
XIP with my new ramdisk driver (did you see the patch?).
I have'nt looked at it yet. I do appreciate it, I think it might
broaden the user-base of this feature which is up to now s390 only due
to the fact
If the dcache path to a mount point is ever broken it becomes
impossible to unmount it, and we leak a vfsmount. Therefore it is not
valid to invalidate dentries with mount points at or below them.
This patch uses the have_submounts test as the other network
filesystem revalidate routines do.
On Thu, 2007-12-06 at 01:21 +0100, Rafael J. Wysocki wrote:
On Tuesday, 4 of December 2007, Andrew Morton wrote:
[ 34.455096] ipw2200: Failed to send WEP_KEY: Command timed out.
[ 34.911876] Syncing filesystems ... done.
[ 34.934526] Freezing user space processes ... WARNING: at
you have changed the behavior of revalidation by shadows. I think it
will be better to restore it and keep new one for shadows (and below)
only, which has been done by my yesterday patch.
Regards,
Den
Eric W. Biederman wrote:
If the dcache path to a mount point is ever broken it becomes
* Jie Chen [EMAIL PROTECTED] wrote:
not BARRIER time. I've re-read the discussion and found no hint
about how to build and run a barrier test. Either i missed it or it's
so obvious to you that you didnt mention it :-)
Ingo
Hi, Ingo:
Did you do configure --enable-public-release?
BTW: I'm not so sure where this patch should go to.
To [EMAIL PROTECTED], as Dan Williams (libertas
maintainer) monitors this list.
The wireless development tree is wireless-2.6, branch everything.
You patch doesn't apply to this tree currently, but it's easy to
fix. I'll bring it in shape,
On Thu, 6 Dec 2007, Geert Uytterhoeven wrote:
On Thu, 6 Dec 2007, Yasunori Goto wrote:
I'll try Milton's suggestion to pre-allocate the memory early. It seems
that should work as long as nothing else before the hot-plug mem is
added
needs a large chunk.
Hello.
* Steven Rostedt [EMAIL PROTECTED] wrote:
Ingo,
This patch prevents a panic on a failed bootmem alloc in the
initialization of the tracer buffers.
thanks, good catch!
Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
Am Donnerstag, 6. Dezember 2007 09:53 schrieb David Miller:
I think the words shall fail and immediately are quite clear.
They are, but the context in which they apply is vague.
socket is connection-mode = SOCK_STREAM
I can equally generate examples where the non-blocking behavior you
are
This patch contains the following changes.
- Use 'bool' instead of 'int' for booleans.
- Use 'size_t' instead of 'int' for 'sizeof' return value.
- Some style fixes.
Cc: Herbert Xu [EMAIL PROTECTED]
Cc: David Miller [EMAIL PROTECTED]
Signed-off-by: WANG Cong [EMAIL
Correct hanging while disconnecting the USB device
cable. Prevent a race between vbus and UDP interrupts.
This bug was tracked on at91sam9260ek boards.
Signed-off-by: Nicolas Ferre [EMAIL PROTECTED]
---
A usb resume interrupt was firing after the vbus
interrupt : the IP was then already
From: Stefan Rompf [EMAIL PROTECTED]
Date: Thu, 6 Dec 2007 11:56:48 +0100
Am Donnerstag, 6. Dezember 2007 09:53 schrieb David Miller:
I think the words shall fail and immediately are quite clear.
They are, but the context in which they apply is vague.
socket is connection-mode =
From: WANG Cong [EMAIL PROTECTED]
Date: Thu, 6 Dec 2007 19:01:23 +0800
This patch contains the following changes.
- Use 'bool' instead of 'int' for booleans.
- Use 'size_t' instead of 'int' for 'sizeof' return value.
- Some style fixes.
Cc: Herbert Xu [EMAIL
Am Donnerstag, 6. Dezember 2007 12:13 schrieb David Miller:
And that's why this is a grey area. Why is waiting for memory
allocation on a O_NONBLOCK socket OK but waiting for IPSEC route
resolution is not?
Because you just will put enough RAM modules into you server when setting up a
From: Stefan Rompf [EMAIL PROTECTED]
Date: Thu, 6 Dec 2007 12:35:05 +0100
Because you just will put enough RAM modules into you server when
setting up a scalable system.
This suggestion is avoiding the important semantic issue, and
won't lead to a real discussion of the core problem.
--
To
Jiri Kosina ha scritto:
My USB mouse recently started giving me phantom scrolls (movements of
the mouse wheel, even I made sure the wheel was in a resting position)
in recently kernels. It happened too infrequently for me to care.
Did this also start in 2.6.24, as in Mark's case?
It
On Wed, Dec 05, 2007 at 01:29:23AM -0500, Jaursch, Bill wrote:
I have am in the process of writing a driver that is software only. I would
like to avoid the caveats of a kernel mode installable module.
...
What is a driver that is software only
(all kernel code is also software only...)?
You
On Tue, 04 Dec 2007 21:17:01 PST, Andrew Morton said:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm1/
Something in here broke LVM support - an initrd that has worked fine for
quite some time suddenly couldn't mount /dev/VolGroup00/root so we get the
On Thu, 6 Dec 2007 01:48:52 -0800 Daniel Phillips [EMAIL PROTECTED] wrote:
On Wednesday 05 December 2007 23:31, Andrew Morton wrote:
Rather than asking the stack how much memory will this request consume
you could instead ask how much memory are you currently using.
ie: on entry
On Thu, 06 Dec 2007 11:31:28 +0100 Peter Zijlstra [EMAIL PROTECTED] wrote:
On Thu, 2007-12-06 at 01:21 +0100, Rafael J. Wysocki wrote:
On Tuesday, 4 of December 2007, Andrew Morton wrote:
[ 34.455096] ipw2200: Failed to send WEP_KEY: Command timed out.
[ 34.911876] Syncing
On Thu, 2007-12-06 at 04:01 -0800, Andrew Morton wrote:
On Thu, 06 Dec 2007 11:31:28 +0100 Peter Zijlstra [EMAIL PROTECTED] wrote:
On Thu, 2007-12-06 at 01:21 +0100, Rafael J. Wysocki wrote:
On Tuesday, 4 of December 2007, Andrew Morton wrote:
[ 34.455096] ipw2200: Failed to
On Thu, Dec 06 2007, Hannes Reinecke wrote:
Alexey Dobriyan wrote:
git-scsi-misc.patch
Apologies for not looking into the problem earlier. See
http://marc.info/?t=11962802235r=1w=2
2.6.24-rc3-mm2: Result: hostbyte=0x01 driverbyte=0x00\nend_request: I/O
error
for previous
* Andrew Morton [EMAIL PROTECTED] wrote:
It would be nice to make that warning tell us that - we've hit it a
few times and I never knew this was the reason.
i'm a mind-reader and a time-traveler as well, so i've got the patch
below lined up in my sched.git queue already :-)
Ingo
On Thu, 06 Dec 2007 06:49:24 -0500 [EMAIL PROTECTED] wrote:
On Tue, 04 Dec 2007 21:17:01 PST, Andrew Morton said:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm1/
Something in here broke LVM support - an initrd that has worked fine for
quite
On Thu, 6 Dec 2007, Diego Zuccato wrote:
It happens to me, too. Wireless mouse, gives some wheel up signals
when going into powersave state. Kernel is 2.6.22-tmb-laptop-2mdv
(Mandriva Cooker).
Is this a regression for you? Are you able to say which kernel first
exposed this behavior in
If you have any other suggestions on projects, articles, etc. on Linux User
Space Device Drivers, I would greatly appreciate the information.
A suggestion:
UIO: user-space drivers, since kernel version 2.6.21
http://lwn.net/Articles/232575/
Regards,
--
Leon
--
To unsubscribe from this
Am Donnerstag, 6. Dezember 2007 12:39 schrieb David Miller:
Because you just will put enough RAM modules into you server when
setting up a scalable system.
This suggestion is avoiding the important semantic issue, and
won't lead to a real discussion of the core problem.
When writing
Casey Schaufler skrev:
How do you protect ports greater than 1024 from any user binding to them?
E.g. port 1080.
Should the OS manage port number allocations? I don't think so
based on the notion of ports being names in an uncontrolled flat
namespace. The whole problem is that people want to
On Thu, Dec 06, 2007 at 02:58:13PM +0900, Yoichi Yuasa wrote:
What I don't understand is thus why you are calling resource_to_bus on 0x1f0
which is -not- a resource value, but is already a BAR value...
0x1f0 is resource value on MIPS Cobalt.
All RAW BAR values contain the
Adrian Bunk wrote:
On Wed, Dec 05, 2007 at 01:29:23AM -0500, Jaursch, Bill wrote:
I have am in the process of writing a driver that is software only.
I would like to avoid the caveats of a kernel mode installable module.
...
What is a driver that is software only
(all kernel code is also
Hi,
This patchset contains the differences to add support for the EtraxFS and
ARTPEC-3 CPUs, both of the CRISv32 family. Both chips can now be compiled
with minimal configs.
To compile you'll need the Axis gcc cross port for CRISv32, it is mentioned
in
Adds gpio and nandflash handling for Artpec-3.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/mach-a3/Makefile|6 +
arch/cris/arch-v32/drivers/mach-a3/gpio.c | 984
arch/cris/arch-v32/drivers/mach-a3/nandflash.c | 178 +
Adds gpio and nandflash handling for Etrax-FS
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/mach-fs/Makefile|6 +
arch/cris/arch-v32/drivers/mach-fs/gpio.c | 971
arch/cris/arch-v32/drivers/mach-fs/nandflash.c | 172 +
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/mm/l2cache.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 arch/cris/arch-v32/mm/l2cache.c
diff --git a/arch/cris/arch-v32/mm/l2cache.c
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/sync_serial.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/sync_serial.h b/include/asm-cris/sync_serial.h
index f930b6e..d87c24d 100644
--- a/include/asm-cris/sync_serial.h
+++
Now uses a DMA descriptor ring, which should avoid any unnecessary
pauses in the streams.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/sync_serial.c | 940 +++---
1 files changed, 599 insertions(+), 341 deletions(-)
diff --git
- Add partition table struct to be used to parse partition table in flash.
- Add JFFS2 as a type, and add readoly flag.
- Improve some comments.
- Lindent has been run, fixing whitespace and formatting issues.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/axisflashmap.h |
- Include files using
- Change NR_REAL_IRQS to be calculated from the other defines.
- Set MACH_IRQS depending on the value of NR_REAL_IRQS.
- Remove unused mask parameter to BUILD_IRQ macro.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/arch-v32/irq.h | 15
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/mm/init.c | 111 ---
1 files changed, 0 insertions(+), 111 deletions(-)
diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c
index 0c833d1..4207a2b 100644
--- a/arch/cris/mm/init.c
We need these to work around some cache bugs in CRISv32 chips.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/arch-v32/cache.h | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/arch-v32/cache.h
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/Kbuild |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/asm-cris/Kbuild b/include/asm-cris/Kbuild
index 14498d5..7ce0692 100644
--- a/include/asm-cris/Kbuild
+++ b/include/asm-cris/Kbuild
@@
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/dma-mapping.h | 11 ---
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h
index 662cea7..edc8d1b 100644
---
- Only disallow oops if we're in_interrupt context (was in_atomic before)
- Use the generic oops_in_progress instead of the raw_printk hack.
- Fix whitespace/formatting.
- Remove CVS log entries.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/mm/fault.c | 169
- Collect extern declarations at top of file.
- Change raw_printk to printk, use oops_in_progress instead.
- Fix formatting and whitespace.
- Allow the watchdog to be disabled during oops.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/kernel/traps.c | 226
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/ptrace.c | 13 +
arch/cris/arch-v32/mm/Makefile |3 ++-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/ptrace.c
b/arch/cris/arch-v32/kernel/ptrace.c
- Remove oldset parameter.
- Utilise delay-slot for parameter moving.
- Add kernel_execve as break 13.
- Add new kernel syscalls.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/entry.S | 82 +
1 files changed, 64 insertions(+),
- Remove CRISv32 common arbiter, dma, io and pinmux files,
they are now defined in machine dependent directories.
- Add cache and cacheflush files for working around cache problems
in CRISv32 chips.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/Makefile |5
- Add i2c_write and i2c_read as functions.
- Use spinlocks for critical regions.
- Add config item to set I2C data and clock port.
- Put unneeded testcode inside #if 0.
- Remove CVS id tag.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/i2c.c | 199
- Use default partition table when no partition is found (for initial tests)
- Add config ETRAX_AXISFLASHMAP_MTD0WHOLE to allow whole flash as mtd0.
- Add config for VCS simulator connection.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/axisflashmap.c | 488
- Remove old and non-generic targets, use generic ones instead.
- Add sub-arch as mach-fs or mach-a3 for EtraxFS and Artpec-3 respectively.
- Add links to sub-arch directories, and erase before trying to create them.
- Include from sub-arch specific include directory mach.
- Add files to be
- Remove old specific targets, use more generic ones instead.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/boot/Makefile | 24
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/arch/cris/arch-v10/boot/Makefile
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/boot/compressed/Makefile | 48 ++
1
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
Removes a lot of cruft.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/boot/rescue/Makefile | 56
- Correct whitespace problems.
- Add ifdef for ETRAX_AXISFLASHMAP to avoid compile error when not set.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/boot/rescue/head.S | 117 +
1 files changed, 61 insertions(+), 56 deletions(-)
diff
- Add config to use mtd0 as whole flash device.
- Fix whitespace errors.
- Remove braces around single statement ifs.
- Break long lines.
- Remove unnecessary CVS log.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v10/drivers/axisflashmap.c | 181
- Remove raw_prink hack, use oops_in_progress instead.
- When ETRAX_WATCHDOG_NICE_DOGGY is set, loop in trap after oops dump
instead of rebooting.
- Break long lines to less than 80 chars.
- Fix whitespace errors.
- Remove unnecessary comments.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
- Add ifdef for ETRAX_AXISFLASHMAP to avoid compiling file unless it is set.
- Use assembler macros for setting up clocks.
- Don't copy image, just jump to it (only works for NOR flash)
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/rescue/head.S | 42
- Shorten include paths to machine dependent headers.
- Add support for fifth serial port.
- Remove CONFIG_ETRAXFS_SIM and CONFIG_ETRAX_DEBUG_PORT_NULL, no longer used.
- Remove raw_printk and stupid_debug hack, no longer needed.
- Remove dummy console stuff, no longer needed.
- Correct some
- Change include path to machine dependent header files.
- Remove __INLINE__, it expands to inline anyway.
- Don't initialize static variables.
- Change timers to use fasttimer_t instead of timevals.
- Change name of timeval_cmp to fasttime_cmp to highlight this.
- Register name for first timer is
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/Makefile | 23 +++
1 files changed, 15 insertions(+), 8 deletions(-)
diff
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use KBUILD_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/compressed/Makefile | 47 ++
1
- Fixes for NAND and NOR flash booting.
- Use assembler macros for common tasks (clocks, general io etc)
- Use (EtraxFS or Artpec-3) machine specific include for dram and hardware init.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/compressed/head.S | 137
Also add board_mmcspi to build if ETRAX_SPI_MMC_BOARD is set.
(Generic MMC SPI implementation)
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/drivers/Makefile |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/cris/arch-v32/drivers/Makefile
- Remove old specific targets, use more generic ones instead.
- Use if_changed to avoid creating new images when no change.
- Use EXTRA_CFLAGS instead of CFLAGS.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/boot/rescue/Makefile | 41 ---
1
- Shorten include path for machine dependent header files.
- Correct some formatting issues.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
include/asm-cris/arch-v32/timex.h |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/asm-cris/arch-v32/timex.h
- Shorten include paths to machine specific headers.
- Remove fill_inbuf, not defined here.
- Return __dest as value from memcpy.
- Enable serial port hardware transmitter and receiver in serial_setup.
- Correct baudrate divisor calculation, changed from 4800 to 115200.
- Add support for Artpec-3
- Shorten include paths for machine specific header files.
- Add magic for booting NAND flash.
- Change CONFIG_ETRAXFS_SIM to CONFIG_ETRAX_VCS_SIM.
- Use assembler macros for initializing hardware (clocks)
- Add stubs for SMP slave CPUs.
- Search for cramfs or jffs2 if no romfs found.
- Initialize
- First timer register has changed name to timer0.
- Build IRQs with only IRQ number, mask bit will be calculated instead.
- Add more IRQs, up to 64 supported.
- Use arrays to hold which IRQs triggered instead of trying to do magic
with two 32 bit values now that more than 32 IRQs are supported.
- Shorten include paths for machine dependent header files.
- Remove unused extern declaration of etrax_gpio_wake_up_check.
- Register name for first timer is now regi_timer0.
Signed-off-by: Jesper Nilsson [EMAIL PROTECTED]
---
arch/cris/arch-v32/kernel/process.c | 16 ++--
1 files
1 - 100 of 854 matches
Mail list logo