16 Aug, 2007

4 commits


15 Aug, 2007

2 commits

  • In sun4c_init_clean_mmu(), aligning 'kernel_end' using
    SUN4C_REAL_PGDIR_ALIGN() is unnecessary since the caller
    does this already.

    In sun4c_paging_init(), 4 page sizes of "fluff" were added
    to the address of &end. This was necessary a long time ago
    when sparc32 would allocate some early data structures
    by carving out memory chunks after &end but that no longer
    occurs.

    Signed-off-by: Mark Fortescue
    Signed-off-by: David S. Miller

    Mark
     
  • This mirrors sparc64 commit 715a0ecc29c850d2b2f76e1803d3f22cd5a0ac0d

    sparc_ramdisk_image should always be decremented by KERNBASE.

    Signed-off-by: Mark Fortescue
    Signed-off-by: David S. Miller

    Mark
     

11 Aug, 2007

1 commit


09 Aug, 2007

2 commits


08 Aug, 2007

2 commits


06 Aug, 2007

1 commit


05 Aug, 2007

2 commits


04 Aug, 2007

3 commits


03 Aug, 2007

13 commits

  • On a machine with hardware 64kB pages and a kernel configured for a
    64kB base page size, we need to change the vmalloc segment from 64kB
    pages to 4kB pages if some driver creates a non-cacheable mapping in
    the vmalloc area. However, we never updated with SLB shadow buffer.
    This fixes it. Thanks to paulus for finding this.

    Also added some write barriers to ensure the shadow buffer contents
    are always consistent.

    Signed-off-by: Michael Neuling
    Signed-off-by: Paul Mackerras

    Michael Neuling
     
  • ...by using the pci_get API instead of the deprecated old stuff.

    Signed-off-by: Segher Boessenkool
    Signed-off-by: Paul Mackerras

    Segher Boessenkool
     
  • __must_check, so do so.

    Signed-off-by: Segher Boessenkool
    Signed-off-by: Paul Mackerras

    Segher Boessenkool
     
  • Some new machines use the "ibm,dynamic-reconfiguration-memory" property
    to provide memory layout information, rather than via memory nodes.

    There is a bug in the code to parse this property for start addresses
    over 4GB; we store the start address in an unsigned int, which means
    we throw away the high bits and add apparently duplicate regions.
    This results in a BUG() in free_bootmem_core(). This fixes it by
    using an unsigned long instead.

    Signed-off-by: Michael Ellerman
    Signed-off-by: Paul Mackerras

    Michael Ellerman
     
  • In smp_call_function_map(), num_cpus is set to the number of online
    CPUs minus one. However, if the CPU mask does not include all CPUs
    (except the one we're running on), the routine will hang in the first
    while() loop until the 8 second timeout occurs.

    The num_cpus should be set to the number of CPUs specified in the mask
    passed into the routine, after we've made any modifications to the
    mask. With this change, we can also get rid of the call to
    cpus_empty() and avoid adding another pass through the bitmask.

    Signed-off-by: Kevin Corry
    Signed-off-by: Carl Love
    Signed-off-by: Paul Mackerras

    Kevin Corry
     
  • WARNING: vmlinux.o(.text+0x605d4): Section mismatch: reference to
    .init.text:.__alloc_bootmem (between '.prealloc' and '.ps3_power_save')

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Paul Mackerras

    Stephen Rothwell
     
  • This patch fixes affinity reference point placement, which was not being
    done in some situations, after the introduction of node_allowed() calls.

    The previously used parameter, 'ctx', is just the iterator of the
    previous list_for_each_entry_reverse loop, and its value might be
    invalid at the end of the loop. Also, the right context to seek
    for information when defining the reference ctx location
    _is_ the reference ctx.

    Signed-off-by: Andre Detsch
    Signed-off-by: Arnd Bergmann
    Signed-off-by: Jeremy Kerr
    Signed-off-by: Paul Mackerras

    Andre Detsch
     
  • The code for mapping special 4k pages on kernels using a 64kB base
    page size was missing the code for doing the RPN (real page number)
    manipulation when inserting the hardware PTE in the secondary hash
    bucket. It needs the same code as has already been added to the
    code that inserts the HPTE in the primary hash bucket. This adds it.

    Spotted by Ben Herrenschmidt.

    Signed-off-by: Paul Mackerras

    Paul Mackerras
     
  • This patch fixes up the defconfig for various sh7751r based boards
    by updating them to the single cpu subtype CONFIG_CPU_SUBTYPE_SH7751R.
    The following sh4 boards are updated: hs7751rvoip, landisk, lboxre2,
    systemh, titan.

    The current defconfigs with two subtypes defined trigger a configuration
    bug which result in kernel configurations with missing board support
    code. We end up with kernels without board code and with generic machvec
    only.

    So we need this patch to make sure the board code gets compiled in.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch makes sure cf support is enabled on R2D-PLUS but disabled
    on R2D-1. Without this fix R2D-1 boards hang on bootup.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • - Disable CONFIG_SH_DMA to avoid boot up freeze on R2D-1
    - Disable CONFIG_SH_STANDARD_BIOS to support R2D-PLUS boot loaders

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Updated the snapgear defconfig to get a booting kernel.

    Signed-off-by: David McCullough
    Signed-off-by: Paul Mundt

    David McCullough
     
  • Add a missing =m constraint to the EDD-probing code, that could have
    caused improper dead-code elimination.

    Signed-off-by: H. Peter Anvin

    H. Peter Anvin
     

02 Aug, 2007

6 commits

  • Add memory operand constraint and write-only modifier to the inline
    assembly to effect the writing of the EDID block to boot_params.edid_info.

    Without this, gcc would think the EDID query was dead code and would
    eliminate it.

    Signed-off-by: Antonino Daplas
    Signed-off-by: H. Peter Anvin

    Antonino A. Daplas
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] ITC: Reduce rating for ITC clock if ITCs are drifty
    [IA64] SN2: Fix up sn2_rtc clock
    [IA64] Fix wrong access to irq_desc[] in iosapic_register_intr().
    [IA64] Fix possible race in destroy_and_reserve_irq()
    [IA64] Fix registered interrupt check
    [IA64] Remove a few duplicate includes
    [IA64] Allow smp_call_function_single() to current cpu
    [IA64] fix a few section mismatch warnings

    Linus Torvalds
     
  • Enable the MB93090 motherboard's MB86943 PCI arbiter correctly by assigning to
    the register rather than comparing against it. This is required to support
    bus mastering.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Make sure to reduce the rating of the ITC clock if ITCs are drifty. If they
    are drifting then we have not synchronized the ITC values, nor are we doing
    the jitter compensation (useless since drift may increase the differentials
    arbitrarily).

    Without this patch it is possible that the ITC clock becomes selected as
    the system clock on systems with drifty ITCs which will result in
    nanosleep hanging.

    One can still select the itc clock manually on such systems via

    clocksource=itc

    (Produces nice hangs on SGI Altix.)

    Signed-off-by: Christoph Lameter
    Signed-off-by: Tony Luck

    Christoph Lameter
     
  • If the sn2_rtc clock is present then it is a must have since sn2_rtc
    provides a synchronized time source on Altix systems. So elevate
    the priority to 450. Otherwise the ITC would take precendence. Altix
    systems currently do not boot because the ITC clocksource is broken. It
    seems to assume that ITCs are synchronized and as a result nanosleep
    hangs (may be fixed in a different patch).

    While we are at it: Remove the sn2_mc definition. The sn2_rtc has a fixed
    address. No point in reading the address from memory. Removing it avoids
    touching one cacheline.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Tony Luck

    Christoph Lameter
     
  • In error path we must unlock irq_desc[irq].lock before we change
    'irq'.

    Signed-off-by: Kenji Kaneshige
    Signed-off-by: Tony Luck

    Kenji Kaneshige
     

01 Aug, 2007

4 commits