13 Dec, 2009

2 commits

  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (151 commits)
    powerpc: Fix usage of 64-bit instruction in 32-bit altivec code
    MAINTAINERS: Add PowerPC patterns
    powerpc/pseries: Track previous CPPR values to correctly EOI interrupts
    powerpc/pseries: Correct pseries/dlpar.c build break without CONFIG_SMP
    powerpc: Make "intspec" pointers in irq_host->xlate() const
    powerpc/8xx: DTLB Miss cleanup
    powerpc/8xx: Remove DIRTY pte handling in DTLB Error.
    powerpc/8xx: Start using dcbX instructions in various copy routines
    powerpc/8xx: Restore _PAGE_WRITETHRU
    powerpc/8xx: Add missing Guarded setting in DTLB Error.
    powerpc/8xx: Fixup DAR from buggy dcbX instructions.
    powerpc/8xx: Tag DAR with 0x00f0 to catch buggy instructions.
    powerpc/8xx: Update TLB asm so it behaves as linux mm expects.
    powerpc/8xx: Invalidate non present TLBs
    powerpc/pseries: Serialize cpu hotplug operations during deactivate Vs deallocate
    pseries/pseries: Add code to online/offline CPUs of a DLPAR node
    powerpc: stop_this_cpu: remove the cpu from the online map.
    powerpc/pseries: Add kernel based CPU DLPAR handling
    sysfs/cpu: Add probe/release files
    powerpc/pseries: Kernel DLPAR Infrastructure
    ...

    Linus Torvalds
     
  • …l/git/tip/linux-2.6-tip

    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (21 commits)
    sched: Remove forced2_migrations stats
    sched: Fix memory leak in two error corner cases
    sched: Fix build warning in get_update_sysctl_factor()
    sched: Update normalized values on user updates via proc
    sched: Make tunable scaling style configurable
    sched: Fix missing sched tunable recalculation on cpu add/remove
    sched: Fix task priority bug
    sched: cgroup: Implement different treatment for idle shares
    sched: Remove unnecessary RCU exclusion
    sched: Discard some old bits
    sched: Clean up check_preempt_wakeup()
    sched: Move update_curr() in check_preempt_wakeup() to avoid redundant call
    sched: Sanitize fork() handling
    sched: Clean up ttwu() rq locking
    sched: Remove rq->clock coupling from set_task_cpu()
    sched: Consolidate select_task_rq() callers
    sched: Remove sysctl.sched_features
    sched: Protect sched_rr_get_param() access to task->sched_class
    sched: Protect task->cpus_allowed access in sched_getaffinity()
    sched: Fix balance vs hotplug race
    ...

    Fixed up conflicts in kernel/sysctl.c (due to sysctl cleanup)

    Linus Torvalds
     

12 Dec, 2009

37 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (75 commits)
    net: Handle NETREG_UNINITIALIZED devices correctly
    can: add the driver for Analog Devices Blackfin on-chip CAN controllers
    xfrm: Fix truncation length of authentication algorithms installed via PF_KEY
    net: use compat helper functions in compat_sys_recvmmsg
    net: fix compat_sys_recvmmsg parameter type
    cxgb3: Fixing EEH handlers
    cnic: Zero out status block and Event Queue indices.
    cnic: Send delete command when shutting down iSCSI ring.
    net: smc91x: Fix up type mismatch in smc_drv_resume().
    smc91x: fix unused flags warnings on UP systems
    MAINTAINERS: Transfering maintainership of cdc-ether
    net: Add missing TST_CFG_WRITE bits around sky2_pci_write
    net: Fix Yukon-2 Optima TCP offload setup
    net: niu uses crc32, so select CRC32
    wireless: update old static regulatory domain rules
    mac80211: Revert 'Use correct sign for mesh active path refresh'
    mac80211: Fixed bug in mesh portal paths
    net/mac80211: Correct size given to memset
    b43: Remove reset after fatal DMA error
    rtl8187: add radio led and fix warnings on suspend
    ...

    Linus Torvalds
     
  • * 'compat-ioctl-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground:
    usbdevfs: move compat_ioctl handling to devio.c
    lp: move compat_ioctl handling into lp.c
    compat_ioctl: pass compat pointer directly to handlers
    compat_ioctl: simplify lookup table
    compat_ioctl: simplify calling of handlers
    compat_ioctl: inline all conversion handlers
    compat_ioctl: Remove BKL
    compat_ioctl: remove all VT ioctl handling

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
    asm-generic: add sys_recvmmsg to unistd.h
    asm-generic: add sys_accept4 to unistd.h
    asm-generic/gpio.h: add some forward decls of the device struct
    asm-generic: Fix typo in asm-generic/unistd.h.
    lib/checksum: fix one more thinko
    lib/checksum.c: make do_csum optional
    lib/checksum.c: use 32-bit arithmetic consistently

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    itimer: Fix the itimer trace print format
    hrtimer: move timer stats helper functions to hrtimer.c
    hrtimer: Tune hrtimer_interrupt hang logic

    Linus Torvalds
     
  • …nel/git/tip/linux-2.6-tip

    * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    tracing: Remove comparing of NULL to va_list in trace_array_vprintk()
    tracing: Fix function graph trace_pipe to properly display failed entries
    tracing: Add full state to trace_seq
    tracing: Buffer the output of seq_file in case of filled buffer
    tracing: Only call pipe_close if pipe_close is defined
    tracing: Add pipe_close interface

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (57 commits)
    x86, perf events: Check if we have APIC enabled
    perf_event: Fix variable initialization in other codepaths
    perf kmem: Fix unused argument build warning
    perf symbols: perf_header__read_build_ids() offset'n'size should be u64
    perf symbols: dsos__read_build_ids() should read both user and kernel buildids
    perf tools: Align long options which have no short forms
    perf kmem: Show usage if no option is specified
    sched: Mark sched_clock() as notrace
    perf sched: Add max delay time snapshot
    perf tools: Correct size given to memset
    perf_event: Fix perf_swevent_hrtimer() variable initialization
    perf sched: Fix for getting task's execution time
    tracing/kprobes: Fix field creation's bad error handling
    perf_event: Cleanup for cpu_clock_perf_event_update()
    perf_event: Allocate children's perf_event_ctxp at the right time
    perf_event: Clean up __perf_event_init_context()
    hw-breakpoints: Modify breakpoints without unregistering them
    perf probe: Update perf-probe document
    perf probe: Support --del option
    trace-kprobe: Support delete probe syntax
    ...

    Linus Torvalds
     
  • Conflicts:
    include/net/tcp.h

    David S. Miller
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [ACPI/CPUFREQ] Introduce bios_limit per cpu cpufreq sysfs interface
    [CPUFREQ] make internal cpufreq_add_dev_* static
    [CPUFREQ] use an enum for speedstep processor identification
    [CPUFREQ] Document units for transition latency
    [CPUFREQ] Use global sysfs cpufreq structure for conservative governor tunings
    [CPUFREQ] Documentation: ABI: /sys/devices/system/cpu/cpu#/cpufreq/
    [CPUFREQ] powernow-k6: set transition latency value so ondemand governor can be used
    [CPUFREQ] cpumask: don't put a cpumask on the stack in x86...cpufreq/powernow-k8.c

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (58 commits)
    tty: split the lock up a bit further
    tty: Move the leader test in disassociate
    tty: Push the bkl down a bit in the hangup code
    tty: Push the lock down further into the ldisc code
    tty: push the BKL down into the handlers a bit
    tty: moxa: split open lock
    tty: moxa: Kill the use of lock_kernel
    tty: moxa: Fix modem op locking
    tty: moxa: Kill off the throttle method
    tty: moxa: Locking clean up
    tty: moxa: rework the locking a bit
    tty: moxa: Use more tty_port ops
    tty: isicom: fix deadlock on shutdown
    tty: mxser: Use the new locking rules to fix setserial properly
    tty: mxser: use the tty_port_open method
    tty: isicom: sort out the board init logic
    tty: isicom: switch to the new tty_port_open helper
    tty: tty_port: Add a kref object to the tty port
    tty: istallion: tty port open/close methods
    tty: stallion: Convert to the tty_port_open/close methods
    ...

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6: (21 commits)
    ext3: PTR_ERR return of wrong pointer in setup_new_group_blocks()
    ext3: Fix data / filesystem corruption when write fails to copy data
    ext4: Support for 64-bit quota format
    ext3: Support for vfsv1 quota format
    quota: Implement quota format with 64-bit space and inode limits
    quota: Move definition of QFMT_OCFS2 to linux/quota.h
    ext2: fix comment in ext2_find_entry about return values
    ext3: Unify log messages in ext3
    ext2: clear uptodate flag on super block I/O error
    ext2: Unify log messages in ext2
    ext3: make "norecovery" an alias for "noload"
    ext3: Don't update the superblock in ext3_statfs()
    ext3: journal all modifications in ext3_xattr_set_handle
    ext2: Explicitly assign values to on-disk enum of filetypes
    quota: Fix WARN_ON in lookup_one_len
    const: struct quota_format_ops
    ubifs: remove manual O_SYNC handling
    afs: remove manual O_SYNC handling
    kill wait_on_page_writeback_range
    vfs: Implement proper O_SYNC semantics
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (27 commits)
    Driver core: fix race in dev_driver_string
    Driver Core: Early platform driver buffer
    sysfs: sysfs_setattr remove unnecessary permission check.
    sysfs: Factor out sysfs_rename from sysfs_rename_dir and sysfs_move_dir
    sysfs: Propagate renames to the vfs on demand
    sysfs: Gut sysfs_addrm_start and sysfs_addrm_finish
    sysfs: In sysfs_chmod_file lazily propagate the mode change.
    sysfs: Implement sysfs_getattr & sysfs_permission
    sysfs: Nicely indent sysfs_symlink_inode_operations
    sysfs: Update s_iattr on link and unlink.
    sysfs: Fix locking and factor out sysfs_sd_setattr
    sysfs: Simplify iattr time assignments
    sysfs: Simplify sysfs_chmod_file semantics
    sysfs: Use dentry_ops instead of directly playing with the dcache
    sysfs: Rename sysfs_d_iput to sysfs_dentry_iput
    sysfs: Update sysfs_setxattr so it updates secdata under the sysfs_mutex
    debugfs: fix create mutex racy fops and private data
    Driver core: Don't remove kobjects in device_shutdown.
    firmware_class: make request_firmware_nowait more useful
    Driver-Core: devtmpfs - set root directory mode to 0755
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (122 commits)
    USB: mos7840: add device IDs for B&B electronics devices
    USB: ftdi_sio: add USB device ID's for B&B Electronics line
    USB: musb: musb_host: fix sparse warning
    USB: musb: musb_gadget: fix sparse warning
    USB: musb: omap2430: fix sparse warning
    USB: core: message: fix sparse warning
    USB: core: hub: fix sparse warning
    USB: core: fix sparse warning for static function
    USB: Added USB_ETH_RNDIS to use instead of CONFIG_USB_ETH_RNDIS
    USB: Check bandwidth when switching alt settings.
    USB: Refactor code to find alternate interface settings.
    USB: xhci: Fix command completion after a drop endpoint.
    USB: xhci: Make reverting an alt setting "unfailable".
    USB: usbtmc: Use usb_clear_halt() instead of custom code.
    USB: xhci: Add correct email and files to MAINTAINERS entry.
    USB: ehci-omap.c: introduce missing kfree
    USB: xhci-mem.c: introduce missing kfree
    USB: add remove_id sysfs attr for usb drivers
    USB: g_multi kconfig: fix depends and help text
    USB: option: add pid for ZTE
    ...

    Linus Torvalds
     
  • Start trying to untangle the remaining BKL mess

    Updated to fix missing unlock_kernel noted by Dan Carpenter

    Signed-off-by: Alan "I must be out of my tree" Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • Split this into two flags - INIT meaning the board is set up and ACTIVE
    meaning the board has ports open. Remove the broken HUPCL casing and push
    the counts somewhere sensible.

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • Users of tty port need a way to refcount ports when hotplugging is
    involved.

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • We want to be able to do this without regard for the activate/own open
    method being used which causes a problem using port->mutex. Add another
    mutex for now. Once everything uses port_open to do buffer allocs we can
    kill it back off

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • The tty port has a port mutex used for all the port related locking so we
    don't need the one in the USB serial layer any more.

    Signed-off-by: Alan Cox
    Cc: Alan Stern
    Cc: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • For the moment this just moves the USB logic over and fixes the 'what if
    we open and hangup at the same time' race noticed by Oliver Neukum.

    Signed-off-by: Alan Cox
    Cc: Alan Stern
    Cc: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • The ESP driver has been marked broken for years. It's an old ISA device
    that clearly nobody cares about any more. Remove it

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • compat_sys_recvmmsg has a compat_timespec parameter and not a
    timespec parameter. This way we also get rid of an odd cast.

    Cc: Arnaldo Carvalho de Melo
    Signed-off-by: Heiko Carstens
    Acked-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Heiko Carstens
     
  • * 'drm-nouveau-pony' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm/nouveau: Add DRM driver for NVIDIA GPUs

    Linus Torvalds
     
  • * 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm/ttm: export some functions useful to drivers using ttm
    drm/radeon/kms/avivo: fix typo in new_pll module description
    drm/radeon/kms: Convert radeon to new ttm_bo_init
    drm/ttm: Convert ttm_buffer_object_init to use ttm_placement

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/viro/mmap:
    Add missing alignment check in arch/score sys_mmap()
    fix broken aliasing checks for MAP_FIXED on sparc32, mips, arm and sh
    Get rid of open-coding in ia64_brk()
    sparc_brk() is not needed anymore
    switch do_brk() to get_unmapped_area()
    Take arch_mmap_check() into get_unmapped_area()
    fix a struct file leak in do_mmap_pgoff()
    Unify sys_mmap*
    Cut hugetlb case early for 32bit on ia64
    arch_mmap_check() on mn10300
    Kill ancient crap in s390 compat mmap
    arm: add arch_mmap_check(), get rid of sys_arm_mremap()
    file ->get_unmapped_area() shouldn't duplicate work of get_unmapped_area()
    kill useless checks in sparc mremap variants
    fix pgoff in "have to relocate" case of mremap()
    fix the arch checks in MREMAP_FIXED case
    fix checks for expand-in-place mremap
    do_mremap() untangling, part 3
    do_mremap() untangling, part 2
    untangling do_mremap(), part 1

    Linus Torvalds
     
  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (109 commits)
    PCI: fix coding style issue in pci_save_state()
    PCI: add pci_request_acs
    PCI: fix BUG_ON triggered by logical PCIe root port removal
    PCI: remove ifdefed pci_cleanup_aer_correct_error_status
    PCI: unconditionally clear AER uncorr status register during cleanup
    x86/PCI: claim SR-IOV BARs in pcibios_allocate_resource
    PCI: portdrv: remove redundant definitions
    PCI: portdrv: remove unnecessary struct pcie_port_data
    PCI: portdrv: minor cleanup for pcie_port_device_register
    PCI: portdrv: add missing irq cleanup
    PCI: portdrv: enable device before irq initialization
    PCI: portdrv: cleanup service irqs initialization
    PCI: portdrv: check capabilities first
    PCI: portdrv: move PME capability check
    PCI: portdrv: remove redundant pcie type calculation
    PCI: portdrv: cleanup pcie_device registration
    PCI: portdrv: remove redundant pcie_port_device_probe
    PCI: Always set prefetchable base/limit upper32 registers
    PCI: read-modify-write the pcie device control register when initiating pcie flr
    PCI: show dma_mask bits in /sys
    ...

    Fixed up conflicts in:
    arch/x86/kernel/amd_iommu_init.c
    drivers/pci/dmar.c
    drivers/pci/hotplug/acpiphp_glue.c

    Linus Torvalds
     
  • Refactor out the code to find alternate interface settings into
    usb_find_alt_setting(). Print a debugging message and return null if the
    alt setting is not found.

    While we're at it, correct a bug in the refactored code. The interfaces
    in the configuration's interface cache are not necessarily in numerical
    order, so we can't just use the interface number as an array index. Loop
    through the interface caches, looking for the correct interface.

    Signed-off-by: Sarah Sharp
    Signed-off-by: Greg Kroah-Hartman

    Sarah Sharp
     
  • This patch (as1311) fixes a problem in usb-storage: Some devices are
    pretty broken when it comes to reporting sense data. The information
    they send back indicates that they have more than 18 bytes of sense
    data available, but when the system asks for more than 18 they fail or
    hang. The symptom is that probing fails with multiple resets.

    The patch adds a new BAD_SENSE flag to indicate that usb-storage
    should never ask for more than 18 bytes of sense data. The flag can
    be set in an unusual_devs entry or via the "quirks=" module parameter,
    and it is set automatically whenever a REQUEST SENSE command for more
    than 18 bytes fails or times out.

    An unusual_devs entry is added for the Agfa photo frame, which uses a
    Prolific chip having this bug.

    Signed-off-by: Alan Stern
    Tested-by: Daniel Kukula
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as1303) revises the USB Power Management infrastructure to
    make it compatible with the new driver-model Runtime PM framework:

    Drivers are no longer allowed to access intf->pm_usage_cnt
    directly; the PM framework manages its own usage counters.

    usb_autopm_set_interface() is eliminated, because it directly
    sets intf->pm_usage_cnt.

    usb_autopm_enable() and usb_autopm_disable() are eliminated,
    because they call usb_autopm_set_interface().

    usb_autopm_get_interface_no_resume() and
    usb_autopm_put_interface_no_suspend() are added. They
    correspond to pm_runtime_get_noresume() and
    pm_runtime_put_noidle() in the PM framework.

    The power/level attribute no longer accepts "suspend", only
    "on" and "auto". The PM framework doesn't allow devices to be
    forced into a suspended mode.

    The hub driver contains the only code that violates the new
    guidelines. It is updated to use the new interface routines instead.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as1302) removes the auto_pm flag from struct usb_device.
    The flag's only purpose was to distinguish between autosuspends and
    external suspends, but that information is now available in the
    pm_message_t argument passed to suspend methods.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This adds a minimal generic driver for ULPI connected transceivers,
    using the OTG framework functions recently introduced.

    The driver got a table to match the ULPI chips, which currently only has
    one entry for NXP's ISP 1504 transceiver.

    Signed-off-by: Daniel Mack
    Cc: Heikki Krogerus
    Cc: David Brownell
    Cc: Sascha Hauer
    Signed-off-by: Greg Kroah-Hartman

    Daniel Mack
     
  • This adds support for OTG transceivers directly connected to the ULPI
    interface. In particular, the following details are added

    - a struct for low level io functions (read/write)
    - a priv field to be used as 'viewport' by low level access functions
    - an (*init) and (*shutdown) callbacks, along with static inline helpers
    - a (*set_vbus) callback to switch the port power on and off
    - a flags field for per-transceiver settings
    - some defines for the flags bitmask to configure platform specific
    details

    Signed-off-by: Daniel Mack
    Cc: Heikki Krogerus
    Cc: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Daniel Mack
     
  • Control requests targeted at an endpoint (that is sent to EP0 but
    specifying the target endpoint address in wIndex) are dispatched to the
    current configuration's setup callback, requiring all gadget drivers to
    dispatch the requests to the correct function driver.

    To avoid this, record which endpoints are used by each function in the
    composite driver SET CONFIGURATION handler and dispatch requests
    targeted at endpoints to the correct function.

    Signed-off-by: Laurent Pinchart
    Cc: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Laurent Pinchart
     
  • The WHCI HCD will also support urbs with scatter-gather lists. Add a
    usb_bus field to indicated how many sg list elements are supported by
    the HCD. Use this to decide whether to pass the scatter-list to the HCD
    or not.

    Make the usb-storage driver use this new field.

    Signed-off-by: David Vrabel
    Cc: Alan Stern
    Cc: Sarah Sharp
    Cc: Matthew Dharm
    Signed-off-by: Greg Kroah-Hartman

    David Vrabel
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2: (49 commits)
    nilfs2: separate wait function from nilfs_segctor_write
    nilfs2: add iterator for segment buffers
    nilfs2: hide nilfs_write_info struct in segment buffer code
    nilfs2: relocate io status variables to segment buffer
    nilfs2: do not return io error for bio allocation failure
    nilfs2: use list_splice_tail or list_splice_tail_init
    nilfs2: replace mark_inode_dirty as nilfs_mark_inode_dirty
    nilfs2: delete mark_inode_dirty in nilfs_delete_entry
    nilfs2: delete mark_inode_dirty in nilfs_commit_chunk
    nilfs2: change return type of nilfs_commit_chunk
    nilfs2: split nilfs_unlink as nilfs_do_unlink and nilfs_unlink
    nilfs2: delete redundant mark_inode_dirty
    nilfs2: expand inode_inc_link_count and inode_dec_link_count
    nilfs2: delete mark_inode_dirty from nilfs_set_link
    nilfs2: delete mark_inode_dirty in nilfs_new_inode
    nilfs2: add norecovery mount option
    nilfs2: add helper to get if volume is in a valid state
    nilfs2: move recovery completion into load_nilfs function
    nilfs2: apply readahead for recovery on mount
    nilfs2: clean up get/put function of a segment usage
    ...

    Linus Torvalds
     
  • Add early_platform_init_buffer() support and update the
    early platform driver code to allow passing parameters
    to the driver on the kernel command line.

    early_platform_init_buffer() simply allows early platform
    drivers to provide a pointer and length to a memory area
    where the remaining part of the kernel command line option
    will be stored.

    Needed to pass baud rate and other serial port options
    to the reworked early serial console code on SuperH.

    Signed-off-by: Magnus Damm
    Signed-off-by: Greg Kroah-Hartman

    Magnus Damm
     
  • By teaching sysfs_revalidate to hide a dentry for
    a sysfs_dirent if the sysfs_dirent has been renamed,
    and by teaching sysfs_lookup to return the original
    dentry if the sysfs dirent has been renamed. I can
    show the results of renames correctly without having to
    update the dcache during the directory rename.

    This massively simplifies the rename logic allowing a lot
    of weird sysfs special cases to be removed along with
    a lot of now unnecesary helper code.

    Acked-by: Tejun Heo
    Signed-off-by: Eric W. Biederman
    Signed-off-by: Greg Kroah-Hartman

    Eric W. Biederman
     
  • Unfortunately, one cannot hold on to the struct firmware
    that request_firmware_nowait() hands off, which is needed
    in some cases. Allow this by requiring the callback to
    free it (via release_firmware).

    Additionally, give it a gfp_t parameter -- all the current
    users call it from a GFP_KERNEL context so the GFP_ATOMIC
    isn't necessary. This also marks an API break which is
    useful in a sense, although that is obviously not the
    primary purpose of this change.

    Signed-off-by: Johannes Berg
    Acked-by: Marcel Holtmann
    Cc: Ming Lei
    Cc: Catalin Marinas
    Cc: David Woodhouse
    Cc: Pavel Roskin
    Cc: Abhay Salunke
    Signed-off-by: Greg Kroah-Hartman

    Johannes Berg
     
  • Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     

11 Dec, 2009

1 commit