26 Oct, 2010

3 commits

  • Signed-off-by: Simon Guinot
    Acked-by: Nicolas Pitre
    Signed-off-by: Guenter Roeck

    Simon Guinot
     
  • …t/khilman/linux-davinci

    * 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci: (50 commits)
    davinci: fix remaining board support after io_pgoffst removal
    davinci: mityomapl138: make file local data static
    arm/davinci: remove duplicated include
    davinci: Initial support for Omapl138-Hawkboard
    davinci: MityDSP-L138/MityARM-1808 read MAC address from I2C Prom
    davinci: add tnetv107x touchscreen platform device
    input: add driver for tnetv107x touchscreen controller
    davinci: add keypad config for tnetv107x evm board
    davinci: add tnetv107x keypad platform device
    input: add driver for tnetv107x on-chip keypad controller
    net: davinci_emac: cleanup unused cpdma code
    net: davinci_emac: switch to new cpdma layer
    net: davinci_emac: separate out cpdma code
    net: davinci_emac: cleanup unused mdio emac code
    omap: cleanup unused davinci mdio arch code
    davinci: cleanup mdio arch code and switch to phy_id
    net: davinci_emac: switch to new mdio
    omap: add mdio platform devices
    davinci: add mdio platform devices
    net: davinci_emac: separate out davinci mdio
    ...

    Fix up trivial conflict in drivers/input/keyboard/Kconfig (two entries
    added next to each other - one from the davinci merge, one from the
    input merge)

    Linus Torvalds
     
  • Commit b40827fa7268 ("x86-32, mm: Add an initial page table for core
    bootstrapping") added an include directive which is needless and is
    taken care of by a previous one. Remove it.

    Caught-by: Jaswinder Singh Rajput
    Signed-off-by: Borislav Petkov
    Signed-off-by: Linus Torvalds

    Borislav Petkov
     

25 Oct, 2010

37 commits

  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: (48 commits)
    [S390] topology: export cpu topology via proc/sysinfo
    [S390] topology: move topology sysinfo code
    [S390] topology: clean up facility detection
    [S390] cleanup facility list handling
    [S390] enable ARCH_DMA_ADDR_T_64BIT with 64BIT
    [S390] dasd: ignore unsolicited interrupts for DIAG
    [S390] kvm: Enable z196 instruction facilities
    [S390] dasd: fix unsolicited interrupt recognition
    [S390] dasd: fix use after free in dbf
    [S390] kvm: Fix badness at include/asm/mmu_context.h:83
    [S390] cio: fix I/O cancel function
    [S390] topology: change default
    [S390] smp: use correct cpu address in print_cpu_info()
    [S390] remove ieee_instruction_pointer from thread_struct
    [S390] cleanup system call parameter setup
    [S390] correct alignment of cpuid structure
    [S390] cleanup lowcore access from external interrupts
    [S390] cleanup lowcore access from program checks
    [S390] pgtable: move pte_mkhuge() from hugetlb.h to pgtable.h
    [S390] fix SIGBUS handling
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (365 commits)
    ALSA: hda - Disable sticky PCM stream assignment for AD codecs
    ALSA: usb - Creative USB X-Fi volume knob support
    ALSA: ca0106: Use card specific dac id for mute controls.
    ALSA: ca0106: Allow different sound cards to use different SPI channel mappings.
    ALSA: ca0106: Create a nice spot for mapping channels to dacs.
    ALSA: ca0106: Move enabling of front dac out of hardcoded setup sequence.
    ALSA: ca0106: Pull out dac powering routine into separate function.
    ALSA: ca0106 - add Sound Blaster 5.1vx info.
    ASoC: tlv320dac33: Use usleep_range for delays
    ALSA: usb-audio: add Novation Launchpad support
    ALSA: hda - Add workarounds for CT-IBG controllers
    ALSA: hda - Fix wrong TLV mute bit for STAC/IDT codecs
    ASoC: tpa6130a2: Error handling for broken chip
    ASoC: max98088: Staticise m98088_eq_band
    ASoC: soc-core: Fix codec->name memory leak
    ALSA: hda - Apply ideapad quirk to Acer laptops with Cxt5066
    ALSA: hda - Add some workarounds for Creative IBG
    ALSA: hda - Fix wrong SPDIF NID assignment for CA0110
    ALSA: hda - Fix codec rename rules for ALC662-compatible codecs
    ALSA: hda - Add alc_init_jacks() call to other codecs
    ...

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86: (44 commits)
    eeepc-wmi: Add cpufv sysfs interface
    eeepc-wmi: add additional hotkeys
    panasonic-laptop: Simplify calls to acpi_pcc_retrieve_biosdata
    panasonic-laptop: Handle errors properly if they happen
    intel_pmic_gpio: fix off-by-one value range checking
    IBM Real-Time "SMI Free" mode driver -v7
    Add OLPC XO-1 rfkill driver
    Move hdaps driver to platform/x86
    ideapad-laptop: Fix Makefile
    intel_pmic_gpio: swap the bits and mask args for intel_scu_ipc_update_register
    ideapad: Add param: no_bt_rfkill
    ideapad: Change the driver name to ideapad-laptop
    ideapad: rewrite the sw rfkill set
    ideapad: rewrite the hw rfkill notify
    ideapad: use EC command to control camera
    ideapad: use return value of _CFG to tell if device exist or not
    ideapad: make sure we bind on the correct device
    ideapad: check VPC bit before sync rfkill hw status
    ideapad: add ACPI helpers
    dell-laptop: Add debugfs support
    ...

    Linus Torvalds
     
  • * 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6:
    mtd/m25p80: add support to parse the partitions by OF node
    of/irq: of_irq.c needs to include linux/irq.h
    of/mips: Cleanup some include directives/files.
    of/mips: Add device tree support to MIPS
    of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch
    of/device: Rework to use common platform_device_alloc() for allocating devices
    of/xsysace: Fix OF probing on little-endian systems
    of: use __be32 types for big-endian device tree data
    of/irq: remove references to NO_IRQ in drivers/of/platform.c
    of/promtree: add package-to-path support to pdt
    of/promtree: add of_pdt namespace to pdt code
    of/promtree: no longer call prom_ functions directly; use an ops structure
    of/promtree: make drivers/of/pdt.c no longer sparc-only
    sparc: break out some PROM device-tree building code out into drivers/of
    of/sparc: convert various prom_* functions to use phandle
    sparc: stop exporting openprom.h header
    powerpc, of_serial: Endianness issues setting up the serial ports
    of: MTD: Fix OF probing on little-endian systems
    of: GPIO: Fix OF probing on little-endian systems

    Linus Torvalds
     
  • Commit b0ae19811375 ("security: remove unused parameter from
    security_task_setscheduler()") broke the build of
    arch/mips/kernel/mips-mt-fpaff.c. The function arguments were
    unnecessary, not the semicolon ...

    Signed-off-by: Ralf Baechle
    Acked-by: KOSAKI Motohiro
    Acked-by: James Morris
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (75 commits)
    Input: wacom - specify Cinitq supported tools
    Input: ab8500-ponkey - fix IRQ freeing in error path
    Input: adp5588-keys - use more obvious i2c_device_id name string
    Input: ad7877 - switch to using threaded IRQ
    Input: ad7877 - use attribute group to control visibility of attributes
    Input: serio - add support for PS2Mult multiplexer protocol
    Input: wacom - properly enable runtime PM
    Input: ad7877 - filter events where pressure is beyond the maximum
    Input: ad7877 - implement EV_KEY:BTN_TOUCH reporting
    Input: ad7877 - implement specified chip select behavior
    Input: hp680_ts_input - use cancel_delayed_work_sync()
    Input: mousedev - correct lockdep annotation
    Input: ads7846 - switch to using threaded IRQ
    Input: serio - support multiple child devices per single parent
    Input: synaptics - simplify pass-through port handling
    Input: add ROHM BU21013 touch panel controller support
    Input: omap4-keypad - wake-up on events & long presses
    Input: omap4-keypad - fix interrupt line configuration
    Input: omap4-keypad - SYSCONFIG register configuration
    Input: omap4-keypad - use platform device helpers
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (110 commits)
    sh: i2c-sh7760: Replase from ctrl_* to __raw_*
    sh: clkfwk: Shuffle around to match the intc split up.
    sh: clkfwk: modify for_each_frequency end condition
    sh: fix clk_get() error handling
    sh: clkfwk: Fix fault in frequency iterator.
    sh: clkfwk: Add a helper for rate rounding by divisor ranges.
    sh: clkfwk: Abstract rate rounding helper.
    sh: clkfwk: support clock remapping.
    sh: pci: Convert to upper/lower_32_bits() helpers.
    sh: mach-sdk7786: Add support for the FPGA SRAM.
    sh: Provide a generic SRAM pool for tiny memories.
    sh: pci: Support secondary FPGA-driven PCIe clocks on SDK7786.
    sh: pci: Support slot 4 routing on SDK7786.
    sh: Fix up PMB locking.
    sh: mach-sdk7786: Add support for fpga gpios.
    sh: use pr_fmt for clock framework, too.
    sh: remove name and id from struct clk
    sh: free-without-alloc fix for sh_mobile_lcdcfb
    sh: perf: Set up perf_max_events.
    sh: perf: Support SH-X3 hardware counters.
    ...

    Fix up trivial conflicts (perf_max_events got removed) in arch/sh/kernel/perf_event.c

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (21 commits)
    m68knommu: convert to using tracehook_report_syscall_*
    m68knommu: some boards use fixed phy for FEC ethernet
    m68knommu: support the external GPIO based interrupts of the 5272
    m68knommu: mask of vector bits in exception word properly
    m68knommu: change to new flag variables
    m68knommu: Fix MCFUART_TXFIFOSIZE for m548x.
    m68knommu: add basic mmu-less m548x support
    m68knommu: .gitignore vmlinux.lds
    m68knommu: stop using __do_IRQ
    m68knommu: rename PT_OFF_VECTOR to PT_OFF_FORMATVEC.
    m68knommu: add support for Coldfire 547x/548x interrupt controller
    m68k{nommu}: Remove unused DEFINE's from asm-offsets.c
    m68knommu: whitespace cleanup in 68328/entry.S
    m68knommu: Document supported chips in intc-2.c and intc-simr.c.
    m68knommu: fix strace support for 68328/68360
    m68knommu: fix default starting date
    arch/m68knommu: Removing dead 68328_SERIAL_UART2 config option
    arch/m68knommu: Removing dead RAM_{16,32}_MB config option
    arch/m68knommu: Removing dead M68KFPU_EMU config option
    arch/m68knommu: Removing dead RELOCATE config option
    ...

    Linus Torvalds
     
  • Export the cpu configuration topology via sysinfo. Two new lines are
    introduced:

    CPU Topology HW: 0 0 0 4 6 4
    CPU Topology SW: 0 0 0 0 4 24

    The HW line describes the cpu topology nesting levels when the maximum
    nesting level is used to get the corresponding SYSIB.
    The SW line describes what Linux is actually using. In this case it
    supports only two levels (CONFIG_SCHED_BOOK off) and therefore the
    hardware folded the two lower levels in the SYSIB response block.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Move the topology sysinfo SYSIB definitions to the proper place in
    asm/sysinfo.h where they should be.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Move cpu topology facility detection to early setup code where it
    should be.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Store the facility list once at system startup with stfl/stfle and
    reuse the result for all facility tests.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Signed-off-by: FUJITA Tomonori
    Cc: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Martin Schwidefsky

    FUJITA Tomonori
     
  • Enable PFPO, floating point extension, distinct-operands,
    fast-BCR-serialization, high-word, interlocked-access, load/store-
    on-condition, and population-count facilities for guests.
    (bits 37, 44 and 45).

    Signed-off-by: Christian Borntraeger
    Signed-off-by: Martin Schwidefsky

    Christian Borntraeger
     
  • commit 050eef364ad700590a605a0749f825cab4834b1e
    [S390] fix tlb flushing vs. concurrent /proc accesses
    broke KVM on s390x. On every schedule a
    Badness at include/asm/mmu_context.h:83 appears. s390_enable_sie
    replaces the mm on the __running__ task, therefore, we have to
    increase the attach count of the new mm.

    Signed-off-by: Christian Borntraeger
    Signed-off-by: Martin Schwidefsky

    Christian Borntraeger
     
  • Switch default value of the kernel parameter 'topology' from off to on.
    Various performance measurements have finally shown that there are no
    (known) regressions anywhere.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Up to now print_cpu_info() uses the cpu address stored in it's local
    lowcore to print a message to the console. The cpu address in the
    lowcore is (in this case) however not the physical cpu address of the
    local cpu. It's the address of the cpu that issued the sigp restart
    which started the local cpu.
    Fix this by using the store cpu address instruction instead.
    It's not that anybody really cares since this is broken since more than
    ten years...

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • The ieee_instruction_pointer can not be read from user space anymore
    since git commit 613e1def6b52c399a8b72a5e11bc2e57d2546fb8, the ptrace
    interface always returns zero. Remove it from the thread_struct. It
    is still present in the user_regs_struct for compatability reasons.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Do the setup of the stack overflow argument for the sixth system
    call parameter right before the branch to the system call function.
    That simplifies the system call parameter access code.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • The store-cpu-id instruction has a minimum alignment of 8. Reflect
    that in the definition of struct cpuid.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Read external interrupts parameters from the lowcore in the first
    level interrupt handler in entry[64].S.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Read all required fields for program checks from the lowcore in the
    first level interrupt handler in entry[64].S. If the context that
    caused the fault was enabled for interrupts we can now re-enable the
    irqs in entry[64].S.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • All architectures besides s390 have pte_mkhuge() defined in pgtable.h.
    So move the function to pgtable.h on s390 as well.
    Fixes a compile error introduced with "hugetlb: hugepage migration core"
    in linux-next which only happens on s390.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Raise SIGBUS with a siginfo structure. Deliver BUS_ADRERR as si_code and
    the address of the fault in the si_addr field.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • This patch adds a notification mechanism to inform ccw drivers
    about changes to channel paths, which occured while the device
    is online.

    Signed-off-by: Sebastian Ott
    Signed-off-by: Martin Schwidefsky

    Sebastian Ott
     
  • When the cmm module is compiled into the kernel it will crash when
    writing to the R/O data section.
    Reason is the lower to upper case conversion of the "sender" module
    parameter which ignored the fact that the pointer is preinitialized.

    Introduced with 41b42876 "cmm, smsgiucv_app: convert sender to
    uppercase"

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • schedule() makes sure that prev != next before calling switch_to().
    Therefore remove the redundant check.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • If the previous task was a kernel thread there is no need to save the
    contents of the fpu and access registers since they aren't used in
    kernel mode.
    For the same reason it is not necessary to restore these registers if
    the next task is a kernel thread.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Add a kernel config option for the IBM zEnterprise 196. This will
    produce faster code on newer compilers using the -march=z196 option.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Display machine capacity adjustment indicator and capacity
    change reason if available in /proc/sysinfo.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Add the new instructions introduced with z196 to the kernel disassembler.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Improve performance of the sske operation by using the nonquiescing
    variant if the affected page has no mappings established. On machines
    with no support for the new sske variant the mask bit will be ignored.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Use the store indication bit in the translation exception code on
    page faults to avoid the protection faults that immediatly follow
    the page fault if the access has been a write.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • There is no difference if cpu_die is called from enabled or disabled
    context. Except that the fast_gup code might be called via
    cpu_die -> idle_task_exit -> __mm_drop -> crst_table_free. Which in
    turn grabs and releases a spinlock using the _bh ops, which is not
    allowed in irq disabled context, since spin_unlock_bh will
    unconditionally enable interrupts again.
    To get rid of the warning emitted by the softirq code just move the
    code to enabled context.

    In this case this doesn't fix a bug, we just get rid of a warning.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     
  • Implement get_user_pages_fast without locking in the fastpath on s390.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Set ARCH_HAS_SG_CHAIN for scatter lists on s390. Without this flag the
    SCSI code limits the maximum number of segments, so set it to make
    proper use of the FCP channel hardware.

    Signed-off-by: Christof Schmitt
    Signed-off-by: Martin Schwidefsky

    Christof Schmitt
     
  • Introducing this Kbuild file allow us to:

    make arch/s390/

    And thus building all the core part of s390.
    Same as on other architectures.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens