22 Aug, 2012

2 commits

  • Correct the offset by subtracting 20 from tm_hour before taking the
    modulo 12.

    [ "Why 20?" I hear you ask. Or at least I did.

    Here's the reason why: RS5C348_BIT_PM is 32, and is - stupidly -
    included in the RS5C348_HOURS_MASK define. So it's really subtracting
    out that bit to get "hour+12". But then because it does things modulo
    12, it needs to add the 12 in again afterwards anyway.

    This code is confused. It would be much clearer if RS5C348_HOURS_MASK
    just didn't include the RS5C348_BIT_PM bit at all, then it wouldn't
    need to do the silly subtract either.

    Whatever. It's all just math, the end result is the same. - Linus ]

    Reported-by: James Nute
    Tested-by: James Nute
    Signed-off-by: Atsushi Nemoto
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Atsushi Nemoto
     
  • Dynamically allocated sysfs attributes must be initialized using
    sysfs_attr_init(), otherwise lockdep complains: BUG: key

    not in
    .data!

    Found by Linux Driver Verification project (linuxtesting.org).

    Signed-off-by: Ilya Shchepetkov
    Cc: Chris Verges
    Cc: Christian Pellegrin
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ilya Shchepetkov
     

09 Aug, 2012

1 commit

  • If an RTC alarm fires just as suspend is happening, it is possible for
    suspend to complete and the alarm to be missed.

    To avoid the race, we must register the event with the PM core.

    As the event is made visible to userspace through a thread which is
    only scheduled by the interrupt, we need a pm_stay_awake/pm_relax
    pair preventing suspend from the interrupt until the thread completes
    its work.

    This makes the pm_wakeup_event() call in cmos_interrupt unnecessary as
    it provides suspend protection for all RTCs that use rtc_update_irq.

    Signed-off-by: NeilBrown
    Signed-off-by: Rafael J. Wysocki

    NeilBrown
     

01 Aug, 2012

4 commits

  • Merge Andrew's second set of patches:
    - MM
    - a few random fixes
    - a couple of RTC leftovers

    * emailed patches from Andrew Morton : (120 commits)
    rtc/rtc-88pm80x: remove unneed devm_kfree
    rtc/rtc-88pm80x: assign ret only when rtc_register_driver fails
    mm: hugetlbfs: close race during teardown of hugetlbfs shared page tables
    tmpfs: distribute interleave better across nodes
    mm: remove redundant initialization
    mm: warn if pg_data_t isn't initialized with zero
    mips: zero out pg_data_t when it's allocated
    memcg: gix memory accounting scalability in shrink_page_list
    mm/sparse: remove index_init_lock
    mm/sparse: more checks on mem_section number
    mm/sparse: optimize sparse_index_alloc
    memcg: add mem_cgroup_from_css() helper
    memcg: further prevent OOM with too many dirty pages
    memcg: prevent OOM with too many dirty pages
    mm: mmu_notifier: fix freed page still mapped in secondary MMU
    mm: memcg: only check anon swapin page charges for swap cache
    mm: memcg: only check swap cache pages for repeated charging
    mm: memcg: split swapin charge function into private and public part
    mm: memcg: remove needless !mm fixup to init_mm when charging
    mm: memcg: remove unneeded shmem charge type
    ...

    Linus Torvalds
     
  • Pull random subsystem patches from Ted Ts'o:
    "This patch series contains a major revamp of how we collect entropy
    from interrupts for /dev/random and /dev/urandom.

    The goal is to addresses weaknesses discussed in the paper "Mining
    your Ps and Qs: Detection of Widespread Weak Keys in Network Devices",
    by Nadia Heninger, Zakir Durumeric, Eric Wustrow, J. Alex Halderman,
    which will be published in the Proceedings of the 21st Usenix Security
    Symposium, August 2012. (See https://factorable.net for more
    information and an extended version of the paper.)"

    Fix up trivial conflicts due to nearby changes in
    drivers/{mfd/ab3100-core.c, usb/gadget/omap_udc.c}

    * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random: (33 commits)
    random: mix in architectural randomness in extract_buf()
    dmi: Feed DMI table to /dev/random driver
    random: Add comment to random_initialize()
    random: final removal of IRQF_SAMPLE_RANDOM
    um: remove IRQF_SAMPLE_RANDOM which is now a no-op
    sparc/ldc: remove IRQF_SAMPLE_RANDOM which is now a no-op
    [ARM] pxa: remove IRQF_SAMPLE_RANDOM which is now a no-op
    board-palmz71: remove IRQF_SAMPLE_RANDOM which is now a no-op
    isp1301_omap: remove IRQF_SAMPLE_RANDOM which is now a no-op
    pxa25x_udc: remove IRQF_SAMPLE_RANDOM which is now a no-op
    omap_udc: remove IRQF_SAMPLE_RANDOM which is now a no-op
    goku_udc: remove IRQF_SAMPLE_RANDOM which was commented out
    uartlite: remove IRQF_SAMPLE_RANDOM which is now a no-op
    drivers: hv: remove IRQF_SAMPLE_RANDOM which is now a no-op
    xen-blkfront: remove IRQF_SAMPLE_RANDOM which is now a no-op
    n2_crypto: remove IRQF_SAMPLE_RANDOM which is now a no-op
    pda_power: remove IRQF_SAMPLE_RANDOM which is now a no-op
    i2c-pmcmsp: remove IRQF_SAMPLE_RANDOM which is now a no-op
    input/serio/hp_sdc.c: remove IRQF_SAMPLE_RANDOM which is now a no-op
    mfd: remove IRQF_SAMPLE_RANDOM which is now a no-op
    ...

    Linus Torvalds
     
  • devm_kzalloc() doesn't need a matching devm_kfree(), the freeing mechanism
    will trigger when driver unloads.

    Signed-off-by: Devendra Naga
    Cc: Alessandro Zummo
    Cc: Ashish Jangam
    Cc: David Dajun Chen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Devendra Naga
     
  • At the probe we are assigning ret to return value of PTR_ERR right after
    the rtc_register_drive()r, as we would have done it in the if
    (IS_ERR(ptr)) check, since the function fails and goes inside that case

    Signed-off-by: Devendra Naga
    Cc: Alessandro Zummo
    Cc: Ashish Jangam
    Cc: David Dajun Chen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Devendra Naga
     

31 Jul, 2012

17 commits

  • Merge Andrew's first set of patches:
    "Non-MM patches:

    - lots of misc bits

    - tree-wide have_clk() cleanups

    - quite a lot of printk tweaks. I draw your attention to "printk:
    convert the format for KERN_ to a 2 byte pattern" which
    looks a bit scary. But afaict it's solid.

    - backlight updates

    - lib/ feature work (notably the addition and use of memweight())

    - checkpatch updates

    - rtc updates

    - nilfs updates

    - fatfs updates (partial, still waiting for acks)

    - kdump, proc, fork, IPC, sysctl, taskstats, pps, etc

    - new fault-injection feature work"

    * Merge emailed patches from Andrew Morton : (128 commits)
    drivers/misc/lkdtm.c: fix missing allocation failure check
    lib/scatterlist: do not re-write gfp_flags in __sg_alloc_table()
    fault-injection: add tool to run command with failslab or fail_page_alloc
    fault-injection: add selftests for cpu and memory hotplug
    powerpc: pSeries reconfig notifier error injection module
    memory: memory notifier error injection module
    PM: PM notifier error injection module
    cpu: rewrite cpu-notifier-error-inject module
    fault-injection: notifier error injection
    c/r: fcntl: add F_GETOWNER_UIDS option
    resource: make sure requested range is included in the root range
    include/linux/aio.h: cpp->C conversions
    fs: cachefiles: add support for large files in filesystem caching
    pps: return PTR_ERR on error in device_create
    taskstats: check nla_reserve() return
    sysctl: suppress kmemleak messages
    ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION
    ipc: compat: use signed size_t types for msgsnd and msgrcv
    ipc: allow compat IPC version field parsing if !ARCH_WANT_OLD_COMPAT_IPC
    ipc: add COMPAT_SHMLBA support
    ...

    Linus Torvalds
     
  • Set the of_match_table for this driver so that devices can be described
    in the device tree.

    Signed-off-by: Nick Bowler
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Bowler
     
  • The owner member is supposed to be set to the module implementing the
    device driver, i.e., THIS_MODULE. This enables the appropriate module
    link in sysfs.

    Signed-off-by: Nick Bowler
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Bowler
     
  • Freeing will trigger when driver unloads, so using devm_kfree() is not
    needed.

    Signed-off-by: Devendra Naga
    Cc: Alessandro Zummo
    Cc: Ashish Jangam
    Cc: David Dajun Chen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Devendra Naga
     
  • Signed-off-by: Uwe Kleine-König
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Uwe Kleine-König
     
  • This allows automatic driver loading for all supported device types.

    Signed-off-by: Uwe Kleine-König
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Uwe Kleine-König
     
  • Fixes the following checkpatch warnings:

    WARNING: Use #include instead of
    WARNING: Use #include instead of

    Signed-off-by: Sachin Kamat
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sachin Kamat
     
  • When the driver detects that the clock time is invalid, it attempts to
    write a sane time into the hardware. We curently assume that everything
    is OK if those writes succeeded. But it is better to re-read the time
    from the hardware to ensure that the new settings got there OK.

    Cc: Devendra Naga
    Cc: Alessandro Zummo
    Cc: Anatolij Gustschin
    Cc: Andreas Dumberger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • r9701_get_datetime() calls rtc_valid_tm() and returns the value returned
    by rtc_valid_tm(), which can be used in the `if', so calling
    rtc_valid_tm() a second time is not required.

    Signed-off-by: Devendra Naga
    Cc: Alessandro Zummo
    Cc: Anatolij Gustschin
    Cc: Andreas Dumberger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Devendra Naga
     
  • AB8500 ED (Early Drop) is no longer supported by the kernel.

    Signed-off-by: Bengt Jonsson
    Signed-off-by: Linus Walleij
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bengt Jonsson
     
  • RTC: Fix to correct improper implementation of clock update irq
    (RTC_UIE) and enable UIE Emulation.

    [akpm@linux-foundation.org: checkpatch fixes]
    Signed-off-by: Ramesh Chandrasekaran
    Signed-off-by: Linus Walleij
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ramesh Chandrasekaran
     
  • The pl031 interrupt is shared between the timer part and the clockwatch
    part of the same HW block on the ux500, so mark it IRQF_SHARED on this
    variant.

    This patch also adds the IRQF_NO_SUSPEND flag to the rtc irq on all
    variants as we don't want this pretty important IRQ to be disabled in
    suspend.

    Signed-off-by: Mattias Wallin
    Signed-off-by: Linus Walleij
    Reviewed-by: Rickard Andersson
    Reviewed-by: Jonas Aberg
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mattias Wallin
     
  • Instead of hard-checking for certain vendor codes, follow the pattern of
    other AMBA (PrimeCell) drivers and use variables in the vendor data.
    Get rid of the locally cached vendor and hardware revision since we
    already have the nice vendor data variable in the state.

    Signed-off-by: Linus Walleij
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Walleij
     
  • Move the per-vendor operations for this RTC into a encapsulating struct so
    we can have more per-vendor variables than just the ops.

    Signed-off-by: Linus Walleij
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Walleij
     
  • Allocate memory, region, remap and irq for device state using devm_*
    helpers to simplify memory accounting.

    Signed-off-by: Linus Walleij
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Walleij
     
  • Make sure we prepare/unprepare the clock for the COH901331 RTC driver as
    is required by the clk API especially if you use common clock.

    Signed-off-by: Linus Walleij
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Walleij
     
  • Pull MFD bits from Samuel Ortiz:
    "We have support for a few new drivers:
    - Samsung s2mps11
    - Wolfson Microelectronics wm5102 and wm5110
    - Marvell 88PM800 and 88PM805
    - TI twl6041

    We also have our regular driver improvements:
    - Device tree and IRQ domain support for STE AB8500
    - Regmap and devm_* API conversion for TI tps6586x
    - Device tree support for Samsung max77686
    - devm_* API conversion for STE AB3100

    Besides that, quite a lot of fixing and cleanup for mc13xxx, tps65910,
    tps65090, da9052 and twl-core."

    Fix up mostly trivial conflicts, with the exception of
    drivers/usb/host/ehci-omap.c in particular, which had some
    re-organization of the reset sequence (commit 1a49e2ac9651: "EHCI:
    centralize controller initialization") that clashed with commit
    2761a6394516 ("mfd: USB: Fix the omap-usb EHCI ULPI PHY reset fix
    issues").

    In particular, commit 2761a6394516 moved the usb_add_hcd() to the
    *middle* of the reset sequence, which clashes fairly badly with the
    reset sequence re-organization (although it could have been done inside
    the new omap_ehci_init() function).

    I left that part of commit 2761a6394516 just undone.

    * tag 'mfd-3.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (110 commits)
    mfd: Ensure AB8500 platform data is passed through db8500-prcmu to MFD Core
    mfd: Arizone core should select MFD_CORE
    mfd: Fix arizona-irq.c build by selecting REGMAP_IRQ
    mfd: Add debug trace on entering and leaving arizone runtime suspend
    mfd: Correct tps65090 cell names
    mfd: Remove gpio support from tps6586x core driver
    ARM: tegra: defconfig: Enable tps6586x gpio
    gpio: tps6586x: Add gpio support through platform driver
    mfd: Cache tps6586x register through regmap
    mfd: Use regmap for tps6586x register access.
    mfd: Use devm managed resources for tps6586x
    input: Add onkey support for 88PM80X PMIC
    mfd: Add support for twl6041
    mfd: Fix twl6040 revision information
    mfd: Matches should be NULL when populate anatop child devices
    input: ab8500-ponkey: Create AB8500 domain IRQ mapping
    mfd: Add missing out of memory check for pcf50633
    Documentation: Describe the AB8500 Device Tree bindings
    mfd: Add tps65910 32-kHz-crystal-input init
    mfd: Drop modifying mc13xxx driver's id_table in probe
    ...

    Linus Torvalds
     

26 Jul, 2012

1 commit


25 Jul, 2012

1 commit


24 Jul, 2012

2 commits

  • Pull arm-soc device tree description updates from Arnd Bergmann:
    "This branch contains two kinds of updates: Some platforms in the
    process of getting converted to device tree based booting, and the
    platform specific patches necessary for that are included here.

    Other platforms are already converted, so we just need to update the
    actual device tree source files and the binding documents to add
    support for new board and new drivers.

    In the future we will probably separate those into two branches, and
    in the long run, the plan is to move the device tree source files out
    of the kernel repository, but that has to wait until we have completed
    a much larger portion of the binding documents."

    Fix up trivial conflicts in arch/arm/mach-imx/clk-imx6q.c due to newly
    added clkdev registers next to a few removed unnecessary ones.

    * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (119 commits)
    ARM: LPC32xx: Add PWM to base dts file
    ARM: EXYNOS: mark the DMA channel binding for SPI as preliminary
    ARM: dts: Add nodes for spi controllers for SAMSUNG EXYNOS5 platforms
    ARM: EXYNOS: Enable platform support for SPI controllers for EXYNOS5
    ARM: EXYNOS: Add spi clock support for EXYNOS5
    ARM: dts: Add nodes for spi controllers for SAMSUNG EXYNOS4 platforms
    ARM: EXYNOS: Enable platform support for SPI controllers for EXYNOX4
    ARM: EXYNOS: Fix the incorrect hierarchy of spi controller bus clock
    ARM: ux500: Remove PMU platform registration when booting with DT
    ARM: ux500: Remove temporary snowball_of_platform_devs enablement structure
    ARM: ux500: Ensure vendor specific properties have the vendor's identifier
    pinctrl: pinctrl-nomadik: Append sleepmode property with vendor specific prefixes
    ARM: ux500: Move rtc-pl031 registration to Device Tree when enabled
    ARM: ux500: Enable the AB8500 RTC for all DT:ed DB8500 based devices
    ARM: ux500: Correctly reference IRQs supplied by the AB8500 from Device Tree
    ARM: ux500: Apply ab8500-debug node do the db8500 DT structure
    ARM: ux500: Add a ab8500-usb Device Tree node for db8500 based devices
    ARM: ux500: Add db8500 Device Tree node for misc/ab8500-pwm
    ARM: ux500: Add db8500 Device Tree node for ab8500-sysctrl
    ARM: ux500: Enable LED heartbeat functionality on Snowbal via DT
    ...

    Linus Torvalds
     
  • Pull general arm-soc cleanups from Arnd Bergmann:
    "These are all boring changes, moving stuff around or renaming things
    mostly, and also getting rid of stuff that is duplicate or should not
    be there to start with. Platform-wise this is all over the place,
    mainly omap, samsung, at91, imx and tegra."

    Resolve trivial conflict in arch/arm/mach-omap2/clockdomains3xxx_data.c

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (67 commits)
    ARM: clps711x: Remove the setting of the time
    ARM: clps711x: Removed superfluous transform virt_to_bus and related functions
    ARM: clps711x/p720t: Replace __initcall by .init_early call
    ARM: S3C24XX: Remove unused GPIO definitions for Openmoko GTA02 board
    ARM: S3C24XX: Remove unused GPIO definitions for port J
    ARM: S3C24XX: Remove unused GPA, GPE, GPH bank GPIO aliases
    ARM: S3C24XX: Convert the touchscreen setup code to common GPIO API
    ARM: S3C24XX: Convert the PM code to gpiolib API
    ARM: S3C24XX: Convert QT2410 board file to the gpiolib API
    ARM: S3C24XX: Convert SMDK board file to the gpiolib API
    ARM: S3C24XX: Free the backlight gpio requested in Mini2440 board code
    ARM: imx: remove unused pdata from device macros
    ARM: imx: Kconfig: Remove IMX_HAVE_PLATFORM_IMX_SSI from MACH_MX25_3DS
    ARM: at91: fix new build errors
    ARM: at91: add AIC5 support
    ARM: at91: remove mach/irqs.h
    ARM: at91: sparse irq support
    ARM: at91: at91 based machines specify their own irq handler at run time
    ARM: at91: remove static irq priorities for sam9x5
    ARM: at91: add of irq priorities support
    ...

    Linus Torvalds
     

19 Jul, 2012

2 commits

  • The tamper evident features of the RTC include the "write counter" which
    is a pseudo-random number regenerated whenever we set the RTC. Since this
    value is unpredictable it should provide some useful seeding to the random
    number generator.

    Only do this on boot since the goal is to seed the pool rather than add
    useful entropy.

    Signed-off-by: Mark Brown
    Signed-off-by: Theodore Ts'o
    Cc: stable@vger.kernel.org

    Mark Brown
     
  • * pm-drivers:
    rtc-cmos: report wakeups from interrupt handler
    PM / crypto / ux500: Use struct dev_pm_ops for power management
    PM / IPMI: Remove empty legacy PCI PM callbacks
    tpm_nsc: Use struct dev_pm_ops for power management
    tpm_tis: Use struct dev_pm_ops for power management
    tpm_atmel: Use struct dev_pm_ops for power management
    PM / TPM: Drop unused pm_message_t argument from tpm_pm_suspend()
    omap-rng: Use struct dev_pm_ops for power management
    mg_disk: Use struct dev_pm_ops for power management
    msi-laptop: Use struct dev_pm_ops for power management
    hdaps: Use struct dev_pm_ops for power management
    sonypi: Use struct dev_pm_ops for power management
    intel_mid_thermal: Use struct dev_pm_ops for power management
    acer-wmi: Use struct dev_pm_ops for power management
    intel_ips: Remove empty legacy PM callbacks
    thinkpad_acpi: Use struct dev_pm_ops instead of legacy PM routines
    thinkpad_acpi: Drop pm_message_t arguments from suspend routines

    Rafael J. Wysocki
     

18 Jul, 2012

1 commit

  • When suspending the system with an important RTC wake alarm active,
    it is possible that the RTC alarm will expire before the system has
    gone to sleep (e.g. short alarm timer, or an unusually long suspend
    routine).

    If this happens, the RTC alarm should trigger a wakeup event, possibly
    aborting system suspend. This condition can be detected in the form
    of an RTC alarm interrupt.

    Signed-off-by: Paul Fox
    Signed-off-by: Daniel Drake
    Signed-off-by: Rafael J. Wysocki

    Paul Fox
     

12 Jul, 2012

5 commits

  • Requesting a threaded interrupt without a primary handler and without
    IRQF_ONESHOT is dangerous, and after commit 1c6c6952 ("genirq: Reject
    bogus threaded irq requests"), these requests are rejected. This causes
    ->probe() to fail, and the RTC driver not to be availble.

    To fix, add IRQF_ONESHOT to the IRQ flags.

    Tested on OMAP3730/OveroSTORM and OMAP4430/Panda board using rtcwake to
    wake from system suspend multiple times.

    Signed-off-by: Kevin Hilman
    Cc: Alessandro Zummo
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kevin Hilman
     
  • Fixes

    WARNING: at irq/handle.c:146 handle_irq_event_percpu+0x19c/0x1b8()
    irq 25 handler mxc_rtc_interrupt+0x0/0xac enabled interrupts
    Modules linked in:
    (unwind_backtrace+0x0/0xf0) from (warn_slowpath_common+0x4c/0x64)
    (warn_slowpath_common+0x4c/0x64) from (warn_slowpath_fmt+0x30/0x40)
    (warn_slowpath_fmt+0x30/0x40) from (handle_irq_event_percpu+0x19c/0x1b8)
    (handle_irq_event_percpu+0x19c/0x1b8) from (handle_irq_event+0x28/0x38)
    (handle_irq_event+0x28/0x38) from (handle_level_irq+0x80/0xc4)
    (handle_level_irq+0x80/0xc4) from (generic_handle_irq+0x24/0x38)
    (generic_handle_irq+0x24/0x38) from (handle_IRQ+0x30/0x84)
    (handle_IRQ+0x30/0x84) from (avic_handle_irq+0x2c/0x4c)
    (avic_handle_irq+0x2c/0x4c) from (__irq_svc+0x40/0x60)
    Exception stack(0xc050bf60 to 0xc050bfa8)
    bf60: 00000001 00000000 003c4208 c0018e20 c050a000 c050a000 c054a4c8 c050a000
    bf80: c05157a8 4117b363 80503bb4 00000000 01000000 c050bfa8 c0018e2c c000e808
    bfa0: 60000013 ffffffff
    (__irq_svc+0x40/0x60) from (default_idle+0x1c/0x30)
    (default_idle+0x1c/0x30) from (cpu_idle+0x68/0xa8)
    (cpu_idle+0x68/0xa8) from (start_kernel+0x22c/0x26c)

    Signed-off-by: Benoît Thébaudeau
    Cc: Alessandro Zummo
    Cc: Sascha Hauer
    Acked-by: Uwe Kleine-König
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Benoît Thébaudeau
     
  • Without this patch, if Device Tree is enabled the AB8500 RTC wouldn't get
    probed at all, as there is no reference to it from platform code. This
    patch ensures the driver is probed during normal DT start-up.

    [akpm@linux-foundation.org: checkpatch fixes]
    Signed-off-by: Lee Jones
    Cc: Alessandro Zummo
    Acked-by: Linus Walleij
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lee Jones
     
  • This driver's IRQ registration is failing because the kernel now forces
    IRQs to be ONESHOT if no IRQ handler is passed.

    Signed-off-by: Lee Jones
    Cc: Alessandro Zummo
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lee Jones
     
  • `config' is freed and is then used in the rtc_device_unregister() call,
    causing a kernel panic.

    Signed-off-by: Devendra Naga
    Reviewed-by: Viresh Kumar
    Cc: Alessandro Zummo
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Devendra Naga
     

09 Jul, 2012

2 commits


04 Jul, 2012

1 commit

  • MULTI_IRQ_HANDLER and SPARSE_IRQ are now required everywhere because
    mach/irqs.h and mach/entry-macros.S are gone but the symbols are
    only selected for AT91SAM9, not for the NOMMU parts.

    A few files now need to include linux/io.h directly, which used to
    be included through other headers that have changed.

    The new at91_aic_irq_priorities variable is only used with CONFIG_OF
    enabled and should not be visible otherwise.

    Signed-off-by: Arnd Bergmann
    Acked-by: Ludovic Desroches
    Acked-by: Nicolas Ferre

    Arnd Bergmann
     

03 Jul, 2012

1 commit