15 Mar, 2013

1 commit

  • We have CONFIG_SYMBOL_PREFIX, which three archs define to the string
    "_". But Al Viro broke this in "consolidate cond_syscall and
    SYSCALL_ALIAS declarations" (in linux-next), and he's not the first to
    do so.

    Using CONFIG_SYMBOL_PREFIX is awkward, since we usually just want to
    prefix it so something. So various places define helpers which are
    defined to nothing if CONFIG_SYMBOL_PREFIX isn't set:

    1) include/asm-generic/unistd.h defines __SYMBOL_PREFIX.
    2) include/asm-generic/vmlinux.lds.h defines VMLINUX_SYMBOL(sym)
    3) include/linux/export.h defines MODULE_SYMBOL_PREFIX.
    4) include/linux/kernel.h defines SYMBOL_PREFIX (which differs from #7)
    5) kernel/modsign_certificate.S defines ASM_SYMBOL(sym)
    6) scripts/modpost.c defines MODULE_SYMBOL_PREFIX
    7) scripts/Makefile.lib defines SYMBOL_PREFIX on the commandline if
    CONFIG_SYMBOL_PREFIX is set, so that we have a non-string version
    for pasting.

    (arch/h8300/include/asm/linkage.h defines SYMBOL_NAME(), too).

    Let's solve this properly:
    1) No more generic prefix, just CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX.
    2) Make linux/export.h usable from asm.
    3) Define VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR().
    4) Make everyone use them.

    Signed-off-by: Rusty Russell
    Reviewed-by: James Hogan
    Tested-by: James Hogan (metag)

    Rusty Russell
     

13 Mar, 2013

2 commits

  • Pull drm nouveau fixes from Dave Airlie:
    "This is just nouveau fixes from Ben, one fixes a nasty oops that some
    Fedora people have been seeing, so I'd like to get it out of the way."

    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
    drm/nv50: use correct tiling methods for m2mf buffer moves
    drm/nouveau: idle channel before releasing notify object
    drm/nouveau: fix regression in vblanking
    drm/nv50: encoder creation failure doesn't mean full init failure

    Linus Torvalds
     
  • Pull ARM SoC fixes from Arnd Bergmann:
    "These bug fixes are for the largest part for mvebu/kirkwood, which saw
    a few regressions after the clock infrastructure was enabled, and for
    OMAP, which showed a few more preexisting bugs with the new
    multiplatform support.

    Other small fixes are for imx, mxs, tegra, spear and socfpga"

    * tag 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (37 commits)
    ARM: spear3xx: Use correct pl080 header file
    Arm: socfpga: pl330: Add #dma-cells for generic dma binding support
    ARM: multiplatform: Sort the max gpio numbers.
    ARM: imx: fix typo "DEBUG_IMX50_IMX53_UART"
    ARM: imx: pll1_sys should be an initial on clk
    arm: mach-orion5x: fix typo in compatible string of a .dts file
    arm: mvebu: fix address-cells in mpic DT node
    arm: plat-orion: fix address decoding when > 4GB is used
    arm: mvebu: Reduce reg-io-width with UARTs
    ARM: Dove: add RTC device node
    arm: mvebu: enable the USB ports on Armada 370 Reference Design board
    ARM: dove: drop "select COMMON_CLK_DOVE"
    rtc: rtc-mv: Add support for clk to avoid lockups
    gpio: mvebu: Add clk support to prevent lockup
    ARM: kirkwood: fix to retain gbe MAC addresses for DT kernels
    ARM: kirkwood: of_serial: fix clock gating by removing clock-frequency
    ARM: mxs: cfa10049: Fix fb initialisation function
    ARM: SPEAr13xx: Fix typo "ARCH_HAVE_CPUFREQ"
    ARM: OMAP: RX-51: add missing USB phy binding
    clk: Tegra: Remove duplicate smp_twd clock
    ...

    Linus Torvalds
     

12 Mar, 2013

1 commit

  • mvebu fixes for v3.9 from Jason Cooper :

    The first four patches:

    89c58c1 rtc: rtc-mv: Add support for clk to avoid lockups
    de88747 gpio: mvebu: Add clk support to prevent lockup
    7bf5b40 ARM: kirkwood: fix to retain gbe MAC addresses for DT kernels
    93fff4c ARM: kirkwood: of_serial: fix clock gating by removing clock-frequency

    are Cc'd to stable since they were held over from the previous merge window.

    The rest are a small collection of fixes and a couple of devicetree conversion
    catchups.

    * tag 'mvebu_fixes_for_v3.9' of git://git.infradead.org/users/jcooper/linux:
    arm: mach-orion5x: fix typo in compatible string of a .dts file
    arm: mvebu: fix address-cells in mpic DT node
    arm: plat-orion: fix address decoding when > 4GB is used
    arm: mvebu: Reduce reg-io-width with UARTs
    ARM: Dove: add RTC device node
    arm: mvebu: enable the USB ports on Armada 370 Reference Design board
    ARM: dove: drop "select COMMON_CLK_DOVE"
    rtc: rtc-mv: Add support for clk to avoid lockups
    gpio: mvebu: Add clk support to prevent lockup
    ARM: kirkwood: fix to retain gbe MAC addresses for DT kernels
    ARM: kirkwood: of_serial: fix clock gating by removing clock-frequency

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

11 Mar, 2013

11 commits

  • Pull networking fixes from David Miller:

    1) Missing cancel of work items in mac80211 MLME, from Ben Greear.

    2) Fix DMA mapping handling in iwlwifi by using coherent DMA for
    command headers, from Johannes Berg.

    3) Decrease the amount of pressure on the page allocator by using order
    1 pages less in iwlwifi, from Emmanuel Grumbach.

    4) Fix mesh PS broadcast OOPS in mac80211, from Marco Porsch.

    5) Don't forget to recalculate idle state in mac80211 monitor
    interface, from Felix Fietkau.

    6) Fix varargs in netfilter conntrack handler, from Joe Perches.

    7) Need to reset entire chip when command queue fills up in iwlwifi,
    from Emmanuel Grumbach.

    8) The TX antenna value must be valid when calibrations are performed
    in iwlwifi, fix from Dor Shaish.

    9) Don't generate netfilter audit log entries when audit is disabled,
    from Gao Feng.

    10) Deal with DMA unit hang on e1000e during power state transitions,
    from Bruce Allan.

    11) Remove BUILD_BUG_ON check from igb driver, from Alexander Duyck.

    12) Fix lockdep warning on i2c handling of igb driver, from Carolyn
    Wyborny.

    13) Fix several TTY handling issues in IRDA ircomm tty driver, from
    Peter Hurley.

    14) Several QFQ packet scheduler fixes from Paolo Valente.

    15) When VXLAN encapsulates on transmit, we have to reset the netfilter
    state. From Zang MingJie.

    16) Fix jiffie check in net_rx_action() so that we really cap the
    processing at 2HZ. From Eric Dumazet.

    17) Fix erroneous trigger of IP option space exhaustion, when routers
    are pre-specified and we are looking to see if we can insert a
    timestamp, we will have the space. From David Ward.

    18) Fix various issues in benet driver wrt waiting for firmware to
    finish POST after resets or errors. From Gavin Shan and Sathya
    Perla.

    19) Fix TX locking in SFC driver, from Ben Hutchings.

    20) Like the VXLAN fix above, when we encap in a TUN device we have to
    reset the netfilter state. This should fix several strange crashes
    reported by Dave Jones and others. From Eric Dumazet.

    21) Don't forget to clean up MAC address resources when shutting down a
    port in mlx4 driver, from Yan Burman.

    22) Fix divide by zero in vmxnet3 driver, from Bhavesh Davda.

    23) Fix device statistic regression in tg3 when the driver is using
    phylib, from Nithin Sujir.

    24) Fix info leak in several netlink handlers, from Mathias Krause.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (79 commits)
    6lowpan: Fix endianness issue in is_addr_link_local().
    rrunner.c: fix possible memory leak in rr_init_one()
    dcbnl: fix various netlink info leaks
    rtnl: fix info leak on RTM_GETLINK request for VF devices
    bridge: fix mdb info leaks
    tg3: Update link_up flag for phylib devices
    ipv6: stop multicast forwarding to process interface scoped addresses
    bridging: fix rx_handlers return code
    netlabel: fix build problems when CONFIG_IPV6=n
    drivers/isdn: checkng length to be sure not memory overflow
    net/rds: zero last byte for strncpy
    bnx2x: Fix SFP+ misconfiguration in iSCSI boot scenario
    bnx2x: Fix intermittent long KR2 link up time
    macvlan: Set IFF_UNICAST_FLT flag to prevent unnecessary promisc mode.
    team: unsyc the devices addresses when port is removed
    bridge: add missing vid to br_mdb_get()
    Fix: sparse warning in inet_csk_prepare_forced_close
    afkey: fix a typo
    MAINTAINERS: Update qlcnic maintainers list
    netlabel: correctly list all the static label mappings
    ...

    Linus Torvalds
     
  • Pull input updates from Dmitry Torokhov:
    "Except for the largish change to the ALPS driver adding "Dolphin V1"
    support and Wacom getting a new signature of yet another device, the
    rest are straightforward driver fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: mms114 - Fix regulator enable and disable paths
    Input: ads7864 - check return value of regulator enable
    Input: tc3589x-keypad - fix keymap size
    Input: wacom - add support for 0x10d
    Input: ALPS - update documentation for recent touchpad driver mods
    Input: ALPS - add "Dolphin V1" touchpad support
    Input: ALPS - remove unused argument to alps_enter_command_mode()
    Input: cypress_ps2 - fix trackpadi found in Dell XPS12

    Linus Torvalds
     
  • …u/linux-2.6 into drm-next

    Regression fixes and oops fixes for nouveau.

    * 'drm-nouveau-fixes-3.9' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
    drm/nv50: use correct tiling methods for m2mf buffer moves
    drm/nouveau: idle channel before releasing notify object
    drm/nouveau: fix regression in vblanking
    drm/nv50: encoder creation failure doesn't mean full init failure

    Dave Airlie
     
  • When it uses regulators the mms114 driver checks to see if it managed to
    acquire regulators and ignores errors. This is not the intended usage and
    not great style in general.

    Since the driver already refuses to probe if it fails to allocate the
    regulators simply make the enable and disable calls unconditional and
    add appropriate error handling, including adding cleanup of the
    regulators if setup_reg() fails.

    Signed-off-by: Mark Brown
    Acked-by: Joonyoung Shim
    Signed-off-by: Dmitry Torokhov

    Mark Brown
     
  • At least print a warning if we can't power the device up.

    Signed-off-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Mark Brown
     
  • The keymap size used by tc3589x is too low, leading to the driver
    overwriting other people's memory. Fix this by making the driver
    use the automatically allocated keymap provided by
    matrix_keypad_build_keymap() instead of allocating one on its own.

    Signed-off-by: Rabin Vincent
    Signed-off-by: Dmitry Torokhov

    Rabin Vincent
     
  • Currently used only on original nv50, nvaa and nvac.

    Signed-off-by: Marcin Slusarz
    Signed-off-by: Ben Skeggs

    Marcin Slusarz
     
  • Unmapping it while it's still in use (e.g. by M2MF) can lead to page faults
    and a lot of TRAP_M2MF spam in dmesg.

    Signed-off-by: Marcin Slusarz
    Signed-off-by: Ben Skeggs

    Marcin Slusarz
     
  • nv50_vblank_enable/disable got switched from NV50_PDISPLAY_INTR_EN_1_VBLANK_CRTC_0 (4) << head to 1 << head, which is wrong.

    4 << head is the correct value.

    Fixes regression with vblanking since 1d7c71a3e2f77 "drm/nouveau/disp: port vblank handling to event interface"

    Signed-off-by: Maarten Lankhorst
    Signed-off-by: Ben Skeggs

    Maarten Lankhorst
     
  • It's meant as a notification only, not a fatal error.

    Signed-off-by: Ben Skeggs

    Ben Skeggs
     
  • In the event that register_netdev() failed, the rrpriv->evt_ring
    allocation would have not been freed.

    Signed-off-by: David Oostdyk
    Signed-off-by: David S. Miller

    David Oostdyk
     

10 Mar, 2013

3 commits

  • Pull namespace bugfixes from Eric Biederman:
    "This is three simple fixes against 3.9-rc1. I have tested each of
    these fixes and verified they work correctly.

    The userns oops in key_change_session_keyring and the BUG_ON triggered
    by proc_ns_follow_link were found by Dave Jones.

    I am including the enhancement for mount to only trigger requests of
    filesystem modules here instead of delaying this for the 3.10 merge
    window because it is both trivial and the kind of change that tends to
    bit-rot if left untouched for two months."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
    proc: Use nd_jump_link in proc_ns_follow_link
    fs: Limit sys_mount to only request filesystem modules (Part 2).
    fs: Limit sys_mount to only request filesystem modules.
    userns: Stop oopsing in key_change_session_keyring

    Linus Torvalds
     
  • It is a Wacom device found in Fujitsu Lifebook T902.

    Signed-off-by: Stephan Frank
    Acked-by: Ping Cheng
    Signed-off-by: Dmitry Torokhov

    Stephan Frank
     
  • There is a more complete atmel patch-series out by Nick Dyer that fixes
    this and other things, but in the meantime this is the minimal thing to
    get the touchscreen going on (at least my) Pixel Chromebook.

    Not that I want my dirty fingers near that beautiful screen, but it
    seems that a non-initialized touchscreen will also end up being a
    constant wakeup source, so you have to disable it to go to sleep. And
    it's easier to just fix the initialization sequence.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

09 Mar, 2013

9 commits

  • Add basic platform data to get the current upstream driver working
    with the 224s touchpad and 1664s touchscreen.
    We will be using NULL config so we will use the settings from the
    devices' NVRAMs.

    Signed-off-by: Benson Leung
    Tested-by: Olof Johansson
    Signed-off-by: Linus Torvalds

    Benson Leung
     
  • This same driver can be used by atmel based touchscreens and touchpads
    (buttonpads). Platform data may specify a device is a touchpad
    using the is_tp flag.

    This will cause the driver to perform some touchpad specific
    initializations, such as:
    * register input device name "Atmel maXTouch Touchpad" instead of
    Touchscreen.
    * register BTN_LEFT & BTN_TOOL_* event types.
    * register axis resolution (as a fixed constant, for now)
    * register BUTTONPAD property
    * process GPIO buttons using reportid T19

    Input event GPIO mapping is done by the platform data key_map array.

    key_map[x] should contain the KEY or BTN code to send when processing
    GPIOx from T19. To specify a GPIO as not an input source, populate
    with KEY_RESERVED, or 0.

    Signed-off-by: Daniel Kurtz
    Signed-off-by: Benson Leung
    Signed-off-by: Nick Dyer
    Tested-by: Olof Johansson
    Signed-off-by: Linus Torvalds

    Daniel Kurtz
     
  • Merge misc fixes from Andrew Morton.

    * emailed patches from Andrew Morton :
    alpha: boot: fix build breakage introduced by system.h disintegration
    memcg: initialize kmem-cache destroying work earlier
    Randy has moved
    ksm: fix m68k build: only NUMA needs pfn_to_nid
    dmi_scan: fix missing check for _DMI_ signature in smbios_present()
    Revert parts of "hlist: drop the node parameter from iterators"
    idr: remove WARN_ON_ONCE() on negative IDs
    mm/mempolicy.c: fix sp_node_init() argument ordering
    mm/mempolicy.c: fix wrong sp_node insertion
    ipc: don't allocate a copy larger than max
    ipc: fix potential oops when src msg > 4k w/ MSG_COPY

    Linus Torvalds
     
  • Commit 9f9c9cbb6057 ("drivers/firmware/dmi_scan.c: fetch dmi version
    from SMBIOS if it exists") hoisted the check for "_DMI_" into
    dmi_scan_machine(), which means that we don't bother to check for
    "_DMI_" at offset 16 in an SMBIOS entry. smbios_present() may also call
    dmi_present() for an address where we found "_SM_", if it failed further
    validation.

    Check for "_DMI_" in smbios_present() before calling dmi_present().

    [akpm@linux-foundation.org: fix build]
    Signed-off-by: Ben Hutchings
    Reported-by: Tim McGrath
    Tested-by: Tim Mcgrath
    Cc: Zhenzhong Duan
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Hutchings
     
  • Pull HID fix from Jiri Kosina:
    "Bugfix for a long-standing bug in logitech-dj driver causing all sorts
    of random initialization problems, finally debugged by Benjamin
    Tissoires with help of Bob Bowles."

    * 'for-3.9/upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
    HID: logitech-dj: do not directly call hid_output_raw_report() during probe

    Linus Torvalds
     
  • Pull random fixes from Ted Ts'o:
    "Fix a circular locking dependency in random's collection of cputime
    used by a thread when it exits."

    * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
    random: fix locking dependency with the tasklist_lock

    Linus Torvalds
     
  • The Marvell RTC on Kirkwood makes use of the runit clock. Ensure the
    driver clk_prepare_enable() this clock, otherwise there is a danger
    the SoC will lockup when accessing RTC registers with the clock
    disabled.

    Reported-by: Simon Baatz
    Signed-off-by: Andrew Lunn
    Tested-by: Simon Baatz
    Cc:
    Signed-off-by: Jason Cooper

    Andrew Lunn
     
  • The kirkwood SoC GPIO cores use the runit clock. Add code to
    clk_prepare_enable() runit, otherwise there is a danger of locking up
    the SoC by accessing the GPIO registers when runit clock is not
    ticking.

    Reported-by: Simon Baatz
    Signed-off-by: Andrew Lunn
    Tested-by: Simon Baatz
    Acked-by: Linus Walleij
    Cc:
    Signed-off-by: Jason Cooper

    Andrew Lunn
     
  • Commit f4a46d1f46a8fece34edd2023e054072b02e110d introduced a bug where
    the ifconfig stats would remain 0 for phylib devices. This is due to
    tp->link_up flag never becoming true causing tg3_periodic_fetch_stats()
    to return.

    The link_up flag was being updated in tg3_test_and_report_link_chg()
    after setting up the phy. This function however, is not called for
    phylib devices since the driver does not do the phy setup.

    This patch moves the link_up flag update into the common
    tg3_link_report() function that gets called for phylib devices as well
    for non phylib devices when the link state changes.

    To avoid updating link_up twice, we replace tg3_carrier_...() calls that
    are followed by tg3_link_report(), with netif_carrier_...(). We can then
    remove the unused tg3_carrier_on() function.

    CC:
    Reported-by: OGAWA Hirofumi
    Signed-off-by: Nithin Nayak Sujir
    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Nithin Sujir
     

08 Mar, 2013

13 commits

  • sizeof (cmd.parm.cmsg.para) is 50 (MAX_CAPI_PARA_LEN).
    sizeof (cmd.parm) is 80+, but less than 100.
    strlen(msg) may be more than 80+ (Modem-Commandbuffer, less than 255).
    isdn_tty_send_msg is called by isdn_tty_parse_at
    the relative parameter is m->mdmcmd (atemu *m)
    the relative command may be "+M..."

    so need check the length to be sure not memory overflow.
    cmd.parm is a union, and need keep original valid buffer length no touch

    Signed-off-by: Chen Gang
    Signed-off-by: David S. Miller

    Chen Gang
     
  • Fix a problem in which iSCSI-boot installation fails when switching SFP+ boot
    port and moving the SFP+ module prior to boot. The SFP+ insertion triggers an
    interrupt which configures the SFP+ module wrongly before interface is loaded.

    Signed-off-by: Yaniv Rosner
    Signed-off-by: Eilon Greenstein
    Signed-off-by: David S. Miller

    Yaniv Rosner
     
  • When a KR2 device is connected to a KR link-partner, sometimes it requires
    disabling KR2 for the link to come up. To get a KR2 link up later, in case no
    base pages are seen, the KR2 is restored. The problem was that some link
    partners cleared their advertised BP/NP after around two seconds, causing the
    driver to disable/enable KR2 link all the time.
    The fix was to wait at least 5 seconds before checking KR2 recovery.

    Signed-off-by: Yaniv Rosner
    Signed-off-by: Eilon Greenstein
    Signed-off-by: David S. Miller

    Yaniv Rosner
     
  • Pull x86 fixes from Peter Anvin:
    "Several boot fixes (MacBook, legacy EFI bootloaders), another
    please-don't-brick fix, and some minor stuff."

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86: Do not try to sync identity map for non-mapped pages
    x86, doc: Be explicit about what the x86 struct boot_params requires
    x86: Don't clear efi_info even if the sentinel hits
    x86, mm: Make sure to find a 2M free block for the first mapped area
    x86: Fix 32-bit *_cpu_data initializers
    efivarfs: return accurate error code in efivarfs_fill_super()
    efivars: efivarfs_valid_name() should handle pstore syntax
    efi: be more paranoid about available space when creating variables
    iommu, x86: Add DMA remap fault reason
    x86, smpboot: Remove unused variable

    Linus Torvalds
     
  • Pull drm fixes from Dave Airlie:
    "Misc radeon, nouveau, mgag200 and intel fixes.

    The intel fixes should contain the fix for the touchpad on the
    Chromebook - hey I'm an input maintainer now!"

    Hate to pee on your parade, Dave, but I don't think being an input
    maintainer is necessarily something to strive for..

    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux: (25 commits)
    drm/tegra: drop "select DRM_HDMI"
    drm: Documentation typo fixes
    drm/mgag200: Bug fix: Renesas board now selects native resolution.
    drm/mgag200: Reject modes that are too big for VRAM
    drm/mgag200: 'fbdev_list' in 'struct mga_fbdev' is not used
    drm/radeon: don't check mipmap alignment if MIP_ADDRESS is FMASK
    drm/radeon: skip MC reset as it's probably not hung
    drm/radeon: add primary dac adj quirk for R200 board
    drm/radeon: don't set hpd, afmt interrupts when interrupts are disabled
    drm/i915: Turn off hsync and vsync on ADPA when disabling crt
    drm/i915: Fix incorrect definition of ADPA HSYNC and VSYNC bits
    drm/i915: also disable south interrupts when handling them
    drm/i915: enable irqs earlier when resuming
    drm/i915: Increase the RC6p threshold.
    DRM/i915: On G45 enable cursor plane briefly after enabling the display plane.
    drm/nv50-: prevent some races between modesetting and page flipping
    drm/nouveau/i2c: drop parent refcount when creating ports
    drm/nv84: fix regression in page flipping
    drm/nouveau: Fix typo in init_idx_addr_latched().
    drm/nouveau: Disable AGP on PowerPC again.
    ...

    Linus Torvalds
     
  • Pull ACPI and power management fixes from Rafael J Wysocki:

    - Two fixes for the new intel_pstate driver from Dirk Brandewie.

    - Fix for incorrect usage of the .find_bridge() callback from struct
    acpi_bus_type in the USB core and subsequent removal of that callback
    from Rafael J Wysocki.

    - ACPI processor driver cleanups from Chen Gang and Syam Sidhardhan.

    - ACPI initialization and error messages fix from Joe Perches.

    - Operating Performance Points documentation improvement from Nishanth
    Menon.

    - Fixes for memory leaks and potential concurrency issues and sysfs
    attributes leaks during device removal in the core device PM QoS code
    from Rafael J Wysocki.

    - Calxeda Highbank cpufreq driver simplification from Emilio López.

    - cpufreq comment cleanup from Namhyung Kim.

    - Fix for a section mismatch in Calxeda Highbank interprocessor
    communication code from Mark Langsdorf (this is not a PM fix strictly
    speaking, but the code in question went in through the PM tree).

    * tag 'pm+acpi-3.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq / intel_pstate: Do not load on VM that does not report max P state.
    cpufreq / intel_pstate: Fix intel_pstate_init() error path
    ACPI / glue: Drop .find_bridge() callback from struct acpi_bus_type
    ACPI / glue: Add .match() callback to struct acpi_bus_type
    ACPI / porocessor: Beautify code, pr->id is u32 which is never < 0
    ACPI / processor: Remove redundant NULL check before kfree
    ACPI / Sleep: Avoid interleaved message on errors
    PM / QoS: Remove device PM QoS sysfs attributes at the right place
    PM / QoS: Fix concurrency issues and memory leaks in device PM QoS
    cpufreq: highbank: do not initialize array with a loop
    PM / OPP: improve introductory documentation
    cpufreq: Fix a typo in comment
    mailbox, pl320-ipc: remove __init from probe function

    Linus Torvalds
     
  • Commit ac24c2204a76e5b42aa103bf963ae0eda1b827f3 ("drm/tegra: Use generic
    HDMI infoframe helpers") added "select DRM_HDMI" to the DRM_TEGRA
    Kconfig entry. But there is no Kconfig symbol named DRM_HDMI. The select
    statement for that symbol is a nop. Drop it.

    What was needed to use HDMI functionality was to select HDMI (which this
    entry already did through depending on DRM) and to include linux/hdmi.h
    (which this commit also did).

    Signed-off-by: Paul Bolle
    Acked-by: Thierry Reding
    Signed-off-by: Dave Airlie

    Paul Bolle
     
  • Renesas boards were consistently defaulting to the 1024x768 resolution,
    regardless of the native resolution of the monitor plugged in. It was
    determined that the EDID of the monitor was not being read. Since the
    DAC is a shared line, in order to read from or write to it we must take
    control of the DAC clock. This can be done by setting the proper
    register to one.

    This bug fix sets the register MGA1064_GEN_IO_CTL2 to one. The DAC
    control line can be used to determine whether or not a new monitor has
    been plugged in. But since the hotplug feature is not one we will
    support, it has been decided to simply leave the register set to one.

    Signed-off-by: Julia Lemire
    Signed-off-by: Dave Airlie

    Julia Lemire
     
  • A monitor or a user could request a resolution greater than the
    available VRAM for the backing framebuffer. This change checks the
    required framebuffer size against the max VRAM size and rejects modes
    if they are too big. This change can also remove a mode request passed
    in via the video= parameter.

    Signed-off-by: Christopher Harvey
    Signed-off-by: Dave Airlie

    Christopher Harvey
     
  • Signed-off-by: Christopher Harvey
    Signed-off-by: Dave Airlie

    Christopher Harvey
     
  • Macvlan already supports hw address filters. Set the IFF_UNICAST_FLT
    so that it doesn't needlesly enter PROMISC mode when macvlans are
    stacked.

    Signed-of-by: Vlad Yasevich

    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • When a team port is removed, unsync all devices addresses that may have
    been synched to the port devices.

    CC: Jiri Pirko
    Signed-off-by: Vlad Yasevich
    Acked-by: Jiri Pirko
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • EFI changes for v3.9-rc2,

    * Make the EFI variable code more paranoid about running out of
    space in NVRAM, since this is the root cause of the recent issue
    where machines refuse to boot - from Matthew Garrett.

    * Some efivarfs patches that fix regressions introduced in v3.9-rc1.

    Signed-off-by: H. Peter Anvin

    H. Peter Anvin