31 Mar, 2011

1 commit


23 Sep, 2009

1 commit


05 Feb, 2008

1 commit

  • Eliminate all build warnings. OK, these build warnings are from
    a build on x86_64. When I build on ia64, I don't see warnings.

    Now builds cleanly on ia64 and x86_64.

    Documentation/ia64/aliasing-test.c: In function 'map_mem':
    Documentation/ia64/aliasing-test.c:39: warning: implicit declaration of function 'ioctl'
    Documentation/ia64/aliasing-test.c: In function 'scan_rom':
    Documentation/ia64/aliasing-test.c:183: warning: format '%ld' expects type 'long int', but argument 4 has type 'int'
    Documentation/ia64/aliasing-test.c: At top level:
    Documentation/ia64/aliasing-test.c:208: warning: function declaration isn't a prototype
    Documentation/ia64/aliasing-test.c: In function 'main':
    Documentation/ia64/aliasing-test.c:259: warning: control reaches end of non-void function
    Documentation/ia64/aliasing-test.c: In function 'scan_rom':
    Documentation/ia64/aliasing-test.c:152: warning: 'rc' may be used uninitialized in this function
    Documentation/ia64/aliasing-test.c: In function 'scan_tree':
    Documentation/ia64/aliasing-test.c:68: warning: 'rc' may be used uninitialized in this function

    Signed-off-by: Randy Dunlap
    Acked-by: Bjorn Helgaas
    Signed-off-by: Andrew Morton
    Signed-off-by: Tony Luck

    Randy Dunlap
     

12 Jul, 2007

1 commit

  • Example memory map (HP rx7640 with 'default' acpiconfig setting, VGA disabled):
    0x00000000 - 0x3FFFBFFF supports only WB (cacheable) access

    If a user attempts to perform an MMIO mmap (using the PCIIOC_MMAP_IS_MEM ioctl)
    to PCI config space (like mmap'ing and accessing memory at 0xA0000),
    we will MCA because the kernel will attempt to use a mapping with the UC
    attribute.

    So check the memory attribute in kern_mmap and the EFI memmap. If WC is
    requested, and WC or UC access is supported for the region, allow it.
    Otherwise, use the same attribute the kernel uses.

    Updates documentation and test cases as well.

    Signed-off-by: Alex Chiang
    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Tony Luck

    Alex Chiang
     

01 Jun, 2007

1 commit

  • Fix various bits of obviously-busted code which we're not happening to
    compile, due to ifdefs.

    Cc: "Luck, Tony"
    Cc: Ivan Kokshaysky
    Cc: Richard Henderson
    Cc: Russell King
    Cc: Ralf Baechle
    Cc: Jeff Garzik
    Cc: Jan Kara
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yoann Padioleau
     

31 Mar, 2007

1 commit