Re: powerpc allmodconfig

2008-10-16 Thread Andreas Schwab
. Seems to be fixed in gcc 4.3. It actually needs a pretty complete value tracking to get right. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-24 Thread Andreas Schwab
. Why this used to be enabled for all architectures is beyond # me. I suspect most platforms don't need this, but until we know that for sure # I turn this off for IA-64 only. Andreas Schwab says it's also needed on m68k # to get a correct value for the wait-channel (WCHAN in ps

Re: inline assembly r0 SOS

2008-08-06 Thread Andreas Schwab
? This will do: unsigned int get_PLL_range(unsigned int range, unsigned int config) { range = range * 8 + 23; return ((config range) | (config (32 - range))) 3; } The special pattern ((a n) | (a (32 - n))) is recognized by gcc as a rotate operation. Andreas. -- Andreas Schwab, SuSE

Re: [RFC] [PATCH] task_pt_regs for powerpc systems

2008-07-14 Thread Andreas Schwab
. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. ___ Linuxppc-dev mailing list

Re: [PATCH 1/2] elf loader support for auxvec base platform string

2008-07-07 Thread Andreas Schwab
or something if you like (convention is to call it something.conf in /etc/ld.so.conf.d); then run ldconfig. That will make it part of the kernel ABI, since the mapping depends on the running kernel, doesn't it? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH

Re: [PATCH 1/2] elf loader support for auxvec base platform string

2008-07-07 Thread Andreas Schwab
. You may want to run a new kernel with an old filesystem, or vice-versa. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something

Re: [PATCH 2/9] powerpc: Add macros to access floating point registers in thread_struct.

2008-06-25 Thread Andreas Schwab
% 2 == 1. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code

2008-05-21 Thread Andreas Schwab
Trent Piepho [EMAIL PROTECTED] writes: On Wed, 21 May 2008, Andreas Schwab wrote: Trent Piepho [EMAIL PROTECTED] writes: It's the _le versions that have a problem, since we can't get gcc to just use the register indexed mode. It seems like an obvious thing to have a constraint for, but I

Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code

2008-05-20 Thread Andreas Schwab
. That should fit here. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code

2008-05-20 Thread Andreas Schwab
with it. There is a 'Z' constraint, Memory operand that is an indexed or indirect from a register, but I tried it and it can use both rb,ri and disp(rb) forms. Actually, I'm not sure how 'Z' is any different than m? 'Z' will never emit a non-zero constant displacement. Andreas. -- Andreas

Add compat handler for PTRACE_GETSIGINFO

2008-04-19 Thread Andreas Schwab
Current versions of gdb require a working implementation of PTRACE_GETSIGINFO for proper watchpoint support. Since struct siginfo contains pointers it must be converted when passed to a 32-bit debugger. Signed-off-by: Andreas Schwab [EMAIL PROTECTED] --- arch/powerpc/kernel/ppc32.h|2

Re: printk time confusion?

2008-04-03 Thread Andreas Schwab
that lack a 32 bits conversion, you'll have to dig in the pty stuff to find out which ones it is and if it can be a problem... 0x53xx is claimed by cdrom.h, and 0x530b is CDROMSUBCHNL. Of course, a tty does not implement cdrom ioctls. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE

Re: printk time confusion?

2008-04-03 Thread Andreas Schwab
printk something? To ease finding missing compat ioctl handlers. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely

Re: [PATCH] windfarm: add PowerMac 12,1 support

2008-03-22 Thread Andreas Schwab
) all; You can also write all = ... if pm121_register_control always return 0/1 (or make it 0/1 with !!). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B

Re: [PATCH] add strncmp to PowerPC

2008-03-03 Thread Andreas Schwab
are signed they are always compared as unsigned by strcmp/strncmp/memcmp. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely

Re: [PATCH] next-20080218 build failure at pmac_ide_macio_attach ()

2008-02-18 Thread Andreas Schwab
; hw_regs_t hw; - pmif = (struct pmac_ide_hwif)kzalloc(sizeof(*pmif), GFP_KERNEL); + pmif = (struct pmac_ide_hwif*)kzalloc(sizeof(*pmif), GFP_KERNEL); Just remove the cast. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409

Re: [PATCH] autodetect serial console on efika

2008-01-21 Thread Andreas Schwab
. Instead, a /failsafe node is created. s/the the/to the/ Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: [PATCH v2] powerpc: Do not fail build if mkimage is not available

2007-12-27 Thread Andreas Schwab
Wolfgang Denk [EMAIL PROTECTED] writes: In message [EMAIL PROTECTED] you wrote: On Wednesday 26 December 2007 17:03:43 Andreas Schwab wrote: Michael Buesch [EMAIL PROTECTED] writes: +set +e mkimage -A ppc -O linux -T kernel -C gzip -a -e

Re: [PATCH] powerpc: Do not fail build if mkimage is not available

2007-12-26 Thread Andreas Schwab
Michael Buesch [EMAIL PROTECTED] writes: +if ! [ -x mkimage ]; then What is this supposed to test? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B

Re: [PATCH] powerpc: Do not fail build if mkimage is not available

2007-12-26 Thread Andreas Schwab
Michael Buesch [EMAIL PROTECTED] writes: On Wednesday 26 December 2007 15:47:05 Andreas Schwab wrote: Michael Buesch [EMAIL PROTECTED] writes: +if ! [ -x mkimage ]; then What is this supposed to test? from man test: You didn't answer my question. Andreas. -- Andreas Schwab

Re: [PATCH] powerpc: Do not fail build if mkimage is not available

2007-12-26 Thread Andreas Schwab
Michael Buesch [EMAIL PROTECTED] writes: On Wednesday 26 December 2007 16:33:57 Andreas Schwab wrote: Michael Buesch [EMAIL PROTECTED] writes: On Wednesday 26 December 2007 15:47:05 Andreas Schwab wrote: Michael Buesch [EMAIL PROTECTED] writes: +if ! [ -x mkimage

Re: [PATCH v2] powerpc: Do not fail build if mkimage is not available

2007-12-26 Thread Andreas Schwab
Michael Buesch [EMAIL PROTECTED] writes: +set +e mkimage -A ppc -O linux -T kernel -C gzip -a -e \ $uboot_version -d $vmz $ofile +[ $? -eq 0 ] || exit 0 +set -e mkimage ... || exit 0 Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE

Re: [PATCH] powerpc: Do not fail build if mkimage is not available

2007-12-26 Thread Andreas Schwab
Michael Buesch [EMAIL PROTECTED] writes: I tested this and it obviously works very well for me. Obviously your tests were incomplete. I even posted it for review on this list and nobody complained, including you. ??? I did point out an error in your patch just now. Andreas. -- Andreas

Re: [PATCH] powerpc: Do not fail build if mkimage is not available

2007-12-26 Thread Andreas Schwab
Michael Buesch [EMAIL PROTECTED] writes: On Wednesday 26 December 2007 17:08:55 Andreas Schwab wrote: I even posted it for review on this list and nobody complained, including you. ??? I did point out an error in your patch just now. I posted it for review a few days ago and the only

Re: [PATCH v2] powerpc: Do not fail build if mkimage is not available

2007-12-26 Thread Andreas Schwab
Michael Buesch [EMAIL PROTECTED] writes: On Wednesday 26 December 2007 17:03:43 Andreas Schwab wrote: Michael Buesch [EMAIL PROTECTED] writes: +set +e mkimage -A ppc -O linux -T kernel -C gzip -a -e \ $uboot_version -d $vmz $ofile +[ $? -eq 0

Re: [PATCH] pci: Fix bus resource assignment on 32 bits with 64b resources

2007-12-06 Thread Andreas Schwab
. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. ___ Linuxppc-dev mailing

Re: Appletouch going wild

2007-11-10 Thread Andreas Schwab
Johannes Berg [EMAIL PROTECTED] writes: On Fri, 2007-11-09 at 13:58 +0100, Andreas Schwab wrote: Every once in a while the touchpad in my iBook G4 (geyser1, 030B) is going wild, emitting random movement events even when not being touched. That started only with 2.6.24-rc1. The only way

Appletouch going wild

2007-11-09 Thread Andreas Schwab
result in some kind of race condition. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: Appletouch going wild

2007-11-09 Thread Andreas Schwab
Benjamin Herrenschmidt [EMAIL PROTECTED] writes: On Fri, 2007-11-09 at 13:58 +0100, Andreas Schwab wrote: Every once in a while the touchpad in my iBook G4 (geyser1, 030B) is going wild, emitting random movement events even when not being touched. That started only with 2.6.24-rc1. The only

Re: [RFC] Modifying i2c-core to support alias driver names compatible with device trees

2007-11-08 Thread Andreas Schwab
. Note that the anonymous object is not const qualified. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: boot/wrap assumes a biarch toolchain?

2007-10-29 Thread Andreas Schwab
. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. ___ Linuxppc-dev mailing list

Re: boot/wrap assumes a biarch toolchain?

2007-10-29 Thread Andreas Schwab
to generate 32-bit code (or use --with-cpu=default32 to make that the default). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something

Re: boot/wrap assumes a biarch toolchain?

2007-10-29 Thread Andreas Schwab
Jan Dittmer [EMAIL PROTECTED] writes: Same error, you write above that a newer compiler version should not need -m32 or --with-cpu=default32 any more? ??? Where did I say that? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg

Re: [PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-20 Thread Andreas Schwab
David Gibson [EMAIL PROTECTED] writes: What compiler/platform is this? I can't off the top of my head think of one where size_t shouldn't be promoted to int automatically. Only types narrower than int are subject to integer promotion. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED

Re: [PATCH 1/2] bootwrapper: Allow wrapper script to execute verbosely

2007-10-16 Thread Andreas Schwab
Grant Likely [EMAIL PROTECTED] writes: +# Allow for verbose output +if [ $V == 1 ]; then The correct syntax is [ a = b ] (and the quotes around 1 are not needed, btw.). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg

Re: 2.6.23-rc3 broken on G5

2007-08-27 Thread Andreas Schwab
. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. ___ Linuxppc-dev mailing

Re: 2.6.23-rc3 broken on G5

2007-08-19 Thread Andreas Schwab
Paul Mackerras [EMAIL PROTECTED] writes: Andreas Schwab writes: 1.25 GB. It also has an nvidia gfx card, in case it matters. Could you try this patch and see if it fixes it? It puts the code back to being a bit closer to what it was before. That didn't change anything visibly. Andreas

Re: [PATCH] [POWERPC] Invalid semicolon after if statement

2007-08-16 Thread Andreas Schwab
a separate option for it (-Wempty-body). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: 2.6.23-rc3 broken on G5

2007-08-16 Thread Andreas Schwab
Paul Mackerras [EMAIL PROTECTED] writes: Andreas Schwab writes: This change: commit edd0622bd2e8f755c960827e15aa6908c3c5aa94 Author: Paul Mackerras [EMAIL PROTECTED] Date: Fri Aug 10 21:04:07 2007 +1000 [POWERPC] Fix potential duplicate entry in SLB shadow buffer is broken

2.6.23-rc3 broken on G5

2007-08-15 Thread Andreas Schwab
. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. ___ Linuxppc

Re: [PATCH] Infinite loop/always true check possible with unsigned counter.

2007-07-10 Thread Andreas Schwab
Paul Mackerras [EMAIL PROTECTED] writes: Andreas Schwab writes: Paul Mackerras [EMAIL PROTECTED] writes: Manish Ahuja writes: Repost to fix my email id. Fix to correct a possible infinite loop or an always true check when the unsigned long counter i is used in lmb_add_region

Re: Too verbose compat_ioctl messages?

2007-07-06 Thread Andreas Schwab
Geert Uytterhoeven [EMAIL PROTECTED] writes: Is there anything we can do about this? Define it as IGNORE_IOCTL in fs/compat_ioctl.c? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7

Re: [PATCH v2] dtc: Add install makefile target

2007-06-29 Thread Andreas Schwab
. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. ___ Linuxppc-dev mailing list

<    1   2   3   4