04 Dec, 2015

1 commit

  • ghash_clmulni_intel fails to load on Linux 4.3+ with the following message:
    "modprobe: ERROR: could not insert 'ghash_clmulni_intel': Invalid argument"

    After 8996eafdc ("crypto: ahash - ensure statesize is non-zero") all ahash
    drivers are required to implement import()/export(), and must have a non-
    zero statesize.

    This patch has been tested with the algif_hash interface. The calculated
    digest values, after several rounds of import()s and export()s, match those
    calculated by tcrypt.

    Signed-off-by: Rui Wang
    Signed-off-by: Herbert Xu

    Wang, Rui Y
     

16 Nov, 2015

3 commits

  • Pull perf updates from Thomas Gleixner:
    "Mostly updates to the perf tool plus two fixes to the kernel core code:

    - Handle tracepoint filters correctly for inherited events (Peter
    Zijlstra)

    - Prevent a deadlock in perf_lock_task_context (Paul McKenney)

    - Add missing newlines to some pr_err() calls (Arnaldo Carvalho de
    Melo)

    - Print full source file paths when using 'perf annotate --print-line
    --full-paths' (Michael Petlan)

    - Fix 'perf probe -d' when just one out of uprobes and kprobes is
    enabled (Wang Nan)

    - Add compiler.h to list.h to fix 'make perf-tar-src-pkg' generated
    tarballs, i.e. out of tree building (Arnaldo Carvalho de Melo)

    - Add the llvm-src-base.c and llvm-src-kbuild.c files, generated by
    the 'perf test' LLVM entries, when running it in-tree, to
    .gitignore (Yunlong Song)

    - libbpf error reporting improvements, using a strerror interface to
    more precisely tell the user about problems with the provided
    scriptlet, be it in C or as a ready made object file (Wang Nan)

    - Do not be case sensitive when searching for matching 'perf test'
    entries (Arnaldo Carvalho de Melo)

    - Inform the user about objdump failures in 'perf annotate' (Andi
    Kleen)

    - Improve the LLVM 'perf test' entry, introduce a new ones for BPF
    and kbuild tests to check the environment used by clang to compile
    .c scriptlets (Wang Nan)"

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (32 commits)
    perf/x86/intel/rapl: Remove the unused RAPL_EVENT_DESC() macro
    tools include: Add compiler.h to list.h
    perf probe: Verify parameters in two functions
    perf session: Add missing newlines to some pr_err() calls
    perf annotate: Support full source file paths for srcline fix
    perf test: Add llvm-src-base.c and llvm-src-kbuild.c to .gitignore
    perf: Fix inherited events vs. tracepoint filters
    perf: Disable IRQs across RCU RS CS that acquires scheduler lock
    perf test: Do not be case sensitive when searching for matching tests
    perf test: Add 'perf test BPF'
    perf test: Enhance the LLVM tests: add kbuild test
    perf test: Enhance the LLVM test: update basic BPF test program
    perf bpf: Improve BPF related error messages
    perf tools: Make fetch_kernel_version() publicly available
    bpf tools: Add new API bpf_object__get_kversion()
    bpf tools: Improve libbpf error reporting
    perf probe: Cleanup find_perf_probe_point_from_map to reduce redundancy
    perf annotate: Inform the user about objdump failures in --stdio
    perf stat: Make stat options global
    perf sched latency: Fix thread pid reuse issue
    ...

    Linus Torvalds
     
  • Pull x86 fixes from Thomas Gleixner:
    "A couple of fixes and updates related to x86:

    - Fix the W+X check regression on XEN

    - The real fix for the low identity map trainwreck

    - Probe legacy PIC early instead of unconditionally allocating legacy
    irqs

    - Add cpu verification to long mode entry

    - Adjust the cache topology to AMD Fam17H systems

    - Let Merrifield use the TSC across S3"

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/cpu: Call verify_cpu() after having entered long mode too
    x86/setup: Fix low identity map for >= 2GB kernel range
    x86/mm: Skip the hypervisor range when walking PGD
    x86/AMD: Fix last level cache topology for AMD Fam17h systems
    x86/irq: Probe for PIC presence before allocating descs for legacy IRQs
    x86/cpu/intel: Enable X86_FEATURE_NONSTOP_TSC_S3 for Merrifield

    Linus Torvalds
     
  • Pull MIPS updates from Ralf Baechle:
    "These are the highlists of the main MIPS pull request for 4.4:

    - Add latencytop support
    - Support appended DTBs
    - VDSO support and initially use it for gettimeofday.
    - Drop the .MIPS.abiflags and ELF NOTE sections from vmlinux
    - Support for the 5KE, an internal test core.
    - Switch all MIPS platfroms to libata drivers.
    - Improved support, cleanups for ralink and Lantiq platforms.
    - Support for the new xilfpga platform.
    - A number of DTB improvments for BMIPS.
    - Improved support for CM and CPS.
    - Minor JZ4740 and BCM47xx enhancements"

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (120 commits)
    MIPS: idle: add case for CPU_5KE
    MIPS: Octeon: Support APPENDED_DTB
    MIPS: vmlinux: create a section for appended DTB
    MIPS: Clean up compat_siginfo_t
    MIPS: Fix PAGE_MASK definition
    MIPS: BMIPS: Enable GZIP ramdisk and timed printks
    MIPS: Add xilfpga defconfig
    MIPS: xilfpga: Add mipsfpga platform code
    MIPS: xilfpga: Add xilfpga device tree files.
    dt-bindings: MIPS: Document xilfpga bindings and boot style
    MIPS: Make MIPS_CMDLINE_DTB default
    MIPS: Make the kernel arguments from dtb available
    MIPS: Use USE_OF as the guard for appended dtb
    MIPS: BCM63XX: Use pr_* instead of printk
    MIPS: Loongson: Cleanup CONFIG_LOONGSON_SUSPEND.
    MIPS: lantiq: Disable xbar fpi burst mode
    MIPS: lantiq: Force the crossbar to big endian
    MIPS: lantiq: Initialize the USB core on boot
    MIPS: lantiq: Return correct value for fpi clock on ar9
    MIPS: ralink: Add missing clock on rt305x
    ...

    Linus Torvalds
     

15 Nov, 2015

1 commit

  • Pull ARC fixes from Vineet Gupta:
    "Found a couple of brown paper bag bugs with the prev pull request
    (including a SMP build breakage report from Guenter). Since these are
    urgent I also decided to send over a bunch of other pending fixes
    which could have otherwise waited an rc or two.

    Summary:

    - A bunch of brown paper bag bugs (MAINTAINERS list email, SMP build
    failure)
    - cpu_relax() now compiler barrier for UP as well
    - handling of userspace Bus Errors for ARCompact builds"

    * tag 'arc-4.4-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
    ARC: Fix silly typo in MAINTAINERS file
    ARC: cpu_relax() to be compiler barrier even for UP
    ARC: use ASL assembler mnemonic
    ARC: [arcompact] Handle bus error from userspace as Interrupt not exception
    ARC: remove extraneous header include
    ARCv2: lib: memcpy: use local symbols

    Linus Torvalds
     

14 Nov, 2015

4 commits

  • cpu_relax() on ARC has been barrier only for SMP (and no-op for UP). Per
    recent discussions, it is safer to make it a compiler barrier
    unconditionally.

    Link: http://lkml.kernel.org/r/53A7D3AA.9020100@synopsys.com
    Acked-by: Peter Zijlstra
    Signed-off-by: Vineet Gupta

    Vineet Gupta
     
  • ARCompact and ARCv2 only have ASL, while binutils used to support LSL as
    a alias mnemonic.

    Newer binutils (upstream) don't want to do that so replace it.

    Signed-off-by: Vineet Gupta

    Vineet Gupta
     
  • Bus errors from userspace on ARCompact based cores are handled by core
    as a high priority L2 interrupt but current code treated it as interrupt
    Handling an interrupt like exception is certainly not going to go unnoticed.
    (and it worked so far as we never saw a Bus error from userspace until
    IPPK guys tested a DDR controller with ECC error detection etc hence
    needed to explicitly trigger/handle such errors)

    - So move mem_service exception handler from common code into ARCv2 code.
    - In ARCompact code, define mem_service as L2 interrupt handler which
    just drops down to pure kernel mode and goes of to enqueue SIGBUS

    Reported-by: Nelson Pereira
    Tested-by: Ana Martins
    Signed-off-by: Vineet Gupta

    Vineet Gupta
     
  • Signed-off-by: Vineet Gupta

    Vineet Gupta
     

13 Nov, 2015

3 commits

  • Pull arm64 fixes and clean-ups from Catalin Marinas:
    "Here's a second pull request for this merging window with some
    fixes/clean-ups:

    - __cmpxchg_double*() return type fix to avoid truncation of a long
    to int and subsequent logical "not" in cmpxchg_double()
    misinterpreting the operation success/failure

    - BPF fixes for mod and div by zero

    - Fix compilation with STRICT_MM_TYPECHECKS enabled

    - VDSO build fix without libgcov

    - Some static and __maybe_unused annotations

    - Kconfig clean-up (FRAME_POINTER)

    - defconfig update for CRYPTO_CRC32_ARM64"

    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
    arm64: suspend: make hw_breakpoint_restore static
    arm64: mmu: make split_pud and fixup_executable static
    arm64: smp: make of_parse_and_init_cpus static
    arm64: use linux/types.h in kvm.h
    arm64: build vdso without libgcov
    arm64: mark cpus_have_hwcap as __maybe_unused
    arm64: remove redundant FRAME_POINTER kconfig option and force to select it
    arm64: fix R/O permissions of FDT mapping
    arm64: fix STRICT_MM_TYPECHECKS issue in PTE_CONT manipulation
    arm64: bpf: fix mod-by-zero case
    arm64: bpf: fix div-by-zero case
    arm64: Enable CRYPTO_CRC32_ARM64 in defconfig
    arm64: cmpxchg_dbl: fix return value type

    Linus Torvalds
     
  • Pull h8300 updates from Yoshinori Sato:
    "Some bug fixes"

    * tag 'for-4.4' of git://git.osdn.jp/gitroot/uclinux-h8/linux:
    h8300: enable CLKSRC_OF
    h8300: Don't set CROSS_COMPILE unconditionally
    asm-generic: {get,put}_user ptr argument evaluate only 1 time
    h8300: bit io fix
    h8300: zImage fix
    h8300: register address fix
    h8300: Fix alignment for .data
    h8300: unaligned divcr register support.

    Linus Torvalds
     
  • Pull second batch of kvm updates from Paolo Bonzini:
    "Four changes:

    - x86: work around two nasty cases where a benign exception occurs
    while another is being delivered. The endless stream of exceptions
    causes an infinite loop in the processor, which not even NMIs or
    SMIs can interrupt; in the virt case, there is no possibility to
    exit to the host either.

    - x86: support for Skylake per-guest TSC rate. Long supported by
    AMD, the patches mostly move things from there to common
    arch/x86/kvm/ code.

    - generic: remove local_irq_save/restore from the guest entry and
    exit paths when context tracking is enabled. The patches are a few
    months old, but we discussed them again at kernel summit. Andy
    will pick up from here and, in 4.5, try to remove it from the user
    entry/exit paths.

    - PPC: Two bug fixes, see merge commit 370289756becc for details"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (21 commits)
    KVM: x86: rename update_db_bp_intercept to update_bp_intercept
    KVM: svm: unconditionally intercept #DB
    KVM: x86: work around infinite loop in microcode when #AC is delivered
    context_tracking: avoid irq_save/irq_restore on guest entry and exit
    context_tracking: remove duplicate enabled check
    KVM: VMX: Dump TSC multiplier in dump_vmcs()
    KVM: VMX: Use a scaled host TSC for guest readings of MSR_IA32_TSC
    KVM: VMX: Setup TSC scaling ratio when a vcpu is loaded
    KVM: VMX: Enable and initialize VMX TSC scaling
    KVM: x86: Use the correct vcpu's TSC rate to compute time scale
    KVM: x86: Move TSC scaling logic out of call-back read_l1_tsc()
    KVM: x86: Move TSC scaling logic out of call-back adjust_tsc_offset()
    KVM: x86: Replace call-back compute_tsc_offset() with a common function
    KVM: x86: Replace call-back set_tsc_khz() with a common function
    KVM: x86: Add a common TSC scaling function
    KVM: x86: Add a common TSC scaling ratio field in kvm_vcpu_arch
    KVM: x86: Collect information for setting TSC scaling ratio
    KVM: x86: declare a few variables as __read_mostly
    KVM: x86: merge handle_mmio_page_fault and handle_mmio_page_fault_common
    KVM: PPC: Book3S HV: Don't dynamically split core when already split
    ...

    Linus Torvalds
     

12 Nov, 2015

16 commits

  • hw_breakpoint_restore is only used within suspend.c, so it can be
    declared static.

    Signed-off-by: Jisheng Zhang
    Signed-off-by: Catalin Marinas

    Jisheng Zhang
     
  • split_pud and fixup_executable are only called from within mmu.c, so
    they can be declared static.

    Signed-off-by: Jisheng Zhang
    Signed-off-by: Catalin Marinas

    Jisheng Zhang
     
  • of_parse_and_init_cpus is only called from within smp.c, so it can be
    declared static.

    Signed-off-by: Jisheng Zhang
    Signed-off-by: Catalin Marinas

    Jisheng Zhang
     
  • We should always use linux/types.h instead of asm/types.h for
    consistency, and Kbuild actually warns about it:

    ./usr/include/asm/kvm.h:35: include of is preferred over

    This patch does as Kbuild asks us.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Catalin Marinas

    Arnd Bergmann
     
  • On a cross-toolchain without glibc support, libgcov may not be
    available, and attempting to build an arm64 kernel with GCOV
    enabled then results in a build error:

    /home/arnd/cross-gcc/lib/gcc/aarch64-linux/5.2.1/../../../../aarch64-linux/bin/ld: cannot find -lgcov

    We don't really want to link libgcov into the vdso anyway, so
    this patch just disables GCOV in the vdso directory, just as
    we do for most other architectures.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Catalin Marinas

    Arnd Bergmann
     
  • cpus_have_hwcap() is defined as a 'static' function an only used in
    one place that is inside of an #ifdef, so we get a warning when
    the only user is disabled:

    arch/arm64/kernel/cpufeature.c:699:13: warning: 'cpus_have_hwcap' defined but not used [-Wunused-function]

    This marks the function as __maybe_unused, so the compiler knows that
    it can drop the function definition without warning about it.

    Signed-off-by: Arnd Bergmann
    Fixes: 37b01d53ceef ("arm64/HWCAP: Use system wide safe values")
    Signed-off-by: Catalin Marinas

    Arnd Bergmann
     
  • Ralf Baechle
     
  • While the 5KE processors have never been taped out, they exists though
    a CP0.PRId and experimental RTLs or QEMU implementations. Add a case
    entry in the idle code, as they can use the standard idle loop like the
    5K processors.

    Signed-off-by: Aurelien Jarno
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11099/
    Signed-off-by: Ralf Baechle

    Aurelien Jarno
     
  • Use appended DTB when available.

    Signed-off-by: Aaro Koskinen
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11115/
    Signed-off-by: Ralf Baechle

    Aaro Koskinen
     
  • For bootloaders that support booting only ELF kernels and load only ELF
    segments to memory there is no easy way to supply DTB without kernel
    recompilation. For that purpose, create a section called .appended_dtb
    that can be later updated with board-specific DTB using binutils e.g. at
    kernel installation time.

    Signed-off-by: Aaro Koskinen
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11114/
    Signed-off-by: Ralf Baechle

    Aaro Koskinen
     
  • While mips can't use the generic compat_siginfo_t directly because
    its si_code and si_errno are inverted, we can still make it as
    close to the generic version as possible. This makes it easier
    to update when new members are added to siginfo_t.

    The main changes are adding a missing _sigsys union member and
    eliminating the unused _irix_sigchld one.

    Signed-off-by: Amanieu d'Antras
    Cc: linux-kernel@vger.kernel.org
    Cc: Oleg Nesterov
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11455/
    Signed-off-by: Ralf Baechle

    Amanieu d'Antras
     
  • Make PAGE_MASK an unsigned long, like it is on x86, to avoid:

    In file included from arch/mips/kernel/asm-offsets.c:14:0:
    include/linux/mm.h: In function '__pfn_to_pfn_t':
    include/linux/mm.h:1050:2: warning: left shift count >= width of type
    pfn_t pfn_t = { .val = pfn | (flags & PFN_FLAGS_MASK), };

    ...where PFN_FLAGS_MASK is:

    #define PFN_FLAGS_MASK (~PAGE_MASK << (BITS_PER_LONG - PAGE_SHIFT))

    Signed-off-by: Dan Williams
    Cc: ross.zwisler@linux.intel.com
    Cc: hch@lst.de
    Cc: linux-mips@linux-mips.org
    Cc: linux-nvdimm@lists.01.org
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mm@kvack.org
    Patchwork: https://patchwork.linux-mips.org/patch/11280/
    Signed-off-by: Ralf Baechle

    Dan Williams
     
  • …ulus/powerpc into HEAD

    "Paolo,

    I have two fixes for HV KVM which I would like to have included in
    v4.4-rc1. The first one is a fix for a bug identified by Red Hat
    which causes occasional guest crashes. The second one fixes a bug
    which causes host stalls and timeouts under certain circumstances when
    the host is configured for static 2-way micro-threading mode."

    Paolo Bonzini
     
  • Signed-off-by: Huang Rui
    Cc: Andy Lutomirski
    Cc: Arnaldo Carvalho de Melo
    Cc: Borislav Petkov
    Cc: Dasaratharaman Chandramouli
    Cc: Fengguang Wu
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Thomas Gleixner
    Cc: Tony Li
    Link: http://lkml.kernel.org/r/1446630233-3166-1-git-send-email-ray.huang@amd.com
    Signed-off-by: Ingo Molnar

    Huang Rui
     
  • Signed-off-by: Yoshinori Sato

    Yoshinori Sato
     
  • …erry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "This round contains a couple of new drivers for the Marvell Berlin
    family of SoCs, various SoCs from Renesas and Broadcom as well as the
    backlight PWM present on MediaTek SoCs.

    Further existing drivers are extended to support a wider range of
    hardware.

    The remaining patches are minor fixes and cleanups across the board.

    Note that one of the patches included in this pull request is against
    arch/unicore32. I've included it here because I couldn't get a
    response from Guan Xuetao and I consider the change low-risk.
    Equivalent patches have been merged and tested in Samsung and PXA
    trees. The goal is to finally get rid of legacy code paths that have
    repeatedly been causing headaches"

    * tag 'pwm/for-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (24 commits)
    pwm: sunxi: Fix whitespace issue
    pwm: sysfs: Make use of the DEVICE_ATTR_[RW][WO] macro's
    pwm: sysfs: Remove unnecessary temporary variable
    unicore32: nb0916: Use PWM lookup table
    pwm: pwm-rcar: Revise the device tree binding document about compatible
    pwm: Return -ENODEV if no PWM lookup match is found
    pwm: sun4i: Add support for PWM controller on sun5i SoCs
    pwm: Set enable state properly on failed call to enable
    pwm: lpss: Add support for runtime PM
    pwm: lpss: Add more Intel Broxton IDs
    pwm: lpss: Support all four PWMs on Intel Broxton
    pwm: lpss: Add support for multiple PWMs
    pwm-pca9685: enable ACPI device found on Galileo Gen2
    pwm: Add MediaTek display PWM driver support
    dt-bindings: pwm: Add MediaTek display PWM bindings
    pwm: tipwmss: Enable on TI DRA7x and AM437x
    pwm: atmel-hlcdc: add sama5d2 SoC support.
    pwm: Add Broadcom BCM7038 PWM controller support
    Documentation: dt: add Broadcom BCM7038 PWM controller binding
    pwm: Add support for R-Car PWM Timer
    ...

    Linus Torvalds
     

11 Nov, 2015

12 commits

  • Update bmips_be_defconfig and bmips_stb_defconfig to have GZIP ramdisk
    support enabled by default as well was timed printks.

    Signed-off-by: Florian Fainelli
    Reviewed-by: Kevin Cernekee
    Reviewed-by: Dragan Stancevic
    Cc: linux-mips@linux-mips.org
    Cc: blogic@openwrt.org
    Cc: jogo@openwrt.org
    Patchwork: https://patchwork.linux-mips.org/patch/11307/
    Signed-off-by: Ralf Baechle

    Florian Fainelli
     
  • Add defconfig for MIPSfpga

    Signed-off-by: Zubair Lutfullah Kakakhel
    Cc: robh+dt@kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Cc: devicetree@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/11363/
    Signed-off-by: Ralf Baechle

    Zubair Lutfullah Kakakhel
     
  • The xilfpga platform will be DT only.

    Add required platform code.
    DT files have already been added separately.

    Signed-off-by: Zubair Lutfullah Kakakhel
    Cc: robh+dt@kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Cc: devicetree@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/11364/
    Signed-off-by: Ralf Baechle

    Zubair Lutfullah Kakakhel
     
  • Add device tree files for the MIPSfpga platform.

    See Documentation/devicetree/bindings/mips/img/xilfpga.txt
    for details about MIPSfpga

    Signed-off-by: Zubair Lutfullah Kakakhel
    Cc: robh+dt@kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Cc: devicetree@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/11362/
    Signed-off-by: Ralf Baechle

    Zubair Lutfullah Kakakhel
     
  • Seval of-enabled machines (bmips, lantiq, xlp, pistachio, ralink) copied
    the arguments from dtb to arcs_command_line to prevent the kernel from
    overwriting them.

    Since there is now an option to keep the dtb arguments, default to the
    new option remove the "backup" to arcs_command_line in case of USE_OF is
    enabled, except for those platforms that still take the bootloader
    arguments or do not use any at all.

    Signed-off-by: Jonas Gorski
    Cc: linux-mips@linux-mips.org
    Cc: Kevin Cernekee
    Cc: Florian Fainelli
    Cc: Zubair Lutfullah Kakakhel
    Cc: James Hogan
    Cc: John Crispin
    Cc: Ganesan Ramalingam
    Cc: Jayachandran C
    Cc: Andrew Bresticker
    Cc: James Hartley
    Patchwork: https://patchwork.linux-mips.org/patch/11285/
    Signed-off-by: Ralf Baechle

    Jonas Gorski
     
  • Similar to how arm allows using selecting between bootloader arguments,
    dtb arguments and both, allow to select them on mips. But since we have
    less control over the place of the dtb do not modify it but instead use
    the boot_command_line for merging them.

    The default is "use bootloader arguments" to keep the current behaviour
    as default.

    Signed-off-by: Jonas Gorski
    Cc: linux-mips@linux-mips.org
    Cc: Kevin Cernekee
    Cc: Florian Fainelli
    Cc: Zubair Lutfullah Kakakhel
    Cc: James Hogan
    Cc: John Crispin
    Cc: Ganesan Ramalingam
    Cc: Jayachandran C
    Cc: Andrew Bresticker
    Cc: James Hartley
    Patchwork: https://patchwork.linux-mips.org/patch/11284/
    Signed-off-by: Ralf Baechle

    Jonas Gorski
     
  • Since OF is now a user selectable symbol, the choice for appended dtb
    support should only be visible when USE_OF is selected, as this
    indicates actual machine support for device tree in MIPS.

    Signed-off-by: Jonas Gorski
    Cc: linux-mips@linux-mips.org
    Cc: Kevin Cernekee
    Cc: Florian Fainelli
    Cc: Zubair Lutfullah Kakakhel
    Cc: James Hogan
    Cc: John Crispin
    Cc: Ganesan Ramalingam
    Cc: Jayachandran C
    Cc: Andrew Bresticker
    Cc: James Hartley
    Patchwork: https://patchwork.linux-mips.org/patch/11283/
    Signed-off-by: Ralf Baechle

    Jonas Gorski
     
  • Signed-off-by: Gregory Fong
    Cc: Florian Fainelli
    Cc: Jonas Gorski
    Cc: Joe Perches
    Cc: Rusty Russell
    Cc: Nicolas Schichan
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/11300/
    Signed-off-by: Ralf Baechle

    Gregory Fong
     
  • Now LOONGSON_CHIPCFG register definition doesn't depend on CPUFREQ any
    more, so CPU_SUPPORTS_CPUFREQ is no longer needed for suspend/resume.
    Remove CONFIG_LOONGSON_SUSPEND and use CONFIG_SUSPEND instead.

    Signed-off-by: Huacai Chen
    Cc: John Crispin
    Cc: Steven J. Hill
    Cc: Fuxin Zhang
    Cc: Zhangjin Wu
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11274/
    Signed-off-by: Ralf Baechle

    Huacai Chen
     
  • Signed-off-by: John Crispin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11458/
    Signed-off-by: Ralf Baechle

    John Crispin
     
  • Signed-off-by: John Crispin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11450/
    Signed-off-by: Ralf Baechle

    John Crispin
     
  • There is a DWC2 USB core in these SoCs. To make USB work we need to first
    reset and power the state machine. These are SoC specific registers and
    not part of the actual USB core.

    Signed-off-by: Antti Seppälä
    Signed-off-by: John Crispin
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/11449/
    Signed-off-by: Ralf Baechle

    John Crispin