08 Dec, 2018

2 commits

  • commit 6b04114f6fae5e84d33404c2970b1949c032546e upstream.

    By default NFSv3 doesn't support ACL (Access Control Lists)
    which might be quite convenient to have so that
    mounted NFS behaves exactly as any other local file-system.

    In particular missing support of ACL makes umask useless.
    This among other thigs fixes Glibc's "nptl/tst-umask1".

    Signed-off-by: Alexey Brodkin
    Cc: Cupertino Miranda
    Cc: stable@vger.kernel.org #4.14+
    Signed-off-by: Vineet Gupta
    Signed-off-by: Greg Kroah-Hartman

    Alexey Brodkin
     
  • commit b7cc40c32a8bfa6f2581a71747f6a7d491fe43ba upstream.

    Change the default defconfig (used with 'make defconfig') to the ARCv2
    nsim_hs_defconfig, and also switch the default Kconfig ISA selection to
    ARCv2.

    This allows several default defconfigs (e.g. make defconfig, make
    allnoconfig, make tinyconfig) to all work with ARCv2 by default.

    Note since we change default architecture from ARCompact to ARCv2
    it's required to explicitly mention architecture type in ARCompact
    defconfigs otherwise ARCv2 will be implied and binaries will be
    generated for ARCv2.

    Cc: # 4.4.x
    Signed-off-by: Kevin Hilman
    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta
    Signed-off-by: Greg Kroah-Hartman

    Kevin Hilman
     

20 Sep, 2018

1 commit

  • commit c83532fb0fe053d2e43e9387354cb1b52ba26427 upstream.

    SWAP support on ARC was fixed earlier by
    commit 6e3761145a9b ("ARC: Fix CONFIG_SWAP")
    so now we may safely enable it on platforms that
    have external media like USB and SD-card.

    Note: it was already allowed for HSDK

    Signed-off-by: Alexey Brodkin
    Cc: stable@vger.kernel.org # 6e3761145a9b: ARC: Fix CONFIG_SWAP
    Signed-off-by: Vineet Gupta
    Signed-off-by: Greg Kroah-Hartman

    Alexey Brodkin
     

25 Jul, 2018

1 commit

  • commit 64234961c145606b36eaa82c47b11be842b21049 upstream.

    We used to have pre-set CONFIG_INITRAMFS_SOURCE with local path
    to intramfs in ARC defconfigs. This was quite convenient for
    in-house development but not that convenient for newcomers
    who obviusly don't have folders like "arc_initramfs" next to
    the Linux source tree. Which leads to quite surprising failure
    of defconfig building:
    ------------------------------->8-----------------------------
    ../scripts/gen_initramfs_list.sh: Cannot open '../../arc_initramfs_hs/'
    ../usr/Makefile:57: recipe for target 'usr/initramfs_data.cpio.gz' failed
    make[2]: *** [usr/initramfs_data.cpio.gz] Error 1
    ------------------------------->8-----------------------------

    So now when more and more people start to deal with our defconfigs
    let's make their life easier with removal of CONFIG_INITRAMFS_SOURCE.

    Signed-off-by: Alexey Brodkin
    Cc: Kevin Hilman
    Cc: stable@vger.kernel.org
    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta
    Signed-off-by: Greg Kroah-Hartman

    Alexey Brodkin
     

10 Oct, 2017

1 commit


06 Oct, 2017

1 commit


04 Oct, 2017

1 commit


02 Sep, 2017

1 commit

  • This initial port adds support of ARC HS Development Kit board with some
    basic features such serial port, USB, SD/MMC and Ethernet.

    Essentially we run Linux kernel on all 4 cores (i.e. utilize SMP) and
    heavily use IO Coherency for speeding-up DMA-aware peripherals.

    Note as opposed to other ARC boards we link Linux kernel to
    0x9000_0000 intentionally because cores 1 and 3 configured with DCCM
    situated at our more usual link base 0x8000_0000. We still can use
    memory region starting at 0x8000_0000 as we reallocate DCCM in our
    platform code.

    Note that PAE remapping for DMA clients does not work due to an RTL bug,
    so CREG_PAE register must be programmed to all zeroes, otherwise it will
    cause problems with DMA to/from peripherals even if PAE40 is not used.

    Acked-by: Rob Herring
    Signed-off-by: Alexey Brodkin
    Signed-off-by: Eugeniy Paltsev
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     

04 Aug, 2017

1 commit


18 Jul, 2017

1 commit


07 Feb, 2017

3 commits

  • ARC VDK for EVSS uses UIO for communication with Embedded Vision
    Subsystem.

    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     
  • ARC VDK virtual platform emulates host MMC controller (DW Mobile Storage)
    and moreover rootfs is situated on that virtual card.

    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     
  • In recent VDKs ARC cores are configured as "run on reset"
    which made existing kernel configuration outdated to effect that
    slave cores never start execution of the code keeping only master
    online.

    With that fix we're again in sync with VDK platform.

    And while at it we regenerate defconfig via savedefconfig so default
    options are now excluded.

    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     

01 Dec, 2016

3 commits

  • Up until now we had ARC PGU not enabled in axs10x defconfigs trying
    to not bloat kernel image again with yet another drivers and subsystems.

    This change configures ARC PGU (as well as DRM bits it depends on)
    to be built as a module and so those who need LCD screen to work on
    axs10x may bundle built .ko files in their target's file-system with
    help of the following command on host:
    ------------->8-------------
    make INSTALL_MOD_PATH=_path_to_target_fs_ modules_install
    ------------->8-------------

    and later on target with commands as simple as:
    ------------->8-------------
    modprobe adv7511.ko
    modprobe arcpgu.ko
    ------------->8-------------
    get LCD working.

    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     
  • There are more ARC Linux HAPS users than Zebu ones.

    Same kernel would work fine on both, even with embedded DT, assuming the FPGA
    bitfile configuration is same

    Suggested-by: Francois Bedard
    Signed-off-by: Vineet Gupta

    Vineet Gupta
     
  • The original distinction was done as they were developed at different
    times and primarily because they are specific to UP (RTC) and SMP (GFRC).

    But given that driver handles that at runtime, (i.e. not allowing
    RTC as clocksource in SMP), we can simplify things a bit.

    Signed-off-by: Vineet Gupta

    Vineet Gupta
     

01 Nov, 2016

1 commit

  • Now when we have properly working performance counters in nSIM
    even with interrupt support (fix should be a part of upcoming
    nSIM engineering build 2016.12-005) we may enable perf support
    by default for all platforms that use nSIM for ARC cores simulation.

    Note 1: PCT node was missing for some reason in nsimosci.dts
    while all other nSIM-related .dts files already had
    PCT node for quite some time, so adding it now.

    Note 2: All defconfigs were regenerated with "make savedefconfig"
    which led to some clean-ups in nsimosci_hs_smp_defconfig:
    CONFIG_FRAMEBUFFER_CONSOLE=y was removed because it is
    automatically selected now by DRM.

    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     

01 Oct, 2016

2 commits


13 Jun, 2016

2 commits


09 May, 2016

1 commit


07 Apr, 2016

1 commit

  • As mentioned in LTP's README.ARC:
    ------------->8------------
    Requirements for the environment

    * Linux must be built with support of loop block devices. Thus it's
    necessary to enable these Linux kernel options:
    CONFIG_BLK_DEV
    CONFIG_BLK_DEV_LOOP
    ------------->8------------
    enabling loop block devices.

    That among other things lead to additional 10 fatal signals
    appearing during LTP run.

    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     

15 Mar, 2016

1 commit

  • Since ezchip network driver was adapted to little endian architecture
    this patch provides the corresponding arch/arc/{boot/dts,configs}/ updates so
    we can switch over to this device-model/driver for OSCI platform.

    Cc: Alexey Brodkin
    Signed-off-by: Lada Trimasova
    Signed-off-by: Vineet Gupta

    Lada Trimasova
     

11 Mar, 2016

1 commit

  • The problem is with CONFIG_CPU_BIG_ENDIAN=y we still needed .config
    fixup to override the the defconfig prefix to arceb-linux-

    So remove these from defconfig and let user pass this via CROSS_COMPILE
    environment var or use the default for ENDIAN (per previous patch)

    No other arch carries them in defconfigs anyways !

    Cc: Noam Camus
    Cc: Alexey Brodkin
    Cc: Anton Kolesov
    Signed-off-by: Vineet Gupta

    Vineet Gupta
     

23 Feb, 2016

1 commit

  • Even though DEVTMPFS is required when our pre-built initramfs
    is used it is not the case in general. It is perfectly possible
    to use initramfs with device nodes already populated or there
    could be other usages, see discussion below for more detials:
    http://thread.gmane.org/gmane.comp.embedded.openwrt.devel/37819/focus=37821

    This change removes mentioned dependency from arch/arc/Kconfig
    updating instead those defconfigs that are usually used with this
    kind of pre-build initramfs.

    And while at it all touched defconfigs were regenerated via
    savedefconfig and some options were removed:
    * USB is selected by other options implicitly
    * VGA_CONSOLE is disableb for ARC since
    031e29b5877f31676739dc2f847d04c2c0732034
    * EXT3_FS automatically selects EXT4_FS
    * MTDxxx and JFFS2_FS make no sense for AXS because
    AXS NAND controller is not upstreamed
    * NET_OSCI_LAN is not in upstream as well
    * ARCPGU_xxx options make no sense because ARC PGU is not yet
    in upstream and when it gets there all config options would
    be taken from devicetree

    Signed-off-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     

29 Jan, 2016

1 commit


16 Nov, 2015

1 commit

  • When building kernel with buildroot built toolchain, CROSS_COMPILE
    currently needs adjustment even if minor. This is because the defconfigs
    prefer "arc-linux-uclibc-" prefix from hand built (non buildroot) toolchain
    while buildroot provides "arc-buildroot-linux-uclibc-"

    To avoid this use the common "arc-linux-" prefix which is provided by
    buildroot and has also been in hand built tools for quite some time.

    Signed-off-by: sujayraaj
    Signed-off-by: Vineet Gupta
    [vgupta: updated changelog]

    sujayraaj
     

26 Oct, 2015

1 commit

  • DesignWare MMC Controller's transfer mode should be decided
    at runtime instead of compile-time. So we remove this config
    option and read dw_mmc's register to select DMA master.

    Signed-off-by: Shawn Lin
    Acked-by: Vineet Gupta
    Signed-off-by: Jaehoon Chung
    Signed-off-by: Ulf Hansson

    Shawn Lin
     

25 Jun, 2015

3 commits


19 Jun, 2015

3 commits


19 May, 2015

1 commit


13 Apr, 2015

1 commit


17 Dec, 2014

1 commit


13 Oct, 2014

1 commit

  • Commit c00bfd974fb0 ("ARC: [arcfpga] Get rid of legacy BVCI latency unit
    support") removed the Kconfig symbol ARC_HAS_BVCI_LAT_UNIT. And that
    symbol's entry was the only place were the symbols ARC_BOARD_ANGEL4 and
    ARC_BOARD_ML509 were used. So ARC_BOARD_ANGEL4 and ARC_BOARD_ML509 can
    be removed too.

    Signed-off-by: Paul Bolle
    Signed-off-by: Vineet Gupta

    Paul Bolle
     

05 Apr, 2014

1 commit

  • Despite the switch to right UART driver (prev patch), serial console
    still doesn't work due to missing CONFIG_SERIAL_OF_PLATFORM

    Also fix the default cmdline in DT to not refer to out-of-tree
    ARC framebuffer driver for console.

    Signed-off-by: Vineet Gupta
    Cc: #3.10, 3.12, 3.13, 3.14
    Cc: Francois Bedard

    Vineet Gupta