10 Jan, 2019

1 commit

  • commit edefae94b7b9f10d5efe32dece5a36e9d9ecc29e upstream.

    Commit 885872b722b7 ("MIPS: Octeon: Add Octeon III CN7xxx
    interface detection") added RGMII interface detection for OCTEON III,
    but it results in the following logs:

    [ 7.165984] ERROR: Unsupported Octeon model in __cvmx_helper_rgmii_probe
    [ 7.173017] ERROR: Unsupported Octeon model in __cvmx_helper_rgmii_probe

    The current RGMII routines are valid only for older OCTEONS that
    use GMX/ASX hardware blocks. On later chips AGL should be used,
    but support for that is missing in the mainline. Until that is added,
    mark the interface as disabled.

    Fixes: 885872b722b7 ("MIPS: Octeon: Add Octeon III CN7xxx interface detection")
    Signed-off-by: Aaro Koskinen
    Signed-off-by: Paul Burton
    Cc: Ralf Baechle
    Cc: James Hogan
    Cc: linux-mips@vger.kernel.org
    Cc: stable@vger.kernel.org # 4.7+
    Signed-off-by: Greg Kroah-Hartman

    Aaro Koskinen
     

14 Nov, 2018

1 commit

  • commit c0fae7e2452b90c31edd2d25eb3baf0c76b400ca upstream.

    The maximum number of interfaces is returned by
    cvmx_helper_get_number_of_interfaces(), and the value is used to access
    interface_port_count[]. When CN68XX support was added, we forgot
    to increase the array size. Fix that.

    Fixes: 2c8c3f0201333 ("MIPS: Octeon: Support additional interfaces on CN68XX")
    Signed-off-by: Aaro Koskinen
    Signed-off-by: Paul Burton
    Patchwork: https://patchwork.linux-mips.org/patch/20949/
    Cc: Ralf Baechle
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Cc: stable@vger.kernel.org # v4.3+
    Signed-off-by: Greg Kroah-Hartman

    Aaro Koskinen
     

16 Aug, 2018

1 commit

  • Pull crypto updates from Herbert Xu:
    "API:
    - Fix dcache flushing crash in skcipher.
    - Add hash finup self-tests.
    - Reschedule during speed tests.

    Algorithms:
    - Remove insecure vmac and replace it with vmac64.
    - Add public key verification for DH/ECDH.

    Drivers:
    - Decrease priority of sha-mb on x86.
    - Improve NEON latency/throughput on ARM64.
    - Add md5/sha384/sha512/des/3des to inside-secure.
    - Support eip197d in inside-secure.
    - Only register algorithms supported by the host in virtio.
    - Add cts and remove incompatible cts1 from ccree.
    - Add hisilicon SEC security accelerator driver.
    - Replace msm hwrng driver with qcom pseudo rng driver.

    Misc:
    - Centralize CRC polynomials"

    * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (121 commits)
    crypto: arm64/ghash-ce - implement 4-way aggregation
    crypto: arm64/ghash-ce - replace NEON yield check with block limit
    crypto: hisilicon - sec_send_request() can be static
    lib/mpi: remove redundant variable esign
    crypto: arm64/aes-ce-gcm - don't reload key schedule if avoidable
    crypto: arm64/aes-ce-gcm - implement 2-way aggregation
    crypto: arm64/aes-ce-gcm - operate on two input blocks at a time
    crypto: dh - make crypto_dh_encode_key() make robust
    crypto: dh - fix calculating encoded key size
    crypto: ccp - Check for NULL PSP pointer at module unload
    crypto: arm/chacha20 - always use vrev for 16-bit rotates
    crypto: ccree - allow bigger than sector XTS op
    crypto: ccree - zero all of request ctx before use
    crypto: ccree - remove cipher ivgen left overs
    crypto: ccree - drop useless type flag during reg
    crypto: ablkcipher - fix crash flushing dcache in error path
    crypto: blkcipher - fix crash flushing dcache in error path
    crypto: skcipher - fix crash flushing dcache in error path
    crypto: skcipher - remove unnecessary setting of walk->nbytes
    crypto: scatterwalk - remove scatterwalk_samebuf()
    ...

    Linus Torvalds
     

28 Jul, 2018

1 commit

  • The call to of_find_node_by_name returns a node pointer with refcount
    incremented thus it must be explicitly decremented here after the last
    usage.

    Signed-off-by: Nicholas Mc Guire
    Signed-off-by: Paul Burton
    Patchwork: https://patchwork.linux-mips.org/patch/19558/
    Cc: Ralf Baechle
    Cc: James Hogan
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org

    Nicholas Mc Guire
     

25 Jul, 2018

1 commit

  • Get rid of extern declarations in .c functions and included
    the necessary header file. Also remove unused UART declares.

    Signed-off-by: Steven J. Hill
    Signed-off-by: Paul Burton
    Patchwork: https://patchwork.linux-mips.org/patch/19477/
    Cc: linux-mips@linux-mips.org

    Steven J. Hill
     

18 Jul, 2018

1 commit

  • prom_putchar() is used centrally in early printk infrastructure therefore
    at least MIPS should agree on the function return type.

    [paul.burton@mips.com:
    - Include linux/types.h in asm/setup.h to gain the bool typedef before
    we start include asm/setup.h elsewhere.
    - Include asm/setup.h in all files that use or define prom_putchar().
    - Also standardise on signed rather than unsigned char argument.]

    Signed-off-by: Alexander Sverdlin
    Signed-off-by: Paul Burton
    Patchwork: https://patchwork.linux-mips.org/patch/19842/
    Cc: linux-mips@linux-mips.org
    Cc: Ralf Baechle
    Cc: James Hogan
    Cc: Jonas Gorski
    Cc: Florian Fainelli
    Cc: Kate Stewart
    Cc: Philippe Ombredanne

    Alexander Sverdlin
     

09 Jul, 2018

1 commit

  • Many shash algorithms set .cra_flags = CRYPTO_ALG_TYPE_SHASH. But this
    is redundant with the C structure type ('struct shash_alg'), and
    crypto_register_shash() already sets the type flag automatically,
    clearing any type flag that was already there. Apparently the useless
    assignment has just been copy+pasted around.

    So, remove the useless assignment from all the shash algorithms.

    This patch shouldn't change any actual behavior.

    Signed-off-by: Eric Biggers
    Signed-off-by: Herbert Xu

    Eric Biggers
     

25 Jun, 2018

5 commits

  • of_platform_bus_probe is deprecated in favor of of_platform_populate.
    of_platform_populate is stricter requiring compatible properties for
    matching rather than name or type. Octeon uses compatible strings for
    matching, so convert it to of_platform_populate.

    Cc: Ralf Baechle
    Cc: Paul Burton
    Cc: James Hogan
    Cc: linux-mips@linux-mips.org
    Signed-off-by: Rob Herring
    Patchwork: https://patchwork.linux-mips.org/patch/19588/
    Signed-off-by: Paul Burton
    Cc: linux-kernel@vger.kernel.org

    Rob Herring
     
  • Booleans should be assigned true/false not 1/0 as comparison is not needed

    Signed-off-by: Nicholas Mc Guire
    Patchwork: https://patchwork.linux-mips.org/patch/19559/
    Signed-off-by: Paul Burton
    Cc: James Hogan
    Cc: David Daney
    Cc: "Steven J. Hill"
    Cc: Joe Perches
    Cc: Colin Ian King
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org

    Nicholas Mc Guire
     
  • Octeon and Loongson share exactly the same code, move it into a common
    implementation, and use that implementation directly from get_arch_dma_ops.

    Also provide the expected dma-direct.h helpers directly instead of
    delegating to platform dma-coherence.h headers.

    Signed-off-by: Christoph Hellwig
    Patchwork: https://patchwork.linux-mips.org/patch/19534/
    Signed-off-by: Paul Burton
    Cc: Florian Fainelli
    Cc: David Daney
    Cc: Kevin Cernekee
    Cc: Jiaxun Yang
    Cc: Tom Bogendoerfer
    Cc: Huacai Chen
    Cc: iommu@lists.linux-foundation.org
    Cc: linux-mips@linux-mips.org

    Christoph Hellwig
     
  • Share a common set of swiotlb operations, and to instead branch out in
    __phys_to_dma/__dma_to_phys for the PCI vs non-PCI case. Also use const
    structures for the PCI methods so that attackers can't use them as
    exploit vectors.

    Signed-off-by: Christoph Hellwig
    Patchwork: https://patchwork.linux-mips.org/patch/19532/
    Signed-off-by: Paul Burton
    Cc: Florian Fainelli
    Cc: David Daney
    Cc: Kevin Cernekee
    Cc: Jiaxun Yang
    Cc: Tom Bogendoerfer
    Cc: Huacai Chen
    Cc: iommu@lists.linux-foundation.org
    Cc: linux-mips@linux-mips.org

    Christoph Hellwig
     
  • These functions are just low-level helpers for the swiotlb and dma-direct
    implementations, and should never be used by drivers.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Paul Burton
    Patchwork: https://patchwork.linux-mips.org/patch/19531/
    Signed-off-by: Paul Burton
    Cc: Florian Fainelli
    Cc: David Daney
    Cc: Kevin Cernekee
    Cc: Jiaxun Yang
    Cc: Tom Bogendoerfer
    Cc: Huacai Chen
    Cc: iommu@lists.linux-foundation.org
    Cc: linux-mips@linux-mips.org

    Christoph Hellwig
     

09 May, 2018

4 commits


11 Apr, 2018

1 commit

  • Pull MIPS updates from James Hogan:
    "These are the main MIPS changes for 4.17. Rough overview:

    (1) generic platform: Add support for Microsemi Ocelot SoCs

    (2) crypto: Add CRC32 and CRC32C HW acceleration module

    (3) Various cleanups and misc improvements

    More detailed summary:

    Miscellaneous:
    - hang more efficiently on halt/powerdown/restart
    - pm-cps: Block system suspend when a JTAG probe is present
    - expand make help text for generic defconfigs
    - refactor handling of legacy defconfigs
    - determine the entry point from the ELF file header to fix microMIPS
    for certain toolchains
    - introduce isa-rev.h for MIPS_ISA_REV and use to simplify other code

    Minor cleanups:
    - DTS: boston/ci20: Unit name cleanups and correction
    - kdump: Make the default for PHYSICAL_START always 64-bit
    - constify gpio_led in Alchemy, AR7, and TXX9
    - silence a couple of W=1 warnings
    - remove duplicate includes

    Platform support:
    Generic platform:
    - add support for Microsemi Ocelot
    - dt-bindings: Add vendor prefix for Microsemi Corporation
    - dt-bindings: Add bindings for Microsemi SoCs
    - add ocelot SoC & PCB123 board DTS files
    - MAINTAINERS: Add entry for Microsemi MIPS SoCs
    - enable crc32-mips on r6 configs

    ath79:
    - fix AR724X_PLL_REG_PCIE_CONFIG offset

    BCM47xx:
    - firmware: Use mac_pton() for MAC address parsing
    - add Luxul XAP1500/XWR1750 WiFi LEDs
    - use standard reset button for Luxul XWR-1750

    BMIPS:
    - enable CONFIG_BRCMSTB_PM in bmips_stb_defconfig for build coverage
    - add STB PM, wake-up timer, watchdog DT nodes

    Octeon:
    - drop '.' after newlines in printk calls

    ralink:
    - pci-mt7621: Enable PCIe on MT7688"

    * tag 'mips_4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips: (37 commits)
    MIPS: BCM47XX: Use standard reset button for Luxul XWR-1750
    MIPS: BCM47XX: Add Luxul XAP1500/XWR1750 WiFi LEDs
    MIPS: Make the default for PHYSICAL_START always 64-bit
    MIPS: Use the entry point from the ELF file header
    MAINTAINERS: Add entry for Microsemi MIPS SoCs
    MIPS: generic: Add support for Microsemi Ocelot
    MIPS: mscc: Add ocelot PCB123 device tree
    MIPS: mscc: Add ocelot dtsi
    dt-bindings: mips: Add bindings for Microsemi SoCs
    dt-bindings: Add vendor prefix for Microsemi Corporation
    MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset
    MIPS: pci-mt7620: Enable PCIe on MT7688
    MIPS: pm-cps: Block system suspend when a JTAG probe is present
    MIPS: VDSO: Replace __mips_isa_rev with MIPS_ISA_REV
    MIPS: BPF: Replace __mips_isa_rev with MIPS_ISA_REV
    MIPS: cpu-features.h: Replace __mips_isa_rev with MIPS_ISA_REV
    MIPS: Introduce isa-rev.h to define MIPS_ISA_REV
    MIPS: Hang more efficiently on halt/powerdown/restart
    FIRMWARE: bcm47xx_nvram: Replace mac address parsing
    MIPS: BMIPS: Add Broadcom STB watchdog nodes
    ...

    Linus Torvalds
     

20 Mar, 2018

1 commit

  • Give the basic phys_to_dma() and dma_to_phys() helpers a __-prefix and add
    the memory encryption mask to the non-prefixed versions. Use the
    __-prefixed versions directly instead of clearing the mask again in
    various places.

    Tested-by: Tom Lendacky
    Signed-off-by: Christoph Hellwig
    Reviewed-by: Thomas Gleixner
    Cc: David Woodhouse
    Cc: Joerg Roedel
    Cc: Jon Mason
    Cc: Konrad Rzeszutek Wilk
    Cc: Linus Torvalds
    Cc: Muli Ben-Yehuda
    Cc: Peter Zijlstra
    Cc: iommu@lists.linux-foundation.org
    Link: http://lkml.kernel.org/r/20180319103826.12853-13-hch@lst.de
    Signed-off-by: Ingo Molnar

    Christoph Hellwig
     

23 Feb, 2018

1 commit

  • The allocation of host_data is not null checked, leading to a null
    pointer dereference if the allocation fails. Fix this by adding a null
    check and return with -ENOMEM.

    Fixes: 64b139f97c01 ("MIPS: OCTEON: irq: add CIB and other fixes")
    Signed-off-by: Colin Ian King
    Acked-by: David Daney
    Cc: Ralf Baechle
    Cc: "Steven J. Hill"
    Cc: linux-mips@linux-mips.org
    Cc: # 4.0+
    Patchwork: https://patchwork.linux-mips.org/patch/18658/
    Signed-off-by: James Hogan

    Colin Ian King
     

19 Feb, 2018

1 commit


15 Jan, 2018

2 commits


16 Nov, 2017

1 commit

  • Pull MIPS updates from James Hogan:
    "These are the main MIPS changes for 4.15.

    Fixes:
    - ralink: Fix MT7620 PCI build issues (4.5)
    - Disable cmpxchg64() and HAVE_VIRT_CPU_ACCOUNTING_GEN for 32-bit SMP
    (4.1)
    - Fix MIPS64 FP save/restore on 32-bit kernels (4.0)
    - ptrace: Pick up ptrace/seccomp changed syscall numbers (3.19)
    - ralink: Fix MT7628 pinmux (3.19)
    - BCM47XX: Fix LED inversion on WRT54GSv1 (3.17)
    - Fix n32 core dumping as o32 since regset support (3.13)
    - ralink: Drop obsolete USB_ARCH_HAS_HCD select

    Build system:
    - Default to "generic" (multiplatform) system type instead of IP22
    - Use generic little endian MIPS32 r2 configuration as default
    defconfig instead of ip22_defconfig

    FPU emulation:
    - Fix exception generation for certain R6 FPU instructions

    SMP:
    - Allow __cpu_number_map to be larger than NR_CPUS for sparse CPU id
    spaces

    Miscellaneous:
    - Add iomem resource for kernel bss section for kexec/kdump
    - Atomics: Nudge writes on bit unlock
    - DT files: Standardise "ok" -> "okay"

    Minor cleanups:
    - Define virt_to_pfn()
    - Make thread_saved_pc static
    - Simplify 32-bit sign extension in __read_64bit_c0_split()
    - DMA: Use vma_pages() helper
    - FPU emulation: Replace unsigned with unsigned int
    - MM: Removed unused lastpfn
    - Alchemy: Make clk_ops const
    - Lasat: Use setup_timer() helper
    - ralink: Use BIT() in MT7620 PCI driver

    Platform support:

    BMIPS:
    - Enable HARDIRQS_SW_RESEND

    Broadcom BCM63XX:
    - Add clkdev lookup support
    - Update clk driver, UART driver, DTs to handle named refclk from DTs
    - Split apart various clocks to more closely match hardware
    - Add ethernet clocks

    Cavium Octeon:
    - Remove usage of cvmx_wait() in favour of __delay()

    ImgTec Pistachio:
    - DT: Drop deprecated dwmmc num-slots property

    Ingenic JZ4780:
    - Add NFS root to Ci20 defconfig
    - Add watchdog to Ci20 DT & defconfig, and allow building of watchdog
    driver with this SoC

    Generic (multiplatform):
    - Migrate xilfpga (MIPSfpga) platform to the generic platform

    Lantiq xway:
    - Fix ASC0/ASC1 clocks"

    * tag 'mips_4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips: (46 commits)
    MIPS: Add iomem resource for kernel bss section.
    MIPS: cmpxchg64() and HAVE_VIRT_CPU_ACCOUNTING_GEN don't work for 32-bit SMP
    MIPS: BMIPS: Enable HARDIRQS_SW_RESEND
    MIPS: pci: Make use of the BIT() macro inside the mt7620 driver
    MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver
    MIPS: pci: Remove duplicate define in mt7620 driver
    MIPS: ralink: Fix typo in mt7628 pinmux function
    MIPS: ralink: Fix MT7628 pinmux
    MIPS: Fix odd fp register warnings with MIPS64r2
    watchdog: jz4780: Allow selection of jz4740-wdt driver
    MIPS/ptrace: Update syscall nr on register changes
    MIPS/ptrace: Pick up ptrace/seccomp changed syscalls
    MIPS: Fix an n32 core file generation regset support regression
    MIPS: Fix MIPS64 FP save/restore on 32-bit kernels
    MIPS: page.h: Define virt_to_pfn()
    MIPS: Xilfpga: Switch to using generic defconfigs
    MIPS: generic: Add support for MIPSfpga
    MIPS: Set defconfig target to a generic system for 32r2el
    MIPS: Kconfig: Set default MIPS system type as generic
    MIPS: DTS: Remove num-slots from Pistachio SoC
    ...

    Linus Torvalds
     

08 Nov, 2017

1 commit


02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

05 Sep, 2017

2 commits


30 Aug, 2017

1 commit

  • Allow the boot_secondary SMP op to return an error to __cpu_up(), which
    will in turn return it to its caller.

    This will allow SMP implementations to return errors quickly in cases
    they they know have failed, rather than relying upon __cpu_up()
    eventually timing out waiting for the cpu_running completion.

    Signed-off-by: Paul Burton
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/17014/
    Signed-off-by: Ralf Baechle

    Paul Burton
     

29 Aug, 2017

1 commit

  • smp_ops providers do not modify their ops structures, so they should be
    made const for robustness. Since currently the MIPS kernel is not mapped
    with memory protection, this does not in itself provide any security
    benefit, but it still makes sense to make this change.

    There are also slight code size efficincies from the structure being
    made read-only, saving 128 bytes of kernel text on a
    pistachio_defconfig.
    Before:
    text data bss dec hex filename
    7187239 1772752 470224 9430215 8fe4c7 vmlinux
    After:
    text data bss dec hex filename
    7187111 1772752 470224 9430087 8fe447 vmlinux

    Signed-off-by: Matt Redfearn
    Cc: Sebastian Andrzej Siewior
    Cc: Arnd Bergmann
    Cc: Marcin Nowakowski
    Cc: Bart Van Assche
    Cc: Masahiro Yamada
    Cc: Huacai Chen
    Cc: Paul Gortmaker
    Cc: Kevin Cernekee
    Cc: Thomas Gleixner
    Cc: Doug Ledford
    Cc: James Hogan
    Cc: Joe Perches
    Cc: Florian Fainelli
    Cc: Ingo Molnar
    Cc: Paul Burton
    Cc: Andrew Morton
    Cc: Steven J. Hill
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/16784/
    Signed-off-by: Ralf Baechle

    Matt Redfearn
     

07 Aug, 2017

1 commit

  • Fix build error when CONFIG_SMP is turned off:

    CC [M] arch/mips/cavium-octeon/octeon-usb.o
    arch/mips/cavium-octeon/octeon-usb.c: In function
    ‘dwc3_octeon_device_init’:
    arch/mips/cavium-octeon/octeon-usb.c:540:4: error: implicit declaration
    of function ‘devm_iounmap’ [-Werror=implicit-function-declaration]
    devm_iounmap(&pdev->dev, base);

    Signed-off-by: Steven J. Hill
    Reviewed-by: James Hogan
    Tested-by: Matt Redfearn
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/16907/
    Signed-off-by: Ralf Baechle

    Steven J. Hill
     

13 May, 2017

1 commit

  • Pull MIPS updates from James Hogan:
    "math-emu:
    - Add missing clearing of BLTZALL and BGEZALL emulation counters
    - Fix BC1EQZ and BC1NEZ condition handling
    - Fix BLEZL and BGTZL identification

    BPF:
    - Add JIT support for SKF_AD_HATYPE
    - Use unsigned access for unsigned SKB fields
    - Quit clobbering callee saved registers in JIT code
    - Fix multiple problems in JIT skb access helpers

    Loongson 3:
    - Select MIPS_L1_CACHE_SHIFT_6

    Octeon:
    - Remove vestiges of CONFIG_CAVIUM_OCTEON_2ND_KERNEL
    - Remove unused L2C types and macros.
    - Remove unused SLI types and macros.
    - Fix compile error when USB is not enabled.
    - Octeon: Remove unused PCIERCX types and macros.
    - Octeon: Clean up platform code.

    SNI:
    - Remove recursive include of cpu-feature-overrides.h

    Sibyte:
    - Export symbol periph_rev to sb1250-mac network driver.
    - Fix Kconfig warning.

    Generic platform:
    - Enable Root FS on NFS in generic_defconfig

    SMP-MT:
    - Use CPU interrupt controller IPI IRQ domain support

    UASM:
    - Add support for LHU for uasm.
    - Remove needless ISA abstraction

    mm:
    - Add 48-bit VA space and 4-level page tables for 4K pages.

    PCI:
    - Add controllers before the specified head

    irqchip driver for MIPS CPU:
    - Replace magic 0x100 with IE_SW0
    - Prepare for non-legacy IRQ domains
    - Introduce IPI IRQ domain support

    MAINTAINERS:
    - Update email-id of Rahul Bedarkar

    NET:
    - sb1250-mac: Add missing MODULE_LICENSE()

    CPUFREQ:
    - Loongson2: drop set_cpus_allowed_ptr()

    Misc:
    - Disable Werror when W= is set
    - Opt into HAVE_COPY_THREAD_TLS
    - Enable GENERIC_CPU_AUTOPROBE
    - Use common outgoing-CPU-notification code
    - Remove dead define of ST_OFF
    - Remove CONFIG_ARCH_HAS_ILOG2_U{32,64}
    - Stengthen IPI IRQ domain sanity check
    - Remove confusing else statement in __do_page_fault()
    - Don't unnecessarily include kmalloc.h into .
    - Delete unused definition of SMP_CACHE_SHIFT.
    - Delete redundant definition of SMP_CACHE_BYTES"

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (39 commits)
    MIPS: Sibyte: Fix Kconfig warning.
    MIPS: Sibyte: Export symbol periph_rev to sb1250-mac network driver.
    NET: sb1250-mac: Add missing MODULE_LICENSE()
    MAINTAINERS: Update email-id of Rahul Bedarkar
    MIPS: Remove confusing else statement in __do_page_fault()
    MIPS: Stengthen IPI IRQ domain sanity check
    MIPS: smp-mt: Use CPU interrupt controller IPI IRQ domain support
    irqchip: mips-cpu: Introduce IPI IRQ domain support
    irqchip: mips-cpu: Prepare for non-legacy IRQ domains
    irqchip: mips-cpu: Replace magic 0x100 with IE_SW0
    MIPS: Remove CONFIG_ARCH_HAS_ILOG2_U{32,64}
    MIPS: generic: Enable Root FS on NFS in generic_defconfig
    MIPS: mach-rm: Remove recursive include of cpu-feature-overrides.h
    MIPS: Opt into HAVE_COPY_THREAD_TLS
    CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()
    MIPS: uasm: Remove needless ISA abstraction
    MIPS: Remove dead define of ST_OFF
    MIPS: Use common outgoing-CPU-notification code
    MIPS: math-emu: Fix BC1EQZ and BC1NEZ condition handling
    MIPS: r2-on-r6-emu: Clear BLTZALL and BGEZALL debugfs counters
    ...

    Linus Torvalds
     

09 May, 2017

1 commit


10 Apr, 2017

4 commits


06 Apr, 2017

1 commit


08 Mar, 2017

1 commit

  • After the split of linux/sched.h, several platforms in arch/mips stopped building.

    Add the respective additional #include statements to fix the problem I first
    tried adding these into asm/processor.h, but ran into circular header
    dependencies with that which I could not figure out.

    The commit I listed as causing the problem is the branch merge, as there is
    likely a combination of multiple patches in that branch.

    Signed-off-by: Arnd Bergmann
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-mips@linux-mips.org
    Cc: ralf@linux-mips.org
    Fixes: 1827adb11ad2 ("Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip")
    Link: http://lkml.kernel.org/r/20170308072931.3836696-1-arnd@arndb.de
    Signed-off-by: Ingo Molnar

    Arnd Bergmann
     

02 Mar, 2017

1 commit


26 Feb, 2017

1 commit

  • Pull rdma DMA mapping updates from Doug Ledford:
    "Drop IB DMA mapping code and use core DMA code instead.

    Bart Van Assche noted that the ib DMA mapping code was significantly
    similar enough to the core DMA mapping code that with a few changes it
    was possible to remove the IB DMA mapping code entirely and switch the
    RDMA stack to use the core DMA mapping code.

    This resulted in a nice set of cleanups, but touched the entire tree
    and has been kept separate for that reason."

    * tag 'for-next-dma_ops' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma: (37 commits)
    IB/rxe, IB/rdmavt: Use dma_virt_ops instead of duplicating it
    IB/core: Remove ib_device.dma_device
    nvme-rdma: Switch from dma_device to dev.parent
    RDS: net: Switch from dma_device to dev.parent
    IB/srpt: Modify a debug statement
    IB/srp: Switch from dma_device to dev.parent
    IB/iser: Switch from dma_device to dev.parent
    IB/IPoIB: Switch from dma_device to dev.parent
    IB/rxe: Switch from dma_device to dev.parent
    IB/vmw_pvrdma: Switch from dma_device to dev.parent
    IB/usnic: Switch from dma_device to dev.parent
    IB/qib: Switch from dma_device to dev.parent
    IB/qedr: Switch from dma_device to dev.parent
    IB/ocrdma: Switch from dma_device to dev.parent
    IB/nes: Remove a superfluous assignment statement
    IB/mthca: Switch from dma_device to dev.parent
    IB/mlx5: Switch from dma_device to dev.parent
    IB/mlx4: Switch from dma_device to dev.parent
    IB/i40iw: Remove a superfluous assignment statement
    IB/hns: Switch from dma_device to dev.parent
    ...

    Linus Torvalds