07 Jul, 2009

6 commits

  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: fix usage of bios intcall()
    x86: Remove unused function lapic_watchdog_ok()
    x86: Remove unused variable disable_x2apic
    x86, kvm: Fix section mismatches in kvm.c
    x86: Add missing annotation to arch/x86/lib/copy_user_64.S::copy_to_user
    x86: Fix fixmap page order for FIX_TEXT_POKE0,1
    amd-iommu: set evt_buf_size correctly
    amd-iommu: handle alias entries correctly in init code
    x86: Fix printk call in print_local_apic()
    x86: Declare check_efer() before it gets used
    x86: Mark device_nb as static and fix NULL noise
    x86: Remove double declaration of MSR_P6_EVNTSEL0 and MSR_P6_EVNTSEL1
    xen: Use kcalloc() in xen_init_IRQ()
    x86: Fix fixmap ordering
    x86: Fix symbol annotation for arch/x86/lib/clear_page_64.S::clear_page_c

    Linus Torvalds
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] amba: fix amba device resources
    [ARM] pgtable: file pte layout documentation
    [ARM] pgtable: swp pte layout documentation, definitions, and check
    [ARM] export __cpu_flush_dcache_page
    [ARM] 5576/1: Update kb9202_defconfig
    [ARM] 5581/1: U300 clock updates
    [ARM] 5579/1: Updated U300 defconfig

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI: Fix IRQ swizzling for ARI-enabled devices
    ia64/PCI: adjust section annotation for pcibios_setup()
    x86/PCI: get root CRS before scanning children
    x86/PCI: fix boundary checking when using root CRS
    PCI MSI: Fix restoration of MSI/MSI-X mask states in suspend/resume
    PCI MSI: Unmask MSI if setup failed
    PCI MSI: shorten PCI_MSIX_ENTRY_* symbol names
    PCI: make pci_name() take const argument
    PCI: More PATA quirks for not entering D3
    PCI: fix kernel-doc warnings
    PCI: check if bus has a proper bridge device before triggering SBR
    PCI: remove pci_dac_dma_... APIs on mn10300
    PCI ECRC: Remove unnecessary semicolons
    PCI MSI: Return if alloc_msi_entry for MSI-X failed

    Linus Torvalds
     
  • * 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-microblaze:
    microblaze: Fix cast warning for init.c
    microblaze: Wire up new syscalls
    microblaze: use generic syscalls.h
    microblaze: clean up signal handling
    microblaze: convert all simple headers to use asm-generic
    microblaze: use the generic lib/checksum.c
    microblaze: fall back on generic header files for the ABI

    Linus Torvalds
     
  • * git://git.infradead.org/iommu-2.6:
    intel-iommu: Don't use identity mapping for PCI devices behind bridges
    intel-iommu: Use iommu_should_identity_map() at startup time too.
    intel-iommu: No mapping for non-PCI devices
    intel-iommu: Restore DMAR_BROKEN_GFX_WA option for broken graphics drivers
    intel-iommu: Add iommu_should_identity_map() function
    intel-iommu: Fix reattaching of devices to identity mapping domain
    intel-iommu: Don't set identity mapping for bypassed graphics devices
    intel-iommu: Fix dma vs. mm page confusion with aligned_nrpages()

    Linus Torvalds
     
  • Fix for this issue on x86_64:

    rostedt@goodmis.org wrote:
    > On bootup of the latest kernel my init segfaults. Debugging it,
    > I found that vread_tsc (a vsyscall) increments some strange
    > kernel memory:
    >
    > 0000000000000000 :
    > 0: 55 push %rbp
    > 1: 48 ff 05 00 00 00 00 incq 0(%rip)
    > # 8
    > 4: R_X86_64_PC32 .bss+0x3c
    > 8: 48 89 e5 mov %rsp,%rbp
    > b: 66 66 90 xchg %ax,%ax
    > e: 48 ff 05 00 00 00 00 incq 0(%rip)
    > # 15
    > 11: R_X86_64_PC32 .bss+0x44
    > 15: 66 66 90 xchg %ax,%ax
    > 18: 48 ff 05 00 00 00 00 incq 0(%rip)
    > # 1f
    > 1b: R_X86_64_PC32 .bss+0x4c
    > 1f: 0f 31 rdtsc
    >
    >
    > Those "incq" is very bad to happen in vsyscall memory, since
    > userspace can not modify it. You need to make something prevent
    > profiling of vsyscall memory (like I do with ftrace).

    Signed-off-by: Peter Oberparleiter
    Cc: Ingo Molnar
    Reported-by: Steven Rostedt
    Tested-by: Steven Rostedt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Oberparleiter
     

06 Jul, 2009

7 commits


05 Jul, 2009

7 commits

  • Document the layout of our file PTE entries.

    Signed-off-by: Russell King

    Russell King
     
  • Document the layout of our swp PTE entries, adding definitions for
    the bit masks/shifts/sizes, and implement MAX_SWAPFILES_CHECK()
    such that we fail to build if we are unable to properly encode the
    swp type field.

    Signed-off-by: Russell King

    Russell King
     
  • Now required for libsas:

    Kernel: arch/arm/boot/Image is ready
    Kernel: arch/arm/boot/zImage is ready
    Building modules, stage 2.
    MODPOST 1096 modules
    ERROR: "xscale_flush_kern_dcache_page" [drivers/scsi/libsas/libsas.ko] undefined!

    Signed-off-by: Russell King

    Russell King
     
  • Some intcall() misuses the input biosregs as output in
    cf06de7b9cdd3efee7a59dced1977b3c21d43732

    This fixes the problem vga=ask boot option doesn't show enough modes.

    Signed-off-by: Akinobu Mita
    LKML-Reference:
    Signed-off-by: H. Peter Anvin

    Akinobu Mita
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: (27 commits)
    parisc: use generic atomic64 on 32-bit
    parisc: superio: fix build breakage
    parisc: Fix PCI resource allocation on non-PAT SBA machines
    parisc: perf: wire up sys_perf_counter_open
    parisc: add task_pt_regs macro
    parisc: wire sys_perf_counter_open to sys_ni_syscall
    parisc: inventory.c, fix bloated stack frame
    parisc: processor.c, fix bloated stack frame
    parisc: fix compile warning in mm/init.c
    parisc: remove dead code from sys_parisc32.c
    parisc: wire up rt_tgsigqueueinfo
    parisc: ensure broadcast tlb purge runs single threaded
    parisc: fix "delay!" timer handling
    parisc: fix mismatched parenthesis in memcpy.c
    parisc: Fix gcc 4.4 warning in lba_pci.c
    parisc: add parameter to read_cr16()
    parisc: decode_exc.c should include kernel.h
    parisc: remove obsolete hw_interrupt_type
    parisc: fix irq compile bugs in arch/parisc/kernel/irq.c
    parisc: advertise PCI devs after "assign_resources"
    ...

    Manually fixed up trivial conflicts in tools/perf/perf.h due to addition
    of SH vs HPPA perf-counter support.

    Linus Torvalds
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
    MIPS: Fix CONFIG_FLATMEM version of pfn_valid()
    MIPS: Reorganize Cavium OCTEON PCI support.
    Update Yoichi Yuasa's e-mail address
    MIPS: Allow suspend and hibernation again on uniprocessor kernels.
    MIPS: 64-bit: Fix o32 core dump
    MIPS: BC47xx: Fix SSB irq setup
    MIPS: CMP: Update sync-r4k for current kernel
    MIPS: CMP: Move gcmp_probe to before the SMP ops
    MIPS: CMP: activate CMP support
    MIPS: CMP: Extend IPI handling to CPU number
    MIPS: CMP: Extend the GIC IPI interrupts beyond 32
    MIPS: Define __arch_swab64 for all mips r2 cpus
    MIPS: Update VR41xx GPIO driver to use gpiolib
    MIPS: Hookup new syscalls sys_rt_tgsigqueueinfo and sys_perf_counter_open.
    MIPS: Malta: Remove unnecessary function prototypes
    MIPS: MT: Remove unnecessary semicolons
    MIPS: Add support for Texas Instruments AR7 System-on-a-Chip

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
    kbuild: finally remove the obsolete variable $TOPDIR
    gitignore: ignore scripts/ihex2fw
    Kbuild: Disable the -Wformat-security gcc flag
    gitignore: ignore gcov output files
    kbuild: deb-pkg ship changelog
    Add new __init_task_data macro to be used in arch init_task.c files.
    asm-generic/vmlinux.lds.h: shuffle INIT_TASK* macro names in vmlinux.lds.h
    Add new macros for page-aligned data and bss sections.
    asm-generic/vmlinux.lds.h: Fix up RW_DATA_SECTION definition.

    Linus Torvalds
     

04 Jul, 2009

1 commit


03 Jul, 2009

19 commits