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

Update my fork with torvalds #8

Merged
merged 85 commits into from
Nov 18, 2014
Merged

Update my fork with torvalds #8

merged 85 commits into from
Nov 18, 2014

Commits on Oct 15, 2014

  1. power: ab8500_fg.c: use 64-bit time types

    This patch changes 32-bit time types to 64-bit in
    drivers/power/ab8500_fg.c
    
    timespec and time_t can only represent signed 32-bit
    dates but the driver should represent dates that are
    after January 2038. So used time64.h header file and
    its proper types and functions.
    
    Use time64_t type instead of __kernel_time_t for
    time_stamps variable of ab8500_fg_avg_cap struct
    
    Signed-off-by: Ebru Akagunduz <[email protected]>
    Acked-by: Arnd Bergmann <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    ebruAkagunduz authored and sre committed Oct 15, 2014
    Configuration menu
    Copy the full SHA
    8000ebf View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2014

  1. power: bq2415x_charger: Properly handle ENODEV from power_supply_get_…

    …by_phandle
    
    The power_supply_get_by_phandle() on error returns ENODEV or NULL.
    The driver later expects obtained pointer to power supply to be
    valid or NULL. If it is not NULL then it dereferences it in
    bq2415x_notifier_call() which would lead to dereferencing ENODEV-value
    pointer.
    
    Properly handle the power_supply_get_by_phandle() error case by
    replacing error value with NULL. This indicates that usb charger
    detection won't be used.
    
    Fix also memory leak of 'name' if power_supply_get_by_phandle() fails
    with NULL and probe should defer.
    
    Signed-off-by: Krzysztof Kozlowski <[email protected]>
    Fixes: faffd23 ("bq2415x_charger: Add DT support")
    Cc: <[email protected]>
    [small fix regarding the missing ti,usb-charger-detection info message]
    Signed-off-by: Sebastian Reichel <[email protected]>
    krzk authored and sre committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    0eaf437 View commit details
    Browse the repository at this point in the history
  2. power: bq2415x_charger: Fix memory leak on DTS parsing error

    Memory allocated for 'name' was leaking if required binding properties
    were not present.
    
    The memory for 'name' was allocated early at probe with kasprintf(). It
    was freed in error paths executed before and after parsing DTS but not
    in that error path.
    
    Fix the error path for parsing device tree properties.
    
    Signed-off-by: Krzysztof Kozlowski <[email protected]>
    Fixes: faffd23 ("bq2415x_charger: Add DT support")
    Cc: <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    krzk authored and sre committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    21e863b View commit details
    Browse the repository at this point in the history
  3. power_supply: Add no_thermal property to prevent recursive get_temp c…

    …alls
    
    Add a 'no_thermal' property to the power supply class. If true then
    thermal zone won't be created for this power supply in
    power_supply_register().
    
    Power supply drivers may want to set it if they support
    POWER_SUPPLY_PROP_TEMP and they are forwarding this get property call to
    other thermal zone.
    
    If they won't set it lockdep may report false positive deadlock for
    thermal zone's mutex because of nested calls to thermal_zone_get_temp().
    First is the call to thermal_zone_get_temp() of the driver's thermal
    zone. Thermal core gets POWER_SUPPLY_PROP_TEMP property from this
    driver. The driver then calls other thermal zone thermal_zone_get_temp()
    and returns result.
    
    Example of such driver is charger manager.
    
    Signed-off-by: Krzysztof Kozlowski <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    krzk authored and sre committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    a69d82b View commit details
    Browse the repository at this point in the history
  4. power: charger-manager: Avoid recursive thermal get_temp call

    The charger manager supports POWER_SUPPLY_PROP_TEMP property and acts
    as a thermal zone if any of these conditions match:
    1. Fuel gauge used by charger manager supports POWER_SUPPLY_PROP_TEMP.
    2. 'cm-thermal-zone' property is present in DTS (then it will supersede
       the fuel gauge temperature property).
    
    However in case 1 (fuel gauge reports temperature and 'cm-thermal-zone'
    is not set) the charger manager forwards its get_temp calls to fuel
    gauge thermal zone.
    
    This leads to reporting by lockdep a false positive deadlock for thermal
    zone's mutex because of nested calls to thermal_zone_get_temp(). This is
    false positive because these are different mutexes: one for charger
    manager thermal zone and second for fuel gauge thermal zone.
    
    Get rid of false lockdep alert and recursive call by setting
    'no_thermal' property for this power supply class. The thermal zone for
    charger manager won't be created (user space does not use it anyway).
    
    The lockdep report:
    [    2.540339] charger-manager charger-manager@0: Ignoring full-battery voltage threshold as it is not supplied
    [    2.540351] charger-manager charger-manager@0: Ignoring full-battery full capacity threshold as it is not supplied
    [    2.546296]
    [    2.546302] =============================================
    [    2.546305] [ INFO: possible recursive locking detected ]
    [    2.546312] 3.17.0-rc6-next-20140926-00012-gbb13895e46af-dirty #39 Not tainted
    [    2.546316] ---------------------------------------------
    [    2.546321] swapper/0/1 is trying to acquire lock:
    [    2.546348]  (&tz->lock){+.+...}, at: [<c0321d24>] thermal_zone_get_temp+0x38/0x68
    [    2.546352]
    [    2.546352] but task is already holding lock:
    [    2.546369]  (&tz->lock){+.+...}, at: [<c0321d24>] thermal_zone_get_temp+0x38/0x68
    [    2.546373]
    [    2.546373] other info that might help us debug this:
    [    2.546376]  Possible unsafe locking scenario:
    [    2.546376]
    [    2.546378]        CPU0
    [    2.546380]        ----
    [    2.546386]   lock(&tz->lock);
    [    2.546392]   lock(&tz->lock);
    [    2.546394]
    [    2.546394]  *** DEADLOCK ***
    [    2.546394]
    [    2.546397]  May be due to missing lock nesting notation
    [    2.546397]
    [    2.546401] 2 locks held by swapper/0/1:
    [    2.546430]  #0:  (&dev->mutex){......}, at: [<c02720c4>] __driver_attach+0x58/0x98
    [    2.546448]  #1:  (&tz->lock){+.+...}, at: [<c0321d24>] thermal_zone_get_temp+0x38/0x68
    [    2.546451]
    [    2.546451] stack backtrace:
    [    2.546460] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.17.0-rc6-next-20140926-00012-gbb13895e46af-dirty #39
    [    2.546497] [<c00140f0>] (unwind_backtrace) from [<c0011228>] (show_stack+0x10/0x14)
    [    2.546526] [<c0011228>] (show_stack) from [<c046158c>] (dump_stack+0x70/0xbc)
    [    2.546554] [<c046158c>] (dump_stack) from [<c005e32c>] (validate_chain.isra.24+0x718/0x890)
    [    2.546569] [<c005e32c>] (validate_chain.isra.24) from [<c005f0a0>] (__lock_acquire+0x498/0xa78)
    [    2.546581] [<c005f0a0>] (__lock_acquire) from [<c005fb50>] (lock_acquire+0x78/0xb8)
    [    2.546594] [<c005fb50>] (lock_acquire) from [<c0464260>] (mutex_lock_nested+0x64/0x458)
    [    2.546605] [<c0464260>] (mutex_lock_nested) from [<c0321d24>] (thermal_zone_get_temp+0x38/0x68)
    [    2.546634] [<c0321d24>] (thermal_zone_get_temp) from [<c031f1e0>] (charger_get_property+0x10c/0x348)
    [    2.546649] [<c031f1e0>] (charger_get_property) from [<c031af18>] (power_supply_read_temp+0x28/0x58)
    [    2.546662] [<c031af18>] (power_supply_read_temp) from [<c0321d38>] (thermal_zone_get_temp+0x4c/0x68)
    [    2.546676] [<c0321d38>] (thermal_zone_get_temp) from [<c03233d8>] (thermal_zone_device_update+0x24/0x9c)
    [    2.546687] [<c03233d8>] (thermal_zone_device_update) from [<c0323874>] (thermal_zone_device_register+0x424/0x550)
    [    2.546701] [<c0323874>] (thermal_zone_device_register) from [<c031b3c0>] (__power_supply_register+0x2a4/0x348)
    [    2.546714] [<c031b3c0>] (__power_supply_register) from [<c031ff64>] (charger_manager_probe+0x600/0xe5c)
    [    2.546727] [<c031ff64>] (charger_manager_probe) from [<c0273384>] (platform_drv_probe+0x48/0xa4)
    [    2.546746] [<c0273384>] (platform_drv_probe) from [<c0271f54>] (driver_probe_device+0x10c/0x224)
    [    2.546760] [<c0271f54>] (driver_probe_device) from [<c0272100>] (__driver_attach+0x94/0x98)
    [    2.546772] [<c0272100>] (__driver_attach) from [<c0270780>] (bus_for_each_dev+0x54/0x88)
    [    2.546784] [<c0270780>] (bus_for_each_dev) from [<c027173c>] (bus_add_driver+0xd4/0x1d0)
    [    2.546797] [<c027173c>] (bus_add_driver) from [<c027271c>] (driver_register+0x78/0xf4)
    [    2.546809] [<c027271c>] (driver_register) from [<c0008984>] (do_one_initcall+0x80/0x1d4)
    [    2.546829] [<c0008984>] (do_one_initcall) from [<c0612d60>] (kernel_init_freeable+0x10c/0x1d8)
    [    2.546847] [<c0612d60>] (kernel_init_freeable) from [<c045c238>] (kernel_init+0x8/0xec)
    [    2.546863] [<c045c238>] (kernel_init) from [<c000e828>] (ret_from_fork+0x14/0x2c)
    [    2.551396] charger-manager charger-manager@0: 'chg-reg' regulator's externally_control is 0
    
    Signed-off-by: Krzysztof Kozlowski <[email protected]>
    Signed-off-by: Sebastian Reichel <[email protected]>
    krzk authored and sre committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    ba9c918 View commit details
    Browse the repository at this point in the history
  5. power: charger-manager: Fix accessing invalidated power supply after …

    …fuel gauge unbind
    
    The charger manager obtained reference to fuel gauge power supply in probe
    with power_supply_get_by_name() for later usage. However if fuel gauge
    driver was removed and re-added then this reference would point to old
    power supply (from driver which was removed).
    
    This lead to accessing old (and probably invalid) memory which could be
    observed with:
    $ echo "12-0036" > /sys/bus/i2c/drivers/max17042/unbind
    $ echo "12-0036" > /sys/bus/i2c/drivers/max17042/bind
    $ cat /sys/devices/virtual/power_supply/battery/capacity
    [  240.480084] INFO: task cat:1393 blocked for more than 120 seconds.
    [  240.484799]       Not tainted 3.17.0-next-20141007-00028-ge60b6dd79570 #203
    [  240.491782] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [  240.499589] cat             D c0469530     0  1393      1 0x00000000
    [  240.505947] [<c0469530>] (__schedule) from [<c0469d3c>] (schedule_preempt_disabled+0x14/0x20)
    [  240.514449] [<c0469d3c>] (schedule_preempt_disabled) from [<c046af08>] (mutex_lock_nested+0x1bc/0x458)
    [  240.523736] [<c046af08>] (mutex_lock_nested) from [<c0287a98>] (regmap_read+0x30/0x60)
    [  240.531647] [<c0287a98>] (regmap_read) from [<c032238c>] (max17042_get_property+0x2e8/0x350)
    [  240.540055] [<c032238c>] (max17042_get_property) from [<c03247d8>] (charger_get_property+0x264/0x348)
    [  240.549252] [<c03247d8>] (charger_get_property) from [<c0320764>] (power_supply_show_property+0x48/0x1e0)
    [  240.558808] [<c0320764>] (power_supply_show_property) from [<c027308c>] (dev_attr_show+0x1c/0x48)
    [  240.567664] [<c027308c>] (dev_attr_show) from [<c0141fb0>] (sysfs_kf_seq_show+0x84/0x104)
    [  240.575814] [<c0141fb0>] (sysfs_kf_seq_show) from [<c0140b18>] (kernfs_seq_show+0x24/0x28)
    [  240.584061] [<c0140b18>] (kernfs_seq_show) from [<c0104574>] (seq_read+0x1b0/0x484)
    [  240.591702] [<c0104574>] (seq_read) from [<c00e1e24>] (vfs_read+0x88/0x144)
    [  240.598640] [<c00e1e24>] (vfs_read) from [<c00e1f20>] (SyS_read+0x40/0x8c)
    [  240.605507] [<c00e1f20>] (SyS_read) from [<c000e760>] (ret_fast_syscall+0x0/0x48)
    [  240.612952] 4 locks held by cat/1393:
    [  240.616589]  #0:  (&p->lock){+.+.+.}, at: [<c01043f4>] seq_read+0x30/0x484
    [  240.623414]  #1:  (&of->mutex){+.+.+.}, at: [<c01417dc>] kernfs_seq_start+0x1c/0x8c
    [  240.631086]  #2:  (s_active#31){++++.+}, at: [<c01417e4>] kernfs_seq_start+0x24/0x8c
    [  240.638777]  #3:  (&map->mutex){+.+...}, at: [<c0287a98>] regmap_read+0x30/0x60
    
    The charger-manager should get reference to fuel gauge power supply on
    each use of get_property callback. The thermal zone 'tzd' field of
    power supply should not be used because of the same reason.
    
    Additionally this change solves also the issue with nested
    thermal_zone_get_temp() calls and related false lockdep positive for
    deadlock for thermal zone's mutex [1]. When fuel gauge is used as source of
    temperature then the charger manager forwards its get_temp calls to fuel
    gauge thermal zone. So actually different mutexes are used (one for
    charger manager thermal zone and second for fuel gauge thermal zone) but
    for lockdep this is one class of mutex.
    
    The recursion is removed by retrieving temperature through power
    supply's get_property().
    
    In case external thermal zone is used ('cm-thermal-zone' property is
    present in DTS) the recursion does not exist. Charger manager simply
    exports POWER_SUPPLY_PROP_TEMP_AMBIENT property (instead of
    POWER_SUPPLY_PROP_TEMP) thus no thermal zone is created for this power
    supply.
    
    [1] https://lkml.org/lkml/2014/10/6/309
    
    Signed-off-by: Krzysztof Kozlowski <[email protected]>
    Cc: <[email protected]>
    Fixes: 3bb3dbb ("power_supply: Add initial Charger-Manager driver")
    Signed-off-by: Sebastian Reichel <[email protected]>
    krzk authored and sre committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    bdbe814 View commit details
    Browse the repository at this point in the history
  6. power: charger-manager: Fix accessing invalidated power supply after …

    …charger unbind
    
    The charger manager obtained in probe references to power supplies for
    all chargers with power_supply_get_by_name() for later usage. However
    if such charger driver was removed then this reference would point to
    old power supply (from driver which was removed).
    
    This lead to accessing invalid memory which could be observed with:
    $ echo "max77693-charger" > /sys/bus/platform/drivers/max77693-charger/unbind
    $ grep . /sys/devices/virtual/power_supply/battery/charger.0/*
    $ grep . /sys/devices/virtual/power_supply/battery/*
    [   15.339817] Unable to handle kernel paging request at virtual address 0001c12c
    [   15.346187] pgd = edd08000
    [   15.348814] [0001c12c] *pgd=6dce2831, *pte=00000000, *ppte=00000000
    [   15.355075] Internal error: Oops: 80000007 [#1] PREEMPT SMP ARM
    [   15.360967] Modules linked in:
    [   15.364010] CPU: 2 PID: 1388 Comm: grep Not tainted 3.17.0-next-20141007-00027-ga95e761db1b0 #245
    [   15.372859] task: ee03ad00 ti: edcf6000 task.ti: edcf6000
    [   15.378241] PC is at 0x1c12c
    [   15.381113] LR is at is_ext_pwr_online+0x30/0x6c
    [   15.385706] pc : [<0001c12c>]    lr : [<c0339fc4>]    psr: a0000013
    [   15.385706] sp : edcf7e88  ip : 00000000  fp : 00000000
    [   15.397161] r10: eeb02c08  r9 : c04b1f84  r8 : eeb02c00
    [   15.402369] r7 : edc69a10  r6 : eea6ac10  r5 : eea6ac10  r4 : 00000004
    [   15.408878] r3 : 0001c12c  r2 : edcf7e8c  r1 : 00000004  r0 : ee914418
    [   15.415390] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [   15.422506] Control: 10c5387d  Table: 6dd0804a  DAC: 00000015
    [   15.428236] Process grep (pid: 1388, stack limit = 0xedcf6240)
    [   15.434050] Stack: (0xedcf7e88 to 0xedcf8000)
    [   15.438395] 7e80:                   ee03ad00 00000000 edcf7f80 eea6aca8 edcf7ec4 c033b7b0
    [   15.446554] 7ea0: 00000001 ee1cc3f0 00000004 c06e1e44 eebdc000 c06e1e44 eeb02c00 c0337144
    [   15.454713] 7ec0: ee2dac68 c005cffc ee1cc3c0 c06e1e44 00000fff 00001000 eebdc000 c0278ca8
    [   15.462872] 7ee0: c0278c8c ee1cc3c0 eeb7ce00 c014422c edcf7f20 00008000 ee1cc3c0 ee9a48c0
    [   15.471030] 7f00: 00000001 00000001 edcf7f80 c0142d94 c0142d70 c01060f4 00021000 ee1cc3f0
    [   15.479190] 7f20: 00000000 00000000 c06a2150 eebdc000 2e7ec000 ee9a48c0 00008000 00021000
    [   15.487349] 7f40: edcf7f80 00008000 edcf6000 00021000 00021000 c00e39a4 00000000 ee9a48c0
    [   15.495508] 7f60: 00004000 00000000 00000000 ee9a48c0 ee9a48c0 00008000 00021000 c00e3aa0
    [   15.503668] 7f80: 00000000 00000000 0001f2e0 0001f2e0 00021000 00001000 00000003 c000f364
    [   15.511826] 7fa0: 00000000 c000f1a0 0001f2e0 00021000 00000003 00021000 00008000 00000000
    [   15.519986] 7fc0: 0001f2e0 00021000 00001000 00000003 00000001 000205e8 00000000 00021000
    [   15.528145] 7fe0: 00008000 bebbe910 0000a7ad b6edc49c 60000010 00000003 aaaaaaaa aaaaaaaa
    [   15.536320] [<c0339fc4>] (is_ext_pwr_online) from [<c033b7b0>] (charger_get_property+0x170/0x314)
    [   15.545164] [<c033b7b0>] (charger_get_property) from [<c0337144>] (power_supply_show_property+0x48/0x20c)
    [   15.554719] [<c0337144>] (power_supply_show_property) from [<c0278ca8>] (dev_attr_show+0x1c/0x48)
    [   15.563577] [<c0278ca8>] (dev_attr_show) from [<c014422c>] (sysfs_kf_seq_show+0x84/0x104)
    [   15.571725] [<c014422c>] (sysfs_kf_seq_show) from [<c0142d94>] (kernfs_seq_show+0x24/0x28)
    [   15.579973] [<c0142d94>] (kernfs_seq_show) from [<c01060f4>] (seq_read+0x1b0/0x484)
    [   15.587614] [<c01060f4>] (seq_read) from [<c00e39a4>] (vfs_read+0x88/0x144)
    [   15.594552] [<c00e39a4>] (vfs_read) from [<c00e3aa0>] (SyS_read+0x40/0x8c)
    [   15.601417] [<c00e3aa0>] (SyS_read) from [<c000f1a0>] (ret_fast_syscall+0x0/0x48)
    [   15.608877] Code: bad PC value
    [   15.611991] ---[ end trace a88fcc95208db283 ]---
    
    The charger-manager should get reference to charger power supply on
    each use of get_property callback.
    
    Signed-off-by: Krzysztof Kozlowski <[email protected]>
    Cc: <[email protected]>
    Fixes: 3bb3dbb ("power_supply: Add initial Charger-Manager driver")
    Signed-off-by: Sebastian Reichel <[email protected]>
    krzk authored and sre committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    cdaf3e1 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2014

  1. sparc64: Fix crashes in schizo_pcierr_intr_other().

    Meelis Roos reports crashes during bootup on a V480 that look like
    this:
    
    ====================
    [   61.300577] PCI: Scanning PBM /pci@9,600000
    [   61.304867] schizo f009b070: PCI host bridge to bus 0003:00
    [   61.310385] pci_bus 0003:00: root bus resource [io  0x7ffe9000000-0x7ffe9ffffff] (bus address [0x0000-0xffffff])
    [   61.320515] pci_bus 0003:00: root bus resource [mem 0x7fb00000000-0x7fbffffffff] (bus address [0x00000000-0xffffffff])
    [   61.331173] pci_bus 0003:00: root bus resource [bus 00]
    [   61.385344] Unable to handle kernel NULL pointer dereference
    [   61.390970] tsk->{mm,active_mm}->context = 0000000000000000
    [   61.396515] tsk->{mm,active_mm}->pgd = fff000b000002000
    [   61.401716]               \|/ ____ \|/
    [   61.401716]               "@'/ .. \`@"
    [   61.401716]               /_| \__/ |_\
    [   61.401716]                  \__U_/
    [   61.416362] swapper/0(0): Oops [#1]
    [   61.419837] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.18.0-rc1-00422-g2cc9188-dirty #24
    [   61.427975] task: fff000b0fd8e9c40 ti: fff000b0fd928000 task.ti: fff000b0fd928000
    [   61.435426] TSTATE: 0000004480e01602 TPC: 00000000004455e4 TNPC: 00000000004455e8 Y: 00000000    Not tainted
    [   61.445230] TPC: <schizo_pcierr_intr+0x104/0x560>
    [   61.449897] g0: 0000000000000000 g1: 0000000000000000 g2: 0000000000a10f78 g3: 000000000000000a
    [   61.458563] g4: fff000b0fd8e9c40 g5: fff000b0fdd82000 g6: fff000b0fd928000 g7: 000000000000000a
    [   61.467229] o0: 000000000000003d o1: 0000000000000000 o2: 0000000000000006 o3: fff000b0ffa5fc7e
    [   61.475894] o4: 0000000000060000 o5: c000000000000000 sp: fff000b0ffa5f3c1 ret_pc: 00000000004455cc
    [   61.484909] RPC: <schizo_pcierr_intr+0xec/0x560>
    [   61.489500] l0: fff000b0fd8e9c40 l1: 0000000000a20800 l2: 0000000000000000 l3: 000000000119a430
    [   61.498164] l4: 0000000001742400 l5: 00000000011cfbe0 l6: 00000000011319c0 l7: fff000b0fd8ea348
    [   61.506830] i0: 0000000000000000 i1: fff000b0fdb34000 i2: 0000000320000000 i3: 0000000000000000
    [   61.515497] i4: 00060002010b003f i5: 0000040004e02000 i6: fff000b0ffa5f481 i7: 00000000004a9920
    [   61.524175] I7: <handle_irq_event_percpu+0x40/0x140>
    [   61.529099] Call Trace:
    [   61.531531]  [00000000004a9920] handle_irq_event_percpu+0x40/0x140
    [   61.537681]  [00000000004a9a58] handle_irq_event+0x38/0x80
    [   61.543145]  [00000000004ac77c] handle_fasteoi_irq+0xbc/0x200
    [   61.548860]  [00000000004a9084] generic_handle_irq+0x24/0x40
    [   61.554500]  [000000000042be0c] handler_irq+0xac/0x100
    ====================
    
    The problem is that pbm->pci_bus->self is NULL.
    
    This code is trying to go through the standard PCI config space
    interfaces to read the PCI controller's PCI_STATUS register.
    
    This doesn't work, because we more often than not do not enumerate
    the PCI controller as a bonafide PCI device during the OF device
    node scan.  Therefore bus->self remains NULL.
    
    Existing common code for PSYCHO and PSYCHO-like PCI controllers
    handles this properly, by doing the config space access directly.
    
    Do the same here, pbm->pci_ops->{read,write}().
    
    Reported-by: Meelis Roos <[email protected]>
    Tested-by: Meelis Roos <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    davem330 committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    7da89a2 View commit details
    Browse the repository at this point in the history
  2. x86, microcode, AMD: Fix early ucode loading on 32-bit

    Konrad triggered the following splat below in a 32-bit guest on an AMD
    box. As it turns out, in save_microcode_in_initrd_amd() we're using the
    *physical* address of the container *after* we have enabled paging and
    thus we #PF in load_microcode_amd() when trying to access the microcode
    container in the ramdisk range.
    
    Because the ramdisk is exactly there:
    
    [    0.000000] RAMDISK: [mem 0x35e04000-0x36ef9fff]
    
    and we fault at 0x35e04304.
    
    And since this guest doesn't relocate the ramdisk, we don't do the
    computation which will give us the correct virtual address and we end up
    with the PA.
    
    So, we should actually be using virtual addresses on 32-bit too by the
    time we're freeing the initrd. Do that then!
    
    Unpacking initramfs...
    BUG: unable to handle kernel paging request at 35d4e304
    IP: [<c042e905>] load_microcode_amd+0x25/0x4a0
    *pde = 00000000
    Oops: 0000 [#1] SMP
    Modules linked in:
    CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.17.1-302.fc21.i686 #1
    Hardware name: Xen HVM domU, BIOS 4.4.1 10/01/2014
    task: f5098000 ti: f50d0000 task.ti: f50d0000
    EIP: 0060:[<c042e905>] EFLAGS: 00010246 CPU: 0
    EIP is at load_microcode_amd+0x25/0x4a0
    EAX: 00000000 EBX: f6e9ec4c ECX: 00001ec4 EDX: 00000000
    ESI: f5d4e000 EDI: 35d4e2fc EBP: f50d1ed0 ESP: f50d1e94
     DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    CR0: 8005003b CR2: 35d4e304 CR3: 00e33000 CR4: 000406d0
    Stack:
     00000000 00000000 f50d1ebc f50d1ec4 f5d4e000 c0d7735a f50d1ed0 15a3d17f
     f50d1ec4 00600f20 00001ec4 bfb83203 f6e9ec4c f5d4e000 c0d7735a f50d1ed8
     c0d80861 f50d1ee0 c0d80429 f50d1ef0 c0d889a9 f5d4e000 c0000000 f50d1f04
    Call Trace:
    ? unpack_to_rootfs
    ? unpack_to_rootfs
    save_microcode_in_initrd_amd
    save_microcode_in_initrd
    free_initrd_mem
    populate_rootfs
    ? unpack_to_rootfs
    do_one_initcall
    ? unpack_to_rootfs
    ? repair_env_string
    ? proc_mkdir
    kernel_init_freeable
    kernel_init
    ret_from_kernel_thread
    ? rest_init
    
    Reported-and-tested-by: Konrad Rzeszutek Wilk <[email protected]>
    References: https://bugzilla.redhat.com/show_bug.cgi?id=1158204
    Fixes: 75a1ba5 ("x86, microcode, AMD: Unify valid container checks")
    Signed-off-by: Borislav Petkov <[email protected]>
    Cc: <[email protected]> # v3.14+
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Thomas Gleixner <[email protected]>
    suryasaimadhu authored and KAGA-KOKO committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    4750a0d View commit details
    Browse the repository at this point in the history
  3. x86, kaslr: Prevent .bss from overlaping initrd

    When choosing a random address, the current implementation does not take into
    account the reversed space for .bss and .brk sections. Thus the relocated kernel
    may overlap other components in memory. Here is an example of the overlap from a
    x86_64 kernel in qemu (the ranges of physical addresses are presented):
    
     Physical Address
    
        0x0fe00000                  --+--------------------+  <-- randomized base
                                   /  |  relocated kernel  |
                       vmlinux.bin    | (from vmlinux.bin) |
        0x1336d000    (an ELF file)   +--------------------+--
                                   \  |                    |  \
        0x1376d870                  --+--------------------+   |
                                      |    relocs table    |   |
        0x13c1c2a8                    +--------------------+   .bss and .brk
                                      |                    |   |
        0x13ce6000                    +--------------------+   |
                                      |                    |  /
        0x13f77000                    |       initrd       |--
                                      |                    |
        0x13fef374                    +--------------------+
    
    The initrd image will then be overwritten by the memset during early
    initialization:
    
    [    1.655204] Unpacking initramfs...
    [    1.662831] Initramfs unpacking failed: junk in compressed archive
    
    This patch prevents the above situation by requiring a larger space when looking
    for a random kernel base, so that existing logic can effectively avoids the
    overlap.
    
    [kees: switched to perl to avoid hex translation pain in mawk vs gawk]
    [kees: calculated overlap without relocs table]
    
    Fixes: 82fa963 ("x86, kaslr: Select random position from e820 maps")
    Reported-by: Fengguang Wu <[email protected]>
    Signed-off-by: Junjie Mao <[email protected]>
    Signed-off-by: Kees Cook <[email protected]>
    Cc: Josh Triplett <[email protected]>
    Cc: Matt Fleming <[email protected]>
    Cc: Ard Biesheuvel <[email protected]>
    Cc: Vivek Goyal <[email protected]>
    Cc: Andi Kleen <[email protected]>
    Cc: [email protected]
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Thomas Gleixner <[email protected]>
    Junjie Mao authored and KAGA-KOKO committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    e602336 View commit details
    Browse the repository at this point in the history
  4. ARM: mvebu: armada xp: Generalize use of i2c quirk

    A second product has come to light which makes use of the A0 stepping
    of the Armada XP SoC. A0 stepping has a hardware bug in the i2c core
    meaning that hardware offload does not work, resulting in the kernel
    failing to boot. The quirk detects that the kernel is running on an A0
    stepping SoC and disables the use of hardware offload.
    
    Currently the quirk is only enabled for PlatHome Openblocks AX3. The
    AX3 has been produced with both A0 and B0 stepping SoCs. The second
    product is the Lenovo Iomega IX4-300d. It seems likely that this
    device will also swap from A0 to B0 SoC sometime during its life.
    
    If there are two products using A0, it seems likely there are more
    products with A0. Also, since the number of A0 SoCs is limited, these
    products are also likely to transition to B0. Hence detecting at run
    time is the safest option. So enable the quirk for all Armada XP
    boards.
    
    Tested on an AX3 with A0 stepping.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Acked-by: Gregory CLEMENT <[email protected]>
    Acked-by: Thomas Petazzoni <[email protected]>
    Cc: [email protected] # v3.12+
    Fixes: 930ab3d: ("i2c: mv64xxx: Add I2C Transaction Generator support")
    Link: https://lkml.kernel.org/r/[email protected]
    Signed-off-by: Jason Cooper <[email protected]>
    lunn authored and Jason Cooper committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    5129ee2 View commit details
    Browse the repository at this point in the history
  5. ARM: orion: Fix for certain sequence of request_irq can cause irq storm

    The problem is that hardware handled by arm/plat-orion/gpio.c,
    require ack for edge irq, and no ack for level irq.
    
    The code handle this issue, by two "struct irq_chip_type" per
    one "struct irq_chip_generic". For one "struct irq_chip_generic"
    irq_ack pointer is setted, for another it is NULL.
    
    But we have only one mask_cache per two "struct irq_chip_type".
    So if we
    1)unmask interrupt A for "edge type" trigger,
    2)unmask interrupt B for "level type" trigger,
    3)unmask interrupt C for "edge type",
    
    we, because of usage of generic irq_gc_mask_clr_bit/irq_gc_mask_set_bit,
    have hardware configured to trigger interrupt B on "edge type",
    because of shared mask_cache. But kernel think that B is "level type",
    so when interrupt B occur via "edge" reason, we don't ack it,
    and B triggered again and again.
    
    Signed-off-by: Evgeniy A. Dushistov <[email protected]>
    Link: https://lkml.kernel.org/r/20140726155659.GA22977@fifteen
    Signed-off-by: Jason Cooper <[email protected]>
    Dushistov authored and Jason Cooper committed Nov 1, 2014
    Configuration menu
    Copy the full SHA
    9ece883 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2014

  1. NFSv4: Ensure nfs_atomic_open set the dentry verifier on ENOENT

    If the OPEN rpc call to the server fails with an ENOENT call, nfs_atomic_open
    will create a negative dentry for that file, however it currently fails
    to call nfs_set_verifier(), thus causing the dentry to be immediately
    revalidated on the next call to nfs_lookup_revalidate() instead of following
    the usual lookup caching rules.
    
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    809fd14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7488cbc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dca7800 View commit details
    Browse the repository at this point in the history
  4. x86, microcode: Fix accessing dis_ucode_ldr on 32-bit

    We should be accessing it through a pointer, like on the BSP.
    
    Tested-by: Richard Hendershot <[email protected]>
    Fixes: 65cef13 ("x86, microcode: Add a disable chicken bit")
    Cc: <[email protected]> # v3.15+
    Signed-off-by: Borislav Petkov <[email protected]>
    suryasaimadhu committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    85be07c View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2014

  1. ARM: dts: am335x-evm: Fix 5th NAND partition's name

    The 5th NAND partition should be named "NAND.u-boot-spl-os"
    instead of "NAND.u-boot-spl". This is to be consistent with other
    TI boards as well as u-boot.
    
    Fixes: 91994fa ("ARM: dts: am335x-evm: NAND: update MTD partition table")
    
    Signed-off-by: Roger Quadros <[email protected]>
    Signed-off-by: Sekhar Nori <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    Roger Quadros authored and tmlind committed Nov 6, 2014
    Configuration menu
    Copy the full SHA
    a8ead0e View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2014

  1. sparc64: Do irq_{enter,exit}() around generic_smp_call_function*().

    Otherwise rcu_irq_{enter,exit}() do not happen and we get dumps like:
    
    ====================
    [  188.275021] ===============================
    [  188.309351] [ INFO: suspicious RCU usage. ]
    [  188.343737] 3.18.0-rc3-00068-g20f3963-dirty #54 Not tainted
    [  188.394786] -------------------------------
    [  188.429170] include/linux/rcupdate.h:883 rcu_read_lock() used
    illegally while idle!
    [  188.505235]
    other info that might help us debug this:
    
    [  188.554230]
    RCU used illegally from idle CPU!
    rcu_scheduler_active = 1, debug_locks = 0
    [  188.637587] RCU used illegally from extended quiescent state!
    [  188.690684] 3 locks held by swapper/7/0:
    [  188.721932]  #0:  (&x->wait#11){......}, at: [<0000000000495de8>] complete+0x8/0x60
    [  188.797994]  #1:  (&p->pi_lock){-.-.-.}, at: [<000000000048510c>] try_to_wake_up+0xc/0x400
    [  188.881343]  #2:  (rcu_read_lock){......}, at: [<000000000048a910>] select_task_rq_fair+0x90/0xb40
    [  188.973043]stack backtrace:
    [  188.993879] CPU: 7 PID: 0 Comm: swapper/7 Not tainted 3.18.0-rc3-00068-g20f3963-dirty #54
    [  189.076187] Call Trace:
    [  189.089719]  [0000000000499360] lockdep_rcu_suspicious+0xe0/0x100
    [  189.147035]  [000000000048a99c] select_task_rq_fair+0x11c/0xb40
    [  189.202253]  [00000000004852d8] try_to_wake_up+0x1d8/0x400
    [  189.252258]  [000000000048554c] default_wake_function+0xc/0x20
    [  189.306435]  [0000000000495554] __wake_up_common+0x34/0x80
    [  189.356448]  [00000000004955b4] __wake_up_locked+0x14/0x40
    [  189.406456]  [0000000000495e08] complete+0x28/0x60
    [  189.448142]  [0000000000636e28] blk_end_sync_rq+0x8/0x20
    [  189.496057]  [0000000000639898] __blk_mq_end_request+0x18/0x60
    [  189.550249]  [00000000006ee014] scsi_end_request+0x94/0x180
    [  189.601286]  [00000000006ee334] scsi_io_completion+0x1d4/0x600
    [  189.655463]  [00000000006e51c4] scsi_finish_command+0xc4/0xe0
    [  189.708598]  [00000000006ed958] scsi_softirq_done+0x118/0x140
    [  189.761735]  [00000000006398ec] __blk_mq_complete_request_remote+0xc/0x20
    [  189.827383]  [00000000004c75d0] generic_smp_call_function_single_interrupt+0x150/0x1c0
    [  189.906581]  [000000000043e514] smp_call_function_single_client+0x14/0x40
    ====================
    
    Based almost entirely upon a patch by Paul E. McKenney.
    
    Reported-by: Meelis Roos <[email protected]>
    Tested-by: Meelis Roos <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    davem330 committed Nov 7, 2014
    Configuration menu
    Copy the full SHA
    ab5c780 View commit details
    Browse the repository at this point in the history
  2. sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks

    Atomicity between xchg and cmpxchg cannot be guaranteed when xchg is
    implemented with a swap and cmpxchg is implemented with locks.
    Without this, e.g. mcs_spin_lock and mcs_spin_unlock are broken.
    
    Signed-off-by: Andreas Larsson <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    andreas-gaisler authored and davem330 committed Nov 7, 2014
    Configuration menu
    Copy the full SHA
    1a17fdc View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2014

  1. drm/exynos: resolve infinite loop issue on multi-platform

    This patch resolves temporarily infinite loop issue incurred
    when Exynos drm driver is enabled and multi-platform kernel
    is used by registering Exynos drm device object only in case
    of Exynos SoC. So this patch will be replaced with more generic
    way later.
    
    Signed-off-by: Inki Dae <[email protected]>
    daeinki committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    06a2f5c View commit details
    Browse the repository at this point in the history
  2. drm/exynos: resolve infinite loop issue on non multi-platform

    This patch resovles the infinite loop issue incurred
    when Exyno drm driver is enabled but all kms drivers
    are disabled on Exynos board by returning -EPROBE_DEFER
    only in case that there is kms device registered.
    
    Signed-off-by: Inki Dae <[email protected]>
    daeinki committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    f7c2f36 View commit details
    Browse the repository at this point in the history
  3. drm/exynos: g2d: fix null pointer dereference

    This patch fixes a null pointer dereference issue incurred by
    calling g2d_remove when exynos_drm_platform_probe is failed.
    
    cmdlist_pool of g2d is allocated when g2d sub driver is probed.
    So if exynos_drm_platform_probe is failed, the g2d sub driver is
    not probed and the cmdlist_pool is still NULL.
    
    Signed-off-by: Inki Dae <[email protected]>
    daeinki committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    9ad703e View commit details
    Browse the repository at this point in the history
  4. drm/exynos: fix possible infinite loop issue

    This patch fixes possible infinite loop issue by postponing
    registration to non kms drivers after component_master_add_with_match
    call, which can be incurred in all cases that non kms driver is probed
    and then component bind is failed
    
    This patch should be applied on top of below patches,
    	http://comments.gmane.org/gmane.comp.video.dri.devel/117740
    	http://www.spinics.net/lists/linux-samsung-soc/msg38624.html
    
    Signed-off-by: Inki Dae <[email protected]>
    daeinki committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    7afbfcc View commit details
    Browse the repository at this point in the history
  5. x86/core, x86/xen/smp: Use 'die_complete' completion when taking CPU …

    …down
    
    Commit 2ed53c0 ("x86/smpboot: Speed up suspend/resume by
    avoiding 100ms sleep for CPU offline during S3") introduced
    completions to CPU offlining process. These completions are not
    initialized on Xen kernels causing a panic in
    play_dead_common().
    
    Move handling of die_complete into common routines to make them
    available to Xen guests.
    
    Signed-off-by: Boris Ostrovsky <[email protected]>
    Reviewed-by: David Vrabel <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: Linus Torvalds <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
    Boris Ostrovsky authored and Ingo Molnar committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    5427955 View commit details
    Browse the repository at this point in the history
  6. x86, microcode, AMD: Fix ucode patch stashing on 32-bit

    Save the patch while we're running on the BSP instead of later, before
    the initrd has been jettisoned. More importantly, on 32-bit we need to
    access the physical address instead of the virtual.
    
    This way we actually do find it on the APs instead of having to go
    through the initrd each time.
    
    Tested-by: Richard Hendershot <[email protected]>
    Fixes: 5335ba5 ("x86, microcode, AMD: Fix early ucode loading")
    Cc: <[email protected]> # v3.13+
    Signed-off-by: Borislav Petkov <[email protected]>
    suryasaimadhu committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    c0a717f View commit details
    Browse the repository at this point in the history
  7. scsi: only re-lock door after EH on devices that were reset

    Setups that use the blk-mq I/O path can lock up if a host with a single
    device that has its door locked enters EH.  Make sure to only send the
    command to re-lock the door to devices that actually were reset and thus
    might have lost their state.  Otherwise the EH code might be get blocked
    on blk_get_request as all requests for non-reset devices might be in use.
    
    Cc: [email protected]
    Signed-off-by: Christoph Hellwig <[email protected]>
    Reported-by: Meelis Roos <[email protected]>
    Tested-by: Meelis Roos <[email protected]>
    Reviewed-by: Martin K. Petersen <[email protected]>
    Christoph Hellwig committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    4837927 View commit details
    Browse the repository at this point in the history
  8. scsi: call device handler for failed TUR command

    Multipath devices using the TUR path checker need to see the sense
    code for a failed TUR command in their device handler.  Since commit
    1421656 we always return success for mid
    layer issued TUR commands before calling the device handler, which
    stopped the TUR path checker from working.
    
    Move the call to the device handler check sense method before the early
    return for TUR commands to give the device handler a chance to intercept
    them.
    
    Signed-off-by: Christoph Hellwig <[email protected]>
    Tested-by: Wen Xiong <[email protected]>
    Reviewed-by: Hannes Reinecke <[email protected]>
    Christoph Hellwig authored and Christoph Hellwig committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    e925cc4 View commit details
    Browse the repository at this point in the history
  9. scsi: TUR path is down after adapter gets reset with multipath

    This patch fixes an issue with multipath ipr SAS devices which require a
    start unit command to be issued following an adapter reset. Without this
    patch, paths get marked failed following an adapter reset and since the
    error handler never gets invoked to issue the start unit, the paths are
    never recovered. Returning FAILED for this case ensures the error
    handler wakes up to issue the start unit.
    
    Signed-off-by: Brian King <[email protected]>
    Tested-by: Wen Xiong <[email protected]>
    Reviewed-by: Hannes Reinecke <[email protected]>
    Signed-off-by: Christoph Hellwig <[email protected]>
    wxiong38 authored and Christoph Hellwig committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    333b244 View commit details
    Browse the repository at this point in the history
  10. cxgbi: add maintainer for cxgb3i/cxgb4i

    Signed-off-by: Anish Bhatt <[email protected]>
    Signed-off-by: Christoph Hellwig <[email protected]>
    anish authored and Christoph Hellwig committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    d8ae3c3 View commit details
    Browse the repository at this point in the history
  11. cxgb4i: send abort_rpl correctly

    Connection retries were not being cleaned up correctly if they failed as a
    result of link down. Applies on top of drivers-for-3.18.
    
    Signed-off-by: Anish Bhatt <[email protected]>
    Signed-off-by: Karen Xie <[email protected]>
    Signed-off-by: Christoph Hellwig <[email protected]>
    anish authored and Christoph Hellwig committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    7b07bf2 View commit details
    Browse the repository at this point in the history
  12. megaraid_sas: fix bug in handling return value of pci_enable_msix_ran…

    …ge()
    
    Function pci_enable_msix_range() may return negative values for error
    conditions. So it's a bug by checking (pci_enable_msix_range() != 0)
    for success and causes failure to megaraid driver when MSI is disabled.
    [   16.487267] megaraid_sas 0000:02:00.0: Controller type: iMR
    [   16.487275] genirq: Flags mismatch irq 0. 00000000 (megasas) vs. 00015a00 (tii
    mer)
    [   16.487347] megasas: Failed to register IRQ for vector 0.
    
    Fixes: 8ae80ed "megaraid: Use pci_enable_msix_range() instead of pci_enable_msix()"
    
    Signed-off-by: Jiang Liu <[email protected]>
    Acked-by: Sumit Saxena <[email protected]>
    Signed-off-by: Christoph Hellwig <[email protected]>
    Cc: <[email protected]> # 3.17
    Jiang Liu authored and Christoph Hellwig committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    c12de88 View commit details
    Browse the repository at this point in the history
  13. bnx2fc: fix tgt spinlock locking

    bnx2fc_queuecommand(): when allocating a new io_req, the tgt_lock
    spinlock must be locked before calling bnx2fc_cmd_alloc().
    
    The spinlock should also be kept locked until bnx2fc_post_io_req() has
    been completed.
    If not, a kernel thread may call bnx2fc_process_cq_compl() that extracts
    the newly allocated io_req from hba->cmd_mgr->cmds and destroys it while
    it is still being used by bnx2fc_post_io_req().
    
    BUG: unable to handle kernel NULL pointer dereference at 000000000000004c
    IP: [<ffffffffa03130da>] bnx2fc_init_task+0x6a/0x230 [bnx2fc]
    PGD 0
    Oops: 0000 [#1] SMP
    last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.3/net/eth3/type
    CPU 33
    Modules linked in: autofs4 target_core_iblock target_core_file target_core_pscsi target_core_mod configfs bnx2fc cnic uio fcoe libfcoe libfc scsi_transport_fc 8021q garp scsi_tgt stp llc cpufreq_ondemand freq_table pcc_cpufreq ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 power_meter microcode iTCO_wdt iTCO_vendor_support hpilo hpwdt sg bnx2x libcrc32c mdio serio_raw lpc_ich mfd_core shpchp ext4 jbd2 mbcache sd_mod crc_t10dif hpsa video output dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
    
    Pid: 7355, comm: bnx2fc_thread/3 Not tainted 2.6.32-431.el6.x86_64 #1 HP ProLiant BL460c Gen8
    RIP: 0010:[<ffffffffa03130da>]  [<ffffffffa03130da>] bnx2fc_init_task+0x6a/0x230 [bnx2fc]
    RSP: 0018:ffff8820b0da3b68  EFLAGS: 00010246
    RAX: 0000000000000000 RBX: ffff882003801080 RCX: 0000000000000000
    RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff882003801100
    RBP: ffff8820b0da3bc8 R08: ffffffff8160d4e8 R09: 0000000000000040
    R10: 0000000000000000 R11: 0000000000000000 R12: ffff88400e600e00
    R13: ffff8840108fbe40 R14: ffff88200ffe5400 R15: 0000000000000000
    FS:  0000000000000000(0000) GS:ffff8820b0da0000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
    CR2: 000000000000004c CR3: 0000002010b67000 CR4: 00000000001407e0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    Process bnx2fc_thread/3 (pid: 7355, threadinfo ffff88401f940000, task ffff884012f5f540)
    Stack:
     ffff8820b0da3bc8 ffffffff81527303 ffff884000000020 ffff8820b0da3bd8
    <d> ffff8820b0da3b98 000000028138931a ffff88400f506078 ffff88400e600e00
    <d> ffff88200ffe5400 ffff88200ffe5590 0000000000000021 0000000000000002
    Call Trace:
     <IRQ>
     [<ffffffff81527303>] ? printk+0x41/0x46
     [<ffffffffa03169bc>] bnx2fc_post_io_req+0x11c/0x440 [bnx2fc]
     [<ffffffff812825b9>] ? cpumask_next_and+0x29/0x50
     [<ffffffff8137ffd0>] ? scsi_done+0x0/0x60
     [<ffffffffa0316df7>] bnx2fc_queuecommand+0x117/0x140 [bnx2fc]
     [<ffffffff81380245>] scsi_dispatch_cmd+0xe5/0x310
     [<ffffffff81388b9e>] scsi_request_fn+0x5ee/0x7a0
     [<ffffffff812658f1>] __blk_run_queue+0x31/0x40
     [<ffffffff81265a40>] blk_run_queue+0x30/0x50
     [<ffffffff81387da6>] scsi_run_queue+0xc6/0x270
     [<ffffffff81260f92>] ? elv_requeue_request+0x52/0xa0
     [<ffffffff813897a0>] scsi_requeue_command+0x90/0xb0
     [<ffffffff81389b84>] scsi_io_completion+0x154/0x6c0
     [<ffffffff8137ff62>] scsi_finish_command+0xc2/0x130
     [<ffffffff8138a255>] scsi_softirq_done+0x145/0x170
     [<ffffffff8126e865>] blk_done_softirq+0x85/0xa0
     [<ffffffff8107a8e1>] __do_softirq+0xc1/0x1e0
     [<ffffffff8100c30c>] ? call_softirq+0x1c/0x30
     [<ffffffff8100c30c>] call_softirq+0x1c/0x30
     <EOI>
     [<ffffffff8100fa75>] ? do_softirq+0x65/0xa0
     [<ffffffff8107a40a>] local_bh_enable_ip+0x9a/0xb0
     [<ffffffff8152a4eb>] _spin_unlock_bh+0x1b/0x20
     [<ffffffffa0313937>] bnx2fc_process_cq_compl+0x257/0x2b0 [bnx2fc]
     [<ffffffffa03114ea>] bnx2fc_percpu_io_thread+0xea/0x160 [bnx2fc]
     [<ffffffffa0311400>] ? bnx2fc_percpu_io_thread+0x0/0x160 [bnx2fc]
     [<ffffffff8109aef6>] kthread+0x96/0xa0
     [<ffffffff8100c20a>] child_rip+0xa/0x20
     [<ffffffff8109ae60>] ? kthread+0x0/0xa0
     [<ffffffff8100c200>] ? child_rip+0x0/0x20
    Code: 89 df 45 8b 7e 30 0f 85 75 01 00 00 89 d1 31 c0 c1 e9 03 83 e2 04 89 c9 f3 48 ab 74 06 c7 07 00 00 00 00 49 89 9c 24 88 01 00 00 <83> 7e 4c 01 b8 01 00 00 00 0f 84 e7 00 00 00 89 c2 0a 53 38 41
    RIP  [<ffffffffa03130da>] bnx2fc_init_task+0x6a/0x230 [bnx2fc]
     RSP <ffff8820b0da3b68>
    CR2: 000000000000004c
    
    Signed-off-by: Maurizio Lombardi <[email protected]>
    Acked-by: Chad Dupuis <[email protected]>
    Signed-off-by: Christoph Hellwig <[email protected]>
    maurizio-lombardi authored and Christoph Hellwig committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    dc6311d View commit details
    Browse the repository at this point in the history
  14. Merge tag 'microcode_fixes_for_3.18' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/bp/bp into x86/urgent
    
    Pull two fixes for early microcode loader on 32-bit from Borislav Petkov:
    
     - access the dis_ucode_ldr chicken bit properly
     - fix patch stashing on AMD on 32-bit
    
    Signed-off-by: Ingo Molnar <[email protected]>
    Ingo Molnar committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    0cafa3e View commit details
    Browse the repository at this point in the history
  15. ARM: dts: AM43x-EPOS-EVM: Fix DCDC3 voltage

    DCDC3 supplies voltage to DDR. Fix DCDC3 volatge to 1.5V which is the reset
    value. Programming to a non-reset value while executing from DDR will result
    in random hangs.
    
    Signed-off-by: Keerthy <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    Keerthyj authored and tmlind committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    fc2a602 View commit details
    Browse the repository at this point in the history
  16. ARM: dts: AM437x-GP-EVM: Fix DCDC3 voltage

    DCDC3 supplies voltage to DDR. Fix DCDC3 volatge to 1.5V which is the reset
    value. Programming to a non-reset value while executing from DDR will result
    in random hangs.
    
    Signed-off-by: Keerthy <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    Keerthyj authored and tmlind committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    3015ddb View commit details
    Browse the repository at this point in the history
  17. ARM: dts: AM437x-SK-EVM: Fix DCDC3 voltage

    DCDC3 supplies voltage to DDR. Fix DCDC3 volatge to 1.5V which is the reset
    value. Programming to a non-reset value while executing from DDR will result
    in random hangs.
    
    Signed-off-by: Keerthy <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    Keerthyj authored and tmlind committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    5cd98a7 View commit details
    Browse the repository at this point in the history
  18. MAINTAINERS: add more files under OMAP SUPPORT

    These files are very important to the healt
    of the OMAP architecture, specially when it
    comes to PM support which currently we have
    working for at least OMAP3 and we'd like
    to know about any changes being made to our
    PMICs and IRQ controllers.
    
    Signed-off-by: Felipe Balbi <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    Felipe Balbi authored and tmlind committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    dc68cd1 View commit details
    Browse the repository at this point in the history
  19. MAINTAINERS: Update entry for omap related .dts files to cover new SoCs

    DRA7(including AM5x) and AM47x series are handled under OMAP umbrella.
    These SoC support and dts have been added since 3.14 kernel and Pull
    requests for these have come in from OMAP till date.
    
    So just ensure that get_maintainers can pick up this list as well.
    
    Cc: [email protected]
    Cc: [email protected]
    Signed-off-by: Nishanth Menon <[email protected]>
    Acked-by: Benoît Cousson <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    nmenon authored and tmlind committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    05eb20f View commit details
    Browse the repository at this point in the history
  20. parisc: Wire up bpf syscall

    Signed-off-by: Helge Deller <[email protected]>
    hdeller committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    e6be7bb View commit details
    Browse the repository at this point in the history
  21. parisc: Use BUILD_BUG() instead of undefined functions

    Signed-off-by: Helge Deller <[email protected]>
    hdeller committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    8dd95c6 View commit details
    Browse the repository at this point in the history
  22. parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop sys…

    …calls
    
    Switch over the msgctl, shmat, shmctl and semtimedop syscalls to use the compat
    layer. The problem was found with the debian procenv package, which called
    	shmctl(0, SHM_INFO, &info);
    in which the shmctl syscall then overwrote parts of the surrounding areas on
    the stack on which the info variable was stored and thus lead to a segfault
    later on.
    
    Additionally fix the definition of struct shminfo64 to use unsigned longs like
    the other architectures. This has no impact on userspace since we only have a
    32bit userspace up to now.
    
    Signed-off-by: Helge Deller <[email protected]>
    Cc: John David Anglin <[email protected]>
    Cc: <[email protected]> # v3.10+
    hdeller committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    2fe749f View commit details
    Browse the repository at this point in the history
  23. parisc: Avoid using CONFIG_64BIT in userspace exported headers

    The gcc compiler provide the predefined __LP64__ macro. Use that
    instead.
    
    Signed-off-by: Helge Deller <[email protected]>
    hdeller committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    d8f5457 View commit details
    Browse the repository at this point in the history
  24. pinctrl: dra: dt-bindings: Fix output pull up/down

    For PIN_OUTPUT_PULLUP and PIN_OUTPUT_PULLDOWN we must not set the
    PULL_DIS bit which disables the PULLs.
    
    PULL_ENA is a 0 and using it in an OR operation is a NOP, so don't
    use it in the PIN_OUTPUT_PULLUP/DOWN macros.
    
    Fixes: 23d9cec ("pinctrl: dra: dt-bindings: Fix pull enable/disable")
    
    Signed-off-by: Roger Quadros <[email protected]>
    Acked-by: Nishanth Menon <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    Roger Quadros authored and tmlind committed Nov 10, 2014
    Configuration menu
    Copy the full SHA
    73b3a66 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2014

  1. drm/i915: Fix obj->map_and_fenceable across tiling changes

    As obj->map_and_fenceable computation has changed to only be set when
    the object is bound inside the global GTT (and is suitable aligned to a
    fence region) we need to accommodate those changes when the tiling is
    adjusted. The easiest solution is to unbind from the global GTT if we
    are currently fenceable, but will not be after the tiling change.
    
    The bug has been exposed by
    
    commit f8fcadb
    Author: Chris Wilson <[email protected]>
    Date:   Fri Oct 31 13:53:52 2014 +0000
    
        drm/i915: Only mark as map-and-fenceable when bound into the GGTT
    
    which tried to fix an oversight from
    
    commit e6a8446
    Author: Chris Wilson <[email protected]>
    Date:   Mon Aug 11 12:00:12 2014 +0200
    
        drm/i915: Force CPU relocations if not GTT mapped
    
    which changed the handling of obj->map_and_fenceable.
    
    Note that the alignment check is a vestige from our attempts to reduce
    the alignment requirements of tiled but unfenced buffers on
    gen2/3. Also, that was when unbinding from the GTT meant UC writes and
    clflushing, so we went to great pains to avoid such.
    
    That leaves the actual bug of setting map_and_fenceable to true if we're
    not bound to ggtt, which violates the change introduced in the above
    patch. Unbinding in that case really looks like the simplest and safest
    option, we have to do it anyway.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85896
    Testcase: igt/gem_concurrent_blit/gttX*
    Tested-by: [email protected]
    Signed-off-by: Chris Wilson <[email protected]>
    Reviewed-by: Daniel Vetter <[email protected]>
    Tested-by: Valtteri Rantala <[email protected]>
    [Jani: amend commit message per input from Daniel and bisect result from
    Valtteri]
    Signed-off-by: Jani Nikula <[email protected]>
    ickle authored and jnikula committed Nov 11, 2014
    Configuration menu
    Copy the full SHA
    e9d784d View commit details
    Browse the repository at this point in the history
  2. drm/radeon: add locking around atombios scratch space usage

    While developing MST support I noticed I often got the wrong data
    back from a transaction, in a racy fashion. I noticed the scratch
    space wasn't locked against concurrent users.
    
    Based on a patch by Alex, but I've made it a bit more obvious when
    things are locked.
    
    Signed-off-by: Dave Airlie <[email protected]>
    Signed-off-by: Alex Deucher <[email protected]>
    Cc: [email protected]
    airlied authored and alexdeucher committed Nov 11, 2014
    Configuration menu
    Copy the full SHA
    1c94984 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2014

  1. nfs: fix pnfs direct write memory leak

    For pNFS direct writes, layout driver may dynamically allocate ds_cinfo.buckets.
    So we need to take care to free them when freeing dreq.
    
    Ideally this needs to be done inside layout driver where ds_cinfo.buckets
    are allocated. But buckets are attached to dreq and reused across LD IO iterations.
    So I feel it's OK to free them in the generic layer.
    
    Cc: [email protected] [v3.4+]
    Signed-off-by: Peng Tao <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    Peng Tao authored and trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    8c393f9 View commit details
    Browse the repository at this point in the history
  2. pnfs/blocklayout: serialize GETDEVICEINFO calls

    The rpc_pipefs code isn't thread safe, leading to occasional use after
    frees when running xfstests generic/241 (dbench).
    
    Signed-off-by: Christoph Hellwig <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Cc: [email protected] # 3.17.x
    Signed-off-by: Trond Myklebust <[email protected]>
    Christoph Hellwig authored and trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    e0d4ed7 View commit details
    Browse the repository at this point in the history
  3. nfs: remove spurious WARN_ON_ONCE in write path

    This WARN_ON_ONCE was supposed to catch reference counting bugs, but can
    trigger in inappropriate situations.
    
    This was reproducible using NFSv2 on an architecture with 64K pages -- we
    verified that it was not a reference counting bug and the warning was
    safe to ignore.
    
    Reported-by: Will Deacon <[email protected]>
    Tested-by: Will Deacon <[email protected]>
    Signed-off-by: Weston Andros Adamson <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    westonandrosadamson authored and trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    16c9914 View commit details
    Browse the repository at this point in the history
  4. nfs: Remove bogus assignment

    Commit 3a6fd1f (pnfs/blocklayout: remove read-modify-write handling
    in bl_write_pagelist) introduced a bogus assignment pg_index = pg_index
    in variable initialization. AFAICS it's just a typo so remove it.
    Spotted by Coverity (id 1248711).
    
    CC: Christoph Hellwig <[email protected]>
    Signed-off-by: Jan Kara <[email protected]>
    Reviewed-by: Christoph Hellwig <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    jankara authored and trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    b283f94 View commit details
    Browse the repository at this point in the history
  5. nfs: Fix use of uninitialized variable in nfs_getattr()

    Variable 'err' needn't be initialized when nfs_getattr() uses it to
    check whether it should call generic_fillattr() or not. That can result
    in spurious error returns. Initialize 'err' properly.
    
    Signed-off-by: Jan Kara <[email protected]>
    Cc: [email protected]
    Signed-off-by: Trond Myklebust <[email protected]>
    jankara authored and trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    16caf5b View commit details
    Browse the repository at this point in the history
  6. NFS: SEEK is an NFS v4.2 feature

    Somehow the nfs_v4_1_minor_ops had the NFS_CAP_SEEK flag set, enabling
    SEEK over v4.1.  This is wrong, and can make servers crash.
    
    Signed-off-by: Anna Schumaker <[email protected]>
    Tested-by: J. Bruce Fields <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    amschuma-ntap authored and trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    e983120 View commit details
    Browse the repository at this point in the history
  7. NFSv4: Ensure that we remove NFSv4.0 delegations when state has expired

    NFSv4.0 does not have TEST_STATEID/FREE_STATEID functionality, so
    unlike NFSv4.1, the recovery procedure when stateids have expired or
    have been revoked requires us to just forget the delegation.
    
    http://lkml.kernel.org/r/CAN-5tyHwG=Cn2Q9KsHWadewjpTTy_K26ee+UnSvHvG4192p-Xw@mail.gmail.com
    Cc: [email protected]
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    4dfd4f7 View commit details
    Browse the repository at this point in the history
  8. NFSv4.1: nfs41_clear_delegation_stateid shouldn't trust NFS_DELEGATED…

    …_STATE
    
    This patch removes the assumption made previously, that we only need to
    check the delegation stateid when it matches the stateid on a cached
    open.
    
    If we believe that we hold a delegation for this file, then we must assume
    that its stateid may have been revoked or expired too. If we don't test it
    then our state recovery process may end up caching open/lock state in a
    situation where it should not.
    We therefore rename the function nfs41_clear_delegation_stateid as
    nfs41_check_delegation_stateid, and change it to always run through the
    delegation stateid test and recovery process as outlined in RFC5661.
    
    http://lkml.kernel.org/r/CAN-5tyHwG=Cn2Q9KsHWadewjpTTy_K26ee+UnSvHvG4192p-Xw@mail.gmail.com
    Cc: [email protected]
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    0c116ca View commit details
    Browse the repository at this point in the history
  9. NFSv4: Fix races between nfs_remove_bad_delegation() and delegation r…

    …eturn
    
    Any attempt to call nfs_remove_bad_delegation() while a delegation is being
    returned is currently a no-op. This means that we can end up looping
    forever in nfs_end_delegation_return() if something causes the delegation
    to be revoked.
    This patch adds a mechanism whereby the state recovery code can communicate
    to the delegation return code that the delegation is no longer valid and
    that it should not be used when reclaiming state.
    It also changes the return value for nfs4_handle_delegation_recall_error()
    to ensure that nfs_end_delegation_return() does not reattempt the lock
    reclaim before state recovery is done.
    
    http://lkml.kernel.org/r/CAN-5tyHwG=Cn2Q9KsHWadewjpTTy_K26ee+UnSvHvG4192p-Xw@mail.gmail.com
    Cc: [email protected]
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    869f9df View commit details
    Browse the repository at this point in the history
  10. NFSv4: Ensure that we call FREE_STATEID when NFSv4.x stateids are rev…

    …oked
    
    NFSv4.x (x>0) requires us to call TEST_STATEID+FREE_STATEID if a stateid is
    revoked. We will currently fail to do this if the stateid is a delegation.
    
    http://lkml.kernel.org/r/CAN-5tyHwG=Cn2Q9KsHWadewjpTTy_K26ee+UnSvHvG4192p-Xw@mail.gmail.com
    Cc: [email protected]
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    c606bb8 View commit details
    Browse the repository at this point in the history
  11. NFS: Don't try to reclaim delegation open state if recovery failed

    If state recovery failed, then we should not attempt to reclaim delegated
    state.
    
    http://lkml.kernel.org/r/CAN-5tyHwG=Cn2Q9KsHWadewjpTTy_K26ee+UnSvHvG4192p-Xw@mail.gmail.com
    Cc: [email protected]
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    f8ebf7a View commit details
    Browse the repository at this point in the history
  12. Merge branch 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/daeinki/drm-exynos into drm-fixes
    
     Now exynos drm driver incurs infinite loop issue on multi-platform
    reported by Matwey V.Korniliv like below,
        http://comments.gmane.org/gmane.comp.video.dri.devel/117622
    
    This issue is because non kms drivers enabled are probed before
    a component master tries to bring up. This patch set resolves
    the infinite loop issue and also includes fixups relevant to exynos
    drm internal issues.
    
    * 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
      drm/exynos: fix possible infinite loop issue
      drm/exynos: g2d: fix null pointer dereference
      drm/exynos: resolve infinite loop issue on non multi-platform
      drm/exynos: resolve infinite loop issue on multi-platform
    airlied committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    3b548f4 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/…

    …linux into drm-fixes
    
    atom scratch register race fix.
    
    * 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/linux:
      drm/radeon: add locking around atombios scratch space usage
    airlied committed Nov 12, 2014
    Configuration menu
    Copy the full SHA
    5f2fcdb View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2014

  1. drm/gk20a/fb: fix setting of large page size bit

    Commit "ltc/gf100-: fix cbc issues on certain boards" moved the setting
    of the large page size bit from bar/nvc0 to fb/nvc0. GK20A uses its own
    FB device and the change was thus not applied to it - fix this.
    
    Signed-off-by: Alexandre Courbot <[email protected]>
    Signed-off-by: Ben Skeggs <[email protected]>
    Gnurou authored and Ben Skeggs committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    b2c1987 View commit details
    Browse the repository at this point in the history
  2. drm/nouveau/nv50/disp: Fix modeset on G94

    Commit 1dce626 introduced a regression
    spotted on several G94 (FDObz #85160). This device seems to expect the
    vblank period to be set after setting scale instead of before.
    
    V2: shove this in a separate function
    
    This is a candidate bug-fix for 3.18
    
    Signed-off-by: Roy Spliet <[email protected]>
    Tested-by: Zlatko Calusic <[email protected]>
    Tested-by: Michael Riesch <[email protected]>
    Tested-by: "poma" <[email protected]>
    Tested-by: Adam Williamson <[email protected]>
    Signed-off-by: Ben Skeggs <[email protected]>
    RSpliet authored and Ben Skeggs committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    eae7382 View commit details
    Browse the repository at this point in the history
  3. drm/tegra: dc: Add missing call to drm_vblank_on()

    When the CRTC is enabled, make sure the VBLANK machinery is enabled.
    Failure to do so will cause drm_vblank_get() to not enable the VBLANK on
    the CRTC and VBLANK-synchronized page-flips won't work.
    
    While at it, get rid of the legacy drm_vblank_pre_modeset() and
    drm_vblank_post_modeset() calls that are replaced by drm_vblank_on()
    and drm_vblank_off().
    
    Reported-by: Alexandre Courbot <[email protected]>
    Tested-by: Alexandre Courbot <[email protected]>
    Signed-off-by: Thierry Reding <[email protected]>
    thierryreding committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    8ff64c1 View commit details
    Browse the repository at this point in the history
  4. sunrpc: fix sleeping under rcu_read_lock in gss_stringify_acceptor

    Bruce reported that he was seeing the following BUG pop:
    
        BUG: sleeping function called from invalid context at mm/slab.c:2846
        in_atomic(): 0, irqs_disabled(): 0, pid: 4539, name: mount.nfs
        2 locks held by mount.nfs/4539:
        #0:  (nfs_clid_init_mutex){+.+.+.}, at: [<ffffffffa01c0a9a>] nfs4_discover_server_trunking+0x4a/0x2f0 [nfsv4]
        #1:  (rcu_read_lock){......}, at: [<ffffffffa00e3185>] gss_stringify_acceptor+0x5/0xb0 [auth_rpcgss]
        Preemption disabled at:[<ffffffff81a4f082>] printk+0x4d/0x4f
    
        CPU: 3 PID: 4539 Comm: mount.nfs Not tainted 3.18.0-rc1-00013-g5b095e9 #3393
        Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
        ffff880021499390 ffff8800381476a8 ffffffff81a534cf 0000000000000001
        0000000000000000 ffff8800381476c8 ffffffff81097854 00000000000000d0
        0000000000000018 ffff880038147718 ffffffff8118e4f3 0000000020479f00
        Call Trace:
        [<ffffffff81a534cf>] dump_stack+0x4f/0x7c
        [<ffffffff81097854>] __might_sleep+0x114/0x180
        [<ffffffff8118e4f3>] __kmalloc+0x1a3/0x280
        [<ffffffffa00e31d8>] gss_stringify_acceptor+0x58/0xb0 [auth_rpcgss]
        [<ffffffffa00e3185>] ? gss_stringify_acceptor+0x5/0xb0 [auth_rpcgss]
        [<ffffffffa006b438>] rpcauth_stringify_acceptor+0x18/0x30 [sunrpc]
        [<ffffffffa01b0469>] nfs4_proc_setclientid+0x199/0x380 [nfsv4]
        [<ffffffffa01b04d0>] ? nfs4_proc_setclientid+0x200/0x380 [nfsv4]
        [<ffffffffa01bdf1a>] nfs40_discover_server_trunking+0xda/0x150 [nfsv4]
        [<ffffffffa01bde45>] ? nfs40_discover_server_trunking+0x5/0x150 [nfsv4]
        [<ffffffffa01c0acf>] nfs4_discover_server_trunking+0x7f/0x2f0 [nfsv4]
        [<ffffffffa01c8e24>] nfs4_init_client+0x104/0x2f0 [nfsv4]
        [<ffffffffa01539b4>] nfs_get_client+0x314/0x3f0 [nfs]
        [<ffffffffa0153780>] ? nfs_get_client+0xe0/0x3f0 [nfs]
        [<ffffffffa01c83aa>] nfs4_set_client+0x8a/0x110 [nfsv4]
        [<ffffffffa0069708>] ? __rpc_init_priority_wait_queue+0xa8/0xf0 [sunrpc]
        [<ffffffffa01c9b2f>] nfs4_create_server+0x12f/0x390 [nfsv4]
        [<ffffffffa01c1472>] nfs4_remote_mount+0x32/0x60 [nfsv4]
        [<ffffffff81196489>] mount_fs+0x39/0x1b0
        [<ffffffff81166145>] ? __alloc_percpu+0x15/0x20
        [<ffffffff811b276b>] vfs_kern_mount+0x6b/0x150
        [<ffffffffa01c1396>] nfs_do_root_mount+0x86/0xc0 [nfsv4]
        [<ffffffffa01c1784>] nfs4_try_mount+0x44/0xc0 [nfsv4]
        [<ffffffffa01549b7>] ? get_nfs_version+0x27/0x90 [nfs]
        [<ffffffffa0161a2d>] nfs_fs_mount+0x47d/0xd60 [nfs]
        [<ffffffff81a59c5e>] ? mutex_unlock+0xe/0x10
        [<ffffffffa01606a0>] ? nfs_remount+0x430/0x430 [nfs]
        [<ffffffffa01609c0>] ? nfs_clone_super+0x140/0x140 [nfs]
        [<ffffffff81196489>] mount_fs+0x39/0x1b0
        [<ffffffff81166145>] ? __alloc_percpu+0x15/0x20
        [<ffffffff811b276b>] vfs_kern_mount+0x6b/0x150
        [<ffffffff811b5830>] do_mount+0x210/0xbe0
        [<ffffffff811b54ca>] ? copy_mount_options+0x3a/0x160
        [<ffffffff811b651f>] SyS_mount+0x6f/0xb0
        [<ffffffff81a5c852>] system_call_fastpath+0x12/0x17
    
    Sleeping under the rcu_read_lock is bad. This patch fixes it by dropping
    the rcu_read_lock before doing the allocation and then reacquiring it
    and redoing the dereference before doing the copy. If we find that the
    string has somehow grown in the meantime, we'll reallocate and try again.
    
    Cc: <[email protected]> # v3.17+
    Reported-by: "J. Bruce Fields" <[email protected]>
    Signed-off-by: Jeff Layton <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    Jeff Layton authored and trondmypd committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    b3ecba0 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'drm-intel-fixes-2014-11-13' of git://anongit.freedesktop.o…

    …rg/drm-intel into drm-fixes
    
    one regression fix.
    
    * tag 'drm-intel-fixes-2014-11-13' of git://anongit.freedesktop.org/drm-intel:
      drm/i915: Fix obj->map_and_fenceable across tiling changes
    airlied committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    64e5fcc View commit details
    Browse the repository at this point in the history
  6. Merge branch 'linux-3.18' of git://anongit.freedesktop.org/git/nouvea…

    …u/linux-2.6 into drm-fixes
    
    One modesetting, one gk20a fix.
    
    * 'linux-3.18' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
      drm/nouveau/nv50/disp: Fix modeset on G94
      drm/gk20a/fb: fix setting of large page size bit
    airlied committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    3d0f853 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'drm/tegra/for-3.18-rc5' of git://people.freedesktop.org/~t…

    …agr/linux into drm-fixes
    
    drm/tegra: Fixes for v3.18-rc5
    
    This is a single patch that fixes the VBLANK machinery after:
    
    	7ffd7a6 drm: Always reject drm_vblank_get() after drm_vblank_off()
    
    * tag 'drm/tegra/for-3.18-rc5' of git://people.freedesktop.org/~tagr/linux:
      drm/tegra: dc: Add missing call to drm_vblank_on()
    airlied committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    bcfef97 View commit details
    Browse the repository at this point in the history
  8. ARM: 8191/1: decompressor: ensure I-side picks up relocated code

    To speed up decompression, the decompressor sets up a flat, cacheable
    mapping of memory. However, when there is insufficient space to hold
    the page tables for this mapping, we don't bother to enable the caches
    and subsequently skip all the cache maintenance hooks.
    
    Skipping the cache maintenance before jumping to the relocated code
    allows the processor to predict the branch and populate the I-cache
    with stale data before the relocation loop has completed (since a
    bootloader may have SCTLR.I set, which permits normal, cacheable
    instruction fetches regardless of SCTLR.M).
    
    This patch moves the cache maintenance check into the maintenance
    routines themselves, allowing the v6/v7 versions to invalidate the
    I-cache regardless of the MMU state.
    
    Cc: <[email protected]>
    Reported-by: Marc Carino <[email protected]>
    Tested-by: Julien Grall <[email protected]>
    Signed-off-by: Will Deacon <[email protected]>
    Signed-off-by: Russell King <[email protected]>
    wildea01 authored and Russell King committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    238962a View commit details
    Browse the repository at this point in the history
  9. ARM: 8198/1: make kuser helpers depend on MMU

    The kuser helpers page is not set up on non-MMU systems, so it does
    not make sense to allow CONFIG_KUSER_HELPERS to be enabled when
    CONFIG_MMU=n.  Allowing it to be set on !MMU results in an oops in
    set_tls (used in execve and the arm_syscall trap handler):
    
    Unhandled exception: IPSR = 00000005 LR = fffffff1
    CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-rc1-00041-ga30465a #216
    task: 8b838000 ti: 8b82a000 task.ti: 8b82a000
    PC is at flush_thread+0x32/0x40
    LR is at flush_thread+0x21/0x40
    pc : [<8f00157a>]    lr : [<8f001569>]    psr: 4100000b
    sp : 8b82be20  ip : 00000000  fp : 8b83c000
    r10: 00000001  r9 : 88018c84  r8 : 8bb85000
    r7 : 8b838000  r6 : 00000000  r5 : 8bb77400  r4 : 8b82a000
    r3 : ffff0ff0  r2 : 8b82a000  r1 : 00000000  r0 : 88020354
    xPSR: 4100000b
    CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-rc1-00041-ga30465a #216
    [<8f002bc1>] (unwind_backtrace) from [<8f002033>] (show_stack+0xb/0xc)
    [<8f002033>] (show_stack) from [<8f00265b>] (__invalid_entry+0x4b/0x4c)
    
    As best I can tell this issue existed for the set_tls ARM syscall
    before commit fbfb872 "ARM: 8148/1: flush TLS and thumbee
    register state during exec" consolidated the TLS manipulation code
    into the set_tls helper function, but now that we're using it to flush
    register state during execve, !MMU users encounter the oops at the
    first exec.
    
    Prevent CONFIG_MMU=n configurations from enabling
    CONFIG_KUSER_HELPERS.
    
    Fixes: fbfb872 (ARM: 8148/1: flush TLS and thumbee register state during exec)
    
    Signed-off-by: Nathan Lynch <[email protected]>
    Reported-by: Stefan Agner <[email protected]>
    Acked-by: Uwe Kleine-König <[email protected]>
    Cc: [email protected]
    Signed-off-by: Russell King <[email protected]>
    nlynch-mentor authored and Russell King committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    08b964f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2014

  1. Merge tag 'nfs-for-3.18-3' of git://git.linux-nfs.org/projects/trondm…

    …y/linux-nfs
    
    Pull NFS client bugfixes from Trond Myklebust:
     "Highlights include:
    
       - stable patches to fix NFSv4.x delegation reclaim error paths
       - fix a bug whereby we were advertising NFSv4.1 but using NFSv4.2
         features
       - fix a use-after-free problem with pNFS block layouts
       - fix a memory leak in the pNFS files O_DIRECT code
       - replace an intrusive and Oops-prone performance fix in the NFSv4
         atomic open code with a safer one-line version and revert the two
         original patches"
    
    * tag 'nfs-for-3.18-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
      sunrpc: fix sleeping under rcu_read_lock in gss_stringify_acceptor
      NFS: Don't try to reclaim delegation open state if recovery failed
      NFSv4: Ensure that we call FREE_STATEID when NFSv4.x stateids are revoked
      NFSv4: Fix races between nfs_remove_bad_delegation() and delegation return
      NFSv4.1: nfs41_clear_delegation_stateid shouldn't trust NFS_DELEGATED_STATE
      NFSv4: Ensure that we remove NFSv4.0 delegations when state has expired
      NFS: SEEK is an NFS v4.2 feature
      nfs: Fix use of uninitialized variable in nfs_getattr()
      nfs: Remove bogus assignment
      nfs: remove spurious WARN_ON_ONCE in write path
      pnfs/blocklayout: serialize GETDEVICEINFO calls
      nfs: fix pnfs direct write memory leak
      Revert "NFS: nfs4_do_open should add negative results to the dcache."
      Revert "NFS: remove BUG possibility in nfs4_open_and_get_state"
      NFSv4: Ensure nfs_atomic_open set the dentry verifier on ENOENT
    torvalds committed Nov 15, 2014
    Configuration menu
    Copy the full SHA
    1afcb6e View commit details
    Browse the repository at this point in the history
  2. kernel: use the gnu89 standard explicitly

    Sasha Levin reports:
     "gcc5 changes the default standard to c11, which makes kernel build
      unhappy
    
      Explicitly define the kernel standard to be gnu89 which should keep
      everything working exactly like it was before gcc5"
    
    There are multiple small issues with the new default, but the biggest
    issue seems to be that the old - and very useful - GNU extension to
    allow a cast in front of an initializer has gone away.
    
    Patch updated by Kirill:
     "I'm pretty sure all gcc versions you can build kernel with supports
      -std=gnu89.  cc-option is redunrant.
    
      We also need to adjust HOSTCFLAGS otherwise allmodconfig fails for me"
    
    Note by Andrew Pinski:
     "Yes it was reported and both problems relating to this extension has
      been added to gnu99 and gnu11.  Though there are other issues with the
      kernel dealing with extern inline have different semantics between
      gnu89 and gnu99/11"
    
    End result: we may be able to move up to a newer stdc model eventually,
    but right now the newer models have some annoying deficiencies, so the
    traditional "gnu89" model ends up being the preferred one.
    
    Signed-off-by: Sasha Levin <[email protected]>
    Singed-off-by: Kirill A. Shutemov <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    kiryl authored and torvalds committed Nov 15, 2014
    Configuration menu
    Copy the full SHA
    51b97e3 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    Pull drm gixes from Dave Airlie:
     - exynos: infinite loop regressions fixed
     - i915: one regression
     - radeon: one race condition on monitor probing
     - noveau: two regressions
     - tegra: one vblank regression fix
    
    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
      drm/tegra: dc: Add missing call to drm_vblank_on()
      drm/nouveau/nv50/disp: Fix modeset on G94
      drm/gk20a/fb: fix setting of large page size bit
      drm/radeon: add locking around atombios scratch space usage
      drm/i915: Fix obj->map_and_fenceable across tiling changes
      drm/exynos: fix possible infinite loop issue
      drm/exynos: g2d: fix null pointer dereference
      drm/exynos: resolve infinite loop issue on non multi-platform
      drm/exynos: resolve infinite loop issue on multi-platform
    torvalds committed Nov 15, 2014
    Configuration menu
    Copy the full SHA
    e061167 View commit details
    Browse the repository at this point in the history
  4. Merge tag 'for-v3.18-rc' of git://git.infradead.org/battery-2.6

    Pull power supply updates from Sebastian Reichel:
     "Power supply and reset changes for the v3.18-rc:
    
       - misc. charger-manager fixes
       - year 2038 fix in ab8500_fg
       - fix error handling of bq2415x_charger"
    
    * tag 'for-v3.18-rc' of git://git.infradead.org/battery-2.6:
      power: charger-manager: Fix accessing invalidated power supply after charger unbind
      power: charger-manager: Fix accessing invalidated power supply after fuel gauge unbind
      power: charger-manager: Avoid recursive thermal get_temp call
      power_supply: Add no_thermal property to prevent recursive get_temp calls
      power: bq2415x_charger: Fix memory leak on DTS parsing error
      power: bq2415x_charger: Properly handle ENODEV from power_supply_get_by_phandle
      power: ab8500_fg.c: use 64-bit time types
    torvalds committed Nov 15, 2014
    Configuration menu
    Copy the full SHA
    ec7de65 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'parisc-3.18-2' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/deller/parisc-linux
    
    Pull parisc updates from Helge Deller:
     "Changes include:
       - wire up the bpf syscall
       - remove CONFIG_64BIT usage from some userspace-exported header files
       - use compat functions for msgctl, shmat, shmctl and semtimedop
         syscalls"
    
    * 'parisc-3.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
      parisc: Avoid using CONFIG_64BIT in userspace exported headers
      parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls
      parisc: Use BUILD_BUG() instead of undefined functions
      parisc: Wire up bpf syscall
    torvalds committed Nov 15, 2014
    Configuration menu
    Copy the full SHA
    555e598 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm

    Pull ARM fixes from Russell King:
     "Two fixes this time, one to ensure that the kuser helper option
      depends on MMU as they aren't available for noMMU targets (and if the
      option is selected, we end up oopsing.)
    
      The second fix plugs a corner case with the decompressor, ensuring
      that the instruction stream can see the relocated code in every case
      on ARMv7 CPUs"
    
    * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
      ARM: 8198/1: make kuser helpers depend on MMU
      ARM: 8191/1: decompressor: ensure I-side picks up relocated code
    torvalds committed Nov 15, 2014
    Configuration menu
    Copy the full SHA
    5f01feb View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2014

  1. x86-64: make csum_partial_copy_from_user() error handling consistent

    Al Viro pointed out that the x86-64 csum_partial_copy_from_user() is
    somewhat confused about what it should do on errors, notably it mostly
    clears the uncopied end result buffer, but misses that for the initial
    alignment case.
    
    All users should check for errors, so it's dubious whether the clearing
    is even necessary, and Al also points out that we should probably clean
    up the calling conventions, but regardless of any future changes to this
    function, the fact that it is inconsistent is just annoying.
    
    So make the __get_user() failure path use the same error exit as all the
    other errors do.
    
    Reported-by: Al Viro <[email protected]>
    Cc: David Miller <[email protected]>
    Cc: Andi Kleen <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    torvalds committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    3b91270 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/tip/tip
    
    Pull x86 fixes from Ingo Molnar:
     "Microcode fixes, a Xen fix and a KASLR boot loading fix with certain
      memory layouts"
    
    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86, microcode, AMD: Fix ucode patch stashing on 32-bit
      x86/core, x86/xen/smp: Use 'die_complete' completion when taking CPU down
      x86, microcode: Fix accessing dis_ucode_ldr on 32-bit
      x86, kaslr: Prevent .bss from overlaping initrd
      x86, microcode, AMD: Fix early ucode loading on 32-bit
    torvalds committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    de55bbb View commit details
    Browse the repository at this point in the history
  3. Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fixes from James Bottomley:
     "This is a set of six fixes and a MAINTAINER update.
    
      The fixes are two multipath (one in Test Unit Ready handling for the
      path checkers and one in the section of code that sends a start unit
      after failover; both of these were perturbed by the scsi-mq update), a
      CD-ROM door locking fix that was likewise introduced by scsi-mq and
      three driver fixes for a previous code update in cxgb4i, megaraid_sas
      and bnx2fc"
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      bnx2fc: fix tgt spinlock locking
      megaraid_sas: fix bug in handling return value of pci_enable_msix_range()
      cxgb4i: send abort_rpl correctly
      cxgbi: add maintainer for cxgb3i/cxgb4i
      scsi: TUR path is down after adapter gets reset with multipath
      scsi: call device handler for failed TUR command
      scsi: only re-lock door after EH on devices that were reset
    torvalds committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    dec943f View commit details
    Browse the repository at this point in the history
  4. sparc64: Fix constraints on swab helpers.

    We are reading the memory location, so we have to have a memory
    constraint in there purely for the sake of showing the data flow
    to the compiler.
    
    Reported-by: Martin K. Petersen <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    davem330 committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    5a2b59d View commit details
    Browse the repository at this point in the history
  5. md: Always set RECOVERY_NEEDED when clearing RECOVERY_FROZEN

    md_check_recovery will skip any recovery and also clear
    MD_RECOVERY_NEEDED if MD_RECOVERY_FROZEN is set.
    So when we clear _FROZEN, we must set _NEEDED and ensure that
    md_check_recovery gets run.
    Otherwise we could miss out on something that is needed.
    
    In particular, this can make it impossible to remove a
    failed device from an array is the  'recovery-needed' processing
    didn't happen.
    Suitable for stable kernels since 3.13.
    
    Cc: [email protected] (3.13+)
    Reported-and-tested-by: Joe Lawrence <[email protected]>
    Fixes: 30b8feb
    Signed-off-by: NeilBrown <[email protected]>
    neilbrown committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    45eaf45 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'mvebu-fixes-3.18' of git://git.infradead.org/linux-mvebu i…

    …nto fixes
    
    Merge "mvebu fixes for v3.18" from Jason Cooper:
    
     - Armada XP
        - Generalize i2c quirk
    
     - orion
        - Fix irq storm caused by specific sequence of request_irq
    
    * tag 'mvebu-fixes-3.18' of git://git.infradead.org/linux-mvebu:
      ARM: orion: Fix for certain sequence of request_irq can cause irq storm
      ARM: mvebu: armada xp: Generalize use of i2c quirk
    olofj committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    ae8f504 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'omap-fixes-against-v3.18-rc4' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/tmlind/linux-omap into fixes
    
    Merge "omap fixes against v3.18-rc4" from Tony Lindgren:
    
    Few omap fixes for hangs and wrong pinctrl defines, and update
    MAINTAINERS file to avoid missing PMIC and SoC related patches:
    
    - Fix random hangs on am437x because of incorrect default
      value for the DDR regulator
    
    - Fix wrong partition name for NAND on am335x-evm
    
    - Fix wrong pinctrl defines for dra7xx
    
    - Update maintainers entries for PMICs and SoCs
    
    * tag 'omap-fixes-against-v3.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
      pinctrl: dra: dt-bindings: Fix output pull up/down
      MAINTAINERS: Update entry for omap related .dts files to cover new SoCs
      MAINTAINERS: add more files under OMAP SUPPORT
      ARM: dts: AM437x-SK-EVM: Fix DCDC3 voltage
      ARM: dts: AM437x-GP-EVM: Fix DCDC3 voltage
      ARM: dts: AM43x-EPOS-EVM: Fix DCDC3 voltage
      ARM: dts: am335x-evm: Fix 5th NAND partition's name
    
    Signed-off-by: Olof Johansson <[email protected]>
    olofj committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    f7efdad View commit details
    Browse the repository at this point in the history
  8. ARM: at91/dt: Fix sama5d3x typos

    Some DT files had a typo with a missing "5" in sama5d3x first compatible string.
    
    Signed-off-by: Peter Rosin <[email protected]>
    [[email protected]: modify commit log]
    Signed-off-by: Nicolas Ferre <[email protected]>
    
    Signed-off-by: Olof Johansson <[email protected]>
    peda-r authored and olofj committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    e899dba View commit details
    Browse the repository at this point in the history
  9. Merge tag 'md/3.18-fix' of git://neil.brown.name/md

    Pull md bugfix from Neil Brown:
     "One fix for md for 3.18.
    
      This fixes a regression introduced in 3.13"
    
    * tag 'md/3.18-fix' of git://neil.brown.name/md:
      md: Always set RECOVERY_NEEDED when clearing RECOVERY_FROZEN
    torvalds committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    0fbae13 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2014

  1. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

    Pull sparc fixes from David Miller:
    
     1) Fix NULL oops in Schizo PCI controller error handler.
    
     2) Fix race between xchg and other operations on 32-bit sparc, from
        Andreas Larsson.
    
     3) swab*() helpers need a dummy memory input operand to show data flow
        on 64-bit sparc.
    
     4) Fix RCU warnings due to missing irq_{enter,exit}() around
        generic_smp_call_function*() calls.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
      sparc64: Fix constraints on swab helpers.
      sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks
      sparc64: Do irq_{enter,exit}() around generic_smp_call_function*().
      sparc64: Fix crashes in schizo_pcierr_intr_other().
    torvalds committed Nov 17, 2014
    Configuration menu
    Copy the full SHA
    435e46f View commit details
    Browse the repository at this point in the history
  2. Merge tag 'armsoc-for-rc5' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/arm/arm-soc
    
    Pull ARM SoC fixes from Olof Johansson:
     "Another small set of fixes:
    
       - some DT compatible typo fixes
       - irq setup fix dealing with irq storms on orion
       - i2c quirk generalization for mvebu
       - a handful of smaller fixes for OMAP
       - a couple of added file patterns for OMAP entries in MAINTAINERS"
    
    * tag 'armsoc-for-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
      ARM: at91/dt: Fix sama5d3x typos
      pinctrl: dra: dt-bindings: Fix output pull up/down
      MAINTAINERS: Update entry for omap related .dts files to cover new SoCs
      MAINTAINERS: add more files under OMAP SUPPORT
      ARM: dts: AM437x-SK-EVM: Fix DCDC3 voltage
      ARM: dts: AM437x-GP-EVM: Fix DCDC3 voltage
      ARM: dts: AM43x-EPOS-EVM: Fix DCDC3 voltage
      ARM: dts: am335x-evm: Fix 5th NAND partition's name
      ARM: orion: Fix for certain sequence of request_irq can cause irq storm
      ARM: mvebu: armada xp: Generalize use of i2c quirk
    torvalds committed Nov 17, 2014
    Configuration menu
    Copy the full SHA
    e35c5a2 View commit details
    Browse the repository at this point in the history
  3. Linux 3.18-rc5

    torvalds committed Nov 17, 2014
    Configuration menu
    Copy the full SHA
    fc14f9c View commit details
    Browse the repository at this point in the history