24 Feb, 2013

2 commits

  • Pull powerpc updates from Benjamin Herrenschmidt:
    "So from the depth of frozen Minnesota, here's the powerpc pull request
    for 3.9. It has a few interesting highlights, in addition to the
    usual bunch of bug fixes, minor updates, embedded device tree updates
    and new boards:

    - Hand tuned asm implementation of SHA1 (by Paulus & Michael
    Ellerman)

    - Support for Doorbell interrupts on Power8 (kind of fast
    thread-thread IPIs) by Ian Munsie

    - Long overdue cleanup of the way we handle relocation of our open
    firmware trampoline (prom_init.c) on 64-bit by Anton Blanchard

    - Support for saving/restoring & context switching the PPR (Processor
    Priority Register) on server processors that support it. This
    allows the kernel to preserve thread priorities established by
    userspace. By Haren Myneni.

    - DAWR (new watchpoint facility) support on Power8 by Michael Neuling

    - Ability to change the DSCR (Data Stream Control Register) which
    controls cache prefetching on a running process via ptrace by
    Alexey Kardashevskiy

    - Support for context switching the TAR register on Power8 (new
    branch target register meant to be used by some new specific
    userspace perf event interrupt facility which is yet to be enabled)
    by Ian Munsie.

    - Improve preservation of the CFAR register (which captures the
    origin of a branch) on various exception conditions by Paulus.

    - Move the Bestcomm DMA driver from arch powerpc to drivers/dma where
    it belongs by Philippe De Muyter

    - Support for Transactional Memory on Power8 by Michael Neuling
    (based on original work by Matt Evans). For those curious about
    the feature, the patch contains a pretty good description."

    (See commit db8ff907027b: "powerpc: Documentation for transactional
    memory on powerpc" for the mentioned description added to the file
    Documentation/powerpc/transactional_memory.txt)

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (140 commits)
    powerpc/kexec: Disable hard IRQ before kexec
    powerpc/85xx: l2sram - Add compatible string for BSC9131 platform
    powerpc/85xx: bsc9131 - Correct typo in SDHC device node
    powerpc/e500/qemu-e500: enable coreint
    powerpc/mpic: allow coreint to be determined by MPIC version
    powerpc/fsl_pci: Store the pci ctlr device ptr in the pci ctlr struct
    powerpc/85xx: Board support for ppa8548
    powerpc/fsl: remove extraneous DIU platform functions
    arch/powerpc/platforms/85xx/p1022_ds.c: adjust duplicate test
    powerpc: Documentation for transactional memory on powerpc
    powerpc: Add transactional memory to pseries and ppc64 defconfigs
    powerpc: Add config option for transactional memory
    powerpc: Add transactional memory to POWER8 cpu features
    powerpc: Add new transactional memory state to the signal context
    powerpc: Hook in new transactional memory code
    powerpc: Routines for FP/VSX/VMX unavailable during a transaction
    powerpc: Add transactional memory unavaliable execption handler
    powerpc: Add reclaim and recheckpoint functions for context switching transactional memory processes
    powerpc: Add FP/VSX and VMX register load functions for transactional memory
    powerpc: Add helper functions for transactional memory context switching
    ...

    Linus Torvalds
     
  • Disable hard IRQ before kexec a new kernel image.
    Not doing it can result in corrupted data in the memory segments
    reserved for the new kernel.

    Signed-off-by: Phileas Fogg
    CC:
    Signed-off-by: Benjamin Herrenschmidt

    Phileas Fogg
     

23 Feb, 2013

8 commits

  • Pull small blackfin update from Bob Liu.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin:
    blackfin: time-ts: Remove duplicate assignment
    blackfin: pm: fix build error
    blackfin: sync data in blackfin write buffer
    blackfin: use bitmap library functions
    blackfin: mem_init: update dmc config register

    Linus Torvalds
     
  • Pull parisc updates from Helge Deller.

    The bulk of this is optimized page coping/clearing and cache flushing
    (virtual caches are lovely) by John David Anglin.

    * 'parisc-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: (31 commits)
    arch/parisc/include/asm: use ARRAY_SIZE macro in mmzone.h
    parisc: remove empty lines and unnecessary #ifdef coding in include/asm/signal.h
    parisc: sendfile and sendfile64 syscall cleanups
    parisc: switch to available compat_sched_rr_get_interval implementation
    parisc: fix fallocate syscall
    parisc: fix error return codes for rt_sigaction and rt_sigprocmask
    parisc: convert msgrcv and msgsnd syscalls to use compat layer
    parisc: correctly wire up mq_* functions for CONFIG_COMPAT case
    parisc: fix personality on 32bit kernel
    parisc: wire up process_vm_readv, process_vm_writev, kcmp and finit_module syscalls
    parisc: led driver requires CONFIG_VM_EVENT_COUNTERS
    parisc: remove unused compat_rt_sigframe.h header
    parisc/mm/fault.c: Port OOM changes to do_page_fault
    parisc: space register variables need to be in native length (unsigned long)
    parisc: fix ptrace breakage
    parisc: always detect multiple physical ranges
    parisc: ensure that mmapped shared pages are aligned at SHMLBA addresses
    parisc: disable preemption while flushing D- or I-caches through TMPALIAS region
    parisc: remove IRQF_DISABLED
    parisc: fixes and cleanups in page cache flushing (4/4)
    ...

    Linus Torvalds
     
  • Pull ia64 build breakage fix from Tony Luck.

    * tag 'please-pull-fix-ia64-build' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
    sched: move RR_TIMESLICE from sysctl.h to rt.h

    Linus Torvalds
     
  • Pull core locking changes from Ingo Molnar:
    "The biggest change is the rwsem lock-steal improvements, both to the
    assembly optimized and the spinlock based variants.

    The other notable change is the clean up of the seqlock implementation
    to be based on the seqcount infrastructure.

    The rest is assorted smaller debuggability, cleanup and continued -rt
    locking changes."

    * 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    rwsem-spinlock: Implement writer lock-stealing for better scalability
    futex: Revert "futex: Mark get_robust_list as deprecated"
    generic: Use raw local irq variant for generic cmpxchg
    lockdep: Selftest: convert spinlock to raw spinlock
    seqlock: Use seqcount infrastructure
    seqlock: Remove unused functions
    ntp: Make ntp_lock raw
    intel_idle: Convert i7300_idle_lock to raw_spinlock
    locking: Various static lock initializer fixes
    lockdep: Print more info when MAX_LOCK_DEPTH is exceeded
    rwsem: Implement writer lock-stealing for better scalability
    lockdep: Silence warning if CONFIG_LOCKDEP isn't set
    watchdog: Use local_clock for get_timestamp()
    lockdep: Rename print_unlock_inbalance_bug() to print_unlock_imbalance_bug()
    locking/stat: Fix a typo

    Linus Torvalds
     
  • Pull x86 microcode loading update from Peter Anvin:
    "This patchset lets us update the CPU microcode very, very early in
    initialization if the BIOS fails to do so (never happens, right?)

    This is handy for dealing with things like the Atom erratum where we
    have to run without PSE because microcode loading happens too late.

    As I mentioned in the x86/mm push request it depends on that
    infrastructure but it is otherwise a standalone feature."

    * 'x86/microcode' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/Kconfig: Make early microcode loading a configuration feature
    x86/mm/init.c: Copy ucode from initrd image to kernel memory
    x86/head64.c: Early update ucode in 64-bit
    x86/head_32.S: Early update ucode in 32-bit
    x86/microcode_intel_early.c: Early update ucode on Intel's CPU
    x86/tlbflush.h: Define __native_flush_tlb_global_irq_disabled()
    x86/microcode_intel_lib.c: Early update ucode on Intel's CPU
    x86/microcode_core_early.c: Define interfaces for early loading ucode
    x86/common.c: load ucode in 64 bit or show loading ucode info in 32 bit on AP
    x86/common.c: Make have_cpuid_p() a global function
    x86/microcode_intel.h: Define functions and macros for early loading ucode
    x86, doc: Documentation for early microcode loading

    Linus Torvalds
     
  • With commit 8170e6bed465 ("x86, 64bit: Use a #PF handler to materialize
    early mappings on demand") we started hitting an early bootup crash
    where the Xen hypervisor would inform us that:

    (XEN) d7:v0: unhandled page fault (ec=0000)
    (XEN) Pagetable walk from ffffea000005b2d0:
    (XEN) L4[0x1d4] = 0000000000000000 ffffffffffffffff
    (XEN) domain_crash_sync called from entry.S
    (XEN) Domain 7 (vcpu#0) crashed on cpu#3:
    (XEN) ----[ Xen-4.2.0 x86_64 debug=n Not tainted ]----

    .. that Xen was unable to context switch back to dom0.

    Looking at the calling stack we find:

    [] xen_get_user_pgd+0x5a ] xen_get_user_pgd+0x5a
    [] xen_write_cr3+0x77
    [] init_mem_mapping+0x1f9
    [] setup_arch+0x742
    [] printk+0x48

    We are trying to figure out whether we need to up-date the user PGD as
    well. Please keep in mind that under 64-bit PV guests we have a limited
    amount of rings: 0 for the Hypervisor, and 1 for both the Linux kernel
    and user-space. As such the Linux pvops'fied version of write_cr3
    checks if it has to update the user-space cr3 as well.

    That clearly is not needed during early bootup. The recent changes (see
    above git commit) streamline the x86 page table allocation to be much
    simpler (And also incidentally the #PF handler ends up in spirit being
    similar to how the Xen toolstack sets up the initial page-tables).

    The fix is to have an early-bootup version of cr3 that just loads the
    kernel %cr3. The later version - which also handles user-page
    modifications will be used after the initial page tables have been
    setup.

    [ hpa: removed a redundant #ifdef and made the new function __init.
    Also note that x86-32 already has such an early xen_write_cr3. ]

    Tested-by: "H. Peter Anvin"
    Reported-by: Konrad Rzeszutek Wilk
    Signed-off-by: Konrad Rzeszutek Wilk
    Link: http://lkml.kernel.org/r/1361579812-23709-1-git-send-email-konrad.wilk@oracle.com
    Signed-off-by: H. Peter Anvin
    Signed-off-by: Linus Torvalds

    Konrad Rzeszutek Wilk
     
  • The code requires the use of the proper per-exception-vector stub
    functions (set up as the early_idt_handlers[] array - note the 's') that
    make sure to set up the error vector number. This is true regardless of
    whether CONFIG_EARLY_PRINTK is set or not.

    Why? The stack offset for the comparison of __KERNEL_CS won't be right
    otherwise, nor will the new check (from commit 8170e6bed465: "x86,
    64bit: Use a #PF handler to materialize early mappings on demand") for
    the page fault exception vector.

    Acked-by: H. Peter Anvin
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Originally submitted by Clark Williams as part of a cleanup,
    but happens also to fix an ia64 build problem:

    arch/ia64/kernel/init_task.c:38: error: 'RR_TIMESLICE' undeclared here (not in a function)

    Signed-off-by: Clark Williams
    Signed-off-by: Tony Luck

    Clark Williams
     

22 Feb, 2013

30 commits

  • Pull x86 mm changes from Peter Anvin:
    "This is a huge set of several partly interrelated (and concurrently
    developed) changes, which is why the branch history is messier than
    one would like.

    The *really* big items are two humonguous patchsets mostly developed
    by Yinghai Lu at my request, which completely revamps the way we
    create initial page tables. In particular, rather than estimating how
    much memory we will need for page tables and then build them into that
    memory -- a calculation that has shown to be incredibly fragile -- we
    now build them (on 64 bits) with the aid of a "pseudo-linear mode" --
    a #PF handler which creates temporary page tables on demand.

    This has several advantages:

    1. It makes it much easier to support things that need access to data
    very early (a followon patchset uses this to load microcode way
    early in the kernel startup).

    2. It allows the kernel and all the kernel data objects to be invoked
    from above the 4 GB limit. This allows kdump to work on very large
    systems.

    3. It greatly reduces the difference between Xen and native (Xen's
    equivalent of the #PF handler are the temporary page tables created
    by the domain builder), eliminating a bunch of fragile hooks.

    The patch series also gets us a bit closer to W^X.

    Additional work in this pull is the 64-bit get_user() work which you
    were also involved with, and a bunch of cleanups/speedups to
    __phys_addr()/__pa()."

    * 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (105 commits)
    x86, mm: Move reserving low memory later in initialization
    x86, doc: Clarify the use of asm("%edx") in uaccess.h
    x86, mm: Redesign get_user with a __builtin_choose_expr hack
    x86: Be consistent with data size in getuser.S
    x86, mm: Use a bitfield to mask nuisance get_user() warnings
    x86/kvm: Fix compile warning in kvm_register_steal_time()
    x86-32: Add support for 64bit get_user()
    x86-32, mm: Remove reference to alloc_remap()
    x86-32, mm: Remove reference to resume_map_numa_kva()
    x86-32, mm: Rip out x86_32 NUMA remapping code
    x86/numa: Use __pa_nodebug() instead
    x86: Don't panic if can not alloc buffer for swiotlb
    mm: Add alloc_bootmem_low_pages_nopanic()
    x86, 64bit, mm: hibernate use generic mapping_init
    x86, 64bit, mm: Mark data/bss/brk to nx
    x86: Merge early kernel reserve for 32bit and 64bit
    x86: Add Crash kernel low reservation
    x86, kdump: Remove crashkernel range find limit for 64bit
    memblock: Add memblock_mem_size()
    x86, boot: Not need to check setup_header version for setup_data
    ...

    Linus Torvalds
     
  • Pull x86 cpu updates from Peter Anvin:
    "This is a corrected attempt at the x86/cpu branch, this time with the
    fixes in that makes it not break on KVM (current or past), or any
    other virtualizer which traps on this configuration.

    Again, the biggest change here is enabling the WC+ memory type on AMD
    processors, if the BIOS doesn't."

    * 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86, kvm: Add MSR_AMD64_BU_CFG2 to the list of ignored MSRs
    x86, cpu, amd: Fix WC+ workaround for older virtual hosts
    x86, AMD: Enable WC+ memory type on family 10 processors
    x86, AMD: Clean up init_amd()
    x86/process: Change %8s to %s for pr_warn() in release_thread()
    x86/cpu/hotplug: Remove CONFIG_EXPERIMENTAL dependency

    Linus Torvalds
     
  • Pull misc ia64 bits from Tony Luck.

    * tag 'please-pull-misc-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
    MAINTAINERS: update SGI & ia64 Altix stuff
    sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch

    Linus Torvalds
     
  • Pull s390 update from Martin Schwidefsky:
    "The most prominent change in this patch set is the software dirty bit
    patch for s390. It removes __HAVE_ARCH_PAGE_TEST_AND_CLEAR_DIRTY and
    the page_test_and_clear_dirty primitive which makes the common memory
    management code a bit less obscure.

    Heiko fixed most of the PCI related fallout, more often than not
    missing GENERIC_HARDIRQS dependencies. Notable is one of the 3270
    patches which adds an export to tty_io to be able to resize a tty.

    The rest is the usual bunch of cleanups and bug fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (42 commits)
    s390/module: Add missing R_390_NONE relocation type
    drivers/gpio: add missing GENERIC_HARDIRQ dependency
    drivers/input: add couple of missing GENERIC_HARDIRQS dependencies
    s390/cleanup: rename SPP to LPP
    s390/mm: implement software dirty bits
    s390/mm: Fix crst upgrade of mmap with MAP_FIXED
    s390/linker skript: discard exit.data at runtime
    drivers/media: add missing GENERIC_HARDIRQS dependency
    s390/bpf,jit: add vlan tag support
    drivers/net,AT91RM9200: add missing GENERIC_HARDIRQS dependency
    iucv: fix kernel panic at reboot
    s390/Kconfig: sort list of arch selected config options
    phylib: remove !S390 dependeny from Kconfig
    uio: remove !S390 dependency from Kconfig
    dasd: fix sysfs cleanup in dasd_generic_remove
    s390/pci: fix hotplug module init
    s390/pci: cleanup clp page allocation
    s390/pci: cleanup clp inline assembly
    s390/perf: cpum_cf: fallback to software sampling events
    s390/mm: provide PAGE_SHARED define
    ...

    Linus Torvalds
     
  • Pull HID subsystem updates from Jiri Kosina:
    "HID subsystem and drivers update. Highlights:

    - new support of a group of Win7/Win8 multitouch devices, from
    Benjamin Tissoires

    - fix for compat interface brokenness in uhid, from Dmitry Torokhov

    - conversion of drivers to use hid_driver helper, by H Hartley
    Sweeten

    - HID over I2C transport received ACPI enumeration support, written
    by Mika Westerberg

    - there is an ongoing effort to make HID sensor hubs independent of
    USB transport. The first self-contained part of this work is
    provided here, done by Mika Westerberg

    - a few smaller fixes here and there, support for a couple new
    devices added"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (43 commits)
    HID: Correct Logitech order in hid-ids.h
    HID: LG4FF: Remove unnecessary deadzone code
    HID: LG: Prevent the Logitech Gaming Wheels deadzone
    HID: LG: Fix detection of Logitech Speed Force Wireless (WiiWheel)
    HID: LG: Add support for Logitech Momo Force (Red) Wheel
    HID: hidraw: print message when succesfully initialized
    HID: logitech: split accel, brake for Driving Force wheel
    HID: logitech: add report descriptor for Driving Force wheel
    HID: add ThingM blink(1) USB RGB LED support
    HID: uhid: make creating devices work on 64/32 systems
    HID: wiimote: fix nunchuck button parser
    HID: blacklist Velleman data acquisition boards
    HID: sensor-hub: don't limit the driver only to USB bus
    HID: sensor-hub: get rid of unused sensor_hub_grabbed_usages[] table
    HID: extend autodetect to handle I2C sensors as well
    HID: ntrig: use input_configured() callback to set the name
    HID: multitouch: do not use pointers towards hid-core
    HID: add missing GENERIC_HARDIRQ dependency
    HID: multitouch: make MT_CLS_ALWAYS_TRUE the new default class
    HID: multitouch: fix protocol for Elo panels
    ...

    Linus Torvalds
     
  • Pull trivial tree from Jiri Kosina:
    "Assorted tiny fixes queued in trivial tree"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (22 commits)
    DocBook: update EXPORT_SYMBOL entry to point at export.h
    Documentation: update top level 00-INDEX file with new additions
    ARM: at91/ide: remove unsused at91-ide Kconfig entry
    percpu_counter.h: comment code for better readability
    x86, efi: fix comment typo in head_32.S
    IB: cxgb3: delay freeing mem untill entirely done with it
    net: mvneta: remove unneeded version.h include
    time: x86: report_lost_ticks doesn't exist any more
    pcmcia: avoid static analysis complaint about use-after-free
    fs/jfs: Fix typo in comment : 'how may' -> 'how many'
    of: add missing documentation for of_platform_populate()
    btrfs: remove unnecessary cur_trans set before goto loop in join_transaction
    sound: soc: Fix typo in sound/codecs
    treewide: Fix typo in various drivers
    btrfs: fix comment typos
    Update ibmvscsi module name in Kconfig.
    powerpc: fix typo (utilties -> utilities)
    of: fix spelling mistake in comment
    h8300: Fix home page URL in h8300/README
    xtensa: Fix home page URL in Kconfig
    ...

    Linus Torvalds
     
  • Merge misc patches from Andrew Morton:

    - Florian has vanished so I appear to have become fbdev maintainer
    again :(

    - Joel and Mark are distracted to welcome to the new OCFS2 maintainer

    - The backlight queue

    - Small core kernel changes

    - lib/ updates

    - The rtc queue

    - Various random bits

    * akpm: (164 commits)
    rtc: rtc-davinci: use devm_*() functions
    rtc: rtc-max8997: use devm_request_threaded_irq()
    rtc: rtc-max8907: use devm_request_threaded_irq()
    rtc: rtc-da9052: use devm_request_threaded_irq()
    rtc: rtc-wm831x: use devm_request_threaded_irq()
    rtc: rtc-tps80031: use devm_request_threaded_irq()
    rtc: rtc-lp8788: use devm_request_threaded_irq()
    rtc: rtc-coh901331: use devm_clk_get()
    rtc: rtc-vt8500: use devm_*() functions
    rtc: rtc-tps6586x: use devm_request_threaded_irq()
    rtc: rtc-imxdi: use devm_clk_get()
    rtc: rtc-cmos: use dev_warn()/dev_dbg() instead of printk()/pr_debug()
    rtc: rtc-pcf8583: use dev_warn() instead of printk()
    rtc: rtc-sun4v: use pr_warn() instead of printk()
    rtc: rtc-vr41xx: use dev_info() instead of printk()
    rtc: rtc-rs5c313: use pr_err() instead of printk()
    rtc: rtc-at91rm9200: use dev_dbg()/dev_err() instead of printk()/pr_debug()
    rtc: rtc-rs5c372: use dev_dbg()/dev_warn() instead of printk()/pr_debug()
    rtc: rtc-ds2404: use dev_err() instead of printk()
    rtc: rtc-efi: use dev_err()/dev_warn()/pr_err() instead of printk()
    ...

    Linus Torvalds
     
  • Use devm_*() functions to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_request_threaded_irq() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_request_threaded_irq() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_request_threaded_irq() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_request_threaded_irq() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_request_threaded_irq() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_request_threaded_irq() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_clk_get() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_*() functions to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_request_threaded_irq() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Use devm_clk_get() to make cleanup paths more simple.

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warnings as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...
    WARNING: please, no space before tabs

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • Fix the checkpatch warning as below:

    WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...

    Signed-off-by: Jingoo Han
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     
  • The original sa1100_rtc_open/sa1100_rtc_release will be called when the
    /dev/rtc0 is opened or closed. In fact, these two functions will
    enable/disable the clock. Disabling clock will make rtc not work. So
    only enable/disable clock when probe/remove the device.

    Signed-off-by: Chao Xie
    Acked-by: Haojian Zhuang
    Cc: Leo Song
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chao Xie