1. 11 Nov, 2011 1 commit
    • Tony Lindgren's avatar
      ARM: OMAP: Fix reprogramming of dpll1 rate · e9b7086b
      Tony Lindgren authored
      Commit a66cb345 (ARM: OMAP: Map SRAM
      later on with ioremap_exec()) moved the SRAM init to happen later
      to remove a dependency to early SoC detection for map_io.
      
      This broke booting on some boards not using Kconfig option for
      OMAP_CLOCKS_SET_BY_BOOTLOADER as the dpll1 reprogramming would
      cause the following error:
      
      kernel BUG at arch/arm/plat-omap/sram.c:226!
      Internal error: Oops - undefined instruction: 0 [#1] PREEMPT
      Modules linked in:
      
      CPU: 0    Not tainted  (3.2.0-rc1-e3 #9)
      PC is at omap_sram_reprogram_clock+0x28/0x30
      LR is at omap1_select_table_rate+0x88/0xb4
      pc : [<c001b0c4>]    lr : [<c0019f54>]    psr: 600000d3
      sp : c035bf10  ip : c035bf20  fp : c035bf1c
      r10: c035bfd4  r9 : 54029252  r8 : c03f8120
      r7 : c0362b50  r6 : 00b71b00  r5 : c03873cc  r4 : c0362b40
      r3 : 00000000  r2 : c0362b40  r1 : 0000010a  r0 : 00002cb0
      Flags: nZCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment kernel
      Control: 0000317f  Table: 10004000  DAC: 00000017
      Process swapper (pid: 0, stack limit = 0xc035a270)
      Stack: (0xc035bf10 to 0xc035c000)
      bf00:                                     c035bf3c c035bf20 c0019f54 c001b0ac
      bf20: 00001000 00002cb3 00000004 c035ed4c c035bf74 c035bf40 c033ea24 c0019edc
      bf40: c02f526c 00000002 00000015 bc058c9b 93111a16 c035335c 02000000 c035ed4c
      bf60: c035ed4c c03f8120 c035bf84 c035bf78 c00194c4 c033e8ec c035bfc4 c035bf88
      bf80: c033bc24 c00194a0 c035bf90 c035bf98 00000000 00000000 00000000 00000000
      bfa0: 00000001 00000000 c0354678 c035ece4 10004000 103532f4 c035bff4 c035bfc8
      bfc0: c0338574 c033b598 00000000 00000000 00000000 c035467c 0000317d c035c03c
      bfe0: c0354678 c035ece4 00000000 c035bff8 10008040 c0338508 00000000 00000000
      Backtrace:
      [<c001b09c>] (omap_sram_reprogram_clock+0x0/0x30) from [<c0019f54>] (omap1_select_table_rate+0x88/0xb4)
      [<c0019ecc>] (omap1_select_table_rate+0x0/0xb4) from [<c033ea24>] (omap1_clk_init+0x148/0x334)
       r7:c035ed4c r6:00000004 r5:00002cb3 r4:00001000
      [<c033e8dc>] (omap1_clk_init+0x0/0x334) from [<c00194c4>] (omap1_init_early+0x34/0x48)
       r8:c03f8120 r7:c035ed4c r6:c035ed4c r5:02000000 r4:c035335c
      [<c0019490>] (omap1_init_early+0x0/0x48) from [<c033bc24>] (setup_arch+0x69c/0x79c)
      [<c033b588>] (setup_arch+0x0/0x79c) from [<c0338574>] (start_kernel+0x7c/0x2f4)
      [<c03384f8>] (start_kernel+0x0/0x2f4) from [<10008040>] (0x10008040)
       r7:c035ece4 r6:c0354678 r5:c035c03c r4:0000317d
      Code: 0a000002 e1a0e00f e12fff13 e89da800 (e7f001f2)
      
      Fix this by adding omap1_clk_late_init() that only reprograms dpll1
      if the bootloader rate is less than 60MHz. This also allows removing
      of the OMAP_CLOCKS_SET_BY_BOOTLOADER option.
      Reported-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Tested-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      e9b7086b
  2. 10 Nov, 2011 1 commit
  3. 09 Nov, 2011 1 commit
  4. 08 Nov, 2011 1 commit
  5. 07 Nov, 2011 17 commits
    • Tony Lindgren's avatar
      d30cc16c
    • Tony Lindgren's avatar
      ARM: OMAP: Fix export.h or module.h includes · a1bcc1dc
      Tony Lindgren authored
      Commit 32aaeffb (Merge branch
      'modsplit-Oct31_2011'...) caused some build errors. Fix these
      and make sure we always have export.h or module.h included
      for MODULE_ and EXPORT_SYMBOL users:
      
      $ grep -rl ^MODULE_ arch/arm/*omap*/*.c | xargs \
        grep -L linux/module.h
        arch/arm/mach-omap2/dsp.c
        arch/arm/mach-omap2/mailbox.c
        arch/arm/mach-omap2/omap-iommu.c
        arch/arm/mach-omap2/smartreflex.c
      
      Also check we either have export.h or module.h included
      for the files exporting symbols:
      
      $ grep -rl EXPORT_SYMBOL arch/arm/*omap*/*.c | xargs \
        grep -L linux/export.h | xargs grep -L linux/module.h
      
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a1bcc1dc
    • Axel Lin's avatar
      ARM: OMAP: omap_device: Include linux/export.h · 55581415
      Axel Lin authored
      Include linux/export.h to fix below build warning:
      
        CC      arch/arm/plat-omap/omap_device.o
      arch/arm/plat-omap/omap_device.c:1055: warning: data definition has no type or storage class
      arch/arm/plat-omap/omap_device.c:1055: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
      arch/arm/plat-omap/omap_device.c:1055: warning: parameter names (without types) in function declaration
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      55581415
    • Linus Torvalds's avatar
      Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux · 32aaeffb
      Linus Torvalds authored
      * 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
        Revert "tracing: Include module.h in define_trace.h"
        irq: don't put module.h into irq.h for tracking irqgen modules.
        bluetooth: macroize two small inlines to avoid module.h
        ip_vs.h: fix implicit use of module_get/module_put from module.h
        nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
        include: replace linux/module.h with "struct module" wherever possible
        include: convert various register fcns to macros to avoid include chaining
        crypto.h: remove unused crypto_tfm_alg_modname() inline
        uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
        pm_runtime.h: explicitly requires notifier.h
        linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
        miscdevice.h: fix up implicit use of lists and types
        stop_machine.h: fix implicit use of smp.h for smp_processor_id
        of: fix implicit use of errno.h in include/linux/of.h
        of_platform.h: delete needless include <linux/module.h>
        acpi: remove module.h include from platform/aclinux.h
        miscdevice.h: delete unnecessary inclusion of module.h
        device_cgroup.h: delete needless include <linux/module.h>
        net: sch_generic remove redundant use of <linux/module.h>
        net: inet_timewait_sock doesnt need <linux/module.h>
        ...
      
      Fix up trivial conflicts (other header files, and  removal of the ab3550 mfd driver) in
       - drivers/media/dvb/frontends/dibx000_common.c
       - drivers/media/video/{mt9m111.c,ov6650.c}
       - drivers/mfd/ab3550-core.c
       - include/linux/dmaengine.h
      32aaeffb
    • Linus Torvalds's avatar
      Merge branch 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux · 208bca08
      Linus Torvalds authored
      * 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux:
        writeback: Add a 'reason' to wb_writeback_work
        writeback: send work item to queue_io, move_expired_inodes
        writeback: trace event balance_dirty_pages
        writeback: trace event bdi_dirty_ratelimit
        writeback: fix ppc compile warnings on do_div(long long, unsigned long)
        writeback: per-bdi background threshold
        writeback: dirty position control - bdi reserve area
        writeback: control dirty pause time
        writeback: limit max dirty pause time
        writeback: IO-less balance_dirty_pages()
        writeback: per task dirty rate limit
        writeback: stabilize bdi->dirty_ratelimit
        writeback: dirty rate control
        writeback: add bg_threshold parameter to __bdi_update_bandwidth()
        writeback: dirty position control
        writeback: account per-bdi accumulated dirtied pages
      208bca08
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · 6aad3738
      Linus Torvalds authored
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
        target: use ->exectute_task for all CDB emulation
        target: remove SCF_EMULATE_CDB_ASYNC
        target: refactor transport_emulate_control_cdb
        target: pass the se_task to the CDB emulation callback
        target: split core_scsi3_emulate_pr
        target: split core_scsi2_emulate_crh
        target: Add generic active I/O shutdown logic
        target: add back error handling in transport_complete_task
        target/pscsi: blk_make_request() returns an ERR_PTR()
        target: Remove core TRANSPORT_FREE_CMD_INTR usage
        target: Make TFO->check_stop_free return free status
        iscsi-target: Fix non-immediate TMR handling
        iscsi-target: Add missing CMDSN_LOWER_THAN_EXP check in iscsit_handle_scsi_cmd
        target: Avoid double list_del for aborted se_tmr_req
        target: Minor cleanups to core_tmr_drain_tmr_list
        target: Fix wrong se_tmr being added to drain_tmr_list
        target: Fix incorrect se_cmd assignment in core_tmr_drain_tmr_list
        target: Check -ENOMEM to signal QUEUE_FULL from fabric callbacks
        tcm_loop: Add explict read buffer memset for SCF_SCSI_CONTROL_SG_IO_CDB
        target: Fix compile warning w/ missing module.h include
      6aad3738
    • Linus Torvalds's avatar
      Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · 02ebbbd4
      Linus Torvalds authored
      * 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        scsi: drop unused Kconfig symbol
        pci: drop unused Kconfig symbol
        stmmac: drop unused Kconfig symbol
        x86: drop unused Kconfig symbol
        powerpc: drop unused Kconfig symbols
        powerpc: 40x: drop unused Kconfig symbol
        mips: drop unused Kconfig symbols
        openrisc: drop unused Kconfig symbols
        arm: at91: drop unused Kconfig symbol
        samples: drop unused Kconfig symbol
        m32r: drop unused Kconfig symbol
        score: drop unused Kconfig symbols
        sh: drop unused Kconfig symbol
        um: drop unused Kconfig symbol
        sparc: drop unused Kconfig symbol
        alpha: drop unused Kconfig symbol
      
      Fix up trivial conflict in drivers/net/ethernet/stmicro/stmmac/Kconfig
      as per Michal: the STMMAC_DUAL_MAC config variable is still unused and
      should be deleted.
      02ebbbd4
    • Linus Torvalds's avatar
      Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · addd8c92
      Linus Torvalds authored
      * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        script/checkpatch.pl: warn about deprecated use of EXTRA_{A,C,CPP,LD}FLAGS
        tags, powerpc: Update tags.sh to support _GLOBAL symbols
        scripts: add extract-vmlinux
      addd8c92
    • Linus Torvalds's avatar
      Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · a84f6aa6
      Linus Torvalds authored
      * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        scripts/kconfig/nconf: add KEY_HOME / KEY_END for dialog_inputbox
        scripts/kconfig/nconf: fix editing long strings
        scripts/kconfig/nconf: dynamically alloc dialog_input_result
        scripts/kconfig/nconf: fix memmove's length arg
        scripts/kconfig/nconf: fix typo: unknow => unknown
        kconfig: fix set but not used variables
        kconfig: handle SIGINT in menuconfig
        kconfig: fix __enabled_ macros definition for invisible and un-selected symbols
        kconfig: factor code in menu_get_ext_help()
        kbuild: Fix help text not displayed in choice option.
        kconfig/nconf: nuke unreferenced `nohelp_text'
        kconfig/streamline_config.pl: merge local{mod,yes}config
        kconfig/streamline_config.pl: use options to determine operating mode
        kconfig/streamline_config.pl: directly access LSMOD from the environment
      a84f6aa6
    • Linus Torvalds's avatar
      Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · dede6faa
      Linus Torvalds authored
      * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        Kbuild: append missing-syscalls to the default target list
        genksyms: Regenerate lexer and parser
        genksyms: Do not expand internal types
        genksyms: Minor parser cleanup
        Makefile: remove a duplicated line
        fixdep: fix extraneous dependencies
        scripts/Makefile.build: do not reference EXTRA_CFLAGS as CFLAGS replacement
        kbuild: prevent make from deleting _shipped files
        kbuild: Do not delete empty files in make distclean
      dede6faa
    • Linus Torvalds's avatar
      hid/apple: modern macbook airs use the standard apple function key translations · 21404b77
      Linus Torvalds authored
      This removes the use of the special "macbookair_fn_keys" keyboard
      translation table for the MacBookAir4,x models (ie the 2011 refresh).
      They use the standard apple_fn_keys[] translation.  Apparently only the
      old MacBook Air's need a different translation table.
      
      This mirrors the change that commit da617c7c ("HID: consolidate
      MacbookAir 4,1 mappings") did for the WELLSPRING6A ones, but does it for
      the WELLSPRING6 model used on the MacBookAir4,2.
      Reported-and-tested-by: default avatarDirk Hohndel <hohndel@infradead.org>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Joshua V Dillon <jvdillon@gmail.com>
      Cc: Chase Douglas <chase.douglas@canonical.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      21404b77
    • Linus Torvalds's avatar
      Merge branch 'stable/vmalloc-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen · 06d38148
      Linus Torvalds authored
      * 'stable/vmalloc-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        net: xen-netback: use API provided by xenbus module to map rings
        block: xen-blkback: use API provided by xenbus module to map rings
        xen: use generic functions instead of xen_{alloc, free}_vm_area()
      06d38148
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client · 5d5a8d2d
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
        ceph/super.c: quiet sparse noise
        ceph/mds_client.c: quiet sparse noise
        ceph: use new D_COMPLETE dentry flag
        ceph: clear parent D_COMPLETE flag when on dentry prune
      5d5a8d2d
    • Linus Torvalds's avatar
      Merge git://github.com/rustyrussell/linux · d4a2e61f
      Linus Torvalds authored
      * git://github.com/rustyrussell/linux:
        module,bug: Add TAINT_OOT_MODULE flag for modules not built in-tree
        module: Enable dynamic debugging regardless of taint
      d4a2e61f
    • Linus Torvalds's avatar
      Merge branch 'rmobile-latest' of git://github.com/pmundt/linux-sh · 0e4c9dc2
      Linus Torvalds authored
      * 'rmobile-latest' of git://github.com/pmundt/linux-sh: (21 commits)
        ARM: mach-shmobile: ag5evm needs CONFIG_I2C
        ARM: mach-shmobile: sh73a0 and AG5EVM PINT support
        ARM: mach-shmobile: Add support for PINT though INTC macros
        ARM: mach-shmobile: SDHI0 GPIO hotplug for AG5EVM
        ARM: mach-shmobile: Use common INTC IRQ code on sh73a0
        ARM: mach-shmobile: Use common INTC IRQ code on sh7372
        ARM: mach-shmobile: Use common INTC IRQ code on sh7377
        ARM: mach-shmobile: Use common INTC IRQ code on sh7367
        ARM: mach-shmobile: sh73a0 GPIO IRQ support
        ARM: sh7372 ap4evb NOR Flash USB boot fix
        ARM: mach-shmobile: sh7372 Mackerel NOR Flash USB boot fix
        sh: intc: Allow triggering on both edges for ARM SoCs
        ARM: mach-shmobile: Break out INTC IRQ code
        ARM: mach-shmobile: Kota2 SDHI0 and SDHI1 support
        ARM: mach-shmobile: Kota2 SCIFA4 and SCIFB support
        ARM: mach-shmobile: Kota2 MMCIF support
        ARM: mach-shmobile: Kota2 GPIO LEDs support
        ARM: mach-shmobile: Kota2 GPIO Keys support
        ARM: mach-shmobile: Kota2 KEYSC support
        ARM: mach-shmobile: Kota2 SCIFA2 and SMSC911X support
        ...
      0e4c9dc2
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 1197ab29
      Linus Torvalds authored
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (106 commits)
        powerpc/p3060qds: Add support for P3060QDS board
        powerpc/83xx: Add shutdown request support to MCU handling on MPC8349 MITX
        powerpc/85xx: Make kexec to interate over online cpus
        powerpc/fsl_booke: Fix comment in head_fsl_booke.S
        powerpc/85xx: issue 15 EOI after core reset for FSL CoreNet devices
        powerpc/8xxx: Fix interrupt handling in MPC8xxx GPIO driver
        powerpc/85xx: Add 'fsl,pq3-gpio' compatiable for GPIO driver
        powerpc/86xx: Correct Gianfar support for GE boards
        powerpc/cpm: Clear muram before it is in use.
        drivers/virt: add ioctl for 32-bit compat on 64-bit to fsl-hv-manager
        powerpc/fsl_msi: add support for "msi-address-64" property
        powerpc/85xx: Setup secondary cores PIR with hard SMP id
        powerpc/fsl-booke: Fix settlbcam for 64-bit
        powerpc/85xx: Adding DCSR node to dtsi device trees
        powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
        powerpc/85xx: fix PHYS_64BIT selection for P1022DS
        powerpc/fsl-booke: Fix setup_initial_memory_limit to not blindly map
        powerpc: respect mem= setting for early memory limit setup
        powerpc: Update corenet64_smp_defconfig
        powerpc: Update mpc85xx/corenet 32-bit defconfigs
        ...
      
      Fix up trivial conflicts in:
       - arch/powerpc/configs/40x/hcu4_defconfig
      	removed stale file, edited elsewhere
       - arch/powerpc/include/asm/udbg.h, arch/powerpc/kernel/udbg.c:
      	added opal and gelic drivers vs added ePAPR driver
       - drivers/tty/serial/8250.c
      	moved UPIO_TSI to powerpc vs removed UPIO_DWAPB support
      1197ab29
    • Linus Torvalds's avatar
      Merge branch 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm · ec773e99
      Linus Torvalds authored
      * 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm:
        ARM: PXA: fix includes in pxa2xx_cm_x2xx PCMCIA driver
        ARM: PXA: fix gpio-pxa.h build errors
        ARM: 7142/1: davinci: mark GPIO implementation complex
        ARM: 7134/1: Revert "EXYNOS4: Fix routing timer interrupt to offline CPU"
        ARM: PXA: eseries: fix eseries_register_clks section mismatch warning
        ARM: PXA: fix lubbock PCMCIA driver build error
      ec773e99
  6. 06 Nov, 2011 19 commits