06 Oct, 2020

1 commit


13 Apr, 2020

1 commit

  • As of today the CONFIG_USB isn't explicitly present in HSDK defconfig
    as it is implicitly forcibly enabled by UDL driver which selects CONFIG_USB
    in its kconfig.
    The commit 5d50bd440bc2 ("drm/udl: Make udl driver depend on CONFIG_USB")
    reverse the dependencies between UDL and USB so UDL now depends on
    CONFIG_USB and not selects it. This introduces regression for ARC HSDK
    board as HSDK defconfig wasn't adjusted and now it misses USB support
    due to lack of CONFIG_USB enabled.

    Fix that.

    Cc: # 5.6.x
    Fixes: 5d50bd440bc2 ("drm/udl: Make udl driver depend on CONFIG_USB")
    Signed-off-by: Eugeniy Paltsev
    Signed-off-by: Vineet Gupta

    Eugeniy Paltsev
     

10 Feb, 2020

1 commit

  • CONFIG_IOSCHED_DEADLINE and CONFIG_IOSCHED_CFQ are gone since
    commit f382fb0bcef4 ("block: remove legacy IO schedulers").

    The IOSCHED_DEADLINE was replaced by MQ_IOSCHED_DEADLINE and it will be
    now enabled by default (along with MQ_IOSCHED_KYBER).

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Vineet Gupta

    Krzysztof Kozlowski
     

05 Dec, 2019

1 commit

  • Pull ARC updates from Vineet Gupta

    - Jump Label support for ARC

    - kmemleak enabled

    - arc mm backend TLB Miss / flush optimizations

    - nSIM platform switching to dwuart (vs. arcuart) and ensuing defconfig
    updates and cleanups

    - axs platform pll / video-mode updates

    * tag 'arc-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
    ARC: add kmemleak support
    ARC: [plat-axs10x]: remove hardcoded video mode from bootargs
    ARC: [plat-axs10x]: use pgu pll instead of fixed clock
    ARC: ARCv2: jump label: implement jump label patching
    ARC: mm: tlb flush optim: elide redundant uTLB invalidates for MMUv3
    ARC: mm: tlb flush optim: elide repeated uTLB invalidate in loop
    ARC: mm: tlb flush optim: Make TLBWriteNI fallback to TLBWrite if not available
    ARC: mm: TLB Miss optim: avoid re-reading ECR
    ARCv2: mm: TLB Miss optim: Use double world load/stores LDD/STD
    ARCv2: mm: TLB Miss optim: SMP builds can cache pgd pointer in mmu scratch reg
    ARC: nSIM_700: remove unused network options
    ARC: nSIM_700: switch to DW UART usage
    ARC: merge HAPS-HS with nSIM-HS configs
    ARC: HAPS: cleanup defconfigs from unused ETH drivers
    ARC: HAPS: add HIGHMEM memory zone to DTS
    ARC: HAPS: use same UART configuration everywhere
    ARC: HAPS: cleanup defconfigs from unused IO-related options
    ARC: regenerate nSIM and HAPS defconfigs

    Linus Torvalds
     

02 Dec, 2019

1 commit

  • Pull sysctl system call removal from Eric Biederman:
    "As far as I can tell we have reached the point where no one enables
    the sysctl system call anymore. It still is enabled in a few
    defconfigs but they are mostly the rarely used one and in asking
    people about that it was more cut & paste enabled than anything else.

    This is single commit that just deletes code. Leaving just enough code
    so that the deprecated sysctl warning continues to be printed. If my
    analysis turns out to be wrong and someone actually cares it will be
    easy to revert this commit and have the system call again.

    There was one new xtensa defconfig in linux-next that enabled the
    system call this cycle and when asked about it the maintainer of the
    code replied that it was not enabled on purpose. As of today's
    linux-next tree that defconfig no longer enables the system call.

    What we saw in the review discussion was that if we go a step farther
    than my patch and mess with uapi headers there are pieces of code that
    won't compile, but nothing minds the system call actually disappearing
    from the kernel"

    Link: https://lore.kernel.org/lkml/201910011140.EA0181F13@keescook/

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
    sysctl: Remove the sysctl system call

    Linus Torvalds
     

27 Nov, 2019

1 commit

  • This system call has been deprecated almost since it was introduced, and
    in a survey of the linux distributions I can no longer find any of them
    that enable CONFIG_SYSCTL_SYSCALL. The only indication that I can find
    that anyone might care is that a few of the defconfigs in the kernel
    enable CONFIG_SYSCTL_SYSCALL. However this appears in only 31 of 414
    defconfigs in the kernel, so I suspect this symbols presence is simply
    because it is harmless to include rather than because it is necessary.

    As there appear to be no users of the sysctl system call, remove the
    code. As this removes one of the few uses of the internal kernel mount
    of proc I hope this allows for even more simplifications of the proc
    filesystem.

    Cc: Alex Smith
    Cc: Anders Berg
    Cc: Apelete Seketeli
    Cc: Arnd Bergmann
    Cc: Chee Nouk Phoon
    Cc: Chris Zankel
    Cc: Christian Ruppert
    Cc: Greg Ungerer
    Cc: Harvey Hunt
    Cc: Helge Deller
    Cc: Hongliang Tao
    Cc: Hua Yan
    Cc: Huacai Chen
    Cc: John Crispin
    Cc: Jonas Jensen
    Cc: Josh Boyer
    Cc: Jun Nie
    Cc: Kevin Hilman
    Cc: Kevin Wells
    Cc: Kumar Gala
    Cc: Lars-Peter Clausen
    Cc: Ley Foon Tan
    Cc: Linus Walleij
    Cc: Markos Chandras
    Cc: Max Filippov
    Cc: Noam Camus
    Cc: Olof Johansson
    Cc: Paul Burton
    Cc: Paul Mundt
    Cc: Phil Edworthy
    Cc: Pierrick Hascoet
    Cc: Ralf Baechle
    Cc: Roland Stigge
    Cc: Santosh Shilimkar
    Cc: Scott Telford
    Cc: Stephen Boyd
    Cc: Steven J. Hill
    Cc: Tanmay Inamdar
    Cc: Vineet Gupta
    Cc: Wolfram Sang
    Acked-by: Andi Kleen
    Reviewed-by: Kees Cook
    Signed-off-by: "Eric W. Biederman"

    Eric W. Biederman
     

29 Oct, 2019

6 commits


23 Oct, 2019

2 commits


04 Sep, 2019

1 commit

  • arch/arc/Makefile overrides -O2 with -O3. This is the only user of
    ARCH_CFLAGS. There is no user of ARCH_CPPFLAGS or ARCH_AFLAGS.
    My plan is to remove ARCH_{CPP,A,C}FLAGS after refactoring the ARC
    Makefile.

    Currently, ARC has no way to enable -Wmaybe-uninitialized because both
    -O3 and -Os disable it. Enabling it will be useful for compile-testing.
    This commit allows allmodconfig (, which defaults to -O2) to enable it.

    Add CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y to all the defconfig files
    in arch/arc/configs/ in order to keep the current config settings.

    Signed-off-by: Masahiro Yamada
    Acked-by: Vineet Gupta

    Masahiro Yamada
     

17 Jul, 2019

1 commit

  • Pull ARC updates from Vineet Gupta:

    - long due rewrite of do_page_fault

    - refactoring of entry/exit code to utilize the double load/store
    instructions

    - hsdk platform updates

    * tag 'arc-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
    ARC: [plat-hsdk]: Enable AXI DW DMAC in defconfig
    ARC: [plat-hsdk]: enable DW SPI controller
    ARC: hide unused function unw_hdr_alloc
    ARC: [haps] Add Virtio support
    ARCv2: entry: simplify return to Delay Slot via interrupt
    ARC: entry: EV_Trap expects r10 (vs. r9) to have exception cause
    ARCv2: entry: rewrite to enable use of double load/stores LDD/STD
    ARCv2: entry: avoid a branch
    ARCv2: entry: push out the Z flag unclobber from common EXCEPTION_PROLOGUE
    ARCv2: entry: comments about hardware auto-save on taken interrupts
    ARC: mm: do_page_fault refactor #8: release mmap_sem sooner
    ARC: mm: do_page_fault refactor #7: fold the various error handling
    ARC: mm: do_page_fault refactor #6: error handlers to use same pattern
    ARC: mm: do_page_fault refactor #5: scoot no_context to end
    ARC: mm: do_page_fault refactor #4: consolidate retry related logic
    ARC: mm: do_page_fault refactor #3: tidyup vma access permission code
    ARC: mm: do_page_fault refactor #2: remove short lived variable
    ARC: mm: do_page_fault refactor #1: remove label @good_area

    Linus Torvalds
     

08 Jul, 2019

3 commits

  • For some reasons my previous patch "Enable AXI DW DMAC support"
    was applied only partially (only device tree part).
    So enable AXI DW DMAC in HSDK defconfig to be able to use it in
    verification flow.

    Signed-off-by: Eugeniy Paltsev
    Signed-off-by: Vineet Gupta

    Eugeniy Paltsev
     
  • HSDK SoC has DW SPI controller. Enable it in preparation of
    enabling on-board SPI peripherals.

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

    Eugeniy Paltsev
     
  • 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: Alexey Brodkin
    Cc: Rob Herring
    Signed-off-by: Vineet Gupta

    Alexey Brodkin
     

15 Jun, 2019

1 commit

  • Commit 5318321d367c ("samples: disable CONFIG_SAMPLES for UML") used
    a big hammer to fix the build errors under the samples/ directory.
    Only some samples actually include uapi headers from usr/include.

    Introduce CONFIG_HEADERS_INSTALL since 'depends on HEADERS_INSTALL' is
    clearer than 'depends on !UML'. If this option is enabled, uapi headers
    are installed before starting directory descending.

    I added 'depends on HEADERS_INSTALL' to per-sample CONFIG options.
    This allows UML to compile some samples.

    $ make ARCH=um allmodconfig samples/
    [ snip ]
    CC [M] samples/configfs/configfs_sample.o
    CC [M] samples/kfifo/bytestream-example.o
    CC [M] samples/kfifo/dma-example.o
    CC [M] samples/kfifo/inttype-example.o
    CC [M] samples/kfifo/record-example.o
    CC [M] samples/kobject/kobject-example.o
    CC [M] samples/kobject/kset-example.o
    CC [M] samples/trace_events/trace-events-sample.o
    CC [M] samples/trace_printk/trace-printk.o
    AR samples/vfio-mdev/built-in.a
    AR samples/built-in.a

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

29 May, 2019

2 commits


07 Apr, 2019

1 commit

  • Currently support for 64-bit sector_t and blkcnt_t is optional on 32-bit
    architectures. These types are required to support block device and/or
    file sizes larger than 2 TiB, and have generally defaulted to on for
    a long time. Enabling the option only increases the i386 tinyconfig
    size by 145 bytes, and many data structures already always use
    64-bit values for their in-core and on-disk data structures anyway,
    so there should not be a large change in dynamic memory usage either.

    Dropping this option removes a somewhat weird non-default config that
    has cause various bugs or compiler warnings when actually used.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Jens Axboe

    Christoph Hellwig
     

21 Mar, 2019

1 commit

  • Pull ARC updates from Vineet Gupta:

    - unaligned access support for HS cores

    - Removed extra memory barrier around spinlock code

    - HSDK platform updates: enable dmac, reset

    - some more boot logging updates

    - misc minor fixes

    * tag 'arc-5.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
    arch: arc: Kconfig: pedantic formatting
    ARCv2: spinlock: remove the extra smp_mb before lock, after unlock
    ARC: unaligned: relax the check for gcc supporting -mno-unaligned-access
    ARC: boot log: cut down on verbosity
    ARCv2: boot log: refurbish HS core/release identification
    arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
    ARC: u-boot args: check that magic number is correct
    ARC: perf: bpok condition only exists for ARCompact
    ARCv2: Add explcit unaligned access support (and ability to disable too)
    ARCv2: lib: introduce memcpy optimized for unaligned access
    ARC: [plat-hsdk]: Enable AXI DW DMAC support
    ARC: [plat-hsdk]: Add reset controller handle to manage USB reset
    ARC: DTB: [scripted] fix node name and address spelling

    Linus Torvalds
     

08 Mar, 2019

1 commit

  • This Kconfig option was removed during v4.19 development in commit
    771c035372a0 ("deprecate the '__deprecated' attribute warnings entirely
    and for good") so there's no point to keep it in defconfigs any longer.

    FWIW defconfigs were patched with:
    --------------------------->8----------------------
    find . -name *_defconfig -exec sed -i '/CONFIG_ENABLE_WARN_DEPRECATED/d' {} \;
    --------------------------->8----------------------

    Link: http://lkml.kernel.org/r/20190128152434.41969-1-abrodkin@synopsys.com
    Signed-off-by: Alexey Brodkin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Brodkin
     

26 Feb, 2019

1 commit

  • We have now a HSDK device in our kernelci lab, but kernel builded via
    the hsdk_defconfig lacks ramfs supports, so it cannot boot kernelci jobs
    yet.

    So this patch enable CONFIG_BLK_DEV_RAM in hsdk_defconfig.

    Signed-off-by: Corentin Labbe
    Acked-by: Alexey Brodkin
    Signed-off-by: Vineet Gupta

    Corentin Labbe
     

22 Feb, 2019

1 commit

  • After reworking U-boot args handling code and adding paranoid
    arguments check we can eliminate CONFIG_ARC_UBOOT_SUPPORT and
    enable uboot support unconditionally.

    For JTAG case we can assume that core registers will come up
    reset value of 0 or in worst case we rely on user passing
    '-on=clear_regs' to Metaware debugger.

    Cc: stable@vger.kernel.org
    Tested-by: Corentin LABBE
    Signed-off-by: Eugeniy Paltsev
    Signed-off-by: Vineet Gupta

    Eugeniy Paltsev
     

01 Dec, 2018

1 commit

  • 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

    Kevin Hilman
     

22 Nov, 2018

1 commit

  • 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

    Alexey Brodkin
     

13 Nov, 2018

1 commit


28 Aug, 2018

2 commits

  • 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

    Alexey Brodkin
     
  • - Remove CONFIG_DEFAULT_HOSTNAME from defconfigs

    There's no reason to set the same hostname to all ARC boards
    by default. It usually gets overwritten by init scripts anyways.

    - Remove disabled CONFIG_DEVKMEM from defconfigs

    It is disabled by default

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

    Alexey Brodkin
     

10 Jul, 2018

2 commits

  • 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

    Alexey Brodkin
     
  • Since commit eedf265aa003 ("devpts: Make each mount of devpts an
    independent filesystem.") CONFIG_DEVPTS_MULTIPLE_INSTANCES isn't needed
    in the defconfig anymore.

    Signed-off-by: Anders Roxell
    Signed-off-by: Vineet Gupta

    Anders Roxell
     

02 Feb, 2018

1 commit

  • Pull driver core updates from Greg KH:
    "Here is the set of "big" driver core patches for 4.16-rc1.

    The majority of the work here is in the firmware subsystem, with
    reworks to try to attempt to make the code easier to handle in the
    long run, but no functional change. There's also some tree-wide sysfs
    attribute fixups with lots of acks from the various subsystem
    maintainers, as well as a handful of other normal fixes and changes.

    And finally, some license cleanups for the driver core and sysfs code.

    All have been in linux-next for a while with no reported issues"

    * tag 'driver-core-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (48 commits)
    device property: Define type of PROPERTY_ENRTY_*() macros
    device property: Reuse property_entry_free_data()
    device property: Move property_entry_free_data() upper
    firmware: Fix up docs referring to FIRMWARE_IN_KERNEL
    firmware: Drop FIRMWARE_IN_KERNEL Kconfig option
    USB: serial: keyspan: Drop firmware Kconfig options
    sysfs: remove DEBUG defines
    sysfs: use SPDX identifiers
    drivers: base: add coredump driver ops
    sysfs: add attribute specification for /sysfs/devices/.../coredump
    test_firmware: fix missing unlock on error in config_num_requests_store()
    test_firmware: make local symbol test_fw_config static
    sysfs: turn WARN() into pr_warn()
    firmware: Fix a typo in fallback-mechanisms.rst
    treewide: Use DEVICE_ATTR_WO
    treewide: Use DEVICE_ATTR_RO
    treewide: Use DEVICE_ATTR_RW
    sysfs.h: Use octal permissions
    component: add debugfs support
    bus: simple-pm-bus: convert bool SIMPLE_PM_BUS to tristate
    ...

    Linus Torvalds
     

25 Jan, 2018

1 commit

  • It doesn't actually do anything. Merge its help text into
    EXTRA_FIRMWARE.

    Fixes: 5620a0d1aacd ("firmware: delete in-kernel firmware")
    Fixes: 0946b2fb38fd ("firmware: cleanup FIRMWARE_IN_KERNEL message")
    Signed-off-by: Benjamin Gilbert
    Signed-off-by: Robin H. Johnson
    Signed-off-by: Greg Kroah-Hartman

    Benjamin Gilbert
     

21 Dec, 2017

1 commit

  • Currently there're 2 different implementations of the driver for
    DisplayLink USB2.0-to-HDMI/DVI adapters: older FBDEV and modern true
    DRM.

    We initially decided to use FBDEV version just because with it
    /dev/fbX is usable from user-space while in DRM version
    with DRM_FBDEV_EMULATION user-space cannot draw anything on a real
    screen, for more info read [1].

    But today /dev/fbX is not that important as more and more software
    projects switch to use of DRI (/dev/dri/cardX).

    But what's even more important DRM driver allows building of complicated
    graphics processing chains. The most important for us is rendering of
    3D on a dedicated GPU while outputting video through a simpler
    bitstreamer like DisplayLink. So let's use much more future-proof
    driver from now on.

    [1] https://lists.freedesktop.org/archives/dri-devel/2017-December/159519.html

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

    Alexey Brodkin
     

10 Oct, 2017

1 commit


06 Oct, 2017

1 commit


04 Oct, 2017

1 commit