05 Aug, 2010

14 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1443 commits)
    phy/marvell: add 88ec048 support
    igb: Program MDICNFG register prior to PHY init
    e1000e: correct MAC-PHY interconnect register offset for 82579
    hso: Add new product ID
    can: Add driver for esd CAN-USB/2 device
    l2tp: fix export of header file for userspace
    can-raw: Fix skb_orphan_try handling
    Revert "net: remove zap_completion_queue"
    net: cleanup inclusion
    phy/marvell: add 88e1121 interface mode support
    u32: negative offset fix
    net: Fix a typo from "dev" to "ndev"
    igb: Use irq_synchronize per vector when using MSI-X
    ixgbevf: fix null pointer dereference due to filter being set for VLAN 0
    e1000e: Fix irq_synchronize in MSI-X case
    e1000e: register pm_qos request on hardware activation
    ip_fragment: fix subtracting PPPOE_SES_HLEN from mtu twice
    net: Add getsockopt support for TCP thin-streams
    cxgb4: update driver version
    cxgb4: add new PCI IDs
    ...

    Manually fix up conflicts in:
    - drivers/net/e1000e/netdev.c: due to pm_qos registration
    infrastructure changes
    - drivers/net/phy/marvell.c: conflict between adding 88ec048 support
    and cleaning up the IDs
    - drivers/net/wireless/ipw2x00/ipw2100.c: trivial ipw2100_pm_qos_req
    conflict (registration change vs marking it static)

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft-2.6:
    ibft: Use IBFT_SIGN instead of open-coding the search string.
    ibft: convert iscsi_ibft module to iscsi boot lib
    ibft: separate ibft parsing from sysfs interface
    ibft: For UEFI machines actually do scan ACPI for iBFT.
    ibft: Update iBFT handling for v1.03 of the spec.

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
    amd64_edac: Minor formatting fix
    amd64_edac: Fix operator precendence error
    edac, mc: Improve scrub rate handling
    amd64_edac: Correct scrub rate setting
    amd64_edac: Fix DCT base address selector
    amd64_edac: Remove polling mechanism
    x86, mce: Notify about corrected events too
    amd64_edac: Remove unneeded defines
    edac: Remove EDAC_DEBUG_VERBOSE
    amd64_edac: Sanitize syndrome extraction

    Linus Torvalds
     
  • Commit 8f92054e7ca1 ("CRED: Fix __task_cred()'s lockdep check and banner
    comment") fixed the lockdep checks on __task_cred(). This has shown up
    a place in the signalling code where a lock should be held - namely that
    check_kill_permission() requires its callers to hold the RCU lock.

    Fix group_send_sig_info() to get the RCU read lock around its call to
    check_kill_permission().

    Without this patch, the following warning can occur:

    ===================================================
    [ INFO: suspicious rcu_dereference_check() usage. ]
    ---------------------------------------------------
    kernel/signal.c:660 invoked rcu_dereference_check() without protection!
    ...

    Reported-by: Tetsuo Handa
    Signed-off-by: David Howells
    Acked-by: Oleg Nesterov
    Signed-off-by: Linus Torvalds

    David Howells
     
  • bd_prepare_to_claim() incorrectly allowed multiple attempts for
    exclusive open to progress in parallel if the attempting holders are
    identical. This triggered BUG_ON() as reported in the following bug.

    https://bugzilla.kernel.org/show_bug.cgi?id=16393

    __bd_abort_claiming() is used to finish claiming blocks and doesn't
    work if multiple openers are inside a claiming block. Allowing
    multiple parallel open attempts to continue doesn't gain anything as
    those are serialized down in the call chain anyway. Fix it by always
    allowing only single open attempt in a claiming block.

    This problem can easily be reproduced by adding a delay after
    bd_prepare_to_claim() and attempting to mount two partitions of a
    disk.

    stable: only applicable to v2.6.35

    Signed-off-by: Tejun Heo
    Reported-by: Markus Trippelsdorf
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds

    Tejun Heo
     
  • The firmware handles '\t' internally, so stop trying to emulate it
    (which, incidentally, had a bug in it.)

    Fixes a really weird hang at bootup in rcu_bootup_announce, which,
    as far as I can tell, is the first printk in the core kernel to use
    a tab as the first character.

    Cc: stable@kernel.org
    Signed-off-by: Kyle McMartin
    Signed-off-by: Linus Torvalds

    Kyle McMartin
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
    PM / Runtime: Add runtime PM statistics (v3)
    PM / Runtime: Make runtime_status attribute not debug-only (v. 2)
    PM: Do not use dynamically allocated objects in pm_wakeup_event()
    PM / Suspend: Fix ordering of calls in suspend error paths
    PM / Hibernate: Fix snapshot error code path
    PM / Hibernate: Fix hibernation_platform_enter()
    pm_qos: Get rid of the allocation in pm_qos_add_request()
    pm_qos: Reimplement using plists
    plist: Add plist_last
    PM: Make it possible to avoid races between wakeup and system sleep
    PNPACPI: Add support for remote wakeup
    PM: describe kernel policy regarding wakeup defaults (v. 2)
    PM / Hibernate: Fix typos in comments in kernel/power/swap.c

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] Remove pointless printk from p4-clockmod.
    [CPUFREQ] Fix section mismatch for powernow_cpu_init in powernow-k7.c
    [CPUFREQ] Fix section mismatch for longhaul_cpu_init.
    [CPUFREQ] Fix section mismatch for longrun_cpu_init.
    [CPUFREQ] powernow-k8: Fix misleading variable naming
    [CPUFREQ] Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used)
    [CPUFREQ] arch/x86/kernel/cpu/cpufreq: use for_each_pci_dev()
    [CPUFREQ] fix brace coding style issue.
    [CPUFREQ] x86 cpufreq: Make trace_power_frequency cpufreq driver independent
    [CPUFREQ] acpi-cpufreq: Fix CPU_ANY CPUFREQ_{PRE,POST}CHANGE notification
    [CPUFREQ] ondemand: don't synchronize sample rate unless multiple cpus present
    [CPUFREQ] unexport (un)lock_policy_rwsem* functions
    [CPUFREQ] ondemand: Refactor frequency increase code
    [CPUFREQ] powernow-k8: On load failure, remind the user to enable support in BIOS setup
    [CPUFREQ] powernow-k8: Limit Pstate transition latency check
    [CPUFREQ] Fix PCC driver error path
    [CPUFREQ] fix double freeing in error path of pcc-cpufreq
    [CPUFREQ] pcc driver should check for pcch method before calling _OSC
    [CPUFREQ] fix memory leak in cpufreq_add_dev
    [CPUFREQ] revert "[CPUFREQ] remove rwsem lock from CPUFREQ_GOV_STOP call (second call site)"

    Manually fix up non-data merge conflict introduced by new calling
    conventions for trace_power_start() in commit 6f4f2723d085 ("x86
    cpufreq: Make trace_power_frequency cpufreq driver independent"), which
    didn't update the intel_idle native hardware cpuidle driver.

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86: (88 commits)
    ips driver: make it less chatty
    intel_scu_ipc: fix size field for intel_scu_ipc_command
    intel_scu_ipc: return -EIO for error condition in busy_loop
    intel_scu_ipc: fix data packing of PMIC command on Moorestown
    Clean up command packing on MRST.
    zero the stack buffer before giving random garbage to the SCU
    Fix stack buffer size for IPC writev messages
    intel_scu_ipc: Use the new cpu identification function
    intel_scu_ipc: tidy up unused bits
    Remove indirect read write api support.
    intel_scu_ipc: Support Medfield processors
    intel_scu_ipc: detect CPU type automatically
    x86 plat: limit x86 platform driver menu to X86
    acpi ec_sys: Be more cautious about ec write access
    acpi ec: Fix possible double io port registration
    hp-wmi: acpi_drivers.h is already included through acpi.h two lines below
    hp-wmi: Fix mixing up of and/or directive
    dell-laptop: make dell_laptop_i8042_filter() static
    asus-laptop: fix asus_input_init error path
    msi-wmi: make needlessly global symbols static
    ...

    Linus Torvalds
     
  • * 'kvm-updates/2.6.36' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (198 commits)
    KVM: VMX: Fix host GDT.LIMIT corruption
    KVM: MMU: using __xchg_spte more smarter
    KVM: MMU: cleanup spte set and accssed/dirty tracking
    KVM: MMU: don't atomicly set spte if it's not present
    KVM: MMU: fix page dirty tracking lost while sync page
    KVM: MMU: fix broken page accessed tracking with ept enabled
    KVM: MMU: add missing reserved bits check in speculative path
    KVM: MMU: fix mmu notifier invalidate handler for huge spte
    KVM: x86 emulator: fix xchg instruction emulation
    KVM: x86: Call mask notifiers from pic
    KVM: x86: never re-execute instruction with enabled tdp
    KVM: Document KVM_GET_SUPPORTED_CPUID2 ioctl
    KVM: x86: emulator: inc/dec can have lock prefix
    KVM: MMU: Eliminate redundant temporaries in FNAME(fetch)
    KVM: MMU: Validate all gptes during fetch, not just those used for new pages
    KVM: MMU: Simplify spte fetch() function
    KVM: MMU: Add gpte_valid() helper
    KVM: MMU: Add validate_direct_spte() helper
    KVM: MMU: Add drop_large_spte() helper
    KVM: MMU: Use __set_spte to link shadow pages
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (57 commits)
    Input: adp5588-keypad - fix NULL dereference in adp5588_gpio_add()
    Input: cy8ctmg110 - capacitive touchscreen support
    Input: keyboard - also match braille-only keyboards
    Input: adp5588-keys - export unused GPIO pins
    Input: xpad - add product ID for Hori Fighting Stick EX2
    Input: adxl34x - fix leak and use after free
    Input: samsung-keypad - Add samsung keypad driver
    Input: i8042 - reset keyboard controller wehen resuming from S2R
    Input: synaptics - set min/max for finger width
    Input: synaptics - only report width on hardware that supports it
    Input: evdev - signal that device is writable in evdev_poll()
    Input: mousedev - signal that device is writable in mousedev_poll()
    Input: change input handlers to use bool when possible
    Input: document the MT event slot protocol
    Input: introduce MT event slots
    Input: usbtouchscreen - implement reset_resume
    Input: usbtouchscreen - implement runtime power management
    Input: usbtouchscreen - implement basic suspend/resume
    Input: Add ATMEL QT602240 touchscreen driver
    Input: fix signedness warning in input_set_keycode()
    ...

    Linus Torvalds
     
  • * 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (243 commits)
    V4L/DVB: sms: Convert IR support to use the Remote Controller core
    V4L/DVB: sms: properly initialize IR phys and IR name
    V4L/DVB: standardize names at rc-dib0700 tables
    V4L/DVB: smsusb: enable IR port for Hauppauge WinTV MiniStick
    V4L/DVB: dib0700: Fix RC protocol logic to properly handle NEC/NECx and RC-5
    V4L/DVB: dib0700: properly implement IR change_protocol
    V4L/DVB: dib0700: break keytable into NEC and RC-5 variants
    V4L/DVB: dib0700: avoid bad repeat
    V4L/DVB: Port dib0700 to rc-core
    V4L/DVB: Add a keymap file with dib0700 table
    V4L/DVB: dvb-usb: add support for rc-core mode
    V4L/DVB: dvb-usb: prepare drivers for using rc-core
    V4L/DVB: dvb-usb: get rid of struct dvb_usb_rc_key
    V4L/DVB: rj54n1cb0c: fix a comment in the driver
    V4L/DVB: V4L2: sh_vou: VOU does support the full PAL resolution too
    V4L/DVB: V4L2: sh_mobile_camera_ceu: add support for CSI2
    V4L/DVB: V4L2: soc-camera: add a MIPI CSI-2 driver for SH-Mobile platforms
    V4L/DVB: V4L2: soc-camera: export soc-camera bus type for notifications
    V4L/DVB: V4L2: mediabus: add 12-bit Bayer and YUV420 pixel formats
    V4L/DVB: mediabus: fix ambiguous pixel code names
    ...

    Linus Torvalds
     
  • …/git/konrad/swiotlb-2.6

    * 'stable/swiotlb-0.8.3' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb-2.6:
    swiotlb: Make swiotlb bookkeeping functions visible in the header file.
    swiotlb: search and replace "int dir" with "enum dma_data_direction dir"
    swiotlb: Make internal bookkeeping functions have 'swiotlb_tbl' prefix.
    swiotlb: add the swiotlb initialization function with iotlb memory
    swiotlb: add swiotlb_tbl_map_single library function

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: (90 commits)
    AppArmor: fix build warnings for non-const use of get_task_cred
    selinux: convert the policy type_attr_map to flex_array
    AppArmor: Enable configuring and building of the AppArmor security module
    TOMOYO: Use pathname specified by policy rather than execve()
    AppArmor: update path_truncate method to latest version
    AppArmor: core policy routines
    AppArmor: policy routines for loading and unpacking policy
    AppArmor: mediation of non file objects
    AppArmor: LSM interface, and security module initialization
    AppArmor: Enable configuring and building of the AppArmor security module
    AppArmor: update Maintainer and Documentation
    AppArmor: functions for domain transitions
    AppArmor: file enforcement routines
    AppArmor: userspace interfaces
    AppArmor: dfa match engine
    AppArmor: contexts used in attaching policy to system objects
    AppArmor: basic auditing infrastructure.
    AppArmor: misc. base functions and defines
    TOMOYO: Update version to 2.3.0
    TOMOYO: Fix quota check.
    ...

    Linus Torvalds
     

04 Aug, 2010

26 commits

  • EDAC MC3: CE page 0xc32281, offset 0x8a0, grain 0, syndrome 0x1, row 2, channel 1, label "": amd64_edac
    EDAC MC3: CE - no information available: amd64_edacError Overflow

    Add the missing space before "Error Overflow" on the second line.

    Signed-off-by: Borislav Petkov

    Borislav Petkov
     
  • The bitwise AND is of higher precedence, make that explicit.

    Cc: # 34.x
    Signed-off-by: Borislav Petkov

    Borislav Petkov
     
  • Marvell 88ec048 is a derivative of its 88e1121r device. From the programmer's
    perspective, the one major difference is the addition of an additional control
    bit in Page 2 Register 16 - used to control the padding of odd nibble
    preambles.

    This patch adds support for this new device, while inheriting as much code as
    possible from the existing 88e1121r implementation.

    Signed-off-by: Cyril Chemparathy
    Signed-off-by: David S. Miller

    Cyril Chemparathy
     
  • This patch addresses an issue seen on 82580 in which the MDICNFG
    register will be reset during a single function reset and as a
    result we will be unable to communicate with the PHY. To correct
    the issue, added a call to reset_mdicnfg just prior to the first
    access of the MDICNFG register in sgnii_uses_mdio.

    Signed-off-by: Alexander Duyck
    Tested-by: Jeff Pieper
    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Alexander Duyck
     
  • The MAC-PHY interconnect register set on ICH/PCH parts is accessed through
    a peephole mechanism by writing an offset to a CSR register. The offset
    for the interconnect's half-duplex control register (which is used in a
    jumbo frame workaround for 82579) is incorrect.

    Signed-off-by: Bruce Allan
    Tested-by: Jeff Pieper
    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Bruce Allan
     
  • This patch adds a new product ID to the hso driver.

    Signed-off-by: Filip Aben
    Signed-off-by: David S. Miller

    Filip Aben
     
  • This patch adds a driver for esd's USB high speed
    CAN interface. The driver supports devices with
    multiple CAN interfaces.

    Signed-off-by: Matthias Fuchs
    Acked-by: Wolfgang Grandegger
    Signed-off-by: David S. Miller

    Matthias Fuchs
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw:
    GFS2: Fix recovery stuck bug (try #2)
    GFS2: Fix typo in stuffed file data copy handling
    Revert "GFS2: recovery stuck on transaction lock"
    GFS2: Make "try" lock not try quite so hard
    GFS2: remove dependency on __GFP_NOFAIL
    GFS2: Simplify gfs2_write_alloc_required
    GFS2: Wait for journal id on mount if not specified on mount command line
    GFS2: Use nobh_writepage

    Linus Torvalds
     
  • * 'linux-next' of git://git.infradead.org/ubi-2.6:
    UBI: do not warn unnecessarily
    UBI: do not print message about corruptes PEBs if we have none of them
    UBI: improve delete-compatible volumes handling
    UBI: fix error message and compilation warnings
    UBI: generate random image_seq when formatting MTD devices
    UBI: improve ECC error message
    UBI: improve corrupted flash handling
    UBI: introduce eraseblock counter variables
    UBI: introduce a new IO return code
    UBI: simplify IO error codes

    Linus Torvalds
     
  • * 'linux-next' of git://git.infradead.org/ubifs-2.6:
    UBIFS: fix a memory leak on error path.
    UBIFS: fix GC LEB recovery
    UBIFS: use ERR_CAST
    UBIFS: check return code

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs: (22 commits)
    9p: fix sparse warnings in new xattr code
    fs/9p: remove sparse warning in vfs_inode
    fs/9p: destroy fid on failed remove
    fs/9p: Prevent parallel rename when doing fid_lookup
    fs/9p: Add support user. xattr
    net/9p: Implement TXATTRCREATE 9p call
    net/9p: Implement attrwalk 9p call
    9p: Implement LOPEN
    fs/9p: This patch implements TLCREATE for 9p2000.L protocol.
    9p: Implement TMKDIR
    9p: Implement TMKNOD
    9p: Define and implement TSYMLINK for 9P2000.L
    9p: Define and implement TLINK for 9P2000.L
    9p: Define and implement TLINK for 9P2000.L
    9p: Implement client side of setattr for 9P2000.L protocol.
    9p: getattr client implementation for 9P2000.L protocol.
    fs/9p: Pass the correct user credentials during attach
    net/9p: Handle the server returned error properly
    9p: readdir implementation for 9p2000.L
    9p: Make use of iounit for read/write
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://oss.sgi.com/xfs/xfs: (49 commits)
    xfs simplify and speed up direct I/O completions
    xfs: move aio completion after unwritten extent conversion
    direct-io: move aio_complete into ->end_io
    xfs: fix big endian build
    xfs: clean up xfs_bmap_get_bp
    xfs: simplify xfs_truncate_file
    xfs: kill the b_strat callback in xfs_buf
    xfs: remove obsolete osyncisosync mount option
    xfs: clean up filestreams helpers
    xfs: fix gcc 4.6 set but not read and unused statement warnings
    xfs: Fix build when CONFIG_XFS_POSIX_ACL=n
    xfs: fix unsigned underflow in xfs_free_eofblocks
    xfs: use GFP_NOFS for page cache allocation
    xfs: fix memory reclaim recursion deadlock on locked inode buffer
    xfs: fix xfs_trans_add_item() lockdep warnings
    xfs: simplify and remove xfs_ireclaim
    xfs: don't block on buffer read errors
    xfs: move inode shrinker unregister even earlier
    xfs: remove a dmapi leftover
    xfs: writepage always has buffers
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (29 commits)
    cifs: fsc should not default to "on"
    [CIFS] remove redundant path walking in dfs_do_refmount
    cifs: ignore the "mand", "nomand" and "_netdev" mount options
    cifs: map NT_STATUS_ERROR_WRITE_PROTECTED to -EROFS
    cifs: don't allow cifs_iget to match inodes of the wrong type
    [CIFS] relinquish fscache cookie before freeing CIFSTconInfo
    cifs: add separate cred_uid field to sesInfo
    fs: cifs: check kmalloc() result
    [CIFS] Missing ifdef
    [CIFS] Missing line from previous commit
    [CIFS] Fix build break when CONFIG_CIFS_FSCACHE disabled
    cifs: add mount option to enable local caching
    cifs: read pages from FS-Cache
    cifs: store pages into local cache
    cifs: FS-Cache page management
    cifs: define inode-level cache object and register them
    cifs: define superblock-level cache index objects and register them
    cifs: remove unused cifsUidInfo struct
    cifs: clean up cifs_find_smb_ses (try #2)
    cifs: match secType when searching for existing tcp session
    ...

    Linus Torvalds
     
  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (291 commits)
    ARM: AMBA: Add pclk support to AMBA bus infrastructure
    ARM: 6278/2: fix regression in RealView after the introduction of pclk
    ARM: 6277/1: mach-shmobile: Allow users to select HZ, default to 128
    ARM: 6276/1: mach-shmobile: remove duplicate NR_IRQS_LEGACY
    ARM: 6246/1: mmci: support larger MMCIDATALENGTH register
    ARM: 6245/1: mmci: enable hardware flow control on Ux500 variants
    ARM: 6244/1: mmci: add variant data and default MCICLOCK support
    ARM: 6243/1: mmci: pass power_mode to the translate_vdd callback
    ARM: 6274/1: add global control registers definition header file for nuc900
    mx2_camera: fix type of dma buffer virtual address pointer
    mx2_camera: Add soc_camera support for i.MX25/i.MX27
    arm/imx/gpio: add spinlock protection
    ARM: Add support for the LPC32XX arch
    ARM: LPC32XX: Arch config menu supoport and makefiles
    ARM: LPC32XX: Phytec 3250 platform support
    ARM: LPC32XX: Misc support functions
    ARM: LPC32XX: Serial support code
    ARM: LPC32XX: System suspend support
    ARM: LPC32XX: GPIO, timer, and IRQ drivers
    ARM: LPC32XX: Clock driver
    ...

    Linus Torvalds
     
  • The only machines this is triggering on should be supported by
    acpi-cpufreq or acpi's internal throttling.

    Signed-off-by: Dave Jones

    Dave Jones
     
  • Use __cpuinit instead of __init for the cpufreq_driver
    init function like it is done in powernow-k8.c.

    This is removing the warning generated when compiling with
    the CONFIG_DEBUG_SECTION_MISMATCH=y option.

    Signed-off-by: Holger Hans Peter Freyther
    Signed-off-by: Dave Jones

    Holger Freyther
     
  • Use __cpuinit instead of __init for the cpufreq_driver
    init function like it is done in powernow-k8.c. Use the
    __cpuinitdata for data used by the routines marked as __cpuinit.

    This is removing the warning generated when compiling with
    the CONFIG_DEBUG_SECTION_MISMATCH=y option.

    Signed-off-by: Holger Hans Peter Freyther
    Signed-off-by: Dave Jones

    Holger Freyther
     
  • Use __cpuinit instead of __init for the cpufreq_driver
    init function like it is done in powernow-k8.c.

    This is removing the warning generated when compiling with
    the CONFIG_DEBUG_SECTION_MISMATCH=y option.

    Signed-off-by: Holger Hans Peter Freyther
    Signed-off-by: Dave Jones

    Holger Freyther
     
  • rdmsr() takes the lower 32 bits as a second argument and the high 32 as
    a third. Fix the names accordingly since they were swapped.

    There should be no functionality change resulting from this patch.

    Signed-off-by: Borislav Petkov
    Signed-off-by: Dave Jones

    Borislav Petkov
     
  • This patch converts pci_table entries, where .subvendor=PCI_ANY_ID and
    .subdevice=PCI_ANY_ID, .class=0 and .class_mask=0, to use the
    PCI_VDEVICE macro, and thus improves readability.

    Signed-off-by: Peter Huewe
    Signed-off-by: Dave Jones

    Peter Huewe
     
  • Use for_each_pci_dev() to simplify the code.

    Signed-off-by: Kulikov Vasiliy
    Signed-off-by: Dave Jones

    Kulikov Vasiliy
     
  • This patch fixes up a brace warning found by the checkpatch.pl tool

    Signed-off-by: Neal Buckendahl
    Signed-off-by: Dave Jones

    Neal Buckendahl
     
  • and fix the broken case if a core's frequency depends on others.

    trace_power_frequency was only implemented in a rather ungeneric way
    in acpi-cpufreq driver's target() function only.
    -> Move the call to trace_power_frequency to
    cpufreq.c:cpufreq_notify_transition() where CPUFREQ_POSTCHANGE
    notifier is triggered.
    This will support power frequency tracing by all cpufreq drivers

    trace_power_frequency did not trace frequency changes correctly when
    the userspace governor was used or when CPU cores' frequency depend
    on each other.
    -> Moving this into the CPUFREQ_POSTCHANGE notifier and pass the cpu
    which gets switched automatically fixes this.

    Robert Schoene provided some important fixes on top of my initial
    quick shot version which are integrated in this patch:
    - Forgot some changes in power_end trace (TP_printk/variable names)
    - Variable dummy in power_end must now be cpu_id
    - Use static 64 bit variable instead of unsigned int for cpu_id

    Signed-off-by: Thomas Renninger
    CC: davej@redhat.com
    CC: arjan@infradead.org
    CC: linux-kernel@vger.kernel.org
    CC: robert.schoene@tu-dresden.de
    Tested-by: robert.schoene@tu-dresden.de
    Signed-off-by: Dave Jones

    Thomas Renninger
     
  • Signed-off-by: Thomas Renninger
    CC: venki@google.com
    CC: davej@redhat.com
    CC: arjan@infradead.org
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Dave Jones

    Thomas Renninger
     
  • For UP systems this is not required, and results in a more consistent
    sample interval.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Jocelyn Falempe
    Signed-off-by: Mike Chan
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Jones

    Jocelyn Falempe
     
  • lock_policy_rwsem_* and unlock_policy_rwsem_* functions are scheduled
    to be unexported when 2.6.33. Now there are no other callers of them
    out of cpufreq.c, unexport them and make them static.

    Signed-off-by: WANG Cong
    Cc: Venkatesh Pallipadi
    Signed-off-by: Dave Jones

    Amerigo Wang