Re: [patch 2/3] ia64: don't assume that unwcheck.py is executable

2007-12-05 Thread Andreas Schwab
Andrew Morton <[EMAIL PROTECTED]> writes: > On Thu, 06 Dec 2007 00:06:14 +0100 > Andreas Schwab <[EMAIL PROTECTED]> wrote: > >> [EMAIL PROTECTED] writes: >> >> > diff -puN >> > arch/ia64/Makefile~ia64-dont-assume-that-unwcheckpy-is-execu

Re: [patch 2/3] ia64: don't assume that unwcheck.py is executable

2007-12-05 Thread Andreas Schwab
(Q)$(MAKE) $(build)=$(boot) $@ > > unwcheck: vmlinux > - -$(Q)READELF=$(READELF) $(srctree)/arch/ia64/scripts/unwcheck.py $< > + -$(Q)READELF=$(READELF) $(CONFIG_SHELL) > $(srctree)/arch/ia64/scripts/unwcheck.py $< unwcheck.py is not a shell script. Andreas. -- Andr

Re: [patch 04/14] ia64: Remove the __SMALL_ADDR_AREA attribute for per cpu access

2007-11-27 Thread Andreas Schwab
Christoph Lameter <[EMAIL PROTECTED]> writes: > On Tue, 27 Nov 2007, Andreas Schwab wrote: > >> Christoph Lameter <[EMAIL PROTECTED]> writes: >> >> > The model(small) attribute is not supported by gcc 4.X. >> >> Which gcc 4.X are you talking a

Re: [patch 04/14] ia64: Remove the __SMALL_ADDR_AREA attribute for per cpu access

2007-11-27 Thread Andreas Schwab
Christoph Lameter <[EMAIL PROTECTED]> writes: > The model(small) attribute is not supported by gcc 4.X. Which gcc 4.X are you talking about? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerpri

Re: [PATCH 2/9] ia64: VIRT_CPU_ACCOUNTING (accurate cpu time accounting)

2007-10-16 Thread Andreas Schwab
.h > @@ -1,6 +1,82 @@ > +/* > + * include/asm-ia64/cputime.h Kill that line. Instead describe the contents of the file. 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

Re: compile 2.6.23 for zx2000?

2007-10-10 Thread Andreas Schwab
g/bugzilla/show_bug.cgi?id=31490>. 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." - To un

Re: scripts/mod/file2alias.c cross compile problem

2007-08-02 Thread Andreas Schwab
_t driver_data; >> }; > > What's so special about this structure that we get an error? It's special because it's a device_id structure, and those structures must come out identical using either the host or the target compiler. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PRO

Re: [GIT PATCH] ACPI patches for 2.6.23-rc1

2007-07-27 Thread Andreas Schwab
Adrian Bunk <[EMAIL PROTECTED]> writes: > I don't have an idea how this happens, but it sounds like an alignment > issue: > > sizeof(struct acpi_device_id)=20 This is wrong. The structure has 24 bytes (including 7(!) bytes of padding). Andreas. -- Andreas Schwab, SuSE

Re: [RFC][PATCH] fsys_gettimeofday leaps days if it runs with nojitter

2007-07-05 Thread Andreas Schwab
r p7,p0 = r28,0 >> -and r28 = ~1,r28// Make sequence even to force retry if odd >> getf.sig r2 = f8 >> mf >> add r8 = r8,r18 // Add time interpolator offset > > > What a surprise! This patch solves the problem! How can the regis

Re: [IA64] Set default page size to 64k

2007-06-14 Thread Andreas Schwab
Jes Sorensen <[EMAIL PROTECTED]> writes: > I think there are still broken user apps out there that hard code the > page size, Those will more likely hardcode it to 4K than any else, which means they are already broken today. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED

Re: sata-vsc broken on SGI Prism

2007-03-26 Thread Andreas Schwab
Andrew Morton <[EMAIL PROTECTED]> writes: > On Sat, 24 Mar 2007 10:17:24 +0100 Andreas Schwab <[EMAIL PROTECTED]> wrote: > >> I'm getting this panic when loading sata-vsc on a SGI Prism: > > With what kernel? It's still the same with 2.6.21-rc5. >>

Re: sata-vsc broken on SGI Prism

2007-03-25 Thread Andreas Schwab
Andrew Morton <[EMAIL PROTECTED]> writes: > On Sat, 24 Mar 2007 10:17:24 +0100 Andreas Schwab <[EMAIL PROTECTED]> wrote: > >> I'm getting this panic when loading sata-vsc on a SGI Prism: > > With what kernel? Linus' latest at this point in time. Andreas

sata-vsc broken on SGI Prism

2007-03-24 Thread Andreas Schwab
ommit 7cbaa86b937b0b1fab95c159989f6a3c00bbcf78 Author: Dan Wolstenholme <[EMAIL PROTECTED]> Date: Tue Jan 9 05:59:21 2007 -0500 [libata] sata_vsc: support PCI MSI Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products Gm

Re: [patch 5/5] ia64: update memory attribute aliasing documentation & test cases

2007-03-21 Thread Andreas Schwab
+ If the granule contains non-WB memory, but we can cover the > + region safely with kernel page table mappings, we can use > + ioremap_page_range() as most other architectures do. > + > + Failing all of the above, we have to all back to a UC mapping. s/all back/fall back/ Andre

Re: [KJ] [PATCH] is_power_of_2 in ia64mm

2007-02-16 Thread Andreas Schwab
Richard Knutsson <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >> Richard Knutsson <[EMAIL PROTECTED]> writes: >> >>> Andreas Schwab wrote: >>> >>>> Richard Knutsson <[EMAIL PROTECTED]> writes: >>>>

Re: [KJ] [PATCH] is_power_of_2 in ia64mm

2007-02-16 Thread Andreas Schwab
Richard Knutsson <[EMAIL PROTECTED]> writes: > Andreas Schwab wrote: >> Richard Knutsson <[EMAIL PROTECTED]> writes: >> >> >>> Vignesh Babu BM wrote: >>> >>>> @@ -175,7 +176,7 @@ static int __init hugetlb_setup_sz(char *str) &

Re: [KJ] [PATCH] is_power_of_2 in ia64mm

2007-02-16 Thread Andreas Schwab
ze specified\n"); >> >> > As we talked about before; is this really correct? !is_power_of_2(0) == > true while (0 & (0-1)) == 0. size == 0 is also covered by the next two conditions, so the overall value does not change. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL P

Re: atomic_cmpxchg and 64-bit values

2007-01-17 Thread Andreas Schwab
chg is strictly only defined for atomic_t. See commit 4a6dae6d382e9edf3ff440b819e554ed706359bc. 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 &q

Re: [PATCH] Kdump documentation update for 2.6.20: ia64 portion

2007-01-12 Thread Andreas Schwab
any space below the alignment point will be wasted. 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 differen

Re: [PATCH] altix: Add volatile qualifiers in places where it seems necessary

2005-09-02 Thread Andreas Schwab
uint64_t r = __sn_readq_relaxed(addr); r op (val); writeq(r, addr);} The local variable should be renamed to something less likely to clash with names used in the arguments. The expansion should be surrounded by do ... while(0) to make it a proper statement immune from the dangling else problem.

Re: 2.6.13 does not boot on Eiger

2005-08-31 Thread Andreas Schwab
CTED PROCESSOR ERROR: Cache Check". I don't know what is needed from the files to make this useful. >> > P.S. What is your firmware "acpiconfig" mode? My eiger is >> > in "default" mode, >> >> Likewise. > > Type "acpiconfig&q

Re: 2.6.13 does not boot on Eiger

2005-08-31 Thread Andreas Schwab
by setting > either "single-pci-domain" or "enable legacyprobe". Neither seem to be supported here. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44

2.6.13 does not boot on Eiger

2005-08-30 Thread Andreas Schwab
Tiger, so there must be some different problem. The config is attached. Note that this is already broken since at least 2.6.13-rc3, but 2.6.13-rc1 ist still ok. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerpr

Re: execute sn2 early console setup only on sn2s

2005-08-30 Thread Andreas Schwab
sn_serial_console_early_setup(void); > if (!sn_serial_console_early_setup()) > earlycons++; The first thing sn_serial_console_early_setup does is to check for sn2. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraß

Re: Simulator bootloader fails with gcc 4

2005-08-22 Thread Andreas Schwab
All -m* options are target dependent, and ia64 does not have such an option. In fact, this option only exists on MIPS targets. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 0

Re: debian/testing cannot compile static with gcc3.3.5

2005-08-19 Thread Andreas Schwab
Stephane Eranian <[EMAIL PROTECTED]> writes: > Since then, I cannot comile any program with static linking: What does this have to do with the kernel? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fi

Re: Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-16 Thread Andreas Schwab
vamsi krishna <[EMAIL PROTECTED]> writes: > example /lib/libc-2.2.4.so size 6094859got mapped 3 times with > permissions 'r-xp' , '---p' and 'rw-p' from the bottom. Note the file offset. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]

Re: 2.6.13-rc5 does not boot on Tiger4

2005-08-05 Thread Andreas Schwab
Jes Sorensen <[EMAIL PROTECTED]> writes: > Anyone who have tried this on an ZX1 box? Everest is also broken. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3

Re: 2.6.13-rc5 does not boot on Tiger4

2005-08-04 Thread Andreas Schwab
C kernel (DIG still works on Tiger). Also tested on HP Eiger, same result: the system gets an MCA. I've attached the config I'm using. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint =

2.6.13-rc5 does not boot on Tiger4

2005-08-03 Thread Andreas Schwab
I can't get 2.6.13-rc5 to boot, it crashes very early without any sign of life, not even kdb can catch it. Any idea? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3

Re: [PATCH 2.6.13-rc3] fix unaligned memory access in snsc_event.c

2005-07-26 Thread Andreas Schwab
Greg Howard <[EMAIL PROTECTED]> writes: > I've added a new function to the file that copies a (big-endian) > integer out of a byte buffer and into a little-endian integer > variable. How about using get_unaligned? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]

Re: [PATCH] Altix system controller event handling

2005-03-10 Thread Andreas Schwab
Greg Howard <[EMAIL PROTECTED]> writes: > On Thu, 10 Mar 2005, Andreas Schwab wrote: > >> >> Or even better: replace scdrv_buffer_to_int by be32_to_cpup. > > Sounds like a good idea. Will be32_to_cpup work if the > argument isn't word-aligned? Probably n

Re: [PATCH] Altix system controller event handling

2005-03-10 Thread Andreas Schwab
tter: for (i = 0; i < sizeof(n); i++) n |= ((unsigned char)buf[i] << (8 * (sizeof(n) - i - 1))); Or even better: replace scdrv_buffer_to_int by be32_to_cpup. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürn

Re: efibootmgr fixes for EFI 1.10

2005-03-01 Thread Andreas Schwab
rences of the same theme. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - To unsubsc

Re: efibootmgr fixes for EFI 1.10

2005-03-01 Thread Andreas Schwab
n", > + name, What's wrong with using boot->name->d_name directly? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 82

Re: [PATCH] Errenous use of memset and memcpy

2005-02-19 Thread Andreas Schwab
0, sizeof(sigset_t)); > > - if (memcpy(&set.sig, &sset->sig, sigsetsize)) > - return -EFAULT; > + memcpy(&set.sig, &sset->sig, sigsetsize); That should be copy_from_user, and the error checking needs to stay. Andreas. -- Andreas Schwab

Questionable code in pci_sal_read

2005-01-25 Thread Andreas Schwab
_write only rejects (seg > 65535). The lines come from this changeset: http://linux.bkbits.net:8080/linux-2.6/cset%40407c8325V8ZAIQkFDRCUNpu5AXqG1g Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58C