Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync up with Linus #57

Merged
merged 2,621 commits into from
Apr 14, 2015
Merged

Sync up with Linus #57

merged 2,621 commits into from
Apr 14, 2015
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 3, 2015

  1. isp1760-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    1cf6563 View commit details
    Browse the repository at this point in the history
  2. dummy_hcd: use USB_DT[_SS]_HUB

    Fix  using  the  bare numbers to set the 'bDescriptorType' field of the Hub
    Descriptors while the values are #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    2569ffd View commit details
    Browse the repository at this point in the history
  3. dwc2: hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    a5dd039 View commit details
    Browse the repository at this point in the history
  4. c67x00-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    e27465f View commit details
    Browse the repository at this point in the history
  5. uhci-hub: use USB_DT_HUB

    Fix  using the  bare numbers to set the 'bHubCharacteristics' field of the Hub
    Descriptor while the values are #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    3e5dd4c View commit details
    Browse the repository at this point in the history
  6. u132-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    0ce6fe9 View commit details
    Browse the repository at this point in the history
  7. sl811-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    e283ef1 View commit details
    Browse the repository at this point in the history
  8. r8a66597-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    5e77bea View commit details
    Browse the repository at this point in the history
  9. oxu210hp-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    2c42c08 View commit details
    Browse the repository at this point in the history
  10. ohci-hub: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    7a2d267 View commit details
    Browse the repository at this point in the history
  11. max3421-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    e3d02e0 View commit details
    Browse the repository at this point in the history
  12. isp1362-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    00d29b3 View commit details
    Browse the repository at this point in the history
  13. isp116x-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    6a08556 View commit details
    Browse the repository at this point in the history
  14. imx21-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    72cce8c View commit details
    Browse the repository at this point in the history
  15. fusbh200-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    87327b1 View commit details
    Browse the repository at this point in the history
  16. fotg210-hcd: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    4631f4e View commit details
    Browse the repository at this point in the history
  17. fhci-hub: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    51a114b View commit details
    Browse the repository at this point in the history
  18. ehci-hub: use USB_DT_HUB

    Fix  using the  bare number to set the 'bDescriptorType' field of the Hub
    Descriptor while the value  is #define'd in <linux/usb/ch11.h>.
    
    Signed-off-by: Sergei Shtylyov <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Sergei Shtylyov authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    625a4c5 View commit details
    Browse the repository at this point in the history
  19. usb: musb: dsps: fix build on i386 when COMPILE_TEST is set

    Commit 3e45737 ("usb: musb: Fix fifo reads for dm816x with musb_dsps")
    fixed a USB error on dm816x, but introduced a new build error on i386
    when COMPILE_TEST is set:
    
    drivers/usb/musb/musb_dsps.c: In function ‘dsps_read_fifo32’:
    drivers/usb/musb/musb_dsps.c:624:3: error: implicit declaration of function
    ‘readsl’ [-Werror=implicit-function-declaration]
    readsl(fifo, dst, len >> 2);
    
    Let's fix this by using ioread32_rep() instead of readsl() as that's
    more portable.
    
    Fixes: 3e45737 ("usb: musb: Fix fifo reads for dm816x with musb_dsps")
    Reported-by: Fengguang Wu <[email protected]>
    Cc: Bin Liu <[email protected]>
    Cc: Brian Hutchinson <[email protected]>
    Cc: George Cherian <[email protected]>
    Cc: Sergei Shtylyov <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    Signed-off-by: Felipe Balbi <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    tmlind authored and gregkh committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    d30323f View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2015

  1. Revert "Staging: sm750fb: Fix C99 Comments"

    This reverts commit 6ad6b5e.
    
    It added a file that should not be in the kernel source tree.
    
    Cc: Amitoj Kaur Chawla <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    gregkh committed Apr 4, 2015
    Configuration menu
    Copy the full SHA
    97498bb View commit details
    Browse the repository at this point in the history
  2. x86/alternatives: Fix ALTERNATIVE_2 padding generation properly

    Quentin caught a corner case with the generation of instruction
    padding in the ALTERNATIVE_2 macro: if len(orig_insn) <
    len(alt1) < len(alt2), then not enough padding gets added and
    that is not good(tm) as we could overwrite the beginning of the
    next instruction.
    
    Luckily, at the time of this writing, we don't have
    ALTERNATIVE_2() invocations which have that problem and even if
    we did, a simple fix would be to prepend the instructions with
    enough prefixes so that that corner case doesn't happen.
    
    However, best it would be if we fixed it properly. See below for
    a simple, abstracted example of what we're doing.
    
    So what we ended up doing is, we compute the
    
    	max(len(alt1), len(alt2)) - len(orig_insn)
    
    and feed that value to the .skip gas directive. The max() cannot
    have conditionals due to gas limitations, thus the fancy integer
    math.
    
    With this patch, all ALTERNATIVE_2 sites get padded correctly;
    generating obscure test cases pass too:
    
      #define alt_max_short(a, b)    ((a) ^ (((a) ^ (b)) & -(-((a) < (b)))))
    
      #define gen_skip(orig, alt1, alt2, marker)	\
      	.skip -((alt_max_short(alt1, alt2) - (orig)) > 0) * \
      		(alt_max_short(alt1, alt2) - (orig)),marker
    
      	.pushsection .text, "ax"
      .globl main
      main:
      	gen_skip(1, 2, 4, 0x09)
      	gen_skip(4, 1, 2, 0x10)
      	...
      	.popsection
    
    Thanks to Quentin for catching it and double-checking the fix!
    
    Reported-by: Quentin Casasnovas <[email protected]>
    Signed-off-by: Borislav Petkov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Denys Vlasenko <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    suryasaimadhu authored and Ingo Molnar committed Apr 4, 2015
    Configuration menu
    Copy the full SHA
    dbe4058 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2015

  1. HSI: cmt_speech: fix error return code

    Return a negative error code on failure.
    
    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)
    
    // <smpl>
    @@
    identifier ret; expression e1,e2;
    @@
    (
    if (\(ret < 0\|ret != 0\))
     { ... return ret; }
    |
    ret = 0
    )
    ... when != ret = e1
        when != &ret
    *if(...)
    {
      ... when != ret = e2
          when forall
     return ret;
    }
    // </smpl>
    
    Signed-off-by: Julia Lawall <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    JuliaLawall authored and sre committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    265ef3e View commit details
    Browse the repository at this point in the history
  2. hwmon: (it87) Fix PWM frequency display for chips with newer PWM control

    On chips with newer PWM control, the PWM frequency divider is 256
    instead of 128. Since the base PWM frequency remained the same, the actual
    PWM frequency is half of what it used to be with the older PWM control
    mechanism.
    
    Reviewed-by: Jean Delvare <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    groeck committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    f56c9c0 View commit details
    Browse the repository at this point in the history
  3. hwmon: (it87) Introduce configuration field for chip suffix

    ITE chips may have 'E', 'F', or both 'E' and 'F' suffixes.
    Introduce suffic configuration to the it87_devices structure
    to simplify adding new chips.
    
    Reviewed-by: Jean Delvare <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    groeck committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    faf392f View commit details
    Browse the repository at this point in the history
  4. hwmon: (it87) Introduce feature flag to reflect internal in7 sensor

    On some chips, in7 is always an internal voltage sensor. Introduce
    feature flag to reflect this condition to simplify adding support
    for new chips.
    
    Reviewed-by: Jean Delvare <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    groeck committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    7f5726c View commit details
    Browse the repository at this point in the history
  5. hwmon: (it87) Add support for IT8790E

    IT8790E is a super-IO chip with three fan tachometers. It is mostly
    compatible to IT8728F, but only supports three fan tachometers
    instead of five.
    
    Reviewed-by: Jean Delvare <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    groeck committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    4ee0715 View commit details
    Browse the repository at this point in the history
  6. hwmon: (it87) Add support for IT8620E

    IT8620E is mostly compatible to IT7828F. Add generic support for it.
    
    IT8620E supports up to 6 fan tachometers and 6 pwm controls.
    Support for the 6th tachometer and for the additional pwm controls
    are addded in separate patches.
    
    Reviewed-by: Jean Delvare <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    groeck committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    3ba9d97 View commit details
    Browse the repository at this point in the history
  7. hwmon: (it87) Add support for 6th fan of IT8620E

    IT8620E supports up to 6 fan tachometers.
    
    Reviewed-by: Jean Delvare <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    groeck committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    fa3f70d View commit details
    Browse the repository at this point in the history
  8. staging: lustre: fix sparse warning

    Sparse reports:
    
    drivers/staging/lustre/lustre/obdclass/obd_mount.c:1284:6: warning:
     symbol 'lustre_kill_super' was not declared. Should it be static?
    
    Fix this warning by making lustre_kill_super static.
    It is not used outside this file.
    
    Signed-off-by: Tal Shorer <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    talshorer authored and gregkh committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    b183c11 View commit details
    Browse the repository at this point in the history
  9. staging: lustre: lnet: lnet: fix error return code

    Return a negative error code on failure.
    
    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)
    
    // <smpl>
    @@
    identifier ret; expression e1,e2;
    @@
    (
    if (\(ret < 0\|ret != 0\))
     { ... return ret; }
    |
    ret = 0
    )
    ... when != ret = e1
        when != &ret
    *if(...)
    {
      ... when != ret = e2
          when forall
     return ret;
    }
    // </smpl>
    
    Signed-off-by: Julia Lawall <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    JuliaLawall authored and gregkh committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    a18ac31 View commit details
    Browse the repository at this point in the history
  10. staging: lustre: orthography & coding style

    Orthography and coding style corrections.
    
    Signed-off-by: Amaury Bouchra Pilet <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    [email protected] authored and gregkh committed Apr 5, 2015
    Configuration menu
    Copy the full SHA
    f9541f8 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2015

  1. x86/signal: Remove pax argument from restore_sigcontext

    The 'pax' argument is unnecesary.  Instead, store the RAX value
    directly in regs.
    
    This pattern goes all the way back to 2.1.106pre1, when restore_sigcontext()
    was changed to return an error code instead of EAX directly:
    
      https://git.kernel.org/cgit/linux/kernel/git/history/history.git/diff/arch/i386/kernel/signal.c?id=9a8f8b7ca3f319bd668298d447bdf32730e51174
    
    In 2007 sigaltstack syscall support was added, where the return
    value of restore_sigcontext() was changed to carry the memory-copying
    failure code.
    
    But instead of putting 'ax' into regs->ax directly, it was carried
    in via a pointer and then returned, where the generic syscall return
    code copied it to regs->ax.
    
    So there was never any deeper reason for this suboptimal pattern, it
    was simply never noticed after being introduced.
    
    Signed-off-by: Brian Gerst <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Denys Vlasenko <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    Brian Gerst authored and Ingo Molnar committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    6a3713f View commit details
    Browse the repository at this point in the history
  2. x86/asm/entry: Clear EXTRA_REGS for all executable formats

    On failure, sys_execve() does not clobber EXTRA_REGS, so we can
    just return to userpsace without saving/restoring them.
    
    On success, ELF_PLAT_INIT() in sys_execve() clears all these
    registers.
    
    On other executable formats:
    
      - binfmt_flat.c has similar FLAT_PLAT_INIT, but x86 (and everyone
        else except sh) doesn't define it.
    
      - binfmt_elf_fdpic.c has ELF_FDPIC_PLAT_INIT, but x86 (and most
        others) doesn't define it.
    
      - There are no such hooks in binfmt_aout.c et al. We inherit
        EXTRA_REGS from the prior executable.
    
    This inconsistency was not intended.
    
    This change removes SAVE/RESTORE_EXTRA_REGS in stub_execve,
    removes register clearing in ELF_PLAT_INIT(),
    and instead simply clears them on success in stub_execve.
    
    Run-tested.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    fc3e958 View commit details
    Browse the repository at this point in the history
  3. x86/alternatives: Guard NOPs optimization

    Take a look at the first instruction byte before optimizing the NOP -
    there might be something else there already, like the ALTERNATIVE_2()
    in rdtsc_barrier() which NOPs out on AMD even though we just
    patched in an MFENCE.
    
    This happens because the alternatives sees X86_FEATURE_MFENCE_RDTSC,
    AMD CPUs set it, we patch in the MFENCE and right afterwards it sees
    X86_FEATURE_LFENCE_RDTSC which AMD CPUs don't set and we blindly
    optimize the NOP.
    
    Checking whether at least the first byte is 0x90 prevents that.
    
    Signed-off-by: Borislav Petkov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Denys Vlasenko <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    suryasaimadhu authored and Ingo Molnar committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    69df353 View commit details
    Browse the repository at this point in the history
  4. workqueue: Reorder sysfs code

    The sysfs code usually belongs to the botom of the file since it deals
    with high level objects. In the workqueue code it's misplaced and such
    that we'll need to work around functions references to allow the sysfs
    code to call APIs like apply_workqueue_attrs().
    
    Lets move that block further in the file, almost the botom.
    
    And declare workqueue_sysfs_unregister() just before destroy_workqueue()
    which reference it.
    
    tj: Moved workqueue_sysfs_unregister() forward declaration where other
        forward declarations are.
    
    Suggested-by: Tejun Heo <[email protected]>
    Cc: Christoph Lameter <[email protected]>
    Cc: Kevin Hilman <[email protected]>
    Cc: Lai Jiangshan <[email protected]>
    Cc: Mike Galbraith <[email protected]>
    Cc: Paul E. McKenney <[email protected]>
    Cc: Tejun Heo <[email protected]>
    Cc: Viresh Kumar <[email protected]>
    Signed-off-by: Frederic Weisbecker <[email protected]>
    Signed-off-by: Lai Jiangshan <[email protected]>
    Signed-off-by: Tejun Heo <[email protected]>
    fweisbec authored and htejun committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    6ba9442 View commit details
    Browse the repository at this point in the history
  5. power: max17042_battery: Use reg type instead of chip type

    Currently, max17042 battery driver choose register map by MAX17042_DevName
    register. But it is return IC specific firmware version. So other maxim chip
    hard to use this drvier. This patch choose chip type from driver_data.
    
    Signed-off-by: Beomho Seo <[email protected]>
    Reviewed-by: Krzysztof Kozlowski <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    Beomho Seo authored and sre committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    709c2c7 View commit details
    Browse the repository at this point in the history
  6. power: max17042_battery: add missed blank

    This patch add missed blank line after decalations.
    
    Signed-off-by: Beomho Seo <[email protected]>
    Reviewed-by: Krzysztof Kozlowski <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    Beomho Seo authored and sre committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    bbaeeaa View commit details
    Browse the repository at this point in the history
  7. spi: signedness bug in qspi_trigger_transfer_out_int()

    We need "ret" to be unsigned for the error handling to work.  The
    signedness of "i" and "n" don't matter but qspi_set_send_trigger()
    returns an int so I've changed them to int as well.
    
    Fixes: 4b6fe3e ('spi: Using Trigger number to transmit/receive data')
    Signed-off-by: Dan Carpenter <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Dan Carpenter authored and broonie committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    c9bc3e8 View commit details
    Browse the repository at this point in the history
  8. power: reset: Add generic SYSCON register mapped poweroff.

    Add a generic SYSCON register mapped poweroff mechanism.
    
    Signed-off-by: Moritz Fischer <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    Moritz Fischer authored and sre committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    8a57760 View commit details
    Browse the repository at this point in the history
  9. dt: power: Add docs for generic SYSCON poweroff driver.

    Add documentation for generic SYSCON poweroff driver.
    
    Signed-off-by: Moritz Fischer <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    Moritz Fischer authored and sre committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    0db739f View commit details
    Browse the repository at this point in the history
  10. spi: fsl-dspi: Fix clock rate scale values

    Previous algorithm had an outer loop with the values {2,3,5,7} and an
    inner loop with {2,4,6,8,16,32,...,32768}, and would pick the first
    value over the required scaling value (where the total scale was the two
    numbers multiplied).
    
    Since the inner loop went up to 32768 it would always pick a value of 2
    for PBR and a much higher than necessary value for BR.  The desired
    scale factor was being divided by two I believe to compensate for the
    much higher scale factors (the divide by two not specified in the
    reference manual).
    
    Updated to check all values and find the smallest scale factor possible
    without going over the desired clock rate.
    
    Signed-off-by: Aaron Brice <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Aaron Brice authored and broonie committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    e689d6d View commit details
    Browse the repository at this point in the history
  11. spi: fsl-dspi: Add cs-sck delays

    Adding fsl,spi-cs-sck-delay and fsl,spi-sck-cs-delay properties to
    support delays before and after starting the clock in a transfer.
    
    Signed-off-by: Aaron Brice <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Aaron Brice authored and broonie committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    c1c1495 View commit details
    Browse the repository at this point in the history
  12. spi: fsl-dspi: Add ~50ns delay between cs and sck

    Add delay between chip select and clock signals, before clock starts and
    after clock stops.
    
    Signed-off-by: Aaron Brice <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Aaron Brice authored and broonie committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    95bf15f View commit details
    Browse the repository at this point in the history
  13. power: twl4030-madc-battery: Convert to iio consumer.

    Because of added iio error handling private data allocation was converted
    to managed to simplify code.
    
    Signed-off-by: Marek Belisko <[email protected]>
    Reviewed-By: Sebastian Reichel <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    Marek Belisko authored and sre committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    7e5e438 View commit details
    Browse the repository at this point in the history
  14. power: twl4030_madc_battery: Add missing MODULE_ALIAS

    Without MODULE_ALIAS twl4030_madc_battery won't get loaded automatically.
    
    Signed-off-by: Marek Belisko <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    Marek Belisko authored and sre committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    5939d9d View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2015

  1. Merge 4.0-rc7 into staging-next

    We want those fixes (iio primarily) into the -next branch to help with
    merge and testing issues.
    
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    gregkh committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    c610f7f View commit details
    Browse the repository at this point in the history
  2. Merge 4.0-rc7 into usb-next

    We want the fixes in here, and to help resolve merge issues.
    
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    gregkh committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    b7a4abb View commit details
    Browse the repository at this point in the history
  3. Merge branch 'fix/fsl-dspi' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/broonie/spi into spi-fsl-dspi
    
    Conflicts:
    	drivers/spi/spi-fsl-dspi.c
    broonie committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    63031ed View commit details
    Browse the repository at this point in the history
  4. spi: img-spfi: Implement a prepare_message() callback

    In preparation for switching to using the SPI core's CS GPIO handling,
    move setup of the PORT_STATE register, which must be configured before
    CS is asserted, to a prepare_message() callback.
    
    Signed-off-by: Ezequiel Garcia <[email protected]>
    Signed-off-by: Andrew Bresticker <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Ezequiel Garcia authored and broonie committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    b6fe397 View commit details
    Browse the repository at this point in the history
  5. spi: img-spfi: Limit bit clock to 1/4th of input clock

    Although the SPFI BITCLK divider supports a value of up to 255, only
    values up to 128 are usable.  This results in a maximum possible bit
    clock rate of 1/4th the input clock rate.
    
    Signed-off-by: Andrew Bresticker <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    abrestic authored and broonie committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    8543d0e View commit details
    Browse the repository at this point in the history
  6. x86/mm/numa: Fix kernel stack corruption in numa_init()->numa_clear_k…

    …ernel_node_hotplug()
    
    I got below kernel panic during kdump test on Thinkpad T420
    laptop:
    
    [    0.000000] No NUMA configuration found
    [    0.000000] Faking a node at [mem 0x0000000000000000-0x0000000037ba4fff]
    [    0.000000] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: ffffffff81d21910
     ...
    [    0.000000] Call Trace:
    [    0.000000]  [<ffffffff817c2a26>] dump_stack+0x45/0x57
    [    0.000000]  [<ffffffff817bc8d2>] panic+0xd0/0x204
    [    0.000000]  [<ffffffff81d21910>] ? numa_clear_kernel_node_hotplug+0xe6/0xf2
    [    0.000000]  [<ffffffff8107741b>] __stack_chk_fail+0x1b/0x20
    [    0.000000]  [<ffffffff81d21910>] numa_clear_kernel_node_hotplug+0xe6/0xf2
    [    0.000000]  [<ffffffff81d21e5d>] numa_init+0x1a5/0x520
    [    0.000000]  [<ffffffff81d222b1>] x86_numa_init+0x19/0x3d
    [    0.000000]  [<ffffffff81d22460>] initmem_init+0x9/0xb
    [    0.000000]  [<ffffffff81d0d00c>] setup_arch+0x94f/0xc82
    [    0.000000]  [<ffffffff81d05120>] ? early_idt_handlers+0x120/0x120
    [    0.000000]  [<ffffffff817bd0bb>] ? printk+0x55/0x6b
    [    0.000000]  [<ffffffff81d05120>] ? early_idt_handlers+0x120/0x120
    [    0.000000]  [<ffffffff81d05d9b>] start_kernel+0xe8/0x4d6
    [    0.000000]  [<ffffffff81d05120>] ? early_idt_handlers+0x120/0x120
    [    0.000000]  [<ffffffff81d05120>] ? early_idt_handlers+0x120/0x120
    [    0.000000]  [<ffffffff81d055ee>] x86_64_start_reservations+0x2a/0x2c
    [    0.000000]  [<ffffffff81d05751>] x86_64_start_kernel+0x161/0x184
    [    0.000000] ---[ end Kernel panic - not syncing: stack-protector: Kernel sta
    
    This is caused by writing over the end of numa mask bitmap
    in numa_clear_kernel_node().
    
    numa_clear_kernel_node() tries to set the node id in a mask bitmap,
    by iterating all reserved regions and assuming that every region
    has a valid nid.
    
    This assumption is not true because there's an exception for some
    graphic memory quirks. See trim_snb_memory() in arch/x86/kernel/setup.c
    
    It is easily to reproduce the bug in the kdump kernel because kdump
    kernel use pre-reserved memory instead of the whole memory, but
    kexec pass other reserved memory ranges to 2nd kernel as well.
    like below in my test:
    
    kdump kernel ram 0x2d000000 - 0x37bfffff
    One of the reserved regions: 0x40000000 - 0x40100000 which
    includes 0x40004000, a page excluded in trim_snb_memory(). For
    this memblock reserved region the nid is not set, it is still
    default value MAX_NUMNODES. later node_set will set bit
    MAX_NUMNODES thus stack corruption happen.
    
    This also happens when booting with mem= kernel commandline
    during my test.
    
    Fixing it by adding a check, do not call node_set in case nid is
    MAX_NUMNODES.
    
    Signed-off-by: Dave Young <[email protected]>
    Reviewed-by: Yasuaki Ishimatsu <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    daveyoung authored and Ingo Molnar committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    22ef882 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'kvm-arm-fixes-4.0-rc5' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/kvmarm/kvmarm into 'kvm-next'
    
    Fixes for KVM/ARM for 4.0-rc5.
    
    Fixes page refcounting issues in our Stage-2 page table management code,
    fixes a missing unlock in a gicv3 error path, and fixes a race that can
    cause lost interrupts if signals are pending just prior to entering the
    guest.
    bonzini committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    8999602 View commit details
    Browse the repository at this point in the history
  8. Merge tag 'kvm-arm-for-4.1' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/kvmarm/kvmarm into 'kvm-next'
    
    KVM/ARM changes for v4.1:
    
    - fixes for live migration
    - irqfd support
    - kvm-io-bus & vgic rework to enable ioeventfd
    - page ageing for stage-2 translation
    - various cleanups
    bonzini committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    bf0fb67 View commit details
    Browse the repository at this point in the history
  9. Merge tag 'kvm-s390-next-20150331' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/kvms390/linux into HEAD
    
    Features and fixes for 4.1 (kvm/next)
    
    1. Assorted changes
    1.1 allow more feature bits for the guest
    1.2 Store breaking event address on program interrupts
    
    2. Interrupt handling rework
    2.1 Fix copy_to_user while holding a spinlock (cc stable)
    2.2 Rework floating interrupts to follow the priorities
    2.3 Allow to inject all local interrupts via new ioctl
    2.4 allow to get/set the full local irq state, e.g. for migration
        and introspection
    bonzini committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    7f22b45 View commit details
    Browse the repository at this point in the history
  10. usb: define a generic USB_RESUME_TIMEOUT macro

    Every USB Host controller should use this new
    macro to define for how long resume signalling
    should be driven on the bus.
    
    Currently, almost every single USB controller
    is using a 20ms timeout for resume signalling.
    
    That's problematic for two reasons:
    
    a) sometimes that 20ms timer expires a little
    before 20ms, which makes us fail certification
    
    b) some (many) devices actually need more than
    20ms resume signalling.
    
    Sure, in case of (b) we can state that the device
    is against the USB spec, but the fact is that
    we have no control over which device the certification
    lab will use. We also have no control over which host
    they will use. Most likely they'll be using a Windows
    PC which, again, we have no control over how that
    USB stack is written and how long resume signalling
    they are using.
    
    At the end of the day, we must make sure Linux passes
    electrical compliance when working as Host or as Device
    and currently we don't pass compliance as host because
    we're driving resume signallig for exactly 20ms and
    that confuses certification test setup resulting in
    Certification failure.
    
    Cc: <[email protected]> # v3.10+
    Acked-by: Greg Kroah-Hartman <[email protected]>
    Acked-by: Peter Chen <[email protected]>
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    62f0342 View commit details
    Browse the repository at this point in the history
  11. usb: host: xhci: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Acked-by: Mathias Nyman <[email protected]>
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    b9e4518 View commit details
    Browse the repository at this point in the history
  12. usb: host: ehci: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    ea16328 View commit details
    Browse the repository at this point in the history
  13. usb: host: uhci: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    b8fb6f7 View commit details
    Browse the repository at this point in the history
  14. usb: musb: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Based on original work by Bin Liu <Bin Liu <[email protected]>>
    
    Cc: Bin Liu <[email protected]>
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    309be23 View commit details
    Browse the repository at this point in the history
  15. usb: host: isp116x: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    8c0ae65 View commit details
    Browse the repository at this point in the history
  16. usb: host: fotg210: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    7e136bb View commit details
    Browse the repository at this point in the history
  17. usb: host: fusbh200: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    595227d View commit details
    Browse the repository at this point in the history
  18. usb: host: oxu210hp: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    84c0d17 View commit details
    Browse the repository at this point in the history
  19. usb: host: r8a66597: use new USB_RESUME_TIMEOUT

    While this driver was already using a 50ms resume
    timeout, let's make sure everybody uses the same
    macro so it's easy to fix later should anything
    go wrong.
    
    It also gives a more "stable" expectation to Linux
    users.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    7a606ac View commit details
    Browse the repository at this point in the history
  20. usb: host: sl811: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    08debfb View commit details
    Browse the repository at this point in the history
  21. usb: dwc2: hcd: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    74bd7b6 View commit details
    Browse the repository at this point in the history
  22. usb: isp1760: hcd: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    59c9904 View commit details
    Browse the repository at this point in the history
  23. usb: core: hub: use new USB_RESUME_TIMEOUT

    Make sure we're using the new macro, so our
    resume signaling will always pass certification.
    
    Cc: <[email protected]> # v3.10+
    Signed-off-by: Felipe Balbi <[email protected]>
    Felipe Balbi committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    bbc78c0 View commit details
    Browse the repository at this point in the history
  24. spi: Make master->handle_err() callback optional to avoid crashes

    If a driver doesn't implement the master->handle_err() callback and an
    SPI transfer fails, the kernel will crash with a NULL pointer
    dereference:
    
        Unable to handle kernel NULL pointer dereference at virtual address 00000000
        pgd = c0003000
        [00000000] *pgd=80000040004003, *pmd=00000000
        Internal error: Oops: 80000206 [#1] SMP ARM
        Modules linked in:
        CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.0.0-rc7-koelsch-05861-g1fc9fdd4add4f783 #1046
        Hardware name: Generic R8A7791 (Flattened Device Tree)
        task: eec359c0 ti: eec54000 task.ti: eec54000
        PC is at 0x0
        LR is at spi_transfer_one_message+0x1cc/0x1f0
    
    Make the master->handle_err() callback optional to avoid the crash.
    
    Also fix a spelling mistake in the callback documentation while we're at
    it.
    
    Fixes: b716c4f ("spi: introduce master->handle_err() callback")
    Signed-off-by: Geert Uytterhoeven <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    geertu authored and broonie committed Apr 7, 2015
    Configuration menu
    Copy the full SHA
    ff61eb4 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2015

  1. md: fix md io stats accounting broken

    Simon reported the md io stats accounting issue:
    "
    I'm seeing "iostat -x -k 1" print this after a RAID1 rebuild on 4.0-rc5.
    It's not abnormal other than it's 3-disk, with one being SSD (sdc) and
    the other two being write-mostly:
    
    Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
    sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00
    sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00
    sdc               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00
    md0               0.00     0.00    0.00    0.00     0.00     0.00     0.00   345.00    0.00    0.00    0.00   0.00 100.00
    md2               0.00     0.00    0.00    0.00     0.00     0.00     0.00 58779.00    0.00    0.00    0.00   0.00 100.00
    md1               0.00     0.00    0.00    0.00     0.00     0.00     0.00    12.00    0.00    0.00    0.00   0.00 100.00
    "
    The cause is commit "18c0b223cf9901727ef3b02da6711ac930b4e5d4" uses the
    generic_start_io_acct to account the disk stats rather than the open code,
    but it also introduced the increase to .in_flight[rw] which is needless to
    md. So we re-use the open code here to fix it.
    
    Reported-by: Simon Kirby <[email protected]>
    Cc: <[email protected]> 3.19
    Signed-off-by: Gu Zheng <[email protected]>
    Signed-off-by: NeilBrown <[email protected]>
    Gu Zheng authored and neilbrown committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    74672d0 View commit details
    Browse the repository at this point in the history
  2. usb: chipidea: udc: bypass pullup DP when gadget connect in OTG fsm mode

    By pass pullup DP in OTG fsm mode when do gadget connect, to let it handled
    by OTG state machine.
    
    This patch can fix the problem you found with my HNP polling patchset after
    below 3 patches introduced:
    467a78c usb: chipidea: udc: apply new usb_udc_vbus_handler interface
    628ef0d usb: udc: add usb_udc_vbus_handler
    dfea9c9 usb: udc: store usb_udc pointer in struct usb_gadget
    
    Problem:
    - Connect USB cable and MicroAB cable between two boards
    - Boot up two boards
    - load g_mass_storage at B-device side, the enumeration will success,
    and A will see a usb mass-storage device
    - load g_mass_storage at A-device side, the problem has occurred, the
    connection will be lost at the beginning, then connect again.
    
    This patch is based on
    commit eff933c1d3a2e046492b3dfc86db813856553a29
    (chipidea: pci: make it depends on NOP_USB_XCEIV)
    on branch peter-usb-dev of
    git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb.git
    
    Signed-off-by: Li Jun <[email protected]>
    Signed-off-by: Peter Chen <[email protected]>
    Li Jun authored and Peter Chen committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    9b6567e View commit details
    Browse the repository at this point in the history
  3. x86, selftests: Add sigreturn selftest

    This is my sigreturn test, added mostly unchanged from its old
    home. It exercises the sigreturn(2) syscall, specifically
    focusing on its interactions with various IRET corner cases.
    
    It tests for correct behavior in several areas that were
    historically dangerously buggy. For example, it exercises espfix
    on kernels of both bitnesses under various conditions, and it
    contains testcases for several now-fixed bugs in IRET error
    handling.
    
    If you run it on older kernels without the fixes, your system will
    crash. It probably won't eat your data in the process.
    
    There is no released kernel on which the sigreturn_64 test will
    pass, but it passes on tip:x86/asm.
    
    I plan to switch to lib.mk for Linux 4.2.
    
    I'm not using the ksft_ helpers at all yet.  I can do that later.
    
    Signed-off-by: Andy Lutomirski <[email protected]>
    Acked-by: Shuah Khan <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Denys Vlasenko <[email protected]>
    Cc: Denys Vlasenko <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Michael Ellerman <[email protected]>
    Cc: Shuah Khan <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Link: http://lkml.kernel.org/r/89d10b76b92c7202d8123654dc8d36701c017b3d.1428386971.git.luto@kernel.org
    [ Fixed empty format string GCC build warning in trivial_32bit_program.c ]
    Signed-off-by: Ingo Molnar <[email protected]>
    amluto authored and Ingo Molnar committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    3f705df View commit details
    Browse the repository at this point in the history
  4. usb: chipidea: debug: add low power mode check before print registers

    Since the required clock to access registers is gated off in low power mode,
    add ci->in_lpm check before try to dump registers value.
    
    Signed-off-by: Li Jun <[email protected]>
    Signed-off-by: Peter Chen <[email protected]>
    Li Jun authored and Peter Chen committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    0c4d6af View commit details
    Browse the repository at this point in the history
  5. Merge tag 'v4.0-rc7' into x86/asm, to resolve conflicts

    Conflicts:
    	arch/x86/kernel/entry_64.S
    
    Signed-off-by: Ingo Molnar <[email protected]>
    Ingo Molnar committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    4bcc782 View commit details
    Browse the repository at this point in the history
  6. x86/asm/entry/64: Move opportunistic sysret code to syscall code path

    This change does two things:
    
    Copy-pastes "retint_swapgs:" code into syscall handling code,
    the copy is under "syscall_return:" label. The code is unchanged
    apart from some label renames.
    
    Removes "opportunistic sysret" code from "retint_swapgs:" code
    block, since now it won't be reached by syscall return. This in
    fact removes most of the code in question.
    
       text	   data	    bss	    dec	    hex	filename
      12530	      0	      0	  12530	   30f2	entry_64.o.before
      12562	      0	      0	  12562	   3112	entry_64.o
    
    Run-tested.
    
    Acked-and-Tested-by: Borislav Petkov <[email protected]>
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    fffbb5d View commit details
    Browse the repository at this point in the history
  7. x86/asm/entry/irq: Simplify interrupt dispatch table (IDT) layout

    Interrupt entry points are handled with the following code,
    each 32-byte code block contains seven entry points:
    
    		...
    		[push][jump 22] // 4 bytes
    		[push][jump 18] // 4 bytes
    		[push][jump 14] // 4 bytes
    		[push][jump 10] // 4 bytes
    		[push][jump  6] // 4 bytes
    		[push][jump  2] // 4 bytes
    		[push][jump common_interrupt][padding] // 8 bytes
    
    		[push][jump]
    		[push][jump]
    		[push][jump]
    		[push][jump]
    		[push][jump]
    		[push][jump]
    		[push][jump common_interrupt][padding]
    
    		[padding_2]
    	common_interrupt:
    
    And there is a table which holds pointers to every entry point,
    IOW: to every push.
    
    In cold cache, two jumps are still costlier than one, even
    though we get the benefit of them residing in the same
    cacheline.
    
    This change replaces short jumps with near ones to
    'common_interrupt', and pads every push+jump pair to 8 bytes. This
    way, each interrupt takes only one jump.
    
    This change replaces ".p2align CONFIG_X86_L1_CACHE_SHIFT" before
    dispatch table with ".align 8" - we do not need anything
    stronger than that.
    
    The table of entry addresses (the interrupt[] array) is no
    longer necessary, the address of entries can be easily
    calculated as (irq_entries_start + i*8).
    
       text	   data	    bss	    dec	    hex	filename
      12546	      0	      0	  12546	   3102	entry_64.o.before
      11626	      0	      0	  11626	   2d6a	entry_64.o
    
    The size decrease is because 1656 bytes of .init.rodata are
    gone. That's initdata, though. The resident size does go up a
    bit.
    
    Run-tested (32 and 64 bits).
    
    Acked-and-Tested-by: Borislav Petkov <[email protected]>
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    3304c9c View commit details
    Browse the repository at this point in the history
  8. x86/asm/entry/64: Add forgotten CFI annotation

    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    8b3607b View commit details
    Browse the repository at this point in the history
  9. kvm: x86: fix x86 eflags fixed bit

    Guest can't be booted w/ ept=0, there is a message dumped as below:
    
    If you're running a guest on an Intel machine without unrestricted mode
    support, the failure can be most likely due to the guest entering an invalid
    state for Intel VT. For example, the guest maybe running in big real mode
    which is not supported on less recent Intel processors.
    
    EAX=00000011 EBX=f000d2f6 ECX=00006cac EDX=000f8956
    ESI=bffbdf62 EDI=00000000 EBP=00006c68 ESP=00006c68
    EIP=0000d187 EFL=00000004 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
    ES =e000 000e0000 ffffffff 00809300 DPL=0 DS16 [-WA]
    CS =f000 000f0000 ffffffff 00809b00 DPL=0 CS16 [-RA]
    SS =0000 00000000 ffffffff 00809300 DPL=0 DS16 [-WA]
    DS =0000 00000000 ffffffff 00809300 DPL=0 DS16 [-WA]
    FS =0000 00000000 ffffffff 00809300 DPL=0 DS16 [-WA]
    GS =0000 00000000 ffffffff 00809300 DPL=0 DS16 [-WA]
    LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
    TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
    GDT=     000f6a80 00000037
    IDT=     000f6abe 00000000
    CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
    DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
    DR6=00000000ffff0ff0 DR7=0000000000000400
    EFER=0000000000000000
    Code=01 1e b8 6a 2e 0f 01 16 74 6a 0f 20 c0 66 83 c8 01 0f 22 c0 <66> ea 8f d1 0f 00 08 00 b8 10 00 00 00 8e d8 8e c0 8e d0 8e e0 8e e8 89 c8 ff e2 89 c1 b8X
    
    X86 eflags bit 1 is fixed set, which means that 1 << 1 is set instead of 1,
    this patch fix it.
    
    Signed-off-by: Wanpeng Li <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    Wanpeng Li authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    35fd68a View commit details
    Browse the repository at this point in the history
  10. KVM: x86: extract blocking logic from __vcpu_run

    Rename the old __vcpu_run to vcpu_run, and extract part of it to a new
    function vcpu_block.
    
    The next patch will add a new condition in vcpu_block, avoid extra
    indentation.
    
    Reviewed-by: David Matlack <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    362c698 View commit details
    Browse the repository at this point in the history
  11. KVM: x86: optimize delivery of TSC deadline timer interrupt

    The newly-added tracepoint shows the following results on
    the tscdeadline_latency test:
    
            qemu-kvm-8387  [002]  6425.558974: kvm_vcpu_wakeup:      poll time 10407 ns
            qemu-kvm-8387  [002]  6425.558984: kvm_vcpu_wakeup:      poll time 0 ns
            qemu-kvm-8387  [002]  6425.561242: kvm_vcpu_wakeup:      poll time 10477 ns
            qemu-kvm-8387  [002]  6425.561251: kvm_vcpu_wakeup:      poll time 0 ns
    
    and so on.  This is because we need to go through kvm_vcpu_block again
    after the timer IRQ is injected.  Avoid it by polling once before
    entering kvm_vcpu_block.
    
    On my machine (Xeon E5 Sandy Bridge) this removes about 500 cycles (7%)
    from the latency of the TSC deadline timer.
    
    Signed-off-by: Paolo Bonzini <[email protected]>
    bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    9c8fd1b View commit details
    Browse the repository at this point in the history
  12. KVM: remove kvm_read_hva and kvm_read_hva_atomic

    The corresponding write functions just use __copy_to_user.  Do the
    same on the read side.
    
    This reverts what's left of commit 86ab8cf (KVM: introduce
    gfn_to_hva_read/kvm_read_hva/kvm_read_hva_atomic, 2012-08-21)
    
    Cc: Xiao Guangrong <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    Message-Id: <[email protected]>
    bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    3180a7f View commit details
    Browse the repository at this point in the history
  13. x86: vdso: fix pvclock races with task migration

    If we were migrated right after __getcpu, but before reading the
    migration_count, we wouldn't notice that we read TSC of a different
    VCPU, nor that KVM's bug made pvti invalid, as only migration_count
    on source VCPU is increased.
    
    Change vdso instead of updating migration_count on destination.
    
    Cc: [email protected]
    Signed-off-by: Radim Krčmář <[email protected]>
    Fixes: 0a4e6be ("x86: kvm: Revert "remove sched notifier for cross-cpu migrations"")
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    rkrcmar authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    80f7fdb View commit details
    Browse the repository at this point in the history
  14. KVM: vmx: pass error code with internal error #2

    Exposing the on-stack error code with internal error is cheap and
    potentially useful.
    
    Signed-off-by: Radim Krčmář <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    rkrcmar authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    80f0e95 View commit details
    Browse the repository at this point in the history
  15. KVM: x86: cache maxphyaddr CPUID leaf in struct kvm_vcpu

    cpuid_maxphyaddr(), which performs lot of memory accesses is called
    extensively across KVM, especially in nVMX code.
    
    This patch adds a cached value of maxphyaddr to vcpu.arch to reduce the
    pressure onto CPU cache and simplify the code of cpuid_maxphyaddr()
    callers. The cached value is initialized in kvm_arch_vcpu_init() and
    reloaded every time CPUID is updated by usermode. It is obvious that
    these reloads occur infrequently.
    
    Signed-off-by: Eugene Korenevsky <[email protected]>
    Message-Id: <20150329205612.GA1223@gnote>
    Signed-off-by: Paolo Bonzini <[email protected]>
    ekorenevsky authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    5a4f55c View commit details
    Browse the repository at this point in the history
  16. KVM: nVMX: checks for address bits beyond MAXPHYADDR on VM-entry

    On each VM-entry CPU should check the following VMCS fields for zero bits
    beyond physical address width:
    -  APIC-access address
    -  virtual-APIC address
    -  posted-interrupt descriptor address
    This patch adds these checks required by Intel SDM.
    
    Signed-off-by: Eugene Korenevsky <[email protected]>
    Message-Id: <20150329205627.GA1244@gnote>
    Signed-off-by: Paolo Bonzini <[email protected]>
    ekorenevsky authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    9090422 View commit details
    Browse the repository at this point in the history
  17. KVM: nVMX: remove unnecessary double caching of MAXPHYADDR

    After speed-up of cpuid_maxphyaddr() it can be called frequently:
    instead of heavyweight enumeration of CPUID entries it returns a cached
    pre-computed value. It is also inlined now. So caching its result became
    unnecessary and can be removed.
    
    Signed-off-by: Eugene Korenevsky <[email protected]>
    Message-Id: <20150329205644.GA1258@gnote>
    Signed-off-by: Paolo Bonzini <[email protected]>
    ekorenevsky authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    92d71bc View commit details
    Browse the repository at this point in the history
  18. kvm/ppc/mpic: drop unused IRQ_testbit

    Drop unused static procedure which doesn't have callers within its
    translation unit. It had been already removed independently in QEMU[1]
    from the OpenPIC implementation borrowed from the kernel.
    
    [1] https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg01812.html
    
    Signed-off-by: Arseny Solokha <[email protected]>
    Cc: Alexander Graf <[email protected]>
    Cc: Gleb Natapov <[email protected]>
    Cc: Paolo Bonzini <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    Arseny Solokha authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    1945606 View commit details
    Browse the repository at this point in the history
  19. KVM: x86: use MDA for interrupt matching

    In mixed modes, we musn't deliver xAPIC IPIs like x2APIC and vice versa.
    Instead of preserving the information in apic_send_ipi(), we regain it
    by converting all destinations into correct MDA in the slow path.
    This allows easier reasoning about subsequent matching.
    
    Our kvm_apic_broadcast() had an interesting design decision: it didn't
    consider IOxAPIC 0xff as broadcast in x2APIC mode ...
    everything worked because IOxAPIC can't set that in physical mode and
    logical mode considered it as a message for first 8 VCPUs.
    This patch interprets IOxAPIC 0xff as x2APIC broadcast.
    
    Signed-off-by: Radim Krčmář <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    rkrcmar authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    03d2249 View commit details
    Browse the repository at this point in the history
  20. KVM: x86: fix mixed APIC mode broadcast

    Broadcast allowed only one global APIC mode, but mixed modes are
    theoretically possible.  x2APIC IPI doesn't mean 0xff as broadcast,
    the rest does.
    
    x2APIC broadcasts are accepted by xAPIC.  If we take SDM to be logical,
    even addreses beginning with 0xff should be accepted, but real hardware
    disagrees.  This patch aims for simple code by considering most of real
    behavior as undefined.
    
    Signed-off-by: Radim Krčmář <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    rkrcmar authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    9ea369b View commit details
    Browse the repository at this point in the history
  21. KVM: x86: avoid logical_map when it is invalid

    We want to support mixed modes and the easiest solution is to avoid
    optimizing those weird and unlikely scenarios.
    
    Signed-off-by: Radim Krčmář <[email protected]>
    Message-Id: <[email protected]>
    [Add comment above KVM_APIC_MODE_* defines. - Paolo]
    Signed-off-by: Paolo Bonzini <[email protected]>
    rkrcmar authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    3548a25 View commit details
    Browse the repository at this point in the history
  22. KVM: x86: simplify kvm_apic_map

    recalculate_apic_map() uses two passes over all VCPUs.  This is a relic
    from time when we selected a global mode in the first pass and set up
    the optimized table in the second pass (to have a consistent mode).
    
    Recent changes made mixed mode unoptimized and we can do it in one pass.
    Format of logical MDA is a function of the mode, so we encode it in
    apic_logical_id() and drop obsoleted variables from the struct.
    
    Signed-off-by: Radim Krčmář <[email protected]>
    Message-Id: <[email protected]>
    [Add lid_bits temporary in apic_logical_id. - Paolo]
    Signed-off-by: Paolo Bonzini <[email protected]>
    rkrcmar authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    3b5a5ff View commit details
    Browse the repository at this point in the history
  23. KVM: x86: BSP in MSR_IA32_APICBASE is writable

    After reset, the CPU can change the BSP, which will be used upon INIT.  Reset
    should return the BSP which QEMU asked for, and therefore handled accordingly.
    
    To quote: "If the MP protocol has completed and a BSP is chosen, subsequent
    INITs (either to a specific processor or system wide) do not cause the MP
    protocol to be repeated."
    [Intel SDM 8.4.2: MP Initialization Protocol Requirements and Restrictions]
    
    Signed-off-by: Nadav Amit <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    anadav authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    58d269d View commit details
    Browse the repository at this point in the history
  24. KVM: x86: DR0-DR3 are not clear on reset

    DR0-DR3 are not cleared as they should during reset and when they are set from
    userspace.  It appears to be caused by c77fb5f ("KVM: x86: Allow the guest
    to run with dirty debug registers").
    
    Force their reload on these situations.
    
    Signed-off-by: Nadav Amit <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    anadav authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    ae561ed View commit details
    Browse the repository at this point in the history
  25. KVM: x86: Clear CR2 on VCPU reset

    CR2 is not cleared as it should after reset.  See Intel SDM table named "IA-32
    Processor States Following Power-up, Reset, or INIT".
    
    Signed-off-by: Nadav Amit <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    anadav authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    1119022 View commit details
    Browse the repository at this point in the history
  26. kvm: mmu: lazy collapse small sptes into large sptes

    Dirty logging tracks sptes in 4k granularity, meaning that large sptes
    have to be split.  If live migration is successful, the guest in the
    source machine will be destroyed and large sptes will be created in the
    destination. However, the guest continues to run in the source machine
    (for example if live migration fails), small sptes will remain around
    and cause bad performance.
    
    This patch introduce lazy collapsing of small sptes into large sptes.
    The rmap will be scanned in ioctl context when dirty logging is stopped,
    dropping those sptes which can be collapsed into a single large-page spte.
    Later page faults will create the large-page sptes.
    
    Reviewed-by: Xiao Guangrong <[email protected]>
    Signed-off-by: Wanpeng Li <[email protected]>
    Message-Id: <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    Wanpeng Li authored and bonzini committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    3ea3b7f View commit details
    Browse the repository at this point in the history
  27. mmc: sdhci-pci: fix 64 BIT DMA quirks for rtsx

    rts5250 chip failed handle 64 bit ADMA for address below 4G.
    Add 64 BIT quirks to disable this feature.
    
    Signed-off-by: Micky Ching <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    Micky Ching authored and storulf committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    e30b978 View commit details
    Browse the repository at this point in the history
  28. mmc: sdhci-of-arasan: Call OF parsing for MMC

    Also check MMC OF properties. The controller supports MMC too.
    
    Signed-off-by: Michal Simek <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    Michal Simek authored and storulf committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    16b2378 View commit details
    Browse the repository at this point in the history
  29. mmc: core: Convert the error field in struct mmc_command|data into an…

    … int
    
    Everybody expects the error field in the struct mmc_command|data to be
    and int but it's actually an unsigned int. Let's convert it into an int
    to meet the expectations.
    
    Signed-off-by: Ulf Hansson <[email protected]>
    storulf committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    f5c5179 View commit details
    Browse the repository at this point in the history
  30. spi: img-spfi: Setup TRANSACTION register before CONTROL register

    Setting the transfer length in the TRANSACTION register after the
    CONTROL register is programmed causes intermittent timeout issues in
    SPFI transfers when using the SPI framework to control the CS GPIO
    lines.  To avoid this issue, set transfer length before programming
    the CONTROL register.
    
    Signed-off-by: Sifan Naeem <[email protected]>
    Signed-off-by: Andrew Bresticker <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Sifan Naeem authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    ede8342 View commit details
    Browse the repository at this point in the history
  31. regulator: max8660: fix assignment of pdata to data that becomes dead

    pdata is assigned to &pdata_of, however, pdata_of becomes dead (when it
    goes out of scope) so pdata effectively becomes a dead pointer to the
    out of scope object.  This is detected by static analysis:
    
    [drivers/regulator/max8660.c:411]: (error) Dead pointer usage.
      Pointer 'pdata' is dead if it has been assigned '&pdata_of' at line 404.
    
    Move declaration of pdata_of so it is always in scope.
    
    Signed-off-by: Colin Ian King <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Colin Ian King authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    dfb85ba View commit details
    Browse the repository at this point in the history
  32. regulator: qcom: Don't enable DRMS in driver

    The driver itself should not flag regulators as being DRMS compatible,
    this should come from board or dt files.
    
    Reviewed-by: Stephen Boyd <[email protected]>
    Signed-off-by: Bjorn Andersson <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    andersson authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    4d1e4d6 View commit details
    Browse the repository at this point in the history
  33. regulator: qcom: Refactor of-parsing code

    Refactor out all custom property parsing code from the probe function
    into a function suitable for regulator_desc->of_parse_cb usage.
    
    Reviewed-by: Stephen Boyd <[email protected]>
    Signed-off-by: Bjorn Andersson <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    andersson authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    469a951 View commit details
    Browse the repository at this point in the history
  34. regulator: qcom: Rework to single platform device

    Modeling the individual RPM resources as platform devices consumes at
    least 12-15kb of RAM, just to hold the platform_device structs. Rework
    this to instead have one device per pmic exposed by the RPM.
    
    With this representation we can more accurately define the input pins on
    the pmic and have the supply description match the data sheet.
    
    Suggested-by: Stephen Boyd <[email protected]>
    Signed-off-by: Bjorn Andersson <[email protected]>
    Reviewed-by: Stephen Boyd <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    andersson authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    087a1b5 View commit details
    Browse the repository at this point in the history
  35. regulator: qcom: Tidy up probe()

    Tidy up error reporting and move rpm reference retrieval out of the for
    loop for improved readability.
    
    Signed-off-by: Bjorn Andersson <[email protected]>
    Reviewed-by: Stephen Boyd <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    andersson authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    ce8ae17 View commit details
    Browse the repository at this point in the history
  36. ata: remove deprecated use of pci api

    Replace occurences of the pci api by appropriate call to the dma api.
    
    A simplified version of the semantic patch that finds this problem is as
    follows: (http://coccinelle.lip6.fr)
    
    @deprecated@
    idexpression id;
    position p;
    @@
    
    (
      pci_dma_supported@p ( id, ...)
    |
      pci_alloc_consistent@p ( id, ...)
    )
    
    @bad1@
    idexpression id;
    position deprecated.p;
    @@
    ...when != &id->dev
       when != pci_get_drvdata ( id )
       when != pci_enable_device ( id )
    (
      pci_dma_supported@p ( id, ...)
    |
      pci_alloc_consistent@p ( id, ...)
    )
    
    @Depends on !bad1@
    idexpression id;
    expression direction;
    position deprecated.p;
    @@
    
    (
    - pci_dma_supported@p ( id,
    + dma_supported ( &id->dev,
    ...
    + , GFP_ATOMIC
      )
    |
    - pci_alloc_consistent@p ( id,
    + dma_alloc_coherent ( &id->dev,
    ...
    + , GFP_ATOMIC
      )
    )
    
    Signed-off-by: Quentin Lambert <[email protected]>
    Signed-off-by: Tejun Heo <[email protected]>
    Quentin Lambert authored and htejun committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    c54c719 View commit details
    Browse the repository at this point in the history
  37. hwmon: (ibmpowernv) add a helper routine create_hwmon_attr

    This should shorten a bit the code necessary to create a hmwon attribute.
    
    Signed-off-by: Cédric Le Goater <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    Cédric Le Goater authored and groeck committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    9e4f74b View commit details
    Browse the repository at this point in the history
  38. hwmon: (ibmpowernv) add support for the new device tree

    The new OPAL device tree for sensors has a different layout and uses new
    property names, for the type and for the handler used to capture the
    sensor data.
    
    This patch modifies the ibmpowernv driver to support such a tree in a
    way preserving compatibility with older OPAL firmwares.
    
    This is achieved by changing the error path of the routine parsing
    an OPAL node name. The node is simply considered being from the new
    device tree layout and fallback values are used.
    
    Signed-off-by: Cédric Le Goater <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    Cédric Le Goater authored and groeck committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    1468163 View commit details
    Browse the repository at this point in the history
  39. hwmon: (ibmpowernv) add a label attribute

    Currently, sensors are only identified by their type and index.
    
    The new OPAL device tree can expose extra properties to identify
    some sensors by their name or location. This patch adds the creation
    of a new hwmon *_label attribute when such properties are detected.
    
    Signed-off-by: Cédric Le Goater <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    Cédric Le Goater authored and groeck committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    2bcd378 View commit details
    Browse the repository at this point in the history
  40. hwmon: (ibmpowernv) pretty print labels

    The new OPAL device tree adds a few properties which can be used to add
    extra information on the sensor label.
    
    In the case of a cpu core sensor, the firmware exposes the physical
    identifier of the core in the "ibm,pir" property. The driver
    translates this identifier in a linux cpu number and prints out a
    range corresponding to the hardware threads of the core (as they
    share the same sensor).
    
    The numbering gives a hint on the localization of the core in the
    system (which socket, which chip).
    
    Signed-off-by: Cédric Le Goater <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    Cédric Le Goater authored and groeck committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    3df2f59 View commit details
    Browse the repository at this point in the history
  41. PCI: Export symbols required for loadable host driver modules

    Export the following symbols so they can be referenced by a PCI host bridge
    driver compiled as a kernel loadable module:
    
      pci_common_swizzle
      pci_create_root_bus
      pci_stop_root_bus
      pci_remove_root_bus
      pci_assign_unassigned_bus_resources
      pci_fixup_irqs
    
    Signed-off-by: Ray Jui <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    Acked-by: Arnd Bergmann <[email protected]>
    Ray Jui authored and bjorn-helgaas committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    e6b29de View commit details
    Browse the repository at this point in the history
  42. PCI: iproc: Add DT docs for Broadcom iProc PCIe driver

    Document the Broadcom iProc PCIe platform interface device tree binding.
    
    Signed-off-by: Ray Jui <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    Reviewed-by: Scott Branden <[email protected]>
    Acked-by: Arnd Bergmann <[email protected]>
    Ray Jui authored and bjorn-helgaas committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    1b55d62 View commit details
    Browse the repository at this point in the history
  43. PCI: iproc: Add Broadcom iProc PCIe support

    Add support for the Broadcom iProc PCIe controller.
    
    pcie-iproc.c is the common core driver, and a front-end bus interface needs
    to be added to support different bus interfaces.
    
    pcie-iproc-platform.c contains the support for the platform bus interface.
    
    Signed-off-by: Ray Jui <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    Reviewed-by: Scott Branden <[email protected]>
    Acked-by: Arnd Bergmann <[email protected]>
    Ray Jui authored and bjorn-helgaas committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    1fb37a8 View commit details
    Browse the repository at this point in the history
  44. PCI: exynos: Fix INTx enablement statement termination error

    Use a semicolon, not a comma, to terminate a statement.
    
    Signed-off-by: Jaehoon Chung <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    Jaehoon Chung authored and bjorn-helgaas committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    01d06a9 View commit details
    Browse the repository at this point in the history
  45. PCI: Fix typo in Thunderbolt kernel message

    Fix a typo in one of the kernel messages.
    
    Signed-off-by: Darrick J. Wong <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    djwong authored and bjorn-helgaas committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    c89ac44 View commit details
    Browse the repository at this point in the history
  46. PCI: Make a shareable UUID for PCI firmware ACPI _DSM

    The PCI Firmware Specification, r3.0, sec 4.6.4.1.3, defines a single UUID
    for an ACPI _DSM method to provide device-specific control functions.  This
    _DSM method support several functions, including PCI Express Slot
    Information, PCI Express Slot Number, PCI Bus Capabilities, etc.
    
    Move the UUID definition from pci/pci-label.c, where it could be used only
    for one function, to pci/pci-acpi.c where it can be shared for all these
    functions.
    
    [bhelgaas: changelog]
    Signed-off-by: Aaron Lu <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    Acked-by: Rafael J. Wysocki <[email protected]>
    aaronlu authored and bjorn-helgaas committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    18e94a3 View commit details
    Browse the repository at this point in the history
  47. PCI: Export pci_find_host_bridge() for use inside PCI core

    The find_pci_host_bridge() function can be useful to other PCI code so
    export it.  Change its name to pci_find_host_bridge().
    
    Signed-off-by: Aaron Lu <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    aaronlu authored and bjorn-helgaas committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    3390e08 View commit details
    Browse the repository at this point in the history
  48. Merge tag 'v4.0-rc7' into spi-img-spfi

    Linux 4.0-rc7
    broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    89cda06 View commit details
    Browse the repository at this point in the history
  49. spi: img-spfi: Implement a handle_err() callback

    The driver can be greatly simplified by moving the transfer timeout
    handling to a handle_err() callback.
    
    Signed-off-by: Ezequiel Garcia <[email protected]>
    Signed-off-by: Andrew Bresticker <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Ezequiel Garcia authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    824ab37 View commit details
    Browse the repository at this point in the history
  50. spi: img-spfi: Reset controller after each message

    Imagination has recommended that the SPFI controller be reset after
    each message, regardless of success or failure.  Do this in an
    unprepare_message() callback.
    
    Signed-off-by: Andrew Bresticker <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    abrestic authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    ba33d8a View commit details
    Browse the repository at this point in the history
  51. Merge branch 'fix/img-spfi' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/broonie/spi into spi-img-spfi
    broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    a25202b View commit details
    Browse the repository at this point in the history
  52. spi: img-spfi: Control CS lines with GPIO

    When the CONTINUE bit is set, the interrupt status we are polling to
    identify if a transaction has finished can be sporadic.  Even though
    the transfer has finished, the interrupt status may erroneously
    indicate that there is still data in the FIFO.  This behaviour causes
    random timeouts in large PIO transfers.
    
    Instead of using the CONTINUE bit to control the CS lines, use the SPI
    core's CS GPIO handling.  Also, now that the CONTINUE bit is not being
    used, we can poll for the ALLDONE interrupt to indicate transfer
    completion.
    
    Signed-off-by: Sifan Naeem <[email protected]>
    Signed-off-by: Ezequiel Garcia <[email protected]>
    Signed-off-by: Andrew Bresticker <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Ezequiel Garcia authored and broonie committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    8c2c8c0 View commit details
    Browse the repository at this point in the history
  53. PCI/ACPI: Optimize device state transition delays

    The PCI "ACPI additions for FW latency optimizations" ECN (link below)
    defines two functions in the PCI _DSM:
    
      Function 8, "Reset Delay," applies to the entire hierarchy below a PCI
      host bridge.  If it returns one, the OS may assume that all devices in
      the hierarchy have already completed power-on reset delays.
    
      Function 9, "Device Readiness Durations," applies only to the object
      where it is located.  It returns delay durations required after various
      events if the device requires less time than the spec requires.  Delays
      from this function take precedence over the Reset Delay function.
    
    Add support for Reset Delay and part of Device Readiness Durations.
    
    [bhelgaas: changelog, comments]
    Link: https://www.pcisig.com/specifications/conventional/pci_firmware/ECN_fw_latency_optimization_final.pdf
    Signed-off-by: Aaron Lu <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    aaronlu authored and bjorn-helgaas committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    e33caa8 View commit details
    Browse the repository at this point in the history
  54. Merge branch 'linus' into irq/core to get the GIC updates which

    conflict with pending GIC changes.
    
    Conflicts:
    	drivers/usb/isp1760/isp1760-core.c
    KAGA-KOKO committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    462b69b View commit details
    Browse the repository at this point in the history
  55. genirq: MSI: Fix freeing of unallocated MSI

    While debugging an unrelated issue with the GICv3 ITS driver, the
    following trace triggered:
    
    WARNING: CPU: 1 PID: 1 at kernel/irq/irqdomain.c:1121 irq_domain_free_irqs+0x160/0x17c()
    NULL pointer, cannot free irq
    Modules linked in:
    CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W      3.19.0-rc6+ #3690
    Hardware name: FVP Base (DT)
    Call trace:
    [<ffffffc000089398>] dump_backtrace+0x0/0x13c
    [<ffffffc0000894e4>] show_stack+0x10/0x1c
    [<ffffffc00066d134>] dump_stack+0x74/0x94
    [<ffffffc0000a92f8>] warn_slowpath_common+0x9c/0xd4
    [<ffffffc0000a938c>] warn_slowpath_fmt+0x5c/0x80
    [<ffffffc0000ee04c>] irq_domain_free_irqs+0x15c/0x17c
    [<ffffffc0000ef918>] msi_domain_free_irqs+0x58/0x74
    [<ffffffc000386f58>] free_msi_irqs+0xb4/0x1c0
    
        // The msi_prepare callback fails here
    
    [<ffffffc0003872c0>] pci_enable_msix+0x25c/0x3d4
    [<ffffffc00038746c>] pci_enable_msix_range+0x34/0x80
    [<ffffffc0003924ac>] vp_try_to_find_vqs+0xec/0x528
    [<ffffffc000392954>] vp_find_vqs+0x6c/0xa8
    [<ffffffc0003ee2a8>] init_vq+0x120/0x248
    [<ffffffc0003eefb0>] virtblk_probe+0xb0/0x6bc
    [<ffffffc00038fc34>] virtio_dev_probe+0x17c/0x214
    [<ffffffc0003d4a04>] driver_probe_device+0x7c/0x23c
    [<ffffffc0003d4cb0>] __driver_attach+0x98/0xa0
    [<ffffffc0003d2c60>] bus_for_each_dev+0x60/0xb4
    [<ffffffc0003d455c>] driver_attach+0x1c/0x28
    [<ffffffc0003d41b0>] bus_add_driver+0x150/0x208
    [<ffffffc0003d54c0>] driver_register+0x64/0x130
    [<ffffffc00038f9e8>] register_virtio_driver+0x24/0x68
    [<ffffffc00091320c>] init+0x70/0xac
    [<ffffffc0000828f0>] do_one_initcall+0x94/0x1d0
    [<ffffffc0008e9b00>] kernel_init_freeable+0x144/0x1e4
    [<ffffffc00066a434>] kernel_init+0xc/0xd8
    ---[ end trace f9ee562a77cc7bae ]---
    
    The ITS msi_prepare callback having failed, we end-up trying to
    free MSIs that have never been allocated. Oddly enough, the kernel
    is pretty upset about it.
    
    It turns out that this behaviour was expected before the MSI domain
    was introduced (and dealt with in arch_teardown_msi_irqs).
    
    The obvious fix is to detect this early enough and bail out.
    
    Signed-off-by: Marc Zyngier <[email protected]>
    Reviewed-by: Jiang Liu <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Thomas Gleixner <[email protected]>
    Marc Zyngier authored and KAGA-KOKO committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    fe0c52f View commit details
    Browse the repository at this point in the history
  56. genirq: Allow the irqchip state of an IRQ to be save/restored

    There is a number of cases where a kernel subsystem may want to
    introspect the state of an interrupt at the irqchip level:
    
    - When a peripheral is shared between virtual machines,
      its interrupt state becomes part of the guest's state,
      and must be switched accordingly. KVM on arm/arm64 requires
      this for its guest-visible timer
    - Some GPIO controllers seem to require peeking into the
      interrupt controller they are connected to to report
      their internal state
    
    This seem to be a pattern that is common enough for the core code
    to try and support this without too many horrible hacks. Introduce
    a pair of accessors (irq_get_irqchip_state/irq_set_irqchip_state)
    to retrieve the bits that can be of interest to another subsystem:
    pending, active, and masked.
    
    - irq_get_irqchip_state returns the state of the interrupt according
      to a parameter set to IRQCHIP_STATE_PENDING, IRQCHIP_STATE_ACTIVE,
      IRQCHIP_STATE_MASKED or IRQCHIP_STATE_LINE_LEVEL.
    - irq_set_irqchip_state similarly sets the state of the interrupt.
    
    Signed-off-by: Marc Zyngier <[email protected]>
    Reviewed-by: Bjorn Andersson <[email protected]>
    Tested-by: Bjorn Andersson <[email protected]>
    Cc: [email protected]
    Cc: Abhijeet Dharmapurikar <[email protected]>
    Cc: Stephen Boyd <[email protected]>
    Cc: Phong Vo <[email protected]>
    Cc: Linus Walleij <[email protected]>
    Cc: Tin Huynh <[email protected]>
    Cc: Y Vo <[email protected]>
    Cc: Toan Le <[email protected]>
    Cc: Bjorn Andersson <[email protected]>
    Cc: Jason Cooper <[email protected]>
    Cc: Arnd Bergmann <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Thomas Gleixner <[email protected]>
    Marc Zyngier authored and KAGA-KOKO committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    1b7047e View commit details
    Browse the repository at this point in the history
  57. irqchip: GIC: Add support for irq_[get, set]_irqchip_state()

    Add the required hooks for the internal state of an interrupt
    to be exposed to other subsystems.
    
    Signed-off-by: Marc Zyngier <[email protected]>
    Cc: [email protected]
    Cc: Abhijeet Dharmapurikar <[email protected]>
    Cc: Stephen Boyd <[email protected]>
    Cc: Phong Vo <[email protected]>
    Cc: Linus Walleij <[email protected]>
    Cc: Tin Huynh <[email protected]>
    Cc: Y Vo <[email protected]>
    Cc: Toan Le <[email protected]>
    Cc: Bjorn Andersson <[email protected]>
    Cc: Jason Cooper <[email protected]>
    Cc: Arnd Bergmann <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Thomas Gleixner <[email protected]>
    Marc Zyngier authored and KAGA-KOKO committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    5671780 View commit details
    Browse the repository at this point in the history
  58. irqchip: GICv3: Add support for irq_[get, set]_irqchip_state()

    Add the required hooks for the internal state of an interrupt
    to be exposed to other subsystems.
    
    Signed-off-by: Marc Zyngier <[email protected]>
    Cc: [email protected]
    Cc: Abhijeet Dharmapurikar <[email protected]>
    Cc: Stephen Boyd <[email protected]>
    Cc: Phong Vo <[email protected]>
    Cc: Linus Walleij <[email protected]>
    Cc: Tin Huynh <[email protected]>
    Cc: Y Vo <[email protected]>
    Cc: Toan Le <[email protected]>
    Cc: Bjorn Andersson <[email protected]>
    Cc: Jason Cooper <[email protected]>
    Cc: Arnd Bergmann <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Thomas Gleixner <[email protected]>
    Marc Zyngier authored and KAGA-KOKO committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    b594c6e View commit details
    Browse the repository at this point in the history
  59. Merge tag 'irqchip-core-4.0' of git://git.infradead.org/users/jcooper…

    …/linux into irq/core
    
    irqchip core changes for v4.0 from Jason Cooper
    
     - ST
        - New driver, irq-st
    
     - Renesas
        - Use u32 type for 32bit regs
    KAGA-KOKO committed Apr 8, 2015
    Configuration menu
    Copy the full SHA
    fdb7144 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2015

  1. hwmon: (gpio-fan) Move the thermal registration after registration is…

    … complete
    
    Thermal framework may already be ready and cooling policies might
    already be functional when we are attempting to register gpio fan as
    a cooling device. This can be reproduced by changing probe order in
    which registration of various modules are done in a system. In such
    a case, kernel generates an oops since the data structures are not
    completely populated with the wrong assumption that thermal framework
    is not yet ready. Fix this by reordering the thermal framework
    registration to occur after hwmon registration of the fan is complete.
    
    Example kernel oops:
    [  149.005828] Unable to handle kernel NULL pointer dereference at virtual address 0000008c
    [  149.014369] pgd = ecf48000
    [  149.017204] [0000008c] *pgd=ac065831, *pte=00000000, *ppte=00000000
    [  149.023820] Internal error: Oops: 17 [#1] SMP ARM
    [  149.028745] Modules linked in: gpio_fan(+) cpufreq_dt ipv6 evdev leds_gpio led_class omap_wdt phy_omap_usb2 rtc_palmas palmas_pwrbutton tmp102 ti_soc_thermal dwc3_omap thermal_sys extcon rtc_omap rtc_ds1307 hwmon
    [  149.048629] CPU: 1 PID: 1183 Comm: modprobe Not tainted 4.0.0-rc7-next-20150407-00002-g7a82da074c99 #3
    [  149.058383] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  149.064763] task: edec1240 ti: ec0e0000 task.ti: ec0e0000
    [  149.070421] PC is at dev_driver_string+0x0/0x38
    [  149.075165] LR is at __dev_printk+0x24/0x70
    [  149.079540] pc : [<c03d6cd0>]    lr : [<c03d72c4>]    psr: 20000013
    [  149.079540] sp : ec0e1c28  ip : edec1240  fp : 00000000
    [  149.091568] r10: edf3eee0  r9 : 00000000  r8 : ffffffff
    [  149.097040] r7 : edf3eea0  r6 : 00000034  r5 : 00000010  r4 : ec0e1c44
    [  149.103871] r3 : ec0e1c4c  r2 : ec0e1c44  r1 : c079d800  r0 : 00000010
    [  149.110709] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [  149.118182] Control: 10c5387d  Table: acf4806a  DAC: 00000015
    [  149.124198] Process modprobe (pid: 1183, stack limit = 0xec0e0218)
    [  149.130673] Stack: (0xec0e1c28 to 0xec0e2000)
    [  149.135235] 1c20:                   60000013 c05e2ae0 00000000 edf3ec00 ec934a10 c03d73d4
    ...
    [  149.392230] 1fe0: befe1888 befe1878 00019418 b6ea08f0 80000010 00000003 00000000 00000000
    [  149.400798] [<c03d6cd0>] (dev_driver_string) from [<c03d72c4>] (__dev_printk+0x24/0x70)
    [  149.409193] [<c03d72c4>] (__dev_printk) from [<c03d73d4>] (dev_warn+0x34/0x48)
    [  149.416767] [<c03d73d4>] (dev_warn) from [<bf0f54fc>] (get_fan_speed_index+0x94/0xa4 [gpio_fan])
    [  149.425980] [<bf0f54fc>] (get_fan_speed_index [gpio_fan]) from [<bf0f5524>] (gpio_fan_get_cur_state+0x18/0x30 [gpio_fan])
    [  149.437476] [<bf0f5524>] (gpio_fan_get_cur_state [gpio_fan]) from [<bf02767c>] (thermal_zone_trip_update+0xe8/0x2a4 [thermal_sys])
    [  149.449794] [<bf02767c>] (thermal_zone_trip_update [thermal_sys]) from [<bf027844>] (step_wise_throttle+0xc/0x74 [thermal_sys])
    [  149.461832] [<bf027844>] (step_wise_throttle [thermal_sys]) from [<bf024ff4>] (handle_thermal_trip+0x5c/0x188 [thermal_sys])
    [  149.473603] [<bf024ff4>] (handle_thermal_trip [thermal_sys]) from [<bf0256c4>] (thermal_zone_device_update+0x94/0x108 [thermal_sys])
    [  149.486104] [<bf0256c4>] (thermal_zone_device_update [thermal_sys]) from [<bf026470>] (__thermal_cooling_device_register+0x2e8/0x374 [thermal_sys])
    [  149.499956] [<bf026470>] (__thermal_cooling_device_register [thermal_sys]) from [<bf0f58e4>] (gpio_fan_probe+0x350/0x4d0 [gpio_fan])
    [  149.512438] [<bf0f58e4>] (gpio_fan_probe [gpio_fan]) from [<c03db8a0>] (platform_drv_probe+0x48/0x98)
    [  149.522109] [<c03db8a0>] (platform_drv_probe) from [<c03da30c>] (driver_probe_device+0x1b0/0x26c)
    [  149.531399] [<c03da30c>] (driver_probe_device) from [<c03da45c>] (__driver_attach+0x94/0x98)
    [  149.540238] [<c03da45c>] (__driver_attach) from [<c03d8bb0>] (bus_for_each_dev+0x54/0x88)
    [  149.548814] [<c03d8bb0>] (bus_for_each_dev) from [<c03d9a34>] (bus_add_driver+0xdc/0x1d4)
    [  149.557381] [<c03d9a34>] (bus_add_driver) from [<c03dac30>] (driver_register+0x78/0xf4)
    [  149.565765] [<c03dac30>] (driver_register) from [<c0009784>] (do_one_initcall+0x80/0x1d8)
    [  149.574340] [<c0009784>] (do_one_initcall) from [<c00c2278>] (do_init_module+0x5c/0x1b8)
    [  149.582833] [<c00c2278>] (do_init_module) from [<c00c3bbc>] (load_module+0x1720/0x1dcc)
    [  149.591212] [<c00c3bbc>] (load_module) from [<c00c43d0>] (SyS_finit_module+0x68/0x6c)
    [  149.599418] [<c00c43d0>] (SyS_finit_module) from [<c000f3c0>] (ret_fast_syscall+0x0/0x4c)
    [  149.607994] Code: 15830000 e1a00006 e28dd008 e8bd8070 (e590307c)
    
    Cc: Eduardo Valentin <[email protected]>
    Fixes: b5cf88e ("(gpio-fan): Add thermal control hooks")
    Signed-off-by: Nishanth Menon <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    nmenon authored and groeck committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    e76ea26 View commit details
    Browse the repository at this point in the history
  2. hwmon: (ibmpowernv) Fix build error seen for some configurations

    Fix
    drivers/hwmon/ibmpowernv.c: In function 'get_logical_cpu':
    drivers/hwmon/ibmpowernv.c:121:3:
    	error: implicit declaration of function 'get_hard_smp_processor_id'
    
    seen for some configurations, possibly if SMP is not configured.
    
    Fixes: 3df2f59 ("hwmon: (ibmpowernv) pretty print labels")
    Cc: Cédric Le Goater <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    groeck committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    8416915 View commit details
    Browse the repository at this point in the history
  3. locking/mutex: Further simplify mutex_spin_on_owner()

    Similar to what Linus suggested for rwsem_spin_on_owner(), in
    mutex_spin_on_owner() instead of having while (true) and
    breaking out of the spin loop on lock->owner != owner, we can
    have the loop directly check for while (lock->owner == owner) to
    improve the readability of the code.
    
    It also shrinks the code a bit:
    
       text    data     bss     dec     hex filename
       3721       0       0    3721     e89 mutex.o.before
       3705       0       0    3705     e79 mutex.o.after
    
    Signed-off-by: Jason Low <[email protected]>
    Cc: Andrew Morton <[email protected]>
    Cc: Aswin Chandramouleeswaran <[email protected]>
    Cc: Davidlohr Bueso <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Paul E. McKenney <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Tim Chen <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    [ Added code generation info. ]
    Signed-off-by: Ingo Molnar <[email protected]>
    Jason Low authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    01ac33c View commit details
    Browse the repository at this point in the history
  4. mmc: dw_mmc: make IO accessors endian agnostic

    The dw_mmc driver does not use endian agnostic IO accessors, so fix
    the use of __raw reads and writes to be the relaxed versions.
    
    This fixes the dw_mmc driver initialisation on Altera socfpga in big endian.
    
    Signed-off-by: Ben Dooks <[email protected]>
    Signed-off-by: Jaehoon Chung <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    bjdooks-ct authored and storulf committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    a2f1768 View commit details
    Browse the repository at this point in the history
  5. mmc: dw_mmc: change idmac descriptor files to __le32

    The dw_mmc driver does not take into account the processor may be in
    big endian when writing the descriptors. Change the descriptors for
    the 32bit IDMA to use __le32 and ensure they are suitably swapped
    before writing.
    
    Note, this has not been tested as the socfpga driver does not try to
    use idma.
    
    Signed-off-by: Ben Dooks <[email protected]>
    Signed-off-by: Jaehoon Chung <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    bjdooks-ct authored and storulf committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    6687c42 View commit details
    Browse the repository at this point in the history
  6. mmc: dw_mmc: fix fifo ordering in big endian

    The dw_mmc driver changes to make the IO accesors endian agnostic did not
    take into account the fifo accesses do not need to be swapped. To fix this
    add a mmci_fifo_read/write wrapper to allow these to be passed through the
    IO without being swapped.
    
    Since these are now specific functions, it would be easier just to store
    the pointer to the fifo registers in the host block instead of the offset
    to them. So change the host->data_offset to host->fifo_reg (which also
    means we catch all the places this is read or written).
    
    Signed-off-by: Ben Dooks <[email protected]>
    Signed-off-by: Jaehoon Chung <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    bjdooks-ct authored and storulf committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    76184ac View commit details
    Browse the repository at this point in the history
  7. mmc: dw_mmc: Increase cmd11 timeout to 500ms

    Although the cmd11 interrupt should come within 2ms, that's a very
    short time.  Let's increase the timeout to be really sure that we
    don't get an accidnetal timeout.  One case in particular this is
    useful is if you've got a serial console and printk in just the right
    places.  Under that scenario I've seen delays of up to 130ms before
    the interrupt fired.
    
    CMD11 is only sent during card insertion, so this extra timeout
    shouldn't be terrible.
    
    Fixes: 5c93516 ("mmc: dw_mmc: Add a timeout for sending CMD11")
    Signed-off-by: Doug Anderson <[email protected]>
    Signed-off-by: Jaehoon Chung <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    dianders authored and storulf committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    8886a6f View commit details
    Browse the repository at this point in the history
  8. mmc: dw_mmc: Add a return in an unexpected cmd11 timeout

    If we get an unexpected cmd11 timeout we shouldn't actually treat it
    as a timeout (not that we really expect to get an unexpected cmd11
    timeout, but still).
    
    Fixes: 5c93516 ("mmc: dw_mmc: Add a timeout for sending CMD11")
    Reported-by: Jaehoon Chung <[email protected]>
    Signed-off-by: Doug Anderson <[email protected]>
    Signed-off-by: Jaehoon Chung <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    dianders authored and storulf committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    fd67419 View commit details
    Browse the repository at this point in the history
  9. mmc: dw_mmc: Add locking around cmd11 timer

    It is possible for the cmd11 interrupt to fire and delete the
    cmd11_timer before the cmd11_timer was actually setup.  Let's fix this
    race by adding a few spinlocks.  Note that the race wasn't seen in
    practice without adding some printk statements, but it still seems
    wise to fix.
    
    Fixes: 5c93516 ("mmc: dw_mmc: Add a timeout for sending CMD11")
    Signed-off-by: Doug Anderson <[email protected]>
    Signed-off-by: Jaehoon Chung <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    dianders authored and storulf committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    49ba030 View commit details
    Browse the repository at this point in the history
  10. mmc: sdhci-esdhc-imx: Call mmc_of_parse()

    Currently it is not possible to use 'mmc-pwrseq-simple' property with this
    driver because mmc_of_parse() is never called.
    
    mmc_of_parse() calls mmc_pwrseq_alloc() that manages MMC power sequence and
    allows passing GPIOs in the devicetree to properly power/reset the Wifi
    chipset.
    
    When using mmc_of_parse() we no longer need to have custom code to request
    card-detect and write-protect pins, as this can now be handled by the mmc
    core.
    
    Tested on a imx6sl-warp board where BT/Wifi is functional and also on a
    imx6q-sabresd.
    
    Signed-off-by: Fabio Estevam <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    Fabio Estevam authored and storulf committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    8d86e4f View commit details
    Browse the repository at this point in the history
  11. jump_label: Allow asm/jump_label.h to be included in assembly

    Wrap asm/jump_label.h for all archs with #ifndef __ASSEMBLY__.
    Since these are kernel only headers, we don't need #ifdef
    __KERNEL__ so can simplify things a bit.
    
    If an architecture wants to use jump labels in assembly, it
    will still need to define a macro to create the __jump_table
    entries (see ARCH_STATIC_BRANCH in the powerpc asm/jump_label.h
    for an example).
    
    Signed-off-by: Anton Blanchard <[email protected]>
    Acked-by: Peter Zijlstra (Intel) <[email protected]>
    Cc: Andrew Morton <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Paul E. McKenney <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    antonblanchard authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    55dd0df View commit details
    Browse the repository at this point in the history
  12. jump_label: Allow jump labels to be used in assembly

    To use jump labels in assembly we need the HAVE_JUMP_LABEL
    define, so we select a fallback version if the toolchain does
    not support them.
    
    Modify linux/jump_label.h so it can be included by assembly
    files. We also need to add -DCC_HAVE_ASM_GOTO to KBUILD_AFLAGS.
    
    Signed-off-by: Anton Blanchard <[email protected]>
    Acked-by: Peter Zijlstra (Intel) <[email protected]>
    Cc: Andrew Morton <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Paul E. McKenney <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    antonblanchard authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    c0ccf6f View commit details
    Browse the repository at this point in the history
  13. powerpc, jump_label: Include linux/jump_label.h to get HAVE_JUMP_LABE…

    …L define
    
    Commit 1bc9e47 ("powerpc/jump_label: Use HAVE_JUMP_LABEL")
    converted uses of CONFIG_JUMP_LABEL to HAVE_JUMP_LABEL in
    some assembly files.
    
    HAVE_JUMP_LABEL is defined in linux/jump_label.h, so we need to
    include this or we always get the non jump label fallback code.
    
    Signed-off-by: Anton Blanchard <[email protected]>
    Acked-by: Michael Ellerman <[email protected]>
    Acked-by: Peter Zijlstra (Intel) <[email protected]>
    Cc: Andrew Morton <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Paul E. McKenney <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Fixes: 1bc9e47 ("powerpc/jump_label: Use HAVE_JUMP_LABEL")
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    antonblanchard authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    58995a9 View commit details
    Browse the repository at this point in the history
  14. x86/asm/entry/64: Use common code for rt_sigreturn() epilogue

    Similarly to stub_execve, we can reuse the epilogue in
    stub_rt_sigreturn() and stub_x32_rt_sigreturn().
    
    Add a comment explaining why we can't eliminage SAVE_EXTRA_REGS
    here.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    31f0119 View commit details
    Browse the repository at this point in the history
  15. x86/asm/entry/64: Move stub_x32_execvecloser() to stub_execveat()

    This is a preparatory patch for moving stub32_execve[at]() to this
    file. It makes sense to have all execve stubs in one place, so
    that they can reuse code.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    05f1752 View commit details
    Browse the repository at this point in the history
  16. x86/asm/entry: Zero EXTRA_REGS for stub32_execve() too

    The change which affected how execve clears EXTRA_REGS missed
    32-bit execve syscalls.
    
    Fix this by using 64-bit execve stub epilogue for them too.
    
    Run-tested.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    0f90fb9 View commit details
    Browse the repository at this point in the history
  17. x86/asm/entry/64: Optimize [v]fork/clone stubs

    Replace "call func; ret" with "jmp func".
    
    Run-tested.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    772951c View commit details
    Browse the repository at this point in the history
  18. x86/asm/entry/64: Remove a redundant jump

    Jumping to the very next instruction is not very useful:
    
            jmp label
        label:
    
    Removing the jump.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    a30b008 View commit details
    Browse the repository at this point in the history
  19. x86/asm/entry/64: Simplify jumps in ret_from_fork

    Replace
            test
            jz  1f
            jmp label
        1:
    
    with
            test
            jnz label
    
    Run-tested.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    66ad4ef View commit details
    Browse the repository at this point in the history
  20. x86/asm/entry/64: Remove GET_THREAD_INFO() in ret_from_fork

    It used to be used to check for _TIF_IA32, but the check has
    been removed.
    
    Remove GET_THREAD_INFO() too.
    
    Run-tested.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    54a81e9 View commit details
    Browse the repository at this point in the history
  21. x86/asm/entry/64: Reduce padding in execve stubs

    execve stubs are 7 bytes only. Padding them to 16 bytes is a
    waste.
    
       text	   data	    bss	    dec	    hex	filename
      12594	      0	      0	  12594	   3132	entry_64.o.before
      12530	      0	      0	  12530	   30f2	entry_64.o
    
    Run-tested.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Brian Gerst <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    a37f34a View commit details
    Browse the repository at this point in the history
  22. x86/iommu: Fix header comments regarding standard and _FINISH macros

    The comment line regarding IOMMU_INIT and IOMMU_INIT_FINISH
    macros is incorrect:
    
      "The standard vs the _FINISH differs in that the _FINISH variant
      will continue detecting other IOMMUs in the call list..."
    
    It should be "..the *standard* variant will continue
    detecting..."
    
    Fix that. Also, make it readable while at it.
    
    Signed-off-by: Aravind Gopalakrishnan <[email protected]>
    Signed-off-by: Borislav Petkov <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: [email protected]
    Fixes: 6e96366 ("x86, iommu: Update header comments with appropriate naming")
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    Aravind Gopalakrishnan authored and Ingo Molnar committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    b449159 View commit details
    Browse the repository at this point in the history
  23. hwmon: (it87) Use feature macros on sio_data

    Feature macros work on sio_data as well, so use them there.
    
    Reviewed-by: Jean Delvare <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    groeck committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    f83a9cb View commit details
    Browse the repository at this point in the history
  24. PCI: Clarify policy for vendor IDs in pci.txt

    Clarify pci.txt so it matches the "do not add new entries unless they are
    shared between multiple drivers" comment in include/linux/pci_ids.h.
    
    [bhelgaas: changelog, strengthen language]
    Signed-off-by: Michael S. Tsirkin <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    mstsirkin authored and bjorn-helgaas committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    37a9c50 View commit details
    Browse the repository at this point in the history
  25. PCI: Don't clear ASPM bits when the FADT declares it's unsupported

    Communications with a hardware vendor confirm that the expected behaviour
    on systems that set the FADT ASPM disable bit but which still grant full
    PCIe control is for the OS to leave any BIOS configuration intact and
    refuse to touch the ASPM bits.  This mimics the behaviour of Windows.
    
    Signed-off-by: Matthew Garrett <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    Matthew Garrett authored and bjorn-helgaas committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    387d375 View commit details
    Browse the repository at this point in the history
  26. PCI: versatile: Check for devm_ioremap_resource() failures

    Check for failure of devm_ioremap_resource().
    
    devm_ioremap_resource() validates the resource it receives, so if we check
    for devm_ioremap_resource() failure, we need not check for failure of the
    preceding platform_get_resource().
    
    [bhelgaas: changelog]
    Signed-off-by: Jisheng Zhang <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    Jisheng Zhang authored and bjorn-helgaas committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    8735816 View commit details
    Browse the repository at this point in the history
  27. PCI: keystone: Don't dereference possible NULL pointer

    Check for failure from platform_get_resource() (this check actually happens
    inside devm_ioremap_resource()) before dereferencing the pointer returned
    from platform_get_resource().
    
    Signed-off-by: Bjorn Helgaas <[email protected]>
    bjorn-helgaas committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    f76ea57 View commit details
    Browse the repository at this point in the history
  28. PCI: layerscape: Simplify platform_get_resource_byname() failure chec…

    …king
    
    devm_ioremap_resource() validates the resource it receives, so if we check
    for devm_ioremap_resource() failure, we need not check for failure of the
    preceding platform_get_resource().
    
    Signed-off-by: Bjorn Helgaas <[email protected]>
    bjorn-helgaas committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    e3dc17a View commit details
    Browse the repository at this point in the history
  29. PCI: Read capability list as dwords, not bytes

    Reading both the capability ID and "next" pointer at the same time lets us
    parse the list with half the number of config reads.
    
    Signed-off-by: Sean O. Stalley <[email protected]>
    Signed-off-by: Bjorn Helgaas <[email protected]>
    Sean O. Stalley authored and bjorn-helgaas committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    55db320 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2015

  1. md/raid0: fix bug with chunksize not a power of 2.

    Since commit 20d0189
    in v3.14-rc1 RAID0 has performed incorrect calculations
    when the chunksize is not a power of 2.
    
    This happens because "sector_div()" modifies its first argument, but
    this wasn't taken into account in the patch.
    
    So restore that first arg before re-using the variable.
    
    Reported-by: Joe Landman <[email protected]>
    Reported-by: Dave Chinner <[email protected]>
    Fixes: 20d0189
    Cc: [email protected] (3.14 and later).
    Signed-off-by: NeilBrown <[email protected]>
    neilbrown committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    47d6897 View commit details
    Browse the repository at this point in the history
  2. x86/apic/uv: Update the APIC UV OEM check

    Optimize the first "SGI" OEM check to return faster if the
    system is not an SGI or UV system.
    
    Signed-off-by: Mike Travis <[email protected]>
    Acked-by: Hedi Berriche <[email protected]>
    Acked-by: Dimitri Sivanich <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    Mike Travis authored and Ingo Molnar committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    7a4e017 View commit details
    Browse the repository at this point in the history
  3. x86/apic/uv: Update the UV APIC driver check

    Fix a bug in the OEM check function that determines if the
    system is a UV system and the BIOS is compatible with the
    kernel's UV apic driver.  This prevents some possibly obscure
    panics and guards the system against being started on SGI
    hardware that does not have the required kernel support.
    
    Signed-off-by: Mike Travis <[email protected]>
    Acked-by: Hedi Berriche <[email protected]>
    Acked-by: Dimitri Sivanich <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    Mike Travis authored and Ingo Molnar committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    379b97e View commit details
    Browse the repository at this point in the history
  4. x86/apic/uv: Update the UV APIC HUB check

    Update the check for UV2000/3000.  Note when the HUB is not recognized.
    
    Signed-off-by: Mike Travis <[email protected]>
    Acked-by: Hedi Berriche <[email protected]>
    Acked-by: Dimitri Sivanich <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    Mike Travis authored and Ingo Molnar committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    1912c7a View commit details
    Browse the repository at this point in the history
  5. mmc: sdhci-st: Add macros for register offsets and bitfields for mmcs…

    …s glue regs
    
    The stih407 family SoC's have additional glue registers in the flashSS which
    are used to configure the Arasan controller.
    
    This patch adds macros for the register offsets and bitfields which will be
    used by subsequent patches to support stih407 family SoC's.
    
    Signed-off-by: Peter Griffin <[email protected]>
    Signed-off-by: Giuseppe Cavallaro <[email protected]>
    Acked-by: Maxime Coquelin <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    petegriffin authored and storulf committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    8bef717 View commit details
    Browse the repository at this point in the history
  6. mmc: sdhci-st: Add support for de-asserting reset signal and top regs…

    … resource
    
    STiH407 family SoC's can have a reset signal for the controller which needs to
    be managed. Also the eMMC controller has some additional 'top' memory mapped
    registers which are used to manage the dynamic and static delay required for
    UHS modes. This patch adds support for creating the mapping, which will be used
    by subsequent patches.
    
    Signed-off-by: Peter Griffin <[email protected]>
    Signed-off-by: Giuseppe Cavallaro <[email protected]>
    Acked-by: Maxime Coquelin <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    petegriffin authored and storulf committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    406c243 View commit details
    Browse the repository at this point in the history
  7. mmc: sdhci-st: Add delay management functions for top registers (eMMC).

    Due to the tight timing constraints in some UHS modes, it is required to have
    some delay management in the design. Two types of delay management are supported
    in the HW: -
    
    1) Static delay management
    2) Dynamic delay management
    
    NB: The delay management is only there when eMMC interface is selected.
    
    1: Static delay management: is used to provide PVT dependent static delay on the
    clock/data lines to manage setup/hold requirements of the interface. The maximum
    delay possible is 3.25ns. These delays are PVT dependent, and thus delay values
    applied are not accurate and vary across provcess voltage and temperature range.
    Due to this these delays must not be used on the very time critical paths.
    
    2. Dynamic delay locked loop (DLL): is used to provide dynamic delay management.
    The advantage of DLL is that it provides accurate & PVT indepedent delay.
    
    The DLL is used to provide delay on the loopback clock on "Read Path" to capture
    read data reliably. On TX path the clock on which output data is transmitted is
    delayed, resulting in delay of TX data.
    
    Signed-off-by: Peter Griffin <[email protected]>
    Signed-off-by: Giuseppe Cavallaro <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    petegriffin authored and storulf committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    bfa4480 View commit details
    Browse the repository at this point in the history
  8. mmc: sdhci-st: Add st_mmcss_cconfig function to configure mmcss glue …

    …registers.
    
    STiH407 family SoC's have glue registers in the flashSS subsystem which
    are used to configure the Arasan HC. This patch configures these glue
    registers according to what has been specified in the DT.
    
    Signed-off-by: Peter Griffin <[email protected]>
    Signed-off-by: Giuseppe Cavallaro <[email protected]>
    Acked-by: Maxime Coquelin <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    petegriffin authored and storulf committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    2053812 View commit details
    Browse the repository at this point in the history
  9. mmc: sdhci-st: Add sdhci_st_set_uhs_signaling function.

    To allow UHS modes to work properly we need to provide the st specific
    set_uhs_signaling callback function. This function differs from the
    generic sdhci_set_uhs_signaling callback in that we need to configure
    the correct delay depending on the UHS mode, and also set the V18_EN
    bit.
    
    Signed-off-by: Peter Griffin <[email protected]>
    Signed-off-by: Giuseppe Cavallaro <[email protected]>
    Acked-by: Maxime Coquelin <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    petegriffin authored and storulf committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    cf48d32 View commit details
    Browse the repository at this point in the history
  10. mmc: sdhci-st: Update the quirks for this controller.

    Some additional quirks need to be enabled now we support UHS
    modes. This avoids some spurious warnings like
    
    "Got data interrupt 0x00000002 even though no data operation was in progress"
    
    Testing on stih410-b2120 board achieves the following speeds
    with HS200 eMMC card.
    
    max-frequency = 200Mhz
    /dev/mmcblk0p1:
     Timing buffered disk reads: 270 MB in  3.02 seconds =  89.54 MB/sec
    
    max-frequency = 100Mhz
    root@debian-armhf:~# hdparm -t /dev/mmcblk0p1
    /dev/mmcblk0p1:
     Timing buffered disk reads: 210 MB in  3.00 seconds =  70.00 MB/sec
    
    max-frequency = 50Mhz
    root@debian-armhf:~# hdparm -t /dev/mmcblk0p1
    /dev/mmcblk0p1:
     Timing buffered disk reads: 118 MB in  3.00 seconds =  39.28 MB/sec
    
    This is better than the 3.10 kernel which achieves 77.59 MB/sec
    at 200Mhz clock (same board/soc/eMMC).
    
    Signed-off-by: Peter Griffin <[email protected]>
    Signed-off-by: Giuseppe Cavallaro <[email protected]>
    Acked-by: Maxime Coquelin <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    petegriffin authored and storulf committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    4e187d3 View commit details
    Browse the repository at this point in the history
  11. mmc: sdhci-st: Update ST SDHCI binding documentation.

    This patch updates the binding information to reflect the
    extra dt options which are now supported by the sdhci-st.c
    driver which enable support for stih407 family silicon.
    
    STiH410 SoC and later support UHS modes for eMMC, so the
    driver now makes use of these common bindings. Examples
    are provided for both eMMC (which has additional bindings)
    and also sd slot for STiH407.
    
    Signed-off-by: Peter Griffin <[email protected]>
    Acked-by: Maxime Coquelin <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    petegriffin authored and storulf committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    69f0fb2 View commit details
    Browse the repository at this point in the history
  12. Merge tag 'usb-for-v4.1-part2' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/balbi/usb into usb-testing
    
    Felipe writes:
    
    usb: generic resume timeout for v4.1
    
    This part 2 pull request contains only the patches
    which make sure everybody on linux uses the same
    resume timeout value.
    
    Signed-off-by: Felipe Balbi <[email protected]>
    gregkh committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    c8d1bc1 View commit details
    Browse the repository at this point in the history
  13. Merge tag 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/…

    …kishon/linux-phy into usb-next
    
    Kishon writes:
    
    New Features
    ============
    *) Add driver for USB PHYs on sun9i
    *) Add driver for USB PHY on dm816x
    *) Modified exynos5-usbdrd driver to add support for Exynos5433 SoC
    
    Fixes
    =====
    *) Fix power_on/power_off failure paths in some drivers
    *) Make miphy365x use generic PHY type constants
    *) Fix build errors due to missing export symbols in qcom-ufs driver
    *) Make all the functions return proper error values
    
    Cleanups
    ========
    *) use PTR_ERR_OR_ZERO to simplify code
    *) use devm_kcalloc instead of devm_kzalloc with multiply
    *) remove un-necessary ifdef CONFIG_OF
    gregkh committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    2aebe3f View commit details
    Browse the repository at this point in the history
  14. Merge tag 'usb-ci-v4.1-rc1' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/peter.chen/usb into usb-next
    
    Peter writes:
    
    Two Chipidea updates
    
    - Forbid dumpping registers when the controller in low power mode
    - dp pullup needs to be controlled by fsm when working at otg
    fsm mode
    gregkh committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    b9cd825 View commit details
    Browse the repository at this point in the history
  15. usb: dwc2: host: sleep USB_RESUME_TIMEOUT during resume

    msleep(USB_RESUME_TIMEOUT) must be done when the controller drives
    the resume. This is true after HPRT0_RES is written.
    Moreover, restore the delay after controller power is up.
    
    Signed-off-by: Gregory Herrero <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Gregory Herrero authored and gregkh committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    42a6630 View commit details
    Browse the repository at this point in the history
  16. drivers/usb/core: devio.c: Removed an uneeded space before tab

    Ran checkpatch.pl on file and removed a warning about an unwanted space before
    a tab.
    
    Signed-off-by: Chase Metzger <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    chasem74 authored and gregkh committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    00fe52d View commit details
    Browse the repository at this point in the history
  17. Merge branches 'pci/host-exynos', 'pci/host-iproc', 'pci/host-keyston…

    …e', 'pci/host-layerscape', 'pci/host-mvebu', 'pci/host-rcar' and 'pci/host-versatile' into next
    
    * pci/host-exynos:
      PCI: exynos: Fix INTx enablement statement termination error
    
    * pci/host-iproc:
      PCI: iproc: Add Broadcom iProc PCIe support
      PCI: iproc: Add DT docs for Broadcom iProc PCIe driver
      PCI: Export symbols required for loadable host driver modules
    
    * pci/host-keystone:
      PCI: keystone: Don't dereference possible NULL pointer
    
    * pci/host-layerscape:
      PCI: layerscape: Simplify platform_get_resource_byname() failure checking
    
    * pci/host-mvebu:
      PCI: mvebu: Add suspend/resume support
    
    * pci/host-rcar:
      PCI: rcar: Verify that mem_res is 64K-aligned
      PCI: rcar: Change PCIEPARL and PCIEPARH to PCIEPALR and PCIEPAUR
      PCI: rcar: Write zeroes to reserved PCIEPARL bits
      PCI: rcar: Fix position of MSI enable bit
    
    * pci/host-versatile:
      PCI: versatile: Check for devm_ioremap_resource() failures
    bjorn-helgaas committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    4dd1f57 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'pci/misc' into next

    * pci/misc:
      PCI: Read capability list as dwords, not bytes
      PCI: Don't clear ASPM bits when the FADT declares it's unsupported
      PCI: Clarify policy for vendor IDs in pci.txt
      PCI/ACPI: Optimize device state transition delays
      PCI: Export pci_find_host_bridge() for use inside PCI core
      PCI: Make a shareable UUID for PCI firmware ACPI _DSM
      PCI: Fix typo in Thunderbolt kernel message
    bjorn-helgaas committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    5468d5a View commit details
    Browse the repository at this point in the history
  19. KVM: use slowpath for cross page cached accesses

    kvm_write_guest_cached() does not mark all written pages as dirty and
    code comments in kvm_gfn_to_hva_cache_init() talk about NULL memslot
    with cross page accesses.  Fix all the easy way.
    
    The check is '<= 1' to have the same result for 'len = 0' cache anywhere
    in the page.  (nr_pages_needed is 0 on page boundary.)
    
    Fixes: 8f96452 ("KVM: Allow cross page reads and writes from cached translations.")
    Signed-off-by: Radim Krčmář <[email protected]>
    Message-Id: <[email protected]>
    Reviewed-by: Wanpeng Li <[email protected]>
    Signed-off-by: Paolo Bonzini <[email protected]>
    rkrcmar authored and bonzini committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    ca3f087 View commit details
    Browse the repository at this point in the history
  20. regulator: add a summary tree in debugfs

    On modern systems the regulator hierarchy can get quite long and nested
    with regulators supplying other regulators. In some cases when debugging
    it might be nice to get a tree of these regulators, their consumers
    and the regulation constraints in one go.
    
    To achieve this add a regulator_summary sysfs node, similar to
    clk_summary in the common clock framework, that walks the regulator
    list and creates a tree out of the regulators, their consumers and
    core per-regulator settings.
    
    On a rk3288-firefly the regulator_summary would for example look
    something like:
    
     regulator                      use open bypass   value     min     max
    -----------------------------------------------------------------------
     vcc_sys                          0   12      0  5000mV  5000mV  5000mV
        vcc_lan                       1    1      0  3300mV  3300mV  3300mV
           ff290000.ethernet                                    0mV     0mV
        vcca_33                       0    0      0  3300mV  3300mV  3300mV
        vcca_18                       0    0      0  1800mV  1800mV  1800mV
        vdd10_lcd                     0    0      0  1000mV  1000mV  1000mV
        vccio_sd                      0    0      0  3300mV  3300mV  3300mV
        vcc_20                        0    3      0  2000mV  2000mV  2000mV
           vcc18_lcd                  0    0      0  1800mV  1800mV  1800mV
           vcc_18                     0    2      0  1800mV  1800mV  1800mV
              ff100000.saradc                                   0mV     0mV
              ff0d0000.dwmmc                                 1650mV  1950mV
           vdd_10                     0    0      0  1000mV  1000mV  1000mV
        vdd_log                       0    0      0  1100mV  1100mV  1100mV
        vcc_io                        0    3      0  3300mV  3300mV  3300mV
           ff0f0000.dwmmc                                    3300mV  3400mV
           vcc_flash                  1    1      0  1800mV  1800mV  1800mV
              ff0f0000.dwmmc                                 1700mV  1950mV
           vcc_sd                     1    1      0  3300mV  3300mV  3300mV
              ff0c0000.dwmmc                                 3300mV  3400mV
        vcc_ddr                       0    0      0  1200mV  1200mV  1200mV
        vdd_gpu                       0    0      0  1000mV   850mV  1350mV
        vdd_cpu                       0    1      0   900mV   850mV  1350mV
           cpu0                                               900mV   900mV
        vcc_5v                        0    2      0  5000mV  5000mV  5000mV
           vcc_otg_5v                 0    0      0  5000mV  5000mV  5000mV
           vcc_host_5v                0    0      0  5000mV  5000mV  5000mV
     regulator-dummy                  0    0      0     0mV     0mV     0mV
    
    Signed-off-by: Heiko Stuebner <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    mmind authored and broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    7c225ec View commit details
    Browse the repository at this point in the history
  21. regulator: output current-limit for all regulators in summary

    Voltage regulators can have (unregulated) current limits too, so we should
    probably output both voltage and current for all regulators.
    
    Holding the rdev->mutex actually conflicts with _regulator_get_current_limit
    but also is not really necessary, as the global regulator_list_mutex already
    protects us from the regulator vanishing while we go through the list.
    
    On the rk3288-firefly the summary now looks like:
    
     regulator                      use open bypass voltage current     min     max
    -------------------------------------------------------------------------------
     vcc_sys                          0   12      0  5000mV     0mA  5000mV  5000mV
        vcc_lan                       1    1      0  3300mV     0mA  3300mV  3300mV
           ff290000.ethernet                                            0mV     0mV
        vcca_33                       0    0      0  3300mV     0mA  3300mV  3300mV
        vcca_18                       0    0      0  1800mV     0mA  1800mV  1800mV
        vdd10_lcd                     0    0      0  1000mV     0mA  1000mV  1000mV
     [...]
    
    Suggested-by: Mark Brown <[email protected]>
    Signed-off-by: Heiko Stuebner <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    mmind authored and broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    2329609 View commit details
    Browse the repository at this point in the history
  22. regulator: max8660: Handle empty regulator data

    It is not necessary to have regulator init data for a regulator. This
    patch removes the necessity of this data and handles a NULL pointer
    properly.
    
    Signed-off-by: Markus Pargmann <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Markus Pargmann authored and broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    c0cf5a5 View commit details
    Browse the repository at this point in the history
  23. Merge branch 'topic/debugfs' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/broonie/regulator into regulator-core
    broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    498e530 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    5fc31b4 View commit details
    Browse the repository at this point in the history
  25. Merge remote-tracking branches 'regulator/topic/act8865', 'regulator/…

    …topic/arizona-ldo1', 'regulator/topic/arizona-micsupp' and 'regulator/topic/da9211' into regulator-next
    broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    e507384 View commit details
    Browse the repository at this point in the history
  26. Merge remote-tracking branches 'regulator/topic/dbx500', 'regulator/t…

    …opic/load-op', 'regulator/topic/max77693' and 'regulator/topic/max8660' into regulator-next
    broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    3984c9d View commit details
    Browse the repository at this point in the history
  27. Merge remote-tracking branches 'regulator/topic/mode', 'regulator/top…

    …ic/notifier', 'regulator/topic/palmas', 'regulator/topic/qcom' and 'regulator/topic/stw481x' into regulator-next
    broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    bea3672 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    4ec0853 View commit details
    Browse the repository at this point in the history
  29. spi: bcm2835: transform native-cs to gpio-cs on first spi_setup

    Transforms the bcm-2835 native SPI-chip select to their gpio-cs equivalent.
    
    This allows for some support of some optimizations that are not
    possible due to HW-gliches on the CS line - especially filling
    the FIFO before enabling SPI interrupts (by writing to CS register)
    while the transfer is already in progress (See commit: e3a2be3)
    
    This patch also works arround some issues in bcm2835-pinctrl which does not
    set the value when setting the GPIO as output - it just sets up output and
    (typically) leaves the GPIO as low.  When a fix for this is merged then this
    gpio_set_value can get removed from bcm2835_spi_setup.
    
    Signed-off-by: Martin Sperl <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    msperl authored and broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    a30a555 View commit details
    Browse the repository at this point in the history
  30. spi: bcm2835: enabling polling mode for transfers shorter than 30us

    In cases of short transfer times the CPU is spending lots of time
    in the interrupt handler and scheduler to reschedule the worker thread.
    
    Measurements show that we have times where it takes 29.32us to between
    the last clock change and the time that the worker-thread is running again
    returning from wait_for_completion_timeout().
    
    During this time the interrupt-handler is running calling complete()
    and then also the scheduler is rescheduling the worker thread.
    
    This time can vary depending on how much of the code is still in
    CPU-caches, when there is a burst of spi transfers the subsequent delays
    are in the order of 25us, so the value of 30us seems reasonable.
    
    With polling the whole transfer of 4 bytes at 10MHz finishes after 6.16us
    (CS down to up) with the real transfer (clock running) taking 3.56us.
    So the efficiency has much improved and is also freeing CPU cycles,
    reducing interrupts and context switches.
    
    Because of the above 30us seems to be a reasonable limit for polling.
    
    Signed-off-by: Martin Sperl <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    msperl authored and broonie committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    704f32d View commit details
    Browse the repository at this point in the history
  31. Merge branch 'irqchip/stacked-tegra' into irqchip/core

    Jason Cooper committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    37b25ff View commit details
    Browse the repository at this point in the history
  32. Merge branch 'irqchip/stacked-omap' into irqchip/core

    Jason Cooper committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    07c523f View commit details
    Browse the repository at this point in the history
  33. Merge branch 'irqchip/stacked-exynos' into irqchip/core

    Jason Cooper committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    fb414e9 View commit details
    Browse the repository at this point in the history
  34. Merge branch 'irqchip/stacked-irq_set_wake' into irqchip/core

    Conflicts:
    	drivers/irqchip/irq-gic.c
    Jason Cooper committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    a01e7b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2015

  1. x86/asm/entry/32: Tidy up JNZ instructions after TESTs

    After TESTs, use logically correct JNZ mnemonic instead of JNE.
    
    This doesn't change code:
    
      md5:
       c3005b39a11fe582b7df7908561ad4ee  entry_32.o.before.asm
       c3005b39a11fe582b7df7908561ad4ee  entry_32.o.after.asm
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Acked-by: Andy Lutomirski <[email protected]>
    Cc: Alexei Starovoitov <[email protected]>
    Cc: Andy Lutomirski <[email protected]>
    Cc: Borislav Petkov <[email protected]>
    Cc: Frederic Weisbecker <[email protected]>
    Cc: H. Peter Anvin <[email protected]>
    Cc: Kees Cook <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Oleg Nesterov <[email protected]>
    Cc: Steven Rostedt <[email protected]>
    Cc: Will Drewry <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    [ Added object file comparison. ]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    54cfa45 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'irqchip-core-4.1-2' of git://git.infradead.org/users/jcoop…

    …er/linux into irq/core
    
    irqchip core changes for v4.1 (round 2) from Jason Cooper
    
     - gic
        - Tolerate uni-processor systems better in gic_get_cpumask()
    
     - mvebu
        - Handle per-cpu interrupts properly
        - Enable PMU interrupts
        - Enable wakeup source
    
     - vybrid
        - Add MSCM interrupt router
    
     - renesas
        - Add PM and wakeup support
    KAGA-KOKO committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    425b655 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'irqchip-core-4.1-3' of git://git.infradead.org/users/jcoop…

    …er/linux into irq/core
    
    irqchip core change for v4.1 (round 3) from Jason Cooper
    
     Purge the gic_arch_extn hacks and abuse by using the new stacked domains
    
       NOTE: Due to the nature of these changes, patches crossing subsystems have
             been kept together in their own branches.
    
        - tegra
           - Handle the LIC properly
    
        - omap
           - Convert crossbar to stacked domains
           - kill arm,routable-irqs in GIC binding
    
        - exynos
           - Convert PMU wakeup to stacked domains
    
        - shmobile, ux500, zynq (irq_set_wake branch)
           - Switch from abusing gic_arch_extn to using gic_set_irqchip_flags
    KAGA-KOKO committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    b7dccbe View commit details
    Browse the repository at this point in the history
  4. perf/x86/64: Do not guess user_regs->cs, ss, sp in get_regs_user()

    After recent changes to syscall entry points,
    user_regs->{cs,ss,sp} are always correct. (They used to be
    undefined while in syscalls).
    
    We can report them reliably, without guessing.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Arnaldo Carvalho de Melo <[email protected]>
    Cc: Jiri Olsa <[email protected]>
    Cc: Paul Mackerras <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    aa21df0 View commit details
    Browse the repository at this point in the history
  5. perf/x86/64: Do report user_regs->cx while we are in syscall, in get_…

    …regs_user()
    
    Yes, it is true that cx contains return address.
    It's not clear why we trash it.
    Stop doing that.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Arnaldo Carvalho de Melo <[email protected]>
    Cc: Jiri Olsa <[email protected]>
    Cc: Paul Mackerras <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    5df71b3 View commit details
    Browse the repository at this point in the history
  6. perf/x86/64: Simplify regs_user->abi setting code in get_regs_user()

    user_64bit_mode(regs) basically checks regs->cs to point to a
    64-bit segment. This check used to be unreliable here because
    regs->cs was not always correct in syscalls.
    
    Now regs->cs is always correct: in syscalls, in interrupts, in
    exceptions. No need to emply heuristics here.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Arnaldo Carvalho de Melo <[email protected]>
    Cc: Jiri Olsa <[email protected]>
    Cc: Paul Mackerras <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    32caa06 View commit details
    Browse the repository at this point in the history
  7. perf/x86/64: Report regs_user->ax too in get_regs_user()

    I don't see why we report e.g. orix_ax, which is not always
    meaningful, but don't report ax, which is meaningful.
    
    Signed-off-by: Denys Vlasenko <[email protected]>
    Cc: Arnaldo Carvalho de Melo <[email protected]>
    Cc: Jiri Olsa <[email protected]>
    Cc: Paul Mackerras <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    dvlasenk authored and Ingo Molnar committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    3b75232 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    68a595c View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branches 'spi/fix/fsl-dspi', 'spi/fix/imx' and …

    …'spi/fix/rockchip' into spi-linus
    broonie committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    31d25e5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e897f79 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    19655dd View commit details
    Browse the repository at this point in the history
  12. Merge remote-tracking branches 'spi/topic/atmel', 'spi/topic/bcm2385'…

    …, 'spi/topic/bcm2835', 'spi/topic/bcm53xx' and 'spi/topic/bitbang' into spi-next
    broonie committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    f9de734 View commit details
    Browse the repository at this point in the history
  13. Merge remote-tracking branches 'spi/topic/blackfin', 'spi/topic/caden…

    …ce', 'spi/topic/dw' and 'spi/topic/err' into spi-next
    broonie committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    431959c View commit details
    Browse the repository at this point in the history
  14. Merge remote-tracking branches 'spi/topic/fsl-cspi', 'spi/topic/fsl-d…

    …spi', 'spi/topic/imx' and 'spi/topic/of-id' into spi-next
    broonie committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    35fbf84 View commit details
    Browse the repository at this point in the history
  15. Merge remote-tracking branches 'spi/topic/omap-100k', 'spi/topic/omap…

    …-uwire', 'spi/topic/pl022', 'spi/topic/pm' and 'spi/topic/pxa2xx' into spi-next
    broonie committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    8afba18 View commit details
    Browse the repository at this point in the history
  16. Merge remote-tracking branches 'spi/topic/qup', 'spi/topic/rockchip',…

    … 'spi/topic/rspi', 'spi/topic/s3c64xx' and 'spi/topic/sc18is602' into spi-next
    broonie committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    165f228 View commit details
    Browse the repository at this point in the history
  17. Merge remote-tracking branches 'spi/topic/spidev' and 'spi/topic/spid…

    …ev-test' into spi-next
    broonie committed Apr 11, 2015
    Configuration menu
    Copy the full SHA
    56afdb7 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2015

  1. hwmon: (pwm-fan) Update the duty cycle inorder to control the pwm-fan

    pwm_config() must be called with a duty cycle of 0 prior to calling
    pwm_disable() to ensure that the pwm signal is set to low.
    
    Reported-by: Markus Reichl <[email protected]>
    Tested-by: Markus Reichl <[email protected]>
    Reviewed-by: Lukasz Majewski <[email protected]>
    Reviewed-by: Sjoerd Simons <[email protected]>
    Signed-off-by: Anand Moon <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    moonlinux authored and groeck committed Apr 12, 2015
    Configuration menu
    Copy the full SHA
    f354169 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2015

  1. Merge tag 'linux-kselftest-4.1-rc1' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/shuah/linux-kselftest
    
    Pull kselftest updates from Shuah Khan:
     "This is a milestone update in a sense.  Several new tests and install
      and packaging support is added in this update.
    
      This update adds install and packaging tools developed on top of
      back-end shared logic enhancemnets to run and install tests.  In
      addition several timer tests are added.
    
       - New timer tests from John Stultz
    
       - rtc test from Prarit Bhargava
    
       - Enhancements to un and install tests from Michael Ellerman
    
       - Install and packaging tools from Shuah Khan
    
       - Cross-compilation enablement from Tyler Baker
    
       - A couple of bug fixes"
    
    * tag 'linux-kselftest-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (42 commits)
      ftracetest: Do not use usleep directly
      selftest/mqueue: enable cross compilation
      selftest/ipc: enable cross compilation
      selftest/memfd: include default header install path
      selftest/mount: enable cross compilation
      selftest/memfd: enable cross compilation
      kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM
      selftests: Change memory on-off-test.sh name to be unique
      selftests: change cpu on-off-test.sh name to be unique
      selftests/mount: Make git ignore all binaries in mount test suite
      kselftests: timers: Reduce default runtime on inconsistency-check and set-timer-lat
      ftracetest: Convert exit -1 to exit $FAIL
      ftracetest: Cope properly with stack tracer not being enabled
      tools, update rtctest.c to verify passage of time
      Documentation, split up rtc.txt into documentation and test file
      selftests: Add tool to generate kselftest tar archive
      selftests: Add kselftest install tool
      selftests: Set CC using CROSS_COMPILE once in lib.mk
      selftests: Add install support for the powerpc tests
      selftests/timers: Use shared logic to run and install tests
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    4541fec View commit details
    Browse the repository at this point in the history
  2. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

    Pull KVM updates from Paolo Bonzini:
     "First batch of KVM changes for 4.1
    
      The most interesting bit here is irqfd/ioeventfd support for ARM and
      ARM64.
    
      Summary:
    
      ARM/ARM64:
         fixes for live migration, irqfd and ioeventfd support (enabling
         vhost, too), page aging
    
      s390:
         interrupt handling rework, allowing to inject all local interrupts
         via new ioctl and to get/set the full local irq state for migration
         and introspection.  New ioctls to access memory by virtual address,
         and to get/set the guest storage keys.  SIMD support.
    
      MIPS:
         FPU and MIPS SIMD Architecture (MSA) support.  Includes some
         patches from Ralf Baechle's MIPS tree.
    
      x86:
         bugfixes (notably for pvclock, the others are small) and cleanups.
         Another small latency improvement for the TSC deadline timer"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (146 commits)
      KVM: use slowpath for cross page cached accesses
      kvm: mmu: lazy collapse small sptes into large sptes
      KVM: x86: Clear CR2 on VCPU reset
      KVM: x86: DR0-DR3 are not clear on reset
      KVM: x86: BSP in MSR_IA32_APICBASE is writable
      KVM: x86: simplify kvm_apic_map
      KVM: x86: avoid logical_map when it is invalid
      KVM: x86: fix mixed APIC mode broadcast
      KVM: x86: use MDA for interrupt matching
      kvm/ppc/mpic: drop unused IRQ_testbit
      KVM: nVMX: remove unnecessary double caching of MAXPHYADDR
      KVM: nVMX: checks for address bits beyond MAXPHYADDR on VM-entry
      KVM: x86: cache maxphyaddr CPUID leaf in struct kvm_vcpu
      KVM: vmx: pass error code with internal error #2
      x86: vdso: fix pvclock races with task migration
      KVM: remove kvm_read_hva and kvm_read_hva_atomic
      KVM: x86: optimize delivery of TSC deadline timer interrupt
      KVM: x86: extract blocking logic from __vcpu_run
      kvm: x86: fix x86 eflags fixed bit
      KVM: s390: migrate vcpu interrupt state
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    9003601 View commit details
    Browse the repository at this point in the history
  3. avr32: fix integer overflow in ELF_ET_DYN_BASE

    Almost all arches define ELF_ET_DYN_BASE as 2/3 of TASK_SIZE.
    Though it seems that some architectures do this in a wrong way.
    The problem is that 2*TASK_SIZE may overflow 32-bits so
    the real ELF_ET_DYN_BASE becomes wrong.
    Fix this overflow by dividing TASK_SIZE prior to multiplying:
    	 (TASK_SIZE / 3 * 2)
    
    Signed-off-by: Andrey Ryabinin <[email protected]>
    Acked-by: Hans-Christian Egtvedt <[email protected]>
    aryabinin authored and egtvedt committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    940db9e View commit details
    Browse the repository at this point in the history
  4. Merge tag 'md/4.0-rc7-fix' of git://neil.brown.name/md

    Pull md fixes from Neil Brown:
     "Two regression fixes for md, one fairly recent and minor (diskstats
      has confusing data) and one older and more serious - RAID0 with
      non-power-of-2 chunksize corrupts data.
    
      I guess (almost) no-one uses non-power-of-2 chunks.
    
      Summary:
    
       - Revert recent change which broke IO accounting.
    
       - Fix bug with RAID0 arrays with non-power-of-2 chunk size"
    
    * tag 'md/4.0-rc7-fix' of git://neil.brown.name/md:
      md/raid0: fix bug with chunksize not a power of 2.
      md: fix md io stats accounting broken
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    67dbb3a View commit details
    Browse the repository at this point in the history
  5. Merge branch 'core-efi-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull EFI update from Ingo Molnar:
     "This tree includes various fixes, cleanups, a new efi=debug boot
      option and EFI boot stub memory allocation optimizations"
    
    * 'core-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      efi/libstub: Retrieve FDT size when loaded from UEFI config table
      efi: Clean up the efi_call_phys_[prolog|epilog]() save/restore interaction
      efi: Disable interrupts around EFI calls, not in the epilog/prolog calls
      x86/efi: Add a "debug" option to the efi= cmdline
      firmware: dmi_scan: Use direct access to static vars
      firmware: dmi_scan: Use full dmi version for SMBIOS3
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    9c65e12 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm…

    …/linux/kernel/git/tip/tip
    
    Pull core locking changes from Ingo Molnar:
     "Main changes:
    
       - jump label asm preparatory work for PowerPC (Anton Blanchard)
    
       - rwsem optimizations and cleanups (Davidlohr Bueso)
    
       - mutex optimizations and cleanups (Jason Low)
    
       - futex fix (Oleg Nesterov)
    
       - remove broken atomicity checks from {READ,WRITE}_ONCE() (Peter
         Zijlstra)"
    
    * 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      powerpc, jump_label: Include linux/jump_label.h to get HAVE_JUMP_LABEL define
      jump_label: Allow jump labels to be used in assembly
      jump_label: Allow asm/jump_label.h to be included in assembly
      locking/mutex: Further simplify mutex_spin_on_owner()
      locking: Remove atomicy checks from {READ,WRITE}_ONCE
      locking/rtmutex: Rename argument in the rt_mutex_adjust_prio_chain() documentation as well
      locking/rwsem: Fix lock optimistic spinning when owner is not running
      locking: Remove ACCESS_ONCE() usage
      locking/rwsem: Check for active lock before bailing on spinning
      locking/rwsem: Avoid deceiving lock spinners
      locking/rwsem: Set lock ownership ASAP
      locking/rwsem: Document barrier need when waking tasks
      locking/futex: Check PF_KTHREAD rather than !p->mm to filter out kthreads
      locking/mutex: Refactor mutex_spin_on_owner()
      locking/mutex: In mutex_spin_on_owner(), return true when owner changes
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    cc76ee7 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/tip/tip
    
    Pull scheduler changes from Ingo Molnar:
     "Major changes:
    
       - Reworked CPU capacity code, for better SMP load balancing on
         systems with assymetric CPUs. (Vincent Guittot, Morten Rasmussen)
    
       - Reworked RT task SMP balancing to be push based instead of pull
         based, to reduce latencies on large CPU count systems. (Steven
         Rostedt)
    
       - SCHED_DEADLINE support updates and fixes. (Juri Lelli)
    
       - SCHED_DEADLINE task migration support during CPU hotplug. (Wanpeng Li)
    
       - x86 mwait-idle optimizations and fixes. (Mike Galbraith, Len Brown)
    
       - sched/numa improvements. (Rik van Riel)
    
       - various cleanups"
    
    * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (28 commits)
      sched/core: Drop debugging leftover trace_printk call
      sched/deadline: Support DL task migration during CPU hotplug
      sched/core: Check for available DL bandwidth in cpuset_cpu_inactive()
      sched/deadline: Always enqueue on previous rq when dl_task_timer() fires
      sched/core: Remove unused argument from init_[rt|dl]_rq()
      sched/deadline: Fix rt runtime corruption when dl fails its global constraints
      sched/deadline: Avoid a superfluous check
      sched: Improve load balancing in the presence of idle CPUs
      sched: Optimize freq invariant accounting
      sched: Move CFS tasks to CPUs with higher capacity
      sched: Add SD_PREFER_SIBLING for SMT level
      sched: Remove unused struct sched_group_capacity::capacity_orig
      sched: Replace capacity_factor by usage
      sched: Calculate CPU's usage statistic and put it into struct sg_lb_stats::group_usage
      sched: Add struct rq::cpu_capacity_orig
      sched: Make scale_rt invariant with frequency
      sched: Make sched entity usage tracking scale-invariant
      sched: Remove frequency scaling from cpu_capacity
      sched: Track group sched_entity usage contributions
      sched: Add sched_avg::utilization_avg_contrib
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    49d2953 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull timer updates from Ingo Molnar:
     "The main changes in this cycle were:
    
       - clockevents state machine cleanups and enhancements (Viresh Kumar)
    
       - clockevents broadcast notifier horror to state machine conversion
         and related cleanups (Thomas Gleixner, Rafael J Wysocki)
    
       - clocksource and timekeeping core updates (John Stultz)
    
       - clocksource driver updates and fixes (Ben Dooks, Dmitry Osipenko,
         Hans de Goede, Laurent Pinchart, Maxime Ripard, Xunlei Pang)
    
       - y2038 fixes (Xunlei Pang, John Stultz)
    
       - NMI-safe ktime_get_raw_fast() and general refactoring of the clock
         code, in preparation to perf's per event clock ID support (Peter
         Zijlstra)
    
       - generic sched/clock fixes, optimizations and cleanups (Daniel
         Thompson)
    
       - clockevents cpu_down() race fix (Preeti U Murthy)"
    
    * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (94 commits)
      timers/PM: Drop unnecessary braces from tick_freeze()
      timers/PM: Fix up tick_unfreeze()
      timekeeping: Get rid of stale comment
      clockevents: Cleanup dead cpu explicitely
      clockevents: Make tick handover explicit
      clockevents: Remove broadcast oneshot control leftovers
      sched/idle: Use explicit broadcast oneshot control function
      ARM: Tegra: Use explicit broadcast oneshot control function
      ARM: OMAP: Use explicit broadcast oneshot control function
      intel_idle: Use explicit broadcast oneshot control function
      ACPI/idle: Use explicit broadcast control function
      ACPI/PAD: Use explicit broadcast oneshot control function
      x86/amd/idle, clockevents: Use explicit broadcast oneshot control functions
      clockevents: Provide explicit broadcast oneshot control functions
      clockevents: Remove the broadcast control leftovers
      ARM: OMAP: Use explicit broadcast control function
      intel_idle: Use explicit broadcast control function
      cpuidle: Use explicit broadcast control function
      ACPI/processor: Use explicit broadcast control function
      ACPI/PAD: Use explicit broadcast control function
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    7fd5647 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull x86 apic changes from Ingo Molnar:
     "Changes:
    
       - SGI UV APIC driver updates
    
       - dead code removal"
    
    * 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/apic/uv: Update the UV APIC HUB check
      x86/apic/uv: Update the UV APIC driver check
      x86/apic/uv: Update the APIC UV OEM check
      x86/apic: Remove verify_local_APIC()
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    977e1ba View commit details
    Browse the repository at this point in the history
  10. Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/tip/tip
    
    Pull x86 asm changes from Ingo Molnar:
     "There were lots of changes in this development cycle:
    
       - over 100 separate cleanups, restructuring changes, speedups and
         fixes in the x86 system call, irq, trap and other entry code, part
         of a heroic effort to deobfuscate a decade old spaghetti asm code
         and its C code dependencies (Denys Vlasenko, Andy Lutomirski)
    
       - alternatives code fixes and enhancements (Borislav Petkov)
    
       - simplifications and cleanups to the compat code (Brian Gerst)
    
       - signal handling fixes and new x86 testcases (Andy Lutomirski)
    
       - various other fixes and cleanups
    
      By their nature many of these changes are risky - we tried to test
      them well on many different x86 systems (there are no known
      regressions), and they are split up finely to help bisection - but
      there's still a fair bit of residual risk left so caveat emptor"
    
    * 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (148 commits)
      perf/x86/64: Report regs_user->ax too in get_regs_user()
      perf/x86/64: Simplify regs_user->abi setting code in get_regs_user()
      perf/x86/64: Do report user_regs->cx while we are in syscall, in get_regs_user()
      perf/x86/64: Do not guess user_regs->cs, ss, sp in get_regs_user()
      x86/asm/entry/32: Tidy up JNZ instructions after TESTs
      x86/asm/entry/64: Reduce padding in execve stubs
      x86/asm/entry/64: Remove GET_THREAD_INFO() in ret_from_fork
      x86/asm/entry/64: Simplify jumps in ret_from_fork
      x86/asm/entry/64: Remove a redundant jump
      x86/asm/entry/64: Optimize [v]fork/clone stubs
      x86/asm/entry: Zero EXTRA_REGS for stub32_execve() too
      x86/asm/entry/64: Move stub_x32_execvecloser() to stub_execveat()
      x86/asm/entry/64: Use common code for rt_sigreturn() epilogue
      x86/asm/entry/64: Add forgotten CFI annotation
      x86/asm/entry/irq: Simplify interrupt dispatch table (IDT) layout
      x86/asm/entry/64: Move opportunistic sysret code to syscall code path
      x86, selftests: Add sigreturn selftest
      x86/alternatives: Guard NOPs optimization
      x86/asm/entry: Clear EXTRA_REGS for all executable formats
      x86/signal: Remove pax argument from restore_sigcontext
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    60f898e View commit details
    Browse the repository at this point in the history
  11. Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull x86 boot changes from Ingo Molnar:
     "A number of cleanups"
    
    * 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/boot: Standardize strcmp()
      x86/boot/64: Remove pointless early_printk() message
      x86/boot/video: Move the 'video_segment' variable to video.c
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    8f74bc5 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'x86-build-for-linus' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/tip/tip
    
    Pull x86 build changes from Ingo Molnar:
     "Small cleanups and fixes"
    
    * 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/kexec: Cleanup KEXEC_VERIFY_SIG Kconfig help text
      x86/build/defconfig: Enable USB_EHCI_TT_NEWSCHED=y
      x86/build: Fix mkcapflags.sh bash-ism
      x86/Kconfig: Simplify X86_UP_APIC handling
      x86/Kconfig: Simplify X86_IO_APIC dependencies
      x86/Kconfig: Avoid issuing pointless turned off entries to .config
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    5945fba View commit details
    Browse the repository at this point in the history
  13. Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm…

    …/linux/kernel/git/tip/tip
    
    Pull x86 cleanups from Ingo Molnar:
     "Various cleanups"
    
    * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/iommu: Fix header comments regarding standard and _FINISH macros
      x86/earlyprintk: Put CONFIG_PCI-only functions under the #ifdef
      x86: Fix up obsolete __cpu_set() function usage
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    9f3252f View commit details
    Browse the repository at this point in the history
  14. Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/tip/tip
    
    Pull x86 cacheinfo sysfs changes from Ingo Molnar:
     "This tree converts the x86 cacheinfo sysfs code to use the generic
      code in drivers/base/cacheinfo.c.
    
      It's not intended to change the sysfs ABI:
    
          'This patch neither alters any existing sysfs entries nor their
           formating, however since the generic cacheinfo has switched to
           use the device attributes instead of the traditional raw
           kobjects, a directory named 'power' along with its standard
           attributes are added similar to any other device'"
    
    * 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/cpu/cacheinfo: Fix cache_get_priv_group() for Intel processors
      x86/cacheinfo: Move cacheinfo sysfs code to generic infrastructure
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    b48488d View commit details
    Browse the repository at this point in the history
  15. Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/tip/tip
    
    Pull x86 debug changes from Ingo Molnar:
     "Stack printing fixlets"
    
    * 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/kernel: Use kstack_end() in dumpstack_64.c
      x86/kernel: Fix output of show_stack_log_lvl()
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    64f004a View commit details
    Browse the repository at this point in the history
  16. Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/tip/tip
    
    Pull x86 fpu changes from Ingo Molnar:
     "Various x86 FPU handling cleanups, refactorings and fixes (Borislav
      Petkov, Oleg Nesterov, Rik van Riel)"
    
    * 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits)
      x86/fpu: Kill eager_fpu_init_bp()
      x86/fpu: Don't allocate fpu->state for swapper/0
      x86/fpu: Rename drop_init_fpu() to fpu_reset_state()
      x86/fpu: Fold __drop_fpu() into its sole user
      x86/fpu: Don't abuse drop_init_fpu() in flush_thread()
      x86/fpu: Use restore_init_xstate() instead of math_state_restore() on kthread exec
      x86/fpu: Introduce restore_init_xstate()
      x86/fpu: Document user_fpu_begin()
      x86/fpu: Factor out memset(xstate, 0) in fpu_finit() paths
      x86/fpu: Change xstateregs_get()/set() to use ->xsave.i387 rather than ->fxsave
      x86/fpu: Don't abuse FPU in kernel threads if use_eager_fpu()
      x86/fpu: Always allow FPU in interrupt if use_eager_fpu()
      x86/fpu: __kernel_fpu_begin() should clear fpu_owner_task even if use_eager_fpu()
      x86/fpu: Also check fpu_lazy_restore() when use_eager_fpu()
      x86/fpu: Use task_disable_lazy_fpu_restore() helper
      x86/fpu: Use an explicit if/else in switch_fpu_prepare()
      x86/fpu: Introduce task_disable_lazy_fpu_restore() helper
      x86/fpu: Move lazy restore functions up a few lines
      x86/fpu: Change math_error() to use unlazy_fpu(), kill (now) unused save_init_fpu()
      x86/fpu: Don't do __thread_fpu_end() if use_eager_fpu()
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    421ec90 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'x86-microcode-for-linus' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/tip/tip
    
    Pull x86 microcode changes from Ingo Molnar:
     "Microcode driver updates: mostly cleanups but also some fixes
      (Borislav Petkov)"
    
    * 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/microcode/amd: Drop the pci_ids.h dependency
      x86/microcode/intel: Fix printing of microcode blobs in show_saved_mc()
      x86/microcode/intel: Check scan_microcode()'s retval
      x86/microcode/intel: Sanitize microcode_pointer()
      x86/microcode/intel: Move mc arg last in get_matching_{microcode|sig}
      x86/microcode/intel: Simplify generic_load_microcode_early()
      x86/microcode: Consolidate family,model, ... code
      x86/microcode/intel: Rename update_match_revision()
      x86/microcode/intel: Sanitize _save_mc()
      x86/microcode/intel: Make _save_mc() return the updated saved count
      x86/microcode/intel: Simplify load_ucode_intel_bsp()
      x86/microcode/intel: Get rid of last arg to load_ucode_intel_bsp()
      x86/microcode/intel: Do the mc_saved_src NULL check first
      x86/microcode/intel: Check if microcode was found before applying
      x86/microcode/intel: Fix out of bounds memory access to the extended header
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    0ad5c6b View commit details
    Browse the repository at this point in the history
  18. Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/tip/tip
    
    Pull x86 mm changes from Ingo Molnar:
     "The main changes in this cycle were:
    
       - reduce the x86/32 PAE per task PGD allocation overhead from 4K to
         0.032k (Fenghua Yu)
    
       - early_ioremap/memunmap() usage cleanups (Juergen Gross)
    
       - gbpages support cleanups (Luis R Rodriguez)
    
       - improve AMD Bulldozer (family 0x15) ASLR I$ aliasing workaround to
         increase randomization by 3 bits (per bootup) (Hector
         Marco-Gisbert)
    
       - misc fixlets"
    
    * 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/mm: Improve AMD Bulldozer ASLR workaround
      x86/mm/pat: Initialize __cachemode2pte_tbl[] and __pte2cachemode_tbl[] in a bit more readable fashion
      init.h: Clean up the __setup()/early_param() macros
      x86/mm: Simplify probe_page_size_mask()
      x86/mm: Further simplify 1 GB kernel linear mappings handling
      x86/mm: Use early_param_on_off() for direct_gbpages
      init.h: Add early_param_on_off()
      x86/mm: Simplify enabling direct_gbpages
      x86/mm: Use IS_ENABLED() for direct_gbpages
      x86/mm: Unexport set_memory_ro() and set_memory_rw()
      x86/mm, efi: Use early_ioremap() in arch/x86/platform/efi/efi-bgrt.c
      x86/mm: Use early_memunmap() instead of early_iounmap()
      x86/mm/pat: Ensure different messages in STRICT_DEVMEM and PAT cases
      x86/mm: Reduce PAE-mode per task pgd allocation overhead from 4K to 32 bytes
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    6cf78d4 View commit details
    Browse the repository at this point in the history
  19. Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm…

    …/linux/kernel/git/tip/tip
    
    Pull x86 platform change from Ingo Molnar:
     "An Intel Quark SoC fix"
    
    * 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/intel/quark: Run IMR self-test on IMR capble hw only
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    ee799f4 View commit details
    Browse the repository at this point in the history
  20. Merge branch 'x86-ras-for-linus' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/tip/tip
    
    Pull x86 RAS changes from Ingo Molnar:
     "The main changes in this cycle were:
    
       - Simplify the CMCI storm logic on Intel CPUs after yet another
         report about a race in the code (Borislav Petkov)
    
       - Enable the MCE threshold irq on AMD CPUs by default (Aravind
         Gopalakrishnan)
    
       - Add AMD-specific MCE-severity grading function.  Further error
         recovery actions will be based on its output (Aravind Gopalakrishnan)
    
       - Documentation updates (Borislav Petkov)
    
       - ... assorted fixes and cleanups"
    
    * 'x86-ras-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/mce/severity: Fix warning about indented braces
      x86/mce: Define mce_severity function pointer
      x86/mce: Add an AMD severities-grading function
      x86/mce: Reindent __mcheck_cpu_apply_quirks() properly
      x86/mce: Use safe MSR accesses for AMD quirk
      x86/MCE/AMD: Enable thresholding interrupts by default if supported
      x86/MCE: Make mce_panic() fatal machine check msg in the same pattern
      x86/MCE/intel: Cleanup CMCI storm logic
      Documentation/acpi/einj: Correct and streamline text
      x86/MCE/AMD: Drop bogus const modifier from AMD's bank4_names()
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    07f2d8c View commit details
    Browse the repository at this point in the history
  21. Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/tip/tip
    
    Pull x86 fix from Ingo Molnar:
     "Leftover from 4.0
    
      Fix a local stack variable corruption with certain kdump usage
      patterns (Dave Young)"
    
    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/mm/numa: Fix kernel stack corruption in numa_init()->numa_clear_kernel_node_hotplug()
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    ec1bc8e View commit details
    Browse the repository at this point in the history
  22. Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull x86 vdso changes from Ingo Molnar:
     "Misc vDSO updates"
    
    * 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/vdso: Remove x32 intermediates during 'make clean'
      x86/vdso: Teach 'make clean' to remove generated vdso-image-*.c files
      x86/vdso32/syscall.S: Do not load __USER32_DS to %ss
      x86/vdso: Fix the x86 vdso2c tool includes
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    6a16dda View commit details
    Browse the repository at this point in the history
  23. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/geert/linux-m68k
    
    Pull m68k updates from Geert Uytterhoeven.
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
      m68k/mac: Fix out-of-bounds array index in OSS IRQ source initialization
      m68k/pci: Remove a superflous KERN_ERR
      m68k/defconfig: Update defconfigs for v4.0-rc1
      m68k/q40: Make NE2000 builtin instead of modular
      m68k: Remove FSF address
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    5142ef1 View commit details
    Browse the repository at this point in the history
  24. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/egtvedt/linux-avr32
    
    Pull avr32 fix from Hans-Christian Egtvedt.
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32:
      avr32: fix integer overflow in ELF_ET_DYN_BASE
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    cb0fc55 View commit details
    Browse the repository at this point in the history
  25. Merge tag 'hwmon-for-linus-v4.1' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/groeck/linux-staging
    
    Pull hwmon updates from Guenter Roeck:
     "Support for new chips:
    
       - add support for IT8620E, IT8781F, IT8786E, and IT8790E to it87
         driver
    
       - add driver for NCT7904
    
      Functional improvements:
    
       - support for new devicetree structure in ibmpowernv driver
    
       - register pwm-fan and gpio-fan drivers as thermal cooling devices
    
       - various minor cleanup and improvements to it87, nct6775, jc42,
         ibmpex, and coretemp drivers"
    
    * tag 'hwmon-for-linus-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (43 commits)
      hwmon: (pwm-fan) Update the duty cycle inorder to control the pwm-fan
      hwmon: (it87) Use feature macros on sio_data
      hwmon: (ibmpowernv) Fix build error seen for some configurations
      hwmon: (gpio-fan) Move the thermal registration after registration is complete
      hwmon: (ibmpowernv) pretty print labels
      hwmon: (ibmpowernv) add a label attribute
      hwmon: (ibmpowernv) add support for the new device tree
      hwmon: (ibmpowernv) add a helper routine create_hwmon_attr
      hwmon: (it87) Add support for 6th fan of IT8620E
      hwmon: (it87) Add support for IT8620E
      hwmon: (it87) Add support for IT8790E
      hwmon: (it87) Introduce feature flag to reflect internal in7 sensor
      hwmon: (it87) Introduce configuration field for chip suffix
      hwmon: (it87) Fix PWM frequency display for chips with newer PWM control
      hwmon: (it87) Fix pwm sysfs attribute removal
      hwmon: (ibmpowernv) do not use the OPAL index for hwmon attribute names
      hwmon: (ibmpowernv) change create_hwmon_attr_name() prototype
      hwmon: (ibmpowernv) add a convert_opal_attr_name() routine
      hwmon: (ibmpowernv) add a get_sensor_type() routine
      hwmon: (ibmpowernv) replace AMBIENT_TEMP by TEMP
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    4b5ca74 View commit details
    Browse the repository at this point in the history
  26. Merge tag 'edac_for_4.1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/bp/bp
    
    Pull EDAC updates from Borislav Petkov:
    
     - convert a bunch of drivers to static attribute groups (Takashi Iwai)
    
     - misc cleanups
    
    * tag 'edac_for_4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
      EDAC: Constify of_device_id array
      EDAC, i82443bxgx: Don't export static symbol
      EDAC, amd64_edac: Get rid of per-node driver instances
      EDAC: Properly unwind on failure path in edac_init()
      EDAC: highbank: Use static attribute groups for sysfs entries
      EDAC: octeon: Use static attribute groups for sysfs entries
      EDAC: mpc85xx: Use static attribute groups for sysfs entries
      EDAC: i7core: Use static attribute groups for sysfs entries
      EDAC: i7core: Return proper error codes for kzalloc() errors
      EDAC: amd64: Use static attribute groups
      EDAC: Allow to pass driver-specific attribute groups
      EDAC: Use static attribute groups for managing sysfs entries
      EDAC: Delete unnecessary checks before pci_dev_put()
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    1a370f4 View commit details
    Browse the repository at this point in the history
  27. Merge tag 'mmc-v4.1' of git://git.linaro.org/people/ulf.hansson/mmc

    Pull MMC updates from Ulf Hansson:
     "MMC core:
       - Add support for marking HPI as broken through devicetree
       - Enable runtime PM management of host devices
       - Remove the ->enable|disable() callbacks
       - Restructure code and cleanups
       - Refreshed some of the MMC sections in MAINTAINERS
    
      MMC host:
       - dw_mmc: HS400 mode support
       - dw_mmc: Add the cmd11 timer to detect a timeout
       - dw_mmc: Endian agnostic IO accessors
       - dw_mmc: Bugfixes
       - sh_mmcif: Add exclusion between cmd and interrupt
       - omap_hsmmc: Hibernation support
       - omap_hsmmc: Rework and simplify cover/card detect
       - omap_hsmmc: Stop using ->enable|disable() callbacks
       - atmel-mci: Endian agnostic IO
       - sunxi: Enable MMC_CAP_SDIO_IRQ
       - sdhci-st: Add support for the stih407 family silicon
       - sdhci-st: UHS card support in SDR104 mode
       - sdhci-st: HS200 mode support
       - sdhci-esdhc-imx: Use common mmc DT parser
       - sdhci-of-arasan: Use common mmc DT parser
       - sdhci-iproc: Add new driver for Broadcom IPROC SDHCI controller
       - sdhci-tegra: Convert to GPIO descriptors
       - sdhci-tegra: Optmize write_w path for tegra114 and later
       - sdhci-sirf: Update tuning procedure
       - sdhci: Fix card presence logic
       - sdhci: Cleanups and consolidation"
    
    * tag 'mmc-v4.1' of git://git.linaro.org/people/ulf.hansson/mmc: (79 commits)
      mmc: sdhci-st: Update ST SDHCI binding documentation.
      mmc: sdhci-st: Update the quirks for this controller.
      mmc: sdhci-st: Add sdhci_st_set_uhs_signaling function.
      mmc: sdhci-st: Add st_mmcss_cconfig function to configure mmcss glue registers.
      mmc: sdhci-st: Add delay management functions for top registers (eMMC).
      mmc: sdhci-st: Add support for de-asserting reset signal and top regs resource
      mmc: sdhci-st: Add macros for register offsets and bitfields for mmcss glue regs
      mmc: sdhci-esdhc-imx: Call mmc_of_parse()
      mmc: dw_mmc: Add locking around cmd11 timer
      mmc: dw_mmc: Add a return in an unexpected cmd11 timeout
      mmc: dw_mmc: Increase cmd11 timeout to 500ms
      mmc: dw_mmc: fix fifo ordering in big endian
      mmc: dw_mmc: change idmac descriptor files to __le32
      mmc: dw_mmc: make IO accessors endian agnostic
      mmc: core: Convert the error field in struct mmc_command|data into an int
      mmc: sdhci-of-arasan: Call OF parsing for MMC
      mmc: sdhci-pci: fix 64 BIT DMA quirks for rtsx
      mmc: Add support for marking hpi as broken through devicetree
      mmc: sdhci-tegra: convert to use GPIO descriptors
      mmc: omap_hsmmc: use generic slot-gpio isr to manage card detect pin
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    8d9095c View commit details
    Browse the repository at this point in the history
  28. Merge tag 'regmap-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/broonie/regmap
    
    Pull regmap update from Mark Brown:
     "Just one patch for regmap this time around, a change from Steven
      Rostedt to prettify the way we're making the regmap internal header
      available to the trace events (it turns out that the trace subsystem
      doesn't actually need to be in trace/events)"
    
    * tag 'regmap-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
      regmap: Move tracing header into drivers/base/regmap
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    1b57c7c View commit details
    Browse the repository at this point in the history
  29. Merge tag 'spi-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/broonie/spi
    
    Pull spi updates from Mark Brown:
     "Only one framework update this time around, a change from Lars-Peter
      to move full to pm_ops and remove the legacy bus PM ops.  Otherwise
      it's all driver updates:
    
       - make the spidev driver complain loudly if registered as spidev with
         DT rather than with a compatible string, hopefully helping people
         avoid making that mistake.
    
       - error handling and robustness fixes for the Designware and Intel
         MID drivers from Andy Shevchenko.
    
       - substantial performance improvements for the Raspberry Pi driver
         from Martin Sperl.
    
       - several new features for spidev_test from Adrian Remonda and Ian
         Abbott"
    
    * tag 'spi-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (75 commits)
      spi: bcm2835: enabling polling mode for transfers shorter than 30us
      spi: bcm2835: transform native-cs to gpio-cs on first spi_setup
      spi: img-spfi: Control CS lines with GPIO
      spi: img-spfi: Reset controller after each message
      spi: img-spfi: Implement a handle_err() callback
      spi: img-spfi: Setup TRANSACTION register before CONTROL register
      spi: Make master->handle_err() callback optional to avoid crashes
      spi: img-spfi: Limit bit clock to 1/4th of input clock
      spi: img-spfi: Implement a prepare_message() callback
      spi: fsl-dspi: Add ~50ns delay between cs and sck
      spi: fsl-dspi: Add cs-sck delays
      spi: fsl-dspi: Fix clock rate scale values
      spi: signedness bug in qspi_trigger_transfer_out_int()
      spi: imx: read back the RX/TX watermark levels earlier
      spi: spi-bfin5xx: Initialize cr_width in bfin_spi_pump_transfers()
      spi: bitbang: only toggle bitchanges
      spi: pxa2xx: missing break in pxa2xx_ssp_get_clk_div()
      spi: fsl-dspi: Fix clock rate scale values
      spi: Using Trigger number to transmit/receive data
      spi: bcm2835: fill FIFO before enabling interrupts to reduce interrupts/message
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    0055dc5 View commit details
    Browse the repository at this point in the history
  30. Merge tag 'regulator-v4.1' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/broonie/regulator
    
    Pull regulator updates from Mark Brown:
     "Another release, another set of regulator updates.  Not much of it is
      showing up in the code yet but there's been a lot of discussion going
      on about how to enhance the regulator API to work better with modern
      SoCs which have a microcontroller sitting between Linux and the
      hardware.
    
      I'm hopeful that'll start to come through into mainline for v4.2 but
      it's not quite there for v4.1 - what we do have (along with the usual
      small updates is) is:
    
       - work from Bjorn Andersson on refactoring the configuration of
         regulator loading interfaces to be useful for use with
         microcontrollers, the existing interfaces were never actually
         useful for anything as-is since nobody was willing to put enough
         data into public code.
    
       - a summary tree display in debugfs from Heiko Stübner.
    
       - support for act6000 regulators"
    
    * tag 'regulator-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (34 commits)
      regulator: max8660: Handle empty regulator data
      regulator: output current-limit for all regulators in summary
      regulator: add a summary tree in debugfs
      regulator: qcom: Tidy up probe()
      regulator: qcom: Rework to single platform device
      regulator: qcom: Refactor of-parsing code
      regulator: qcom: Don't enable DRMS in driver
      regulator: max8660: fix assignment of pdata to data that becomes dead
      regulator: Defer lookup of supply to regulator_get
      mfd: max77693: Remove unused structures
      regulator: max77693: Let core parse DT and drop board files support
      regulator: Ensure unique regulator debugfs directory names
      regulator: stw481x: Remove unused fields from struct stw481x
      regulator: palmas: Add has_regen3 check for TPS659038
      regulator: constify of_device_id array
      regulator: fixes for regulator_set_optimum_mode name change
      regulator: Drop temporary regulator_set_optimum_mode wrapper
      usb: phy: phy-msm-usb: Rename regulator_set_optimum_mode
      usb: phy: ab8500-usb: Rename regulator_set_optimum_mode
      ufs: Rename of regulator_set_optimum_mode
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    d700b05 View commit details
    Browse the repository at this point in the history
  31. Merge tag 'for-v4.1' of git://git.infradead.org/battery-2.6

    Pull power supply and reset changes from Sebastian Reichel:
    
     - new API for safe access of power supply function attrs
    
     - devres support for power supply (un)registration
    
     - new drivers / chips:
         - generic syscon based poweroff driver
         - iio & charger driver for da9150
         - fuel gauge driver for axp288
         - bq27x00: add support for bq27510
         - bq2415x: add support for bq24157s
    
     - twl4030-madc-battery: convert to iio consumer
    
     - misc fixes
    
    * tag 'for-v4.1' of git://git.infradead.org/battery-2.6: (66 commits)
      power: twl4030_madc_battery: Add missing MODULE_ALIAS
      power: twl4030-madc-battery: Convert to iio consumer.
      dt: power: Add docs for generic SYSCON poweroff driver.
      power: reset: Add generic SYSCON register mapped poweroff.
      power: max17042_battery: add missed blank
      power: max17042_battery: Use reg type instead of chip type
      power/reset: at91: big endian fixes for atsama5d3x
      power_supply: charger-manager: Fix dereferencing of ERR_PTR
      HID: input: Fix NULL pointer dereference when power_supply_register fails
      power: constify of_device_id array
      power/reset/rmobile-reset.c: Fix !HAS_IOMEM build
      power_supply: 88pm860x_charger: Fix possible NULL pointer dereference and use of initialized variable
      arm: mach-pxa: Decrement the power supply's device reference counter
      mfd: ab8500: Decrement the power supply's device reference counter
      power_supply: bq2415x_charger: Decrement the power supply's device reference counter
      power_supply: 88pm860x_charger: Decrement the power supply's device reference counter
      x86/olpc/xo15/sci: Use newly added power_supply_put API
      x86/olpc/xo1/sci: Use newly added power_supply_put API
      power_supply: charger-manager: Decrement the power supply's device reference counter
      power_supply: Increment power supply use counter when obtaining references
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    a21c1ea View commit details
    Browse the repository at this point in the history
  32. Merge tag 'hsi-for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/sre/linux-hsi
    
    Pull HSI changes from Sebastian Reichel:
    
     - nokia-modem: support speech data
     - misc fixes
    
    * tag 'hsi-for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
      HSI: cmt_speech: fix error return code
      HSI: nokia-modem: Add cmt-speech support
      HSI: cmt_speech: Add cmt-speech driver
      HSI: nokia-modem: fix error return code
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    392b46f View commit details
    Browse the repository at this point in the history
  33. Merge tag 'pci-v4.1-changes' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/helgaas/pci
    
    Pull PCI changes from Bjorn Helgaas:
     "Enumeration
        - Read capability list as dwords, not bytes (Sean O. Stalley)
    
      Resource management
        - Don't check for PNP overlaps with unassigned PCI BARs (Bjorn Helgaas)
        - Mark invalid BARs as unassigned (Bjorn Helgaas)
        - Show driver, BAR#, and resource on pci_ioremap_bar() failure (Bjorn Helgaas)
        - Fail pci_ioremap_bar() on unassigned resources (Bjorn Helgaas)
        - Assign resources before drivers claim devices (Yijing Wang)
        - Claim bus resources before pci_bus_add_devices() (Yijing Wang)
    
      Power management
        - Optimize device state transition delays (Aaron Lu)
        - Don't clear ASPM bits when the FADT declares it's unsupported (Matthew Garrett)
    
      Virtualization
        - Add ACS quirks for Intel 1G NICs (Alex Williamson)
    
      IOMMU
        - Add ptr to OF node arg to of_iommu_configure() (Murali Karicheri)
        - Move of_dma_configure() to device.c to help re-use (Murali Karicheri)
        - Fix size when dma-range is not used (Murali Karicheri)
        - Add helper functions pci_get[put]_host_bridge_device() (Murali Karicheri)
        - Add of_pci_dma_configure() to update DMA configuration (Murali Karicheri)
        - Update DMA configuration from DT (Murali Karicheri)
        - dma-mapping: limit IOMMU mapping size (Murali Karicheri)
        - Calculate device DMA masks based on DT dma-range size (Murali Karicheri)
    
      ARM Versatile host bridge driver
        - Check for devm_ioremap_resource() failures (Jisheng Zhang)
    
      Broadcom iProc host bridge driver
        - Add Broadcom iProc PCIe driver (Ray Jui)
    
      Marvell MVEBU host bridge driver
        - Add suspend/resume support (Thomas Petazzoni)
    
      Renesas R-Car host bridge driver
        - Fix position of MSI enable bit (Nobuhiro Iwamatsu)
        - Write zeroes to reserved PCIEPARL bits (Nobuhiro Iwamatsu)
        - Change PCIEPARL and PCIEPARH to PCIEPALR and PCIEPAUR (Nobuhiro Iwamatsu)
        - Verify that mem_res is 64K-aligned (Nobuhiro Iwamatsu)
    
      Samsung Exynos host bridge driver
        - Fix INTx enablement statement termination error (Jaehoon Chung)
    
      Miscellaneous
        - Make a shareable UUID for PCI firmware ACPI _DSM (Aaron Lu)
        - Clarify policy for vendor IDs in pci.txt (Michael S. Tsirkin)"
    
    * tag 'pci-v4.1-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (36 commits)
      PCI: Read capability list as dwords, not bytes
      PCI: layerscape: Simplify platform_get_resource_byname() failure checking
      PCI: keystone: Don't dereference possible NULL pointer
      PCI: versatile: Check for devm_ioremap_resource() failures
      PCI: Don't clear ASPM bits when the FADT declares it's unsupported
      PCI: Clarify policy for vendor IDs in pci.txt
      PCI/ACPI: Optimize device state transition delays
      PCI: Export pci_find_host_bridge() for use inside PCI core
      PCI: Make a shareable UUID for PCI firmware ACPI _DSM
      PCI: Fix typo in Thunderbolt kernel message
      PCI: exynos: Fix INTx enablement statement termination error
      PCI: iproc: Add Broadcom iProc PCIe support
      PCI: iproc: Add DT docs for Broadcom iProc PCIe driver
      PCI: Export symbols required for loadable host driver modules
      PCI: Add ACS quirks for Intel 1G NICs
      PCI: mvebu: Add suspend/resume support
      PCI: Cleanup control flow
      sparc/PCI: Claim bus resources before pci_bus_add_devices()
      PCI: Assign resources before drivers claim devices (pci_scan_root_bus())
      PCI: Fail pci_ioremap_bar() on unassigned resources
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    3be1b98 View commit details
    Browse the repository at this point in the history
  34. Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull irq core updates from Thomas Gleixner:
     "Managerial summary:
    
      Core code:
       - final removal of IRQF_DISABLED
       - new state save/restore functions for virtualization support
       - wakeup support for stacked irqdomains
       - new function to solve the netpoll synchronization problem
    
     irqchips:
       - new driver for STi based devices
       - new driver for Vybrid MSCM
       - massive cleanup of the GIC driver by moving the GIC-addons to
         stacked irqdomains
       - the usual pile of fixes and updates to the various chip drivers"
    
    * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (44 commits)
      irqchip: GICv3: Add support for irq_[get, set]_irqchip_state()
      irqchip: GIC: Add support for irq_[get, set]_irqchip_state()
      genirq: Allow the irqchip state of an IRQ to be save/restored
      genirq: MSI: Fix freeing of unallocated MSI
      irqchip: renesas-irqc: Add wake-up support
      irqchip: armada-370-xp: Allow using wakeup source
      irqchip: mips-gic: Add new functions to start/stop the GIC counter
      irqchip: tegra: Add Tegra210 support
      irqchip: digicolor: Move digicolor_set_gc to init section
      irqchip: renesas-irqc: Add functional clock to bindings
      irqchip: renesas-irqc: Add minimal runtime PM support
      irqchip: renesas-irqc: Add more register documentation
      DT: exynos: update PMU binding
      ARM: exynos4/5: convert pmu wakeup to stacked domains
      irqchip: gic: Don't complain in gic_get_cpumask() if UP system
      ARM: zynq: switch from gic_arch_extn to gic_set_irqchip_flags
      ARM: ux500: switch from gic_arch_extn to gic_set_irqchip_flags
      ARM: shmobile: remove use of gic_arch_extn.irq_set_wake
      irqchip: gic: Add an entry point to set up irqchip flags
      ARM: omap: convert wakeupgen to stacked domains
      ...
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    8954672 View commit details
    Browse the repository at this point in the history
  35. Merge branch 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/tj/wq
    
    Pull workqueue updates from Tejun Heo:
     "Workqueue now prints debug information at the end of sysrq-t which
      should be helpful when tracking down suspected workqueue stalls.  It
      only prints out the ones with something currently going on so it
      shouldn't add much output in most cases"
    
    * 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
      workqueue: Reorder sysfs code
      percpu: Fix trivial typos in comments
      workqueue: dump workqueues on sysrq-t
      workqueue: keep track of the flushing task and pool manager
      workqueue: make the workqueues list RCU walkable
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    45141ee View commit details
    Browse the repository at this point in the history
  36. Merge branch 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/tj/libata
    
    Pull libata updates from Tejun Heo:
    
     - Hannes's patchset implements support for better error reporting
       introduced by the new ATA command spec.
    
     - the deperecated pci_ dma API usages have been replaced by dma_ ones.
    
     - a bunch of hardware specific updates and some cleanups.
    
    * 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata:
      ata: remove deprecated use of pci api
      ahci: st: st_configure_oob must be called after IP is clocked.
      ahci: st: Update the ahci_st DT documentation
      ahci: st: Update the DT example for how to obtain the PHY.
      sata_dwc_460ex: indent an if statement
      libata: Add tracepoints
      libata-eh: Set 'information' field for autosense
      libata: Implement support for sense data reporting
      libata: Implement NCQ autosense
      libata: use status bit definitions in ata_dump_status()
      ide,ata: Rename ATA_IDX to ATA_SENSE
      libata: whitespace fixes in ata_to_sense_error()
      libata: whitespace cleanup in ata_get_cmd_descript()
      libata: use READ_LOG_DMA_EXT
      libata: remove ATA_FLAG_LOWTAG
      sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev
      sata_dwc_460ex: move to generic DMA driver
      sata_dwc_460ex: join messages back
      sata: xgene: add ACPI support for APM X-Gene SATA ports
      ata: sata_mv: add proper definitions for LP_PHY_CTL register values
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    a1480a1 View commit details
    Browse the repository at this point in the history
  37. Merge branch 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/tj/cgroup
    
    Pull cgroup updates from Tejun Heo:
     "Nothing too interesting.  Rik made cpuset cooperate better with
      isolcpus and there are several other cleanup patches"
    
    * 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
      cpuset, isolcpus: document relationship between cpusets & isolcpus
      cpusets, isolcpus: exclude isolcpus from load balancing in cpusets
      sched, isolcpu: make cpu_isolated_map visible outside scheduler
      cpuset: initialize cpuset a bit early
      cgroup: Use kvfree in pidlist_free()
      cgroup: call cgroup_subsys->bind on cgroup subsys initialization
    torvalds committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    4fd48b4 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2015

  1. Merge tag 'usb-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/gregkh/usb
    
    Pull USB driver updates from Greg KH:
     "Here's the big USB (and PHY) driver patchset for 4.1-rc1.
    
      Everything here has been in linux-next, and the full details are below
      in the shortlog.  Nothing major, just the normal round of new
      drivers,api updates, and other changes, mostly in the USB gadget area,
      as usual"
    
    * tag 'usb-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (252 commits)
      drivers/usb/core: devio.c: Removed an uneeded space before tab
      usb: dwc2: host: sleep USB_RESUME_TIMEOUT during resume
      usb: chipidea: debug: add low power mode check before print registers
      usb: chipidea: udc: bypass pullup DP when gadget connect in OTG fsm mode
      usb: core: hub: use new USB_RESUME_TIMEOUT
      usb: isp1760: hcd: use new USB_RESUME_TIMEOUT
      usb: dwc2: hcd: use new USB_RESUME_TIMEOUT
      usb: host: sl811: use new USB_RESUME_TIMEOUT
      usb: host: r8a66597: use new USB_RESUME_TIMEOUT
      usb: host: oxu210hp: use new USB_RESUME_TIMEOUT
      usb: host: fusbh200: use new USB_RESUME_TIMEOUT
      usb: host: fotg210: use new USB_RESUME_TIMEOUT
      usb: host: isp116x: use new USB_RESUME_TIMEOUT
      usb: musb: use new USB_RESUME_TIMEOUT
      usb: host: uhci: use new USB_RESUME_TIMEOUT
      usb: host: ehci: use new USB_RESUME_TIMEOUT
      usb: host: xhci: use new USB_RESUME_TIMEOUT
      usb: define a generic USB_RESUME_TIMEOUT macro
      usb: musb: dsps: fix build on i386 when COMPILE_TEST is set
      ehci-hub: use USB_DT_HUB
      ...
    torvalds committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    42e3a58 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'driver-core-4.1-rc1' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/gregkh/driver-core
    
    Pull driver core updates from Greg KH:
     "Here's the driver-core / kobject / lz4 tree update for 4.1-rc1.
    
      Everything here has been in linux-next for a while with no reported
      issues.  It's mostly just coding style cleanups, with other minor
      changes in here as well, nothing big"
    
    * tag 'driver-core-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (32 commits)
      debugfs: allow bad parent pointers to be passed in
      stable_kernel_rules: Add clause about specification of kernel versions to patch.
      kobject: WARN as tip when call kobject_get() to a kobject not initialized
      lib/lz4: Pull out constant tables
      drivers: platform: parse IRQ flags from resources
      driver core: Make probe deferral more quiet
      drivers/core/of: Add symlink to device-tree from devices with an OF node
      device: Add dev_of_node() accessor
      drivers: base: fw: fix ret value when loading fw
      firmware: Avoid manual device_create_file() calls
      drivers/base: cacheinfo: validate device node for all the caches
      drivers/base: use tabs where possible in code indentation
      driver core: add missing blank line after declaration
      drivers: base: node: Delete space after pointer declaration
      drivers: base: memory: Use tabs instead of spaces
      firmware_class: Fix whitespace and indentation
      drivers: base: dma-mapping: Erase blank space after pointer
      drivers: base: class: Add a blank line after declarations
      attribute_container: fix missing blank lines after declarations
      drivers: base: memory: Fix switch indent
      ...
    torvalds committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    c4be50e View commit details
    Browse the repository at this point in the history
  3. Merge tag 'staging-4.1-rc1' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/gregkh/staging
    
    Pull staging driver updates from Greg KH:
     "Here's the big staging driver patchset for 4.1-rc1.
    
      There's a lot of patches here, the Outreachy application period
      happened during this development cycle, so that means that there was a
      lot of cleanup patches accepted.  Other than the normal coding style
      and sparse fixes here, there are some driver updates and work toward
      making some of the drivers into "mergable" shape (like the Unisys
      drivers.)
    
      All of these have been in linux-next for a while"
    
    * tag 'staging-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1214 commits)
      staging: lustre: orthography & coding style
      staging: lustre: lnet: lnet: fix error return code
      staging: lustre: fix sparse warning
      Revert "Staging: sm750fb: Fix C99 Comments"
      Staging: rtl8192u: use correct array for debug output
      staging: rtl8192e: Remove dead code
      staging: rtl8192e: Comment cleanup (style/format)
      staging: rtl8192e: Fix indentation in rtllib_rx_auth_resp()
      staging: rtl8192e: Decrease nesting of rtllib_rx_auth_resp()
      staging: rtl8192e: Divide rtllib_rx_auth()
      staging: rtl8192e: Fix PRINTK_WITHOUT_KERN_LEVEL warnings
      staging: rtl8192e: Fix DO_WHILE_MACRO_WITH_TRAILING_SEMICOLON warning
      staging: rtl8192e: Fix BRACES warning
      staging: rtl8192e: Fix LINE_CONTINUATIONS warning
      staging: rtl8192e: Fix UNNECESSARY_PARENTHESES warnings
      staging: rtl8192e: remove unused EXPORT_SYMBOL_RSL macro
      staging: rtl8192e: Fix RETURN_VOID warnings
      staging: rtl8192e: Fix UNNECESSARY_ELSE warning
      staging: rtl8723au: Remove unneeded comments
      staging: rtl8723au: Use __func__ in trace logs
      ...
    torvalds committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    b79013b View commit details
    Browse the repository at this point in the history
  4. ACPI / battery: Fix doubly added battery on system suspend

    Commit 297d716 ("power_supply: Change ownership from driver to
    core") inverted the logic in battery_notify().  As an effect already
    present battery was re-added on each system suspend or hibernation.
    
        WARNING: CPU: 0 PID: 303 at ../fs/sysfs/dir.c:31 sysfs_warn_dup+0x68/0x80()
        sysfs: cannot create duplicate filename '/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0A:00/power_supply/BAT0'
        CPU: 0 PID: 303 Comm: rtcwake Not tainted 4.0.0-ARCH-02621-g07e6253af953 #48
        Call Trace:
          sysfs_create_dir_ns+0x8d/0xa0
          kobject_add_internal+0xb6/0x370
          kobject_add+0x6f/0xd0
          device_add+0x120/0x6c0
          __power_supply_register+0x145/0x290
          power_supply_register_no_ws+0x10/0x20
          sysfs_add_battery+0x84/0xc5 [battery]
          battery_notify+0x45/0x6b [battery]
          notifier_call_chain+0x4f/0x80
          __blocking_notifier_call_chain+0x4b/0x70
          blocking_notifier_call_chain+0x16/0x20
          pm_notifier_call_chain+0x1a/0x40
          pm_suspend+0x3ed/0x4e0
    
    Signed-off-by: Krzysztof Kozlowski <[email protected]>
    Reported-by: Linus Torvalds <[email protected]>
    Acked-by: Rafael J. Wysocki <[email protected]>
    Reviewed-By: Sebastian Reichel <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    krzk authored and torvalds committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    31f7dc7 View commit details
    Browse the repository at this point in the history