1. 08 Jul, 2019 3 commits
    • Alexey Brodkin's avatar
      ARC: [haps] Add Virtio support · 94b8beb9
      Alexey Brodkin authored
      As a preparation for QEMU usage for ARC let's add basic Virtio-MMIO
      peripherals support for the platform we're going to use.
      
      For now we add 5 Virtio slots in .dts and enable block and network devices
      via Virtio-MMIO.
      
      Note even though typically Virtio register set fits in 0x200 bytes
      we "allocate" here 0x2000 so that it matches ARC's default 8KiB page size
      and so remapping of that area is done clearly.
      
      We also enable DEVTMPFS automount for more convenient use
      of external root file-stystem. Before that we used to use built-in
      Initramfs which didn't automount DEVTMPFS anyways so we didn't need
      that option, while now it starts making sense.
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      94b8beb9
    • Vineet Gupta's avatar
      ARCv2: entry: simplify return to Delay Slot via interrupt · 75370ad4
      Vineet Gupta authored
      Commit 4255b07f ("ARCv2: STAR 9000793984: Handle return
      from intr to Delay Slot") involved a complex 2 staged trampoline.
      
      Apparently this can be greatly simplified by returning from pure
      kernel mode (iso interrupt) so drop to pure kernel mdoe and execute
      the normal exception return path.
      
      Testing this was a bit of challenge as return from interrupt is rarely
      executed now after commit 4de0e528 ("ARCv2: STAR 9000814690:
      Really Re-enable interrupts to avoid deadlocks"). That fix is necessary
      evil and pct interrupts etc do exercise intr return path.
      Anyhow after a revert of above in my local test setup I was able to hit
      this case and verify the patch works.
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      75370ad4
    • Vineet Gupta's avatar
      ARC: entry: EV_Trap expects r10 (vs. r9) to have exception cause · 68e5c6f0
      Vineet Gupta authored
      avoids 1 MOV instruction in light of double load/store code
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      68e5c6f0
  2. 01 Jul, 2019 12 commits
  3. 30 Jun, 2019 3 commits
  4. 29 Jun, 2019 22 commits