1. 22 Mar, 2012 40 commits
    • Al Viro's avatar
      Fix full_name_hash() behaviour when length is a multiple of 8 · f132c5be
      Al Viro authored
      We want it to match what hash_name() is doing, which means extra
      multiply by 9 in this case...
      Reported-and-Tested-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f132c5be
    • Linus Torvalds's avatar
      Merge branch 'drm-nouveau-destage' of git://people.freedesktop.org/~airlied/linux · ba331d5d
      Linus Torvalds authored
      Pull nouveau destaging + Kelper modesetting support from Dave Airlie:
       "This pull request is unexpected and not something I had mentioned
        previously.
      
        So NVIDIA announced new Kepler GPUs this morning, and Ben has killed
        himself getting modesetting support for them together to have on
        launch day.  Most of the code to support the new chips has already
        gone in, however this pull contains a few more pieces along with the
        final enables so the driver binds to the new Kepler cards.  Its quite
        amazing that nouveau can support a GPU on its launch day even if its
        just unaccelerated modesetting, and I'd like to have support in the
        next kernel.
      
        In order to sweeten the deal, Ben has also requested nouveau destage
        and become ABI stable, the only change is the version number bump
        which he prepared userspace for quite a long time ago.  The driver
        hasn't broken ABI since that one big break that caused a lot of fuss.
      
        It's also quite a small set of code, and not likely to break anything."
      
      * 'drm-nouveau-destage' of git://people.freedesktop.org/~airlied/linux:
        drm/nouveau/dp: support version 4.0 of DP table
        drm/nve0/disp: nvidia randomly decided to move the dithering method
        drm/nve0: initial modesetting support for kepler chipsets
        drm/nouveau: add bios connector type for dms59
        drm/nouveau: move out of staging drivers
        drm/nouveau: bump version to 1.0.0
        drm/nvd0/disp: ignore clock set if no pclk
        drm/nouveau: oops, increase channel dispc_vma to 4
        drm/nouveau: inform userspace of new kernel subchannel requirements
        drm/nouveau: remove m2mf creation on userspace channels
        drm/nvc0-/disp: reimplement flip completion method as fifo method
        drm/nouveau: move fence sequence check to start of loop
        drm/nouveau: remove subchannel names from places where it doesn't matter
        drm/nouveau/ttm: always do buffer moves on kernel channel
      ba331d5d
    • Linus Torvalds's avatar
      Merge branch 'drm-radeon-sitn-support' of git://people.freedesktop.org/~airlied/linux · 09fa3022
      Linus Torvalds authored
      Pull radeon southern islands / trinity support from Dave Airlie:
       "This is support from AMD for their newest GPU and APUs.  The products
        called RadeonHD 7xxx, and the Trinity APU series.
      
        This did come in a bit late, due to some over-complicated AMD internal
        review process, which from the outside seems unnecessary once the
        company has decided it wants to support open source.  However as I
        said previously I'd rather not put the people who've got this hw for 3
        months now being forced to use fglrx on it if there is open code.
      
        Its pretty well self contained and just plugs into the driver in
        various places."
      
      * 'drm-radeon-sitn-support' of git://people.freedesktop.org/~airlied/linux: (48 commits)
        drm/radeon/kms: update duallink checks for DCE6
        drm/radeon/kms: add trinity pci ids
        drm/radeon/kms: add radeon_asic struct for trinity
        drm/radeon/kms: add support for ucode loading on trinity (v2)
        drm/radeon/kms/vm: set vram base offset properly for TN
        drm/radeon/kms: Update evergreen functions for trinity
        drm/radeon/kms: cayman gpu init updates for trinity
        drm/radeon/kms: Add checks for TN in the DP bridge code
        drm/radeon/kms/DCE6.1: ss is not supported on the internal pplls
        drm/radeon/kms: disable PPLL0 on DCE6.1 when not in use
        drm/radeon/kms: Adjust pll picker for DCE6.1
        drm/radeon/kms: DCE6.1 disp eng pll updates
        drm/radeon/kms: DCE6.1 watermark updates for TN
        drm/radeon/kms: no support for internal thermal sensor on TN yet
        drm/radeon/kms: add trinity (TN) chip family
        drm/radeon/kms: Add SI pci ids
        drm/radeon: Update radeon_info_ioctl for SI. (v2)
        drm/radeon/kms: add radeon_asic struct for SI
        drm/radeon/kms: add support for compute rings in CS ioctl on SI
        drm/radeon/kms: fill in startup/shutdown callbacks for SI
        ...
      09fa3022
    • Linus Torvalds's avatar
      Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux · be53bfdb
      Linus Torvalds authored
      Pull drm main changes from Dave Airlie:
       "This is the main drm pull request, I'm probably going to send two more
        smaller ones, will explain below.
      
        This contains a patch that is also in the fbdev tree, but it should be
        the same patch, it added an API for hot unplugging framebuffer
        devices, and I need that API for a new driver.
      
        It also contains some changes to the i2c tree which Jean has acked,
        and one change to moorestown platform stuff in x86.
      
        Highlights:
         - new drivers: UDL driver for USB displaylink devices, kms only,
           should support correct hotplug operations.
         - core: i2c speedups + better hotplug support, EDID overriding via
           firmware interface - allows user to load a firmware for a broken
           monitor/kvm from userspace, it even has documentation for it.
         - exynos: new HDMI audio + hdmi 1.4 + virtual output driver
         - gma500: code cleanup
         - radeon: cleanups, CS optimisations, streamout support and pageflip
           fix
         - nouveau: NVD9 displayport support + more reclocking work
         - i915: re-enabling GMBUS, finish gpu patch (might help hibernation
           who knows), missed irq fixes, stencil tiling fixes, interlaced
           support, aliasesd PPGTT support for SNB/IVB, swizzling for SNB/IVB,
           semaphore fixes
      
        As well as the usual bunch of cleanups and fixes all over the place.
      
        I've got two things I'd like to merge a bit later:
      
         a) AMD support for all their new radeonhd 7000 series GPU and APUs.
            AMD dropped this a bit late due to insane internal review
            processes, (please AMD just follow Intel and let open source guys
            ship stuff early) however I don't want to penalise people who own
            this hardware (since its been on sale for 3-4 months and GPU hw
            doesn't exactly have a lifetime in years) and consign them to
            using closed drivers for longer than necessary.  The changes are
            well contained and just plug into the driver new gpu functionality
            so they should be fairly regression proof.  I just want to give
            them a bit of a run on the hw AMD kindly sent me.
      
         b) drm prime/dma-buf interface code.  This is just infrastructure
            code to expose the dma-buf stuff to drm drivers and to userspace.
            I'm not planning on pushing any driver support in this cycle
            (except maybe exynos), but I'd like to get the infrastructure code
            in so for the next cycle I can start getting the driver support
            into the individual drivers.  We have started driver support for
            i915, nouveau and udl along with I think exynos and omap in
            staging.  However this code relies on the dma-buf tree being
            pulled into your tree first since it needs the latest interfaces
            from that tree.  I'll push to get that tree sent asap.
      
        (oh and any warnings you see in i915 are gcc's fault from what anyone
        can see)."
      
      Fix up trivial conflicts in arch/x86/platform/mrst/mrst.c due to the new
      msic_thermal_platform_data() thermal function being added next to the
      tc35876x_platform_data() i2c device function..
      
      * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (326 commits)
        drm/i915: use DDC_ADDR instead of hard-coding it
        drm/radeon: use DDC_ADDR instead of hard-coding it
        drm: remove unneeded redefinition of DDC_ADDR
        drm/exynos: added virtual display driver.
        drm: allow loading an EDID as firmware to override broken monitor
        drm/exynos: enable hdmi audio feature
        drm/exynos: add default pixel format for plane
        drm/exynos: cleanup exynos_hdmi.h
        drm/exynos: add is_local member in exynos_drm_subdrv struct
        drm/exynos: add subdrv open/close functions
        drm/exynos: remove module of exynos drm subdrv
        drm/exynos: release pending pageflip events when closed
        drm/exynos: added new funtion to get/put dma address.
        drm/exynos: update gem and buffer framework.
        drm/exynos: added mode_fixup feature and code clean.
        drm/exynos: add HDMI version 1.4 support
        drm/exynos: remove exynos_mixer.h
        gma500: Fix mmap frambuffer
        drm/radeon: Drop radeon_gem_object_(un)pin.
        drm/radeon: Restrict offset for legacy display engine.
        ...
      be53bfdb
    • Linus Torvalds's avatar
      Merge tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · b2094ef8
      Linus Torvalds authored
      Pull updates of sound stuff from Takashi Iwai:
       "Here is the first big update chunk of sound stuff for 3.4-rc1.
      
        In the common sound infrastructure, there are a few changes for
        dynamic PCM support (used in ASoC) and a few clean-ups.  Majority of
        changes are found, as usual, in HD-audio and ASoC.
      
        Some highlights of HD-audio changes:
      
         - All the long-standing static quirk codes for Realtek codec were
           finally removed by fixing and extending the Realtek auto-parser.
      
         - The mute-LED control is standardized over all HD-audio codec
           drivers using the extended vmaster hook.
      
         - The vmaster slave mixer elements are initialized to 0dB as default
           so that the user won't be annoyed by the silent output after
           updates, e.g.  due to the additions of new elements.
      
         - Other many fix-ups for the misc HD-audio devices.
      
        In the ASoC side, this is a very active release, including a quite a
        few framework enhancements.  Some highlights:
      
         - Support for widgets not associated with a CODEC, an important part
           of the dynamic PCM framework.
      
         - A library factoring out the common code shared by dmaengine based
           DMA drivers contributed by Lars-Peter Clausen.  This will save a
           lot of code and make it much easier to deploy enhancements to
           dmaengine.
      
         - Support for binary controls, used for providing runtime
           configuration of algorithm coefficients.
      
         - A new DAPM widget type for regulator supplies allowing drivers for
           devices that can power down unused supplies while active to do
           without any per-driver code.
      
         - DAPM widgets for DAIs, initially giving a speed boost for playback
           startup and shutdown and also the basis for CODEC<->CODEC DAI link
           support.
      
         - Support for specifying the number of significant bits on audio
           interfaces, useful for allowing applications to know how much
           effort to put into generating data for a larger sample format.
      
         - Conversion of the FSI driver used on some SH processors to
           DMAEngine.
      
         - Conversion of EP93xx drivers to DMAEngine.
      
         - New CODEC drivers for Maxim MAX9768 and Wolfson Microelectronics
           WM2200.
      
         - Move audmux driver from arc/arm to sound/soc
      
         - McBSP move from arch/ to sound/ and updates
      
        Also, a few small updates and fixes for other drivers like au88x0,
        ymfpci, USB 6fire, USB usx2yaudio are included."
      
      * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (446 commits)
        ASoC: wm8994: Provide VMID mode control and fix default sequence
        ASoC: wm8994: Add missing break in resume
        ASoC: wm_hubs: Don't actively manage LINEOUT_VMID_BUF
        ASoC: pxa-ssp: atomically set stream active masks
        ASoC: fsl: p1022ds: tell the WM8776 codec driver that it's the master
        ASoC: Samsung: Added to support mono recording
        ALSA: hda - Fix build with CONFIG_PM=n
        ALSA: au88x0 - Avoid possible Oops at unbinding
        ALSA: usb-audio - Fix build error by consitification of rate list
        ASoC: core: Fix obscure leak of runtime array
        ALSA: pcm - Avoid GFP_ATOMIC in snd_pcm_link()
        ALSA: pcm: Constify the list in snd_pcm_hw_constraint_list
        ASoC: wm8996: Add 44.1kHz support
        ALSA: hda - Fix build of patch_sigmatel.c without CONFIG_SND_HDA_POWER_SAVE
        ASoC: mx27vis-aic32x4: Convert it to platform driver
        ALSA: hda - fix printing of high HDMI sample rates
        ALSA: ymfpci - Fix legacy registers on S3/S4 resume
        ALSA: control - Fixe a trailing white space error
        ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook()
        ALSA: hda - Add "Mute-LED Mode" enum control
        ...
      b2094ef8
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 · 424a6f6e
      Linus Torvalds authored
      SCSI updates from James Bottomley:
       "The update includes the usual assortment of driver updates (lpfc,
        qla2xxx, qla4xxx, bfa, bnx2fc, bnx2i, isci, fcoe, hpsa) plus a huge
        amount of infrastructure work in the SAS library and transport class
        as well as an iSCSI update.  There's also a new SCSI based virtio
        driver."
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (177 commits)
        [SCSI] qla4xxx: Update driver version to 5.02.00-k15
        [SCSI] qla4xxx: trivial cleanup
        [SCSI] qla4xxx: Fix sparse warning
        [SCSI] qla4xxx: Add support for multiple session per host.
        [SCSI] qla4xxx: Export CHAP index as sysfs attribute
        [SCSI] scsi_transport: Export CHAP index as sysfs attribute
        [SCSI] qla4xxx: Add support to display CHAP list and delete CHAP entry
        [SCSI] iscsi_transport: Add support to display CHAP list and delete CHAP entry
        [SCSI] pm8001: fix endian issue with code optimization.
        [SCSI] pm8001: Fix possible racing condition.
        [SCSI] pm8001: Fix bogus interrupt state flag issue.
        [SCSI] ipr: update PCI ID definitions for new adapters
        [SCSI] qla2xxx: handle default case in qla2x00_request_firmware()
        [SCSI] isci: improvements in driver unloading routine
        [SCSI] isci: improve phy event warnings
        [SCSI] isci: debug, provide state-enum-to-string conversions
        [SCSI] scsi_transport_sas: 'enable' phys on reset
        [SCSI] libsas: don't recover end devices attached to disabled phys
        [SCSI] libsas: fixup target_port_protocols for expanders that don't report sata
        [SCSI] libsas: set attached device type and target protocols for local phys
        ...
      424a6f6e
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · 1ab142d4
      Linus Torvalds authored
      Pull SCSI target updates from Nicholas Bellinger:
       "This contains the usual set of updates and bugfixes to target-core +
        existing fabric module code, along with a handful of the patches
        destined for v3.3 stable.
      
        It also contains the necessary target-core infrastructure pieces
        required to run using tcm_qla2xxx.ko WWPNs with the new Qlogic Fibre
        Channel fabric module currently queued in target-pending/for-next-merge,
        and coming for round 2.
      
        The highlights for this series include:
      
         - Add target_submit_tmr() helper function for fabric task management
           (andy)
         - Convert tcm_fc to use target_submit_tmr() (andy)
         - Replace target core various cmd flags with a transport state (hch)
         - Convert loopback to use workqueue submission (hch)
         - Convert target core to use array_zalloc for tpg_lun_list (joern)
         - Convert target core to use array_zalloc for device_list (joern)
         - Add target core support for TMR_ABORT_TASK (nab)
         - Add target core se_sess->sess_kref + get/put helpers (nab)
         - Add target core se_node_acl->acl_kref for ->acl_free_comp usage
           (nab)
         - Convert iscsi-target to use target_put_session + sess_kref (nab)
         - Fix tcm_fc fc_exch memory leak in ft_send_resp_status (nab)
         - Fix ib_srpt srpt_handle_cmd send_ioctx->ioctx_kref leak on
           exception (nab)
         - Fix target core up handling of short INQUIRY buffers (roland)
         - Untangle target-core front-end and back-end meanings of max_sectors
           attribute (roland)
         - Set loopback residual field for SCSI commands (roland)
         - Fix target-core 16-bit target ports for SET TARGET PORT GROUPS
           emulation (roland)
      
        Thanks again to Andy, Christoph, Joern, Roland, and everyone who has
        contributed this round!"
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending: (64 commits)
        ib_srpt: Fix srpt_handle_cmd send_ioctx->ioctx_kref leak on exception
        loopback: Fix transport_generic_allocate_tasks error handling
        iscsi-target: remove improper externs
        iscsi-target: Remove unused variables in iscsi_target_parameters.c
        target: remove obvious warnings
        target: Use array_zalloc for device_list
        target: Use array_zalloc for tpg_lun_list
        target: Fix sense code for unsupported SERVICE ACTION IN
        target: Remove hack to make READ CAPACITY(10) lie if thin provisioning is enabled
        target: Bump core version to v4.1.0-rc2-ml + fabric versions
        tcm_fc: Fix fc_exch memory leak in ft_send_resp_status
        target: Drop unused legacy target_core_fabric_ops API callers
        iscsi-target: Convert to use target_put_session + sess_kref
        target: Convert se_node_acl->acl_group removal to use ->acl_kref
        target: Add se_node_acl->acl_kref for ->acl_free_comp usage
        target: Add se_node_acl->acl_free_comp for NodeACL release path
        target: Add se_sess->sess_kref + get/put helpers
        target: Convert session_lock to irqsave
        target: Fix typo in drivers/target
        iscsi-target: Fix dynamic -> explict NodeACL pointer reference
        ...
      1ab142d4
    • Linus Torvalds's avatar
      Merge tag 'md-3.4' of git://neil.brown.name/md · 267d7b23
      Linus Torvalds authored
      Pull md updates for 3.4 from Neil Brown:
       "Mostly tidying up code in preparation for some bigger changes next
        time.
      
        A few bug fixes tagged for -stable.
      
        Main functionality change is that some RAID10 arrays can now grow to
        use extra space that may have been made available on the individual
        devices."
      
      Fixed up trivial conflicts with the k[un]map_atomic() cleanups in
      drivers/md/bitmap.c.
      
      * tag 'md-3.4' of git://neil.brown.name/md: (22 commits)
        md: Add judgement bb->unacked_exist in function md_ack_all_badblocks().
        md: fix clearing of the 'changed' flags for the bad blocks list.
        md/bitmap: discard CHUNK_BLOCK_SHIFT macro
        md/bitmap: remove unnecessary indirection when allocating.
        md/bitmap: remove some pointless locking.
        md/bitmap: change a 'goto' to a normal 'if' construct.
        md/bitmap: move printing of bitmap status to bitmap.c
        md/bitmap: remove some unused noise from bitmap.h
        md/raid10 - support resizing some RAID10 arrays.
        md/raid1: handle merge_bvec_fn in member devices.
        md/raid10: handle merge_bvec_fn in member devices.
        md: add proper merge_bvec handling to RAID0 and Linear.
        md: tidy up rdev_for_each usage.
        md/raid1,raid10: avoid deadlock during resync/recovery.
        md/bitmap: ensure to load bitmap when creating via sysfs.
        md: don't set md arrays to readonly on shutdown.
        md: allow re-add to failed arrays.
        md/raid5: use atomic_dec_return() instead of atomic_dec() and atomic_read().
        md: Use existed macros instead of numbers
        md/raid5: removed unused 'added_devices' variable.
        ...
      267d7b23
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 28f23d1f
      Linus Torvalds authored
      Pull x86 "urgent" leftovers from Ingo Molnar:
       "Pending x86/urgent bits that were not high prio enough to warrant
        -rc-less v3.3-final inclusion."
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, efi: Fix pointer math issue in handle_ramdisks()
        x86/ioapic: Add register level checks to detect bogus io-apic entries
        x86, mce: Fix rcu splat in drain_mce_log_buffer()
        x86, memblock: Move mem_hole_size() to .init
      28f23d1f
    • Linus Torvalds's avatar
      Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 23904815
      Linus Torvalds authored
      Pull x86 platform changes from Ingo Molnar.
      
      Removes the Moorestown platform that nobody ever used.
      
      * 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/platform: Move APIC ID validity check into platform APIC code
        x86/olpc/xo15/sci: Enable lid close wakeup control
        x86/geode/net5501: Add platform driver for Soekris Engineering net5501
        x86/geode/alix2: Supplement driver to include GPIO button support
        x86/mid/powerbtn: Use MSIC read/write instead of ipc_scu
        x86/mid/thermal: Turn off thermistor
        x86/mid/thermal: Add msic_thermal alias
        x86/mid/thermal: Convert to use Intel MSIC API
        x86/mid/scu_ipc: Remove Moorestown support
        x86/mid: Kill off Moorestown
        x86/mrst: Add msic_thermal platform support
        x86/config: Select MSIC MFD driver on Intel Medfield platform
        x86/mid: Remove Intel Moorestown
        x86/mrst: Set ISA bus type for fake MP IRQs
        x86/ioapic: Use legacy_pic to set correct gsi-irq mapping
      23904815
    • Linus Torvalds's avatar
      Merge branch 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 754b9800
      Linus Torvalds authored
      Pull MCE changes from Ingo Molnar.
      
      * 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mce: Fix return value of mce_chrdev_read() when erst is disabled
        x86/mce: Convert static array of pointers to per-cpu variables
        x86/mce: Replace hard coded hex constants with symbolic defines
        x86/mce: Recognise machine check bank signature for data path error
        x86/mce: Handle "action required" errors
        x86/mce: Add mechanism to safely save information in MCE handler
        x86/mce: Create helper function to save addr/misc when needed
        HWPOISON: Add code to handle "action required" errors.
        HWPOISON: Clean up memory_failure() vs. __memory_failure()
      754b9800
    • Linus Torvalds's avatar
      Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 35cb8d9e
      Linus Torvalds authored
      Pull x86/fpu changes from Ingo Molnar.
      
      * 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        i387: Split up <asm/i387.h> into exported and internal interfaces
        i387: Uninline the generic FP helpers that we expose to kernel modules
      35cb8d9e
    • Linus Torvalds's avatar
      Merge branch 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 02c50256
      Linus Torvalds authored
      Pull x86/build changes from Ingo Molnar.
      
      * 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, build: Fix portability issues when cross-building
        x86, tools: Remove unneeded header files from tools/build.c
        USB: ffs-test: Don't duplicate {get,put}_unaligned*() functions
        x86, efi: Fix endian issues and unaligned accesses
        x86, boot: Restrict CFLAGS for hostprogs
        x86, mkpiggy: Don't open code put_unaligned_le32()
        x86, relocs: Don't open code put_unaligned_le32()
        tools/include: Add byteshift headers for endian access
      02c50256
    • Linus Torvalds's avatar
      Merge branch 'x86-eficross-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f06fc0c0
      Linus Torvalds authored
      Pull x86/eficross (booting 32/64-bit kernel from 64/32-bit EFI) from Ingo Molnar
      
      * 'x86-eficross-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, efi: Allow basic init with mixed 32/64-bit efi/kernel
        x86, efi: Add basic error handling
        x86, efi: Cleanup config table walking
        x86, efi: Convert printk to pr_*()
        x86, efi: Refactor efi_init() a bit
      f06fc0c0
    • Linus Torvalds's avatar
      Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4c64616b
      Linus Torvalds authored
      Pull x86/debug changes from Ingo Molnar.
      
      * 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: Fix section warnings
        x86-64: Fix CFI data for common_interrupt()
        x86: Properly _init-annotate NMI selftest code
        x86/debug: Fix/improve the show_msr=<cpus> debug print out
      4c64616b
    • Linus Torvalds's avatar
      Merge branches 'x86-cpu-for-linus', 'x86-boot-for-linus',... · c5c7fb8f
      Linus Torvalds authored
      Merge branches 'x86-cpu-for-linus', 'x86-boot-for-linus', 'x86-cpufeature-for-linus', 'x86-process-for-linus' and 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
      
      Pull trivial x86 branches from Ingo Molnar: small one-liners to fix up
      details.
      
      * 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: Remove some noise from boot log when starting cpus
      
      * 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, boot: Fix port argument to inl() function
      
      * 'x86-cpufeature-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, cpufeature: Add CPU features from Intel document 319433-012A
      
      * 'x86-process-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86_64: Record stack pointer before task execution begins
      
      * 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/UV: Lower UV rtc clocksource rating
      c5c7fb8f
    • Linus Torvalds's avatar
      Merge branch 'x86-atomic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1b674bf1
      Linus Torvalds authored
      Pull x86/atomic changes from Ingo Molnar.
      
      * 'x86-atomic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: atomic64 assembly improvements
        x86: Adjust asm constraints in atomic64 wrappers
      1b674bf1
    • Linus Torvalds's avatar
      Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e17fdf5c
      Linus Torvalds authored
      Pull x86/asm changes from Ingo Molnar
      
      * 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: Include probe_roms.h in probe_roms.c
        x86/32: Print control and debug registers for kerenel context
        x86: Tighten dependencies of CPU_SUP_*_32
        x86/numa: Improve internode cache alignment
        x86: Fix the NMI nesting comments
        x86-64: Improve insn scheduling in SAVE_ARGS_IRQ
        x86-64: Fix CFI annotations for NMI nesting code
        bitops: Add missing parentheses to new get_order macro
        bitops: Optimise get_order()
        bitops: Adjust the comment on get_order() to describe the size==0 case
        x86/spinlocks: Eliminate TICKET_MASK
        x86-64: Handle byte-wise tail copying in memcpy() without a loop
        x86-64: Fix memcpy() to support sizes of 4Gb and above
        x86-64: Fix memset() to support sizes of 4Gb and above
        x86-64: Slightly shorten copy_page()
      e17fdf5c
    • Linus Torvalds's avatar
      Merge branch 'akpm' (Andrew's patch-bomb) · 95211279
      Linus Torvalds authored
      Merge first batch of patches from Andrew Morton:
       "A few misc things and all the MM queue"
      
      * emailed from Andrew Morton <akpm@linux-foundation.org>: (92 commits)
        memcg: avoid THP split in task migration
        thp: add HPAGE_PMD_* definitions for !CONFIG_TRANSPARENT_HUGEPAGE
        memcg: clean up existing move charge code
        mm/memcontrol.c: remove unnecessary 'break' in mem_cgroup_read()
        mm/memcontrol.c: remove redundant BUG_ON() in mem_cgroup_usage_unregister_event()
        mm/memcontrol.c: s/stealed/stolen/
        memcg: fix performance of mem_cgroup_begin_update_page_stat()
        memcg: remove PCG_FILE_MAPPED
        memcg: use new logic for page stat accounting
        memcg: remove PCG_MOVE_LOCK flag from page_cgroup
        memcg: simplify move_account() check
        memcg: remove EXPORT_SYMBOL(mem_cgroup_update_page_stat)
        memcg: kill dead prev_priority stubs
        memcg: remove PCG_CACHE page_cgroup flag
        memcg: let css_get_next() rely upon rcu_read_lock()
        cgroup: revert ss_id_lock to spinlock
        idr: make idr_get_next() good for rcu_read_lock()
        memcg: remove unnecessary thp check in page stat accounting
        memcg: remove redundant returns
        memcg: enum lru_list lru
        ...
      95211279
    • Dave Airlie's avatar
      Merge branch 'drm-nouveau-next' of git://git.freedesktop.org/git/nouveau/linux-2.6 into drm-next · 1898f442
      Dave Airlie authored
      * 'drm-nouveau-next' of git://git.freedesktop.org/git/nouveau/linux-2.6:
        drm/nouveau/dp: support version 4.0 of DP table
        drm/nve0/disp: nvidia randomly decided to move the dithering method
        drm/nve0: initial modesetting support for kepler chipsets
        drm/nouveau: add bios connector type for dms59
        drm/nouveau: move out of staging drivers
        drm/nouveau: bump version to 1.0.0
        drm/nvd0/disp: ignore clock set if no pclk
        drm/nouveau: oops, increase channel dispc_vma to 4
        drm/nouveau: inform userspace of new kernel subchannel requirements
        drm/nouveau: remove m2mf creation on userspace channels
        drm/nvc0-/disp: reimplement flip completion method as fifo method
        drm/nouveau: move fence sequence check to start of loop
        drm/nouveau: remove subchannel names from places where it doesn't matter
        drm/nouveau/ttm: always do buffer moves on kernel channel
      1898f442
    • Ben Skeggs's avatar
      65445992
    • Ben Skeggs's avatar
    • Ben Skeggs's avatar
      68455a43
    • Ben Skeggs's avatar
      drm/nouveau: add bios connector type for dms59 · fa2c113a
      Ben Skeggs authored
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      fa2c113a
    • Ben Skeggs's avatar
      drm/nouveau: move out of staging drivers · f3c93cbd
      Ben Skeggs authored
      There's really no good reason for us to be in here anymore, we have to
      maintain this ABI anyway to avoid angering people.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      f3c93cbd
    • Ben Skeggs's avatar
      drm/nouveau: bump version to 1.0.0 · f887c425
      Ben Skeggs authored
      The time has come to get a proper version number that we can change to
      indicate new features etc, rather than the lock-step 0.0.XX that we
      previously had.
      
      libdrm has recognised this version as compatible with 0.0.16 since 2.4.22,
      so hopefully any breakage people see should be very minimal.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      f887c425
    • Ben Skeggs's avatar
      drm/nvd0/disp: ignore clock set if no pclk · dd62608b
      Ben Skeggs authored
      This happens somehow during init on a machine I have, and leads to a
      divide-by-zero.
      
      Lets avoid that...
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      dd62608b
    • Ben Skeggs's avatar
      27100ac9
    • Ben Skeggs's avatar
      drm/nouveau: inform userspace of new kernel subchannel requirements · 664695ae
      Ben Skeggs authored
      All available subchannels are now available for userspace to do with as it
      pleases on NVC0+.
      
      On all earlier chipsets, the kernel still uses a software object on subc 0
      to implement the page flip completion method.  I hope to find some decent
      way of addressing this too, but it's a tad tricker prior to fermi.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      664695ae
    • Ben Skeggs's avatar
      48aca13f
    • Ben Skeggs's avatar
      drm/nvc0-/disp: reimplement flip completion method as fifo method · d5316e25
      Ben Skeggs authored
      Removes need for M2MF subchannel usage on NVC0+.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      d5316e25
    • Ben Skeggs's avatar
      drm/nouveau: move fence sequence check to start of loop · b08abd4e
      Ben Skeggs authored
      I want to be able to use REF_CNT from other places in the kernel without
      pushing a fence object onto the list of emitted fences.
      
      The current code makes an assumption that every time the acked sequence is
      bumped that there's at least one fence on the list that'll be signalled.
      
      This will no longer be true in the near future.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      b08abd4e
    • Ben Skeggs's avatar
      drm/nouveau: remove subchannel names from places where it doesn't matter · b5b2e598
      Ben Skeggs authored
      These are FIFO methods, it doesn't matter what subchannel is being used.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      b5b2e598
    • Ben Skeggs's avatar
      drm/nouveau/ttm: always do buffer moves on kernel channel · accf9496
      Ben Skeggs authored
      There was once good reasons for wanting the drm to be able to use M2MF etc
      on user channels, but they're not relevant anymore.  For the general
      buffer move case, we've already lost by transferring between vram/sysmem
      already so the context switching overhead is minimal in comparison.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      accf9496
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 5375871d
      Linus Torvalds authored
      Pull powerpc merge from Benjamin Herrenschmidt:
       "Here's the powerpc batch for this merge window.  It is going to be a
        bit more nasty than usual as in touching things outside of
        arch/powerpc mostly due to the big iSeriesectomy :-) We finally got
        rid of the bugger (legacy iSeries support) which was a PITA to
        maintain and that nobody really used anymore.
      
        Here are some of the highlights:
      
         - Legacy iSeries is gone.  Thanks Stephen ! There's still some bits
           and pieces remaining if you do a grep -ir series arch/powerpc but
           they are harmless and will be removed in the next few weeks
           hopefully.
      
         - The 'fadump' functionality (Firmware Assisted Dump) replaces the
           previous (equivalent) "pHyp assisted dump"...  it's a rewrite of a
           mechanism to get the hypervisor to do crash dumps on pSeries, the
           new implementation hopefully being much more reliable.  Thanks
           Mahesh Salgaonkar.
      
         - The "EEH" code (pSeries PCI error handling & recovery) got a big
           spring cleaning, motivated by the need to be able to implement a
           new backend for it on top of some new different type of firwmare.
      
           The work isn't complete yet, but a good chunk of the cleanups is
           there.  Note that this adds a field to struct device_node which is
           not very nice and which Grant objects to.  I will have a patch soon
           that moves that to a powerpc private data structure (hopefully
           before rc1) and we'll improve things further later on (hopefully
           getting rid of the need for that pointer completely).  Thanks Gavin
           Shan.
      
         - I dug into our exception & interrupt handling code to improve the
           way we do lazy interrupt handling (and make it work properly with
           "edge" triggered interrupt sources), and while at it found & fixed
           a wagon of issues in those areas, including adding support for page
           fault retry & fatal signals on page faults.
      
         - Your usual random batch of small fixes & updates, including a bunch
           of new embedded boards, both Freescale and APM based ones, etc..."
      
      I fixed up some conflicts with the generalized irq-domain changes from
      Grant Likely, hopefully correctly.
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (141 commits)
        powerpc/ps3: Do not adjust the wrapper load address
        powerpc: Remove the rest of the legacy iSeries include files
        powerpc: Remove the remaining CONFIG_PPC_ISERIES pieces
        init: Remove CONFIG_PPC_ISERIES
        powerpc: Remove FW_FEATURE ISERIES from arch code
        tty/hvc_vio: FW_FEATURE_ISERIES is no longer selectable
        powerpc/spufs: Fix double unlocks
        powerpc/5200: convert mpc5200 to use of_platform_populate()
        powerpc/mpc5200: add options to mpc5200_defconfig
        powerpc/mpc52xx: add a4m072 board support
        powerpc/mpc5200: update mpc5200_defconfig to fit for charon board
        Documentation/powerpc/mpc52xx.txt: Checkpatch cleanup
        powerpc/44x: Add additional device support for APM821xx SoC and Bluestone board
        powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board
        MAINTAINERS: Update PowerPC 4xx tree
        powerpc/44x: The bug fixed support for APM821xx SoC and Bluestone board
        powerpc: document the FSL MPIC message register binding
        powerpc: add support for MPIC message register API
        powerpc/fsl: Added aliased MSIIR register address to MSI node in dts
        powerpc/85xx: mpc8548cds - add 36-bit dts
        ...
      5375871d
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · b57cb723
      Linus Torvalds authored
      Pull m68knommu arch updates from Greg Ungerer:
       "Includes a cleanup of the non-MMU linker script (it now almost
        exclusively uses the well defined linker script support macros and
        definitions).  Some more merging of MMU and non-MMU common files
        (specifically the arch process.c, ptrace and time.c).  And a big
        cleanup of the massively duplicated ColdFire device definition code.
      
        Overall we remove about 2000 lines of code, and end up with a single
        set of platform device definitions for the serial ports, ethernet
        ports and QSPI ports common in most ColdFire SoCs.
      
        I expect you will get a merge conflict on arch/m68k/kernel/process.c,
        in cpu_idle().  It should be relatively strait forward to fixup."
      
      And cpu_idle() conflict resolution was indeed trivial (merging the
      nommu/mmu versions of process.c trivially conflicting with the
      conversion to use the schedule_preempt_disabled() helper function)
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (57 commits)
        m68knommu: factor more common ColdFire cpu reset code
        m68knommu: make 528x CPU reset register addressing consistent
        m68knommu: make 527x CPU reset register addressing consistent
        m68knommu: make 523x CPU reset register addressing consistent
        m68knommu: factor some common ColdFire cpu reset code
        m68knommu: move old ColdFire timers init from CPU init to timers code
        m68knommu: clean up init code in ColdFire 532x startup
        m68knommu: clean up init code in ColdFire 528x startup
        m68knommu: clean up init code in ColdFire 523x startup
        m68knommu: merge common ColdFire QSPI platform setup code
        m68knommu: make 532x QSPI platform addressing consistent
        m68knommu: make 528x QSPI platform addressing consistent
        m68knommu: make 527x QSPI platform addressing consistent
        m68knommu: make 5249 QSPI platform addressing consistent
        m68knommu: make 523x QSPI platform addressing consistent
        m68knommu: make 520x QSPI platform addressing consistent
        m68knommu: merge common ColdFire FEC platform setup code
        m68knommu: make 532x FEC platform addressing consistent
        m68knommu: make 528x FEC platform addressing consistent
        m68knommu: make 527x FEC platform addressing consistent
        ...
      b57cb723
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw · ad12ab25
      Linus Torvalds authored
      Pull gfs2 changes from Steven Whitehouse.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw:
        GFS2: Change truncate page allocation to be GFP_NOFS
        GFS2: call gfs2_write_alloc_required for each chunk
        GFS2: Clean up log flush header writing
        GFS2: Remove a __GFP_NOFAIL allocation
        GFS2: Flush pending glock work when evicting an inode
        GFS2: make sure rgrps are up to date in func gfs2_blk2rgrpd
        GFS2: Eliminate sd_rindex_mutex
        GFS2: Unlock rindex mutex on glock error
        GFS2: Make bd_cmp() static
        GFS2: Sort the ordered write list
        GFS2: FITRIM ioctl support
        GFS2: Move two functions from log.c to lops.c
        GFS2: glock statistics gathering
      ad12ab25
    • Naoya Horiguchi's avatar
      memcg: avoid THP split in task migration · 12724850
      Naoya Horiguchi authored
      Currently we can't do task migration among memory cgroups without THP
      split, which means processes heavily using THP experience large overhead
      in task migration.  This patch introduces the code for moving charge of
      THP and makes THP more valuable.
      Signed-off-by: default avatarNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
      Acked-by: default avatarHillf Danton <dhillf@gmail.com>
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Acked-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      12724850
    • Naoya Horiguchi's avatar
      thp: add HPAGE_PMD_* definitions for !CONFIG_TRANSPARENT_HUGEPAGE · d8c37c48
      Naoya Horiguchi authored
      These macros will be used in a later patch, where all usages are expected
      to be optimized away without #ifdef CONFIG_TRANSPARENT_HUGEPAGE.  But to
      detect unexpected usages, we convert the existing BUG() to BUILD_BUG().
      
      [akpm@linux-foundation.org: fix build in mm/pgtable-generic.c]
      Signed-off-by: default avatarNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
      Acked-by: default avatarHillf Danton <dhillf@gmail.com>
      Reviewed-by: default avatarAndrea Arcangeli <aarcange@redhat.com>
      Reviewed-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Acked-by: default avatarDavid Rientjes <rientjes@google.com>
      Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d8c37c48
    • Naoya Horiguchi's avatar
      memcg: clean up existing move charge code · 8d32ff84
      Naoya Horiguchi authored
      - Replace lengthy function name is_target_pte_for_mc() with a shorter
        one in order to avoid ugly line breaks.
      
      - explicitly use MC_TARGET_* instead of simply using integers.
      Signed-off-by: default avatarNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
      Cc: Hillf Danton <dhillf@gmail.com>
      Cc: David Rientjes <rientjes@google.com>
      Acked-by: default avatarHillf Danton <dhillf@gmail.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      8d32ff84