1. 05 3月, 2015 1 次提交
  2. 21 11月, 2014 1 次提交
  3. 22 10月, 2014 1 次提交
    • D
      arm: socfpga: fix fetching cpu1start_addr for SMP · 3a4356c0
      Dinh Nguyen 提交于
      When CPU1 is brought out of reset, it's MMU is not turned on yet, so it will
      only be able to use physical addresses. For systems with that have the
      MMU page configured for 0xC0000000, 0x80000000, or 0x40000000
      "BIC 0x40000000" will work just fine, as it was just converting the
      virtual address of &cpu1start_addr into a physical address, ie. 0xC0000000
      became 0x80000000. So for systems where the SDRAM controller was able to do a
      wrap-around access, this was working fine, as it was just dropping the MSB,
      but for systems where out of bounds memory access is not allowed, this would
      not allow CPU1 to correctly fetch &cpu1start_addr.
      
      This patch fixes the secondary_trampoline code to correctly fetch the
      physical address of cpu1start_addr directly. The patch will subtract the
      correct PAGE_OFFSET from &cpu1start_addr. And since on this platform, the
      physical memory will always start at 0x0, subtracting PAGE_OFFSET from
      &cpu1start_addr will allow CPU1 to correctly fetch the value of cpu1start_addr.
      
      While at it, change the name of cpu1start_addr to socfpga_cpu1start_addr
      to avoid any future naming collisions for multiplatform image.
      Signed-off-by: NDinh Nguyen <dinguyen@opensource.altera.com>
      ---
      v4: Updated commit log to correctly lay out the usage of PAGE_OFFSET and
          add comments to the same effect.
      v3: Used PAGE_OFFSET to get the physical address
      v2: Correctly get the physical address instead of just a BIC hack.
      3a4356c0
  4. 15 4月, 2013 1 次提交
  5. 12 2月, 2013 1 次提交
  6. 26 10月, 2012 1 次提交
  7. 20 9月, 2012 1 次提交
    • S
      ARM: bcm2835: add interrupt controller driver · 89214f00
      Simon Arlott 提交于
      The BCM2835 contains a custom interrupt controller, which supports 72
      interrupt sources using a 2-level register scheme. The interrupt
      controller, or the HW block containing it, is referred to occasionally
      as "armctrl" in the SoC documentation, hence the symbol naming in the
      code.
      
      This patch was extracted from git://github.com/lp0/linux.git branch
      rpi-split as of 2012/09/08, and modified as follows:
      
      * s/bcm2708/bcm2835/.
      * Modified device tree vendor prefix.
      * Moved implementation to drivers/irchip/.
      * Added devicetree documentation, and hence removed list of IRQs from
        bcm2835.dtsi.
      * Changed shift in MAKE_HWIRQ() and HWIRQ_BANK() from 8 to 5 to reduce
        the size of the hwirq space, and pass the total size of the hwirq space
        to irq_domain_add_linear(), rather than just the number of valid hwirqs;
        the two are different due to the hwirq space being sparse.
      * Added the interrupt controller DT node to the top-level of the DT,
        rather than nesting it inside a /axi node. Hence, changed the reg value
        since /axi had a ranges property. This seems simpler to me, but I'm not
        sure if everyone will like this change or not.
      * Don't set struct irq_domain_ops.map = irq_domain_simple_map, hence
        removing the need to patch include/linux/irqdomain.h or
        kernel/irq/irqdomain.c.
      * Simplified armctrl_of_init() using of_iomap().
      * Removed unused IS_VALID_BANK()/IS_VALID_IRQ() macros.
      * Renamed armctrl_handle_irq() to prevent possible symbol clashes.
      * Made armctrl_of_init() static.
      * Removed comment "Each bank is registered as a separate interrupt
        controller" since this is no longer true.
      * Removed FSF address from license header.
      * Added my name to copyright header.
      Signed-off-by: NChris Boot <bootc@bootc.net>
      Signed-off-by: NSimon Arlott <simon@fire.lp0.eu>
      Signed-off-by: NDom Cobley <popcornmix@gmail.com>
      Signed-off-by: NDom Cobley <dc4@broadcom.com>
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      89214f00
  8. 25 5月, 2011 1 次提交
  9. 18 2月, 2011 1 次提交
  10. 28 11月, 2008 1 次提交
    • N
      [ARM] remove a common set of __virt_to_bus definitions · b5ee9002
      Nicolas Pitre 提交于
      Let's provide an overridable default instead of having every machine
      class define __virt_to_bus and __bus_to_virt to the same thing.  What
      most platforms are using is bus_addr == phys_addr so such is the default.
      
      One exception is ebsa110 which has no DMA what so ever, so the actual
      definition is not important except only for proper compilation.  Also
      added a comment about the special footbridge bus translation.
      
      Let's also remove comments alluding to set_dma_addr which is not
      (and should not) be commonly used.
      Signed-off-by: NNicolas Pitre <nico@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b5ee9002
  11. 07 8月, 2008 2 次提交
  12. 08 2月, 2007 1 次提交
  13. 29 6月, 2006 1 次提交
  14. 21 6月, 2006 1 次提交
  15. 10 1月, 2006 1 次提交
  16. 30 10月, 2005 1 次提交
  17. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4