24 May, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    b43: fix comment typo reqest -> request
    Haavard Skinnemoen has left Atmel
    cris: typo in mach-fs Makefile
    Kconfig: fix copy/paste-ism for dell-wmi-aio driver
    doc: timers-howto: fix a typo ("unsgined")
    perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
    md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
    treewide: fix a few typos in comments
    regulator: change debug statement be consistent with the style of the rest
    Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
    audit: acquire creds selectively to reduce atomic op overhead
    rtlwifi: don't touch with treewide double semicolon removal
    treewide: cleanup continuations and remove logging message whitespace
    ath9k_hw: don't touch with treewide double semicolon removal
    include/linux/leds-regulator.h: fix syntax in example code
    tty: fix typo in descripton of tty_termios_encode_baud_rate
    xtensa: remove obsolete BKL kernel option from defconfig
    m68k: fix comment typo 'occcured'
    arch:Kconfig.locks Remove unused config option.
    treewide: remove extra semicolons
    ...

    Linus Torvalds
     

20 May, 2011

3 commits

  • …/gregkh/driver-core-2.6

    * 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (44 commits)
    debugfs: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning
    sysfs: remove "last sysfs file:" line from the oops messages
    drivers/base/memory.c: fix warning due to "memory hotplug: Speed up add/remove when blocks are larger than PAGES_PER_SECTION"
    memory hotplug: Speed up add/remove when blocks are larger than PAGES_PER_SECTION
    SYSFS: Fix erroneous comments for sysfs_update_group().
    driver core: remove the driver-model structures from the documentation
    driver core: Add the device driver-model structures to kerneldoc
    Translated Documentation/email-clients.txt
    RAW driver: Remove call to kobject_put().
    reboot: disable usermodehelper to prevent fs access
    efivars: prevent oops on unload when efi is not enabled
    Allow setting of number of raw devices as a module parameter
    Introduce CONFIG_GOOGLE_FIRMWARE
    driver: Google Memory Console
    driver: Google EFI SMI
    x86: Better comments for get_bios_ebda()
    x86: get_bios_ebda_length()
    misc: fix ti-st build issues
    params.c: Use new strtobool function to process boolean inputs
    debugfs: move to new strtobool
    ...

    Fix up trivial conflicts in fs/debugfs/file.c due to the same patch
    being applied twice, and an unrelated cleanup nearby.

    Linus Torvalds
     
  • …nel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

    * 'x86-reboot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: Reorder reboot method preferences

    * 'x86-setup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, setup: Fix EDD3.0 data verification.

    Linus Torvalds
     
  • * 'stable/broadcom.ibft' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft-2.6:
    iscsi_ibft: search for broadcom specific ibft sign (v2)

    Linus Torvalds
     

10 May, 2011

1 commit


07 May, 2011

1 commit

  • efivars_exit() should check for efi_enabled and not undo
    allocations when efi is not enabled. Otherwise there is an Oops
    during module unload:

    calling efivars_init+0x0/0x1000 [efivars] @ 2810
    EFI Variables Facility v0.08 2004-May-17
    initcall efivars_init+0x0/0x1000 [efivars] returned 0 after 5120 usecs
    Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
    last sysfs file: /sys/module/firmware_class/initstate
    CPU 1
    Modules linked in: efivars(-) af_packet tun nfsd lockd nfs_acl auth_rpcgss sunrpc ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables x_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table mperf binfmt_misc dm_mirror dm_region_hash dm_log dm_multipath scsi_dh dm_mod snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep mousedev snd_seq joydev snd_seq_device mac_hid evdev snd_pcm usbkbd usbmouse usbhid snd_timer hid tg3 snd sr_mod pcspkr rtc_cmos soundcore cdrom iTCO_wdt processor sg dcdbas i2c_i801 rtc_core iTCO_vendor_support intel_agp snd_page_alloc thermal_sys rtc_lib intel_gtt 8250_pnp button hwmon unix ide_pci_generic ide_core ata_generic pata_acpi ata_piix sd_mod crc_t10dif ext3 jbd mbcache uhci_hcd ohci_hcd ssb mmc_core pcmcia pcmcia_core firmware_class ehci_hcd usbcore [last unloaded: dell_rbu]

    Pid: 2812, comm: rmmod Not tainted 2.6.39-rc6 #1 Dell Inc. OptiPlex 745 /0TY565
    RIP: 0010:[] [] unregister_efivars+0x28/0x12c [efivars]
    RSP: 0018:ffff88005eedde98 EFLAGS: 00010283
    RAX: ffffffffa06a23fc RBX: ffffffffa06a44c0 RCX: ffff88007c227a50
    RDX: 0000000000000000 RSI: 00000055ac13db78 RDI: ffffffffa06a44c0
    RBP: ffff88005eeddec8 R08: 0000000000000000 R09: ffff88005eeddd78
    R10: ffffffffa06a4220 R11: ffff88005eeddd78 R12: fffffffffffff7d0
    R13: 00007fff5a3aaec0 R14: 0000000000000000 R15: ffffffffa06a4508
    FS: 00007fa8dcc4a6f0(0000) GS:ffff88007c200000(0000) knlGS:0000000000000000
    CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    CR2: 0000000000000000 CR3: 000000005d148000 CR4: 00000000000006e0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    Process rmmod (pid: 2812, threadinfo ffff88005eedc000, task ffff88006754b000)
    Stack:
    ffff88005eeddec8 ffffffffa06a4220 0000000000000000 00007fff5a3aaec0
    0000000000000000 0000000000000001 ffff88005eedded8 ffffffffa06a2418
    ffff88005eeddf78 ffffffff810d3598 ffffffffa06a4220 0000000000000880
    Call Trace:
    [] efivars_exit+0x1c/0xc04 [efivars]
    [] sys_delete_module+0x2d6/0x368
    [] ? lockdep_sys_exit_thunk+0x35/0x67
    [] ? audit_syscall_entry+0x172/0x1a5
    [] system_call_fastpath+0x16/0x1b
    Code: 5c c9 c3 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 08 0f 1f 44 00 00 4c 8b 67 48 48 89 fb 4c 8d 7f 48 49 81 ec 30 08 00 00 8b ac 24 30 08 00 00 49 81 ed 30 08 00 00 eb 59 48 89 df 48
    RIP [] unregister_efivars+0x28/0x12c [efivars]
    RSP
    CR2: 0000000000000000
    ---[ end trace aa99b99090f70baa ]---

    Matt apparently removed such a check in 2004 (with no reason given):
    * 17 May 2004 - Matt Domsch
    * remove check for efi_enabled in exit
    but there have been several changes since then.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Mike Waychison
    Tested-by: Randy Dunlap
    Cc: Matt Domsch
    Cc:
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     

30 Apr, 2011

3 commits

  • In order to keep Google's firmware drivers organized amongst themselves,
    all Google firmware drivers are gated on CONFIG_GOOGLE_FIRMWARE=y, which
    defaults to 'n' in the kernel build.

    Signed-off-by: Mike Waychison
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • This patch introduces the 'memconsole' driver.

    Our firmware gives us access to an in-memory log of the firmware's
    output. This gives us visibility in a data-center of headless machines
    as to what the firmware is doing.

    The memory console is found by the driver by finding a header block in
    the EBDA. The buffer is then copied out, and is exported to userland in
    the file /sys/firmware/log.

    Signed-off-by: San Mehat
    Signed-off-by: Mike Waychison
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • The "gsmi" driver bridges userland with firmware specific routines for
    accessing hardware.

    Currently, this driver only supports NVRAM and eventlog information.
    Deprecated functions have been removed from the driver, though their
    op-codes are left in place so that they are not re-used.

    This driver works by trampolining into the firmware via the smi_command
    outlined in the FADT table. Three protocols are used due to various
    limitations over time, but all are included herein.

    This driver should only ever load on Google boards, identified by either
    a "Google, Inc." board vendor string in DMI, or "GOOGLE" in the OEM
    strings of the FADT ACPI table. This logic happens in
    gsmi_system_valid().

    Signed-off-by: Duncan Laurie
    Signed-off-by: Aaron Durbin
    Signed-off-by: Mike Waychison
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     

28 Apr, 2011

1 commit

  • Check for nonzero path in edd_has_edd30() has no sense. First, it looks
    at the wrong memory. Device path starts at offset 30 of the info->params
    structure which is at offset 8 from the beginning of info structure,
    but code looks at info + 4 instead. This was correct when code was
    introduced, but around v2.6.4 three more fields were added to edd_info
    structure (commit 66b61a5c in history.git). Second, even if it will check
    correct memory it will always succeed since at offset 30 (params->key)
    there will be non-zero values otherwise previous check would fail.

    The patch replaces this bogus check with one that verifies checksum.

    Signed-off-by: Gleb Natapov
    Link: http://lkml.kernel.org/r/20110426082132.GG2265@redhat.com
    Signed-off-by: H. Peter Anvin

    Gleb Natapov
     

26 Apr, 2011

1 commit

  • Using C line continuation inside format strings is error prone.
    Clean up the unintended whitespace introduced by misuse of \.
    Neaten correctly used line continations as well for consistency.

    drivers/scsi/arcmsr/arcmsr_hba.c has these errors as well,
    but arcmsr needs a lot more work and the driver should likely be
    moved to staging instead.

    Signed-off-by: Joe Perches
    Acked-by: Randy Dunlap
    Signed-off-by: Jiri Kosina

    Joe Perches
     

20 Apr, 2011

2 commits


15 Apr, 2011

1 commit

  • Broadcom iscsi offload firmware uses a non standard ibft sign of "BIFT".
    When we added support for boot, the anaconda team and I were using
    older firmware (I guess 4 years old), so boot does not work on current
    cards.

    This patch modifies the ibft search code to search for "BIFT" along
    with the other possible values.

    Broadcom has tested the patch and reported it works with their
    firmware. Mike has tested Chelsio and Intel cards.

    [v2:
    - Add ACPI_SIG_IBFT to ibft_signs
    - replace break with goto in find_ibft_in_mem innner loop.]
    Signed-off-by: Mike Christie
    Signed-off-by: Peter Jones
    Signed-off-by: Konrad Rzeszutek Wilk

    Mike Christie
     

23 Mar, 2011

1 commit


19 Mar, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (47 commits)
    doc: CONFIG_UNEVICTABLE_LRU doesn't exist anymore
    Update cpuset info & webiste for cgroups
    dcdbas: force SMI to happen when expected
    arch/arm/Kconfig: remove one to many l's in the word.
    asm-generic/user.h: Fix spelling in comment
    drm: fix printk typo 'sracth'
    Remove one to many n's in a word
    Documentation/filesystems/romfs.txt: fixing link to genromfs
    drivers:scsi Change printk typo initate -> initiate
    serial, pch uart: Remove duplicate inclusion of linux/pci.h header
    fs/eventpoll.c: fix spelling
    mm: Fix out-of-date comments which refers non-existent functions
    drm: Fix printk typo 'failled'
    coh901318.c: Change initate to initiate.
    mbox-db5500.c Change initate to initiate.
    edac: correct i82975x error-info reported
    edac: correct i82975x mci initialisation
    edac: correct commented info
    fs: update comments to point correct document
    target: remove duplicate include of target/target_core_device.h from drivers/target/target_core_hba.c
    ...

    Trivial conflict in fs/eventpoll.c (spelling vs addition)

    Linus Torvalds
     

17 Mar, 2011

1 commit

  • …/gregkh/driver-core-2.6

    * 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (50 commits)
    printk: do not mangle valid userspace syslog prefixes
    efivars: Add Documentation
    efivars: Expose efivars functionality to external drivers.
    efivars: Parameterize operations.
    efivars: Split out variable registration
    efivars: parameterize efivars
    efivars: Make efivars bin_attributes dynamic
    efivars: move efivars globals into struct efivars
    drivers:misc: ti-st: fix debugging code
    kref: Fix typo in kref documentation
    UIO: add PRUSS UIO driver support
    Fix spelling mistakes in Documentation/zh_CN/SubmittingPatches
    firmware: Fix unaligned memory accesses in dmi-sysfs
    firmware: Add documentation for /sys/firmware/dmi
    firmware: Expose DMI type 15 System Event Log
    firmware: Break out system_event_log in dmi-sysfs
    firmware: Basic dmi-sysfs support
    firmware: Add DMI entry types to the headers
    Driver core: convert platform_{get,set}_drvdata to static inline functions
    Translate linux-2.6/Documentation/magic-number.txt into Chinese
    ...

    Linus Torvalds
     

14 Mar, 2011

6 commits

  • Signed-off-by: Mike Waychison
    Cc: Matt Domsch ,
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • Instead of letting efivars access struct efi directly when dealing with
    variables, use an operations structure. This allows a later change to
    reuse the efivars logic without having to pretend to support everything
    in struct efi.

    Signed-off-by: Mike Waychison
    Cc: Matt Domsch ,
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • In anticipation of re-using the variable facilities in efivars from
    elsewhere, split out the registration and unregistration of struct
    efivars from the rest of the EFI specific sysfs code.

    Signed-off-by: Mike Waychison
    Cc: Matt Domsch ,
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • Now that we all global variable state is encapsulated by struct efivars,
    parameterize all functions to the efivars local to the control flow rather
    than at file scope. We do this by removing the variable "efivars" at file
    scope and move its storage down to the end of the file.

    Variables get at efivars by storing the efivars pointer within each
    efivar_entry. The "new_var" and "del_var" binary attribute files get at
    the efivars through the private pointer.

    Signed-off-by: Mike Waychison
    Cc: Matt Domsch ,
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • In preparation for encapsulating efivars, we need to have the
    bin_attributes be dynamically allocated so that we can use their
    ->private fields to get back to the struct efivars structure.

    Signed-off-by: Mike Waychison
    Cc: Matt Domsch ,
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • In preparation for abstracting out efivars to be usable by other similar
    variable services, move the global lock, list and kset into a structure.
    Later patches will change the scope of 'efivars' and have it be passed
    by function argument.

    Signed-off-by: Mike Waychison
    Cc: Matt Domsch ,
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     

02 Mar, 2011

1 commit

  • The dcdbas driver can do an I/O write to cause a SMI to occur. The SMI handler
    looks at certain registers and memory locations, so the SMI needs to happen
    immediately. On some systems I/O writes are posted, though, causing the SMI to
    happen well after the "outb" occurred, which causes random failures. Following
    the "outb" with an "inb" forces the write to go through even if it is posted.

    Signed-off-by: Stuart Hayes
    Acked-by: Doug Warzecha
    Signed-off-by: Jiri Kosina

    Stuart Hayes
     

26 Feb, 2011

4 commits

  • DMI entries are arranged in memory back to back with no alignment
    guarantees. This means that the struct dmi_header passed to callbacks
    from dmi_walk() itself isn't byte aligned. This causes problems on
    architectures that expect aligned data, such as IA64.

    The dmi-sysfs patchset introduced structure member accesses through this
    passed in dmi_header. Fix this by memcpy()ing the structures to
    temporary locations on stack when inspecting/copying them.

    Signed-off-by: Mike Waychison
    Tested-by: Tony Luck
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • The System Event Log described by DMI entry type 15 may be backed by
    either memory or may be indirectly accessed via an IO index/data
    register pair.

    In order to get read access to this log, expose it in the
    "system_event_log" sub-directory of type 15 DMI entries, ie:
    /sys/firmware/dmi/entries/15-0/system_event_log/raw_event_log.

    This commit handles both IO accessed and memory access system event
    logs. OEM specific access and GPNV support is explicitly not handled
    and we error out in the logs when we do not recognize the access method.

    Signed-off-by: Mike Waychison
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • The optional type 15 entry of the DMI table describes a non-volatile
    storage-backed system event log.

    In preparation for the next commit which exposes the raw bits of the
    event log to userland, create a new sub-directory within the dmi entry
    called "system_event_log" and expose attribute files that describe the
    event log itself.

    Currently, only a single child object is permitted within a
    dmi_sysfs_entry. We simply point at this child from the dmi_sysfs_entry
    if it exists.

    Signed-off-by: Mike Waychison
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     
  • Introduce a new module "dmi-sysfs" that exports the broken out entries
    of the DMI table through sysfs.

    Entries are enumerated via dmi_walk() on module load, and are populated
    as kobjects rooted at /sys/firmware/dmi/entries.

    Entries are named "-", where:
    : is the type of the entry, and
    : is the ordinal count within the DMI table of that
    entry type. This instance is used in lieu the DMI
    entry's handle as no assurances are made by the kernel
    that handles are unique.

    All entries export the following attributes:
    length : The length of the formatted portion of the entry
    handle : The handle given to this entry by the firmware
    raw : The raw bytes of the entire entry, including the
    formatted portion, the unformatted (strings) portion,
    and the two terminating nul characters.
    type : The DMI entry type
    instance : The ordinal instance of this entry given its type.
    position : The position ordinal of the entry within the table in
    its entirety.

    Entries in dmi-sysfs are kobject backed members called "struct
    dmi_sysfs_entry" and belong to dmi_kset. They are threaded through
    entry_list (protected by entry_list_lock) so that we can find them at
    cleanup time.

    Signed-off-by: Mike Waychison
    Signed-off-by: Greg Kroah-Hartman

    Mike Waychison
     

15 Feb, 2011

1 commit

  • The "Type 2" SMBIOS record that contains Board Name is not
    strictly required and may be absent in the SMBIOS on some
    platforms.

    ( Please note that Type 2 is not listed in Table 3 in Sec 6.2
    ("Required Structures and Data") of the SMBIOS v2.7
    Specification. )

    Use the Manufacturer Name (aka System Vendor) name.
    Print Board Name only when it is present.

    Before the fix:
    (i) dmesg output: DMI: /ProLiant DL380 G6, BIOS P62 01/29/2011
    (ii) oops output: Pid: 2170, comm: bash Not tainted 2.6.38-rc4+ #3 /ProLiant DL380 G6

    After the fix:
    (i) dmesg output: DMI: HP ProLiant DL380 G6, BIOS P62 01/29/2011
    (ii) oops output: Pid: 2278, comm: bash Not tainted 2.6.38-rc4+ #4 HP ProLiant DL380 G6

    Signed-off-by: Naga Chumbalkar
    Reviewed-by: Bjorn Helgaas
    Cc: # .3x - good for debugging, please apply as far back as it applies cleanly
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Naga Chumbalkar
     

21 Jan, 2011

1 commit

  • The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
    is used to configure any non-standard kernel with a much larger scope than
    only small devices.

    This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
    references to the option throughout the kernel. A new CONFIG_EMBEDDED
    option is added that automatically selects CONFIG_EXPERT when enabled and
    can be used in the future to isolate options that should only be
    considered for embedded systems (RISC architectures, SLOB, etc).

    Calling the option "EXPERT" more accurately represents its intention: only
    expert users who understand the impact of the configuration changes they
    are making should enable it.

    Reviewed-by: Ingo Molnar
    Acked-by: David Woodhouse
    Signed-off-by: David Rientjes
    Cc: Greg KH
    Cc: "David S. Miller"
    Cc: Jens Axboe
    Cc: Arnd Bergmann
    Cc: Robin Holt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     

28 Oct, 2010

1 commit

  • Put basic system information in the dmesg log. There are lots of dmesg
    logs on the web, and it would be useful if they contained this information
    for debugging platform problems. "BOARD/PRODUCT" format copied from
    show_regs_common(), which is used in the oops path.

    Signed-off-by: Bjorn Helgaas
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bjorn Helgaas
     

25 Oct, 2010

1 commit

  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    Update broken web addresses in arch directory.
    Update broken web addresses in the kernel.
    Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
    Revert "Fix typo: configuation => configuration" partially
    ida: document IDA_BITMAP_LONGS calculation
    ext2: fix a typo on comment in ext2/inode.c
    drivers/scsi: Remove unnecessary casts of private_data
    drivers/s390: Remove unnecessary casts of private_data
    net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
    drivers/infiniband: Remove unnecessary casts of private_data
    drivers/gpu/drm: Remove unnecessary casts of private_data
    kernel/pm_qos_params.c: Remove unnecessary casts of private_data
    fs/ecryptfs: Remove unnecessary casts of private_data
    fs/seq_file.c: Remove unnecessary casts of private_data
    arm: uengine.c: remove C99 comments
    arm: scoop.c: remove C99 comments
    Fix typo configue => configure in comments
    Fix typo: configuation => configuration
    Fix typo interrest[ing|ed] => interest[ing|ed]
    Fix various typos of valid in comments
    ...

    Fix up trivial conflicts in:
    drivers/char/ipmi/ipmi_si_intf.c
    drivers/usb/gadget/rndis.c
    net/irda/irnet/irnet_ppp.c

    Linus Torvalds
     

18 Oct, 2010

1 commit

  • The patch below updates broken web addresses in the kernel

    Signed-off-by: Justin P. Mattock
    Cc: Maciej W. Rozycki
    Cc: Geert Uytterhoeven
    Cc: Finn Thain
    Cc: Randy Dunlap
    Cc: Matt Turner
    Cc: Dimitry Torokhov
    Cc: Mike Frysinger
    Acked-by: Ben Pfaff
    Acked-by: Hans J. Koch
    Reviewed-by: Finn Thain
    Signed-off-by: Jiri Kosina

    Justin P. Mattock
     

14 Oct, 2010

1 commit

  • Fix kconfig dependency warning to satisfy dependencies:

    warning: (BE2ISCSI && SCSI_LOWLEVEL && PCI && SCSI && NET || ISCSI_IBFT && ISCSI_IBFT_FIND && SCSI) selects ISCSI_BOOT_SYSFS which has unmet direct dependencies (SCSI_LOWLEVEL && SCSI)

    Signed-off-by: Randy Dunlap
    Signed-off-by: Peter Jones
    Signed-off-by: Konrad Rzeszutek Wilk

    Randy Dunlap
     

15 Aug, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (28 commits)
    [SCSI] qla4xxx: fix compilation warning
    [SCSI] make error handling more robust in the face of reservations
    [SCSI] tgt: fix warning
    [SCSI] drivers/message/fusion: Adjust confusing if indentation
    [SCSI] Return NEEDS_RETRY for eh commands with status BUSY
    [SCSI] ibmvfc: Driver version 1.0.9
    [SCSI] ibmvfc: Fix terminate_rport_io
    [SCSI] ibmvfc: Fix rport add/delete race resulting in oops
    [SCSI] lpfc 8.3.16: Change LPFC driver version to 8.3.16
    [SCSI] lpfc 8.3.16: FCoE Discovery and Failover Fixes
    [SCSI] lpfc 8.3.16: SLI Additions, updates, and code cleanup
    [SCSI] pm8001: introduce missing kfree
    [SCSI] qla4xxx: Update driver version to 5.02.00-k3
    [SCSI] qla4xxx: Added AER support for ISP82xx
    [SCSI] qla4xxx: Handle outstanding mbx cmds on hung f/w scenarios
    [SCSI] qla4xxx: updated mbx_sys_info struct to sync with FW 4.6.x
    [SCSI] qla4xxx: clear AF_DPC_SCHEDULED flage when exit from do_dpc
    [SCSI] qla4xxx: Stop firmware before doing init firmware.
    [SCSI] qla4xxx: Use the correct request queue.
    [SCSI] qla4xxx: set correct value in sess->recovery_tmo
    ...

    Linus Torvalds
     

14 Aug, 2010

1 commit


12 Aug, 2010

2 commits

  • Prevent build errors when SCSI is not enabled:

    iscsi_ibft.c:(.init.text+0x548d): undefined reference to `iscsi_boot_create_initiator'
    iscsi_ibft.c:(.init.text+0x54a9): undefined reference to `iscsi_boot_create_ethernet'
    iscsi_ibft.c:(.init.text+0x54c5): undefined reference to `iscsi_boot_create_target'
    iscsi_ibft.c:(.init.text+0x55ff): undefined reference to `iscsi_boot_destroy_kset'
    iscsi_ibft.c:(.init.text+0x561e): undefined reference to `iscsi_boot_create_kset'
    iscsi_ibft.c:(.exit.text+0xe2c): undefined reference to `iscsi_boot_destroy_kset'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Peter Jones
    Signed-off-by: Konrad Rzeszutek Wilk

    Randy Dunlap
     
  • We failed to check to see if actually allocated structures
    to contain the iBFT structure and went ahead to dereference it.

    This patch fixes the OOPS.

    Reported-by: "Jayamohan Kalickal"   
    Tested-by: "Jayamohan Kalickal"
    Signed-off-by: Konrad Rzeszutek Wilk
    Signed-off-by: Peter Jones
     

    Konrad Rzeszutek Wilk
     

10 Aug, 2010

1 commit

  • The error may happen at any iteration of the for loop, this patch properly
    unregisters already registed edd_devices in error path.

    [akpm@linux-foundation.org: remove unneeded NULL test]
    Signed-off-by: Axel Lin
    Cc: Stephen Hemminger
    Cc: Jens Axboe
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Axel Lin
     

07 Aug, 2010

1 commit

  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (30 commits)
    PCI: update for owner removal from struct device_attribute
    PCI: Fix warnings when CONFIG_DMI unset
    PCI: Do not run NVidia quirks related to MSI with MSI disabled
    x86/PCI: use for_each_pci_dev()
    PCI: use for_each_pci_dev()
    PCI: MSI: Restore read_msi_msg_desc(); add get_cached_msi_msg_desc()
    PCI: export SMBIOS provided firmware instance and label to sysfs
    PCI: Allow read/write access to sysfs I/O port resources
    x86/PCI: use host bridge _CRS info on ASRock ALiveSATA2-GLAN
    PCI: remove unused HAVE_ARCH_PCI_SET_DMA_MAX_SEGMENT_{SIZE|BOUNDARY}
    PCI: disable mmio during bar sizing
    PCI: MSI: Remove unsafe and unnecessary hardware access
    PCI: Default PCIe ASPM control to on and require !EMBEDDED to disable
    PCI: kernel oops on access to pci proc file while hot-removal
    PCI: pci-sysfs: remove casts from void*
    ACPI: Disable ASPM if the platform won't provide _OSC control for PCIe
    PCI hotplug: make sure child bridges are enabled at hotplug time
    PCI hotplug: shpchp: Removed check for hotplug of display devices
    PCI hotplug: pciehp: Fixed return value sign for pciehp_unconfigure_device
    PCI: Don't enable aspm before drivers have had a chance to veto it
    ...

    Linus Torvalds