I went ahead and fixed the build with the following patch. You should
include something like this in your local trees, since you will need
it when upstreaming changes.

Bruce

On Mon, May 4, 2015 at 10:54 AM, Bruce Ashfield
<bruce.ashfi...@gmail.com> wrote:
> Following up on this.
>
> We have a build failure with qemumips on 3.14 that appear to be triggered by
> this series:
>
> |                  from
> /home/bruce/poky/build/tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/asm-offsets.c:13:
> | 
> /home/bruce/poky/build/tmp/work-shared/qemumips/kernel-source/arch/mips/include/asm/atomic.h:
> In function 'atomic_add':
> | 
> /home/bruce/poky/build/tmp/work-shared/qemumips/kernel-source/arch/mips/include/asm/atomic.h:52:6:
> error: 'cpu_has_saa' undeclared (first use in this function)
> |   if (cpu_has_saa) {
> |       ^
> | 
> /home/bruce/poky/build/tmp/work-shared/qemumips/kernel-source/arch/mips/include/asm/atomic.h:52:6:
> note: each undeclared identifier is reported only once for each
> function it appears in
> | 
> /home/bruce/poky/build/tmp/work-shared/qemumips/kernel-source/arch/mips/include/asm/atomic.h:
> In function 'atomic_sub':
> | 
> /home/bruce/poky/build/tmp/work-shared/qemumips/kernel-source/arch/mips/include/asm/atomic.h:103:6:
> error: 'cpu_has_saa' undeclared (first use in this function)
> |   if (cpu_has_saa) {
> |       ^
> | /home/bruce/poky/build/tmp/work-shared/qemumips/kernel-source/./Kbuild:81:
> recipe for target 'arch/mips/kernel/asm-offsets.s' failed
>
> and this commit:
>
> commit 8d7ba43f6cfc876773652f99f7ec2c9089c0cb1a
> Author: Abhishek Paliwal <abhishek.pali...@aricent.com>
> Date:   Fri Feb 13 14:47:00 2015 +0530
>
>     MIPS: Define cpu_has_octeon2_isa cpu features. Use Octeon2 atomic
> instructions when cpu_has_octeon2_isa.
>
>     From: David Daney <dda...@caviumnetworks.com>
>
>     Only use SAA instructions for CONFIG_CAVIUM_OCTEON2.
>
>     Add octeon2 build and configuration option.
>
>     Fix arch in assembly for saa instruction.
>
>     Add cpu_has_saa to cpu-features.h
>
>     Signed-off-by: David Daney <dda...@caviumnetworks.com>
>     Signed-off-by: Leonid Rosenboim <lrosenb...@caviumnetworks.com>
>     Signed-off-by: Andrew Pinski <apin...@cavium.com>
>     Signed-off-by: Abhishek Paliwal <abhishek.pali...@aricent.com>
>
> ---------------------------
>
> I won't be able to merge any more changes until this is addressed for non 
> cavium
> builds.
>
> If we can't figure it out quickly,. I'll have to look into reverting the 
> series.
>
> Bruce
>
>
> On Tue, Apr 7, 2015 at 9:58 AM, Bruce Ashfield
> <bruce.ashfi...@windriver.com> wrote:
>> On 2015-04-07 04:34 AM, Abhishek Paliwal wrote:
>>>
>>> Hi Bruce,
>>>
>>> Did you push all the changes from apaliwal/for-bruce branch submitted
>>> earlier for octeon processor.
>>
>>
>> If you clone linux-yocto-3.14, you'll see them all present on the
>> standard/base branch .. so yes!
>>
>>> We have more new patches to submit on the same branch, we ported all these
>>> patches on apaliwal/for-bruce branch loacally.
>>
>>
>> If you aren't seeing them on standard/base, you need to have another
>> look .. they are all on the tree. You can re-use that branch, but it
>> needs to be up to date with the latest standard/base, otherwise, I'm
>> going to hit a lot of duplicate changes.
>>
>> Cheers,
>>
>> Bruce
>>
>>> Should I need to push this branch again or need to create another new
>>> branch?
>>> If not then, please suggest us how to submit these changes to you to push
>>> them to yocto kernel mainline.
>>>
>>> Regards,
>>> Abhishek
>>>
>>> -----Original Message-----
>>> From: Bruce Ashfield [mailto:bruce.ashfi...@windriver.com]
>>> Sent: 02 March 2015 10:30
>>> To: Abhishek Paliwal
>>> Cc: linux-yocto@yoctoproject.org
>>> Subject: Re: git pull request output
>>>
>>> On 2015-02-27 7:24 AM, Abhishek Paliwal wrote:
>>>>
>>>> warn: No match for commit 3bab81113682d3a5ffc8ea60cf770beed4831492 found
>>>> at g...@git.yoctoproject.org:linux-yocto-contrib
>>>> warn: Are you sure you pushed 'HEAD' there?
>>>> The following changes since commit
>>>> f65678ef48c5d41af914d2769e4dd01411c1df96:
>>>>
>>>>     mips: mm: fix merge issue (2015-02-06 16:00:19 -0500)
>>>>
>>>> are available in the git repository at:
>>>>
>>>>     g...@git.yoctoproject.org:linux-yocto-contrib HEAD
>>>
>>>
>>> This looks fine to me .. except the branch is missing from the pull
>>> request.
>>>
>>> Some of the newer versions of git have this issue where they are not
>>> enumerating the remote branches properly and hence can't find the
>>> reference branch for the pull request.
>>>
>>> I did locate your apaliwal/for-bruce branch, and did the merge from
>>> there.
>>>
>>> Everything looks clean, and I'll push this to the tree shortly. I'm
>>> trusting your build testing, so if anything breaks .. I'll either have
>>> to revert, or let you know and hope for a fast fix.
>>>
>>> Cheers,
>>>
>>> Bruce
>>>
>>>
>>>>
>>>> for you to fetch changes up to 3bab81113682d3a5ffc8ea60cf770beed4831492:
>>>>
>>>>     MIPS: OCTEON: Added new Error injector module to verify L2C and
>>>> various other error conditions. (2015-02-25 13:54:38 +0530)
>>>>
>>>> ----------------------------------------------------------------
>>>> Abhishek Paliwal (147):
>>>>         Replace OCTEON_IS_OCTEON2() and OCTEON_IS_OCTEON3() with
>>>> appropriate current_cpu_type().
>>>>         MIPS: OCTEON: Fix L1 dacache parity for OCTEON3
>>>>         MIPS/EDAC: Cavium: Updated L2C error checking for OCTEON3.
>>>>         MIPS: Add ZCB and ZCBT instructions to uasm.
>>>>         MIPS: Handle CPU_CAVIUM_OCTEON3 like CPU_CAVIUM_OCTEON2 in
>>>> clear_page.
>>>>         MIPS: OCTEON: Fix plat_swiotlb_setup() for OCTEON3
>>>>         MIPS/EDAC: Cavium: Fix compilation errors.
>>>>         MIPS/OCTEON: TLB parity error handling
>>>>         MIPS/EDAC: Poll for LMC_INT_REG[nxm_wr_err]
>>>>         MIPS/EDAC: Poll for all error bis in L2C_INT CSR.
>>>>         MIPS: OCTEON: Add module to inject hardware error conditions.
>>>>         edac/octeon_edac-lmc: Fix kernel panic when 1 DDR present
>>>>         EDAC: octeon_edac-lmc: Fixed crash for DIMM1-only case
>>>>         gpio: gpio-octeon: Add preliminary cn78XX support.
>>>>         i2c: i2c-octeon: broken irqs, high-level controller,retry lost
>>>> arbitration
>>>>         i2c: i2c-octeon: Add octeon_i2c_cvmx2i2c() function.
>>>>         i2c: i2c-octeon: Add support for cn78XX chips.
>>>>         MIPS: Octeon: Disable probing MDIO for Landbird NIC 10g cards.
>>>>         of: Add of_memory_accessor to map device tree node to memory
>>>> accessor functions.
>>>>         misc/at24: Register memory accessor functions with
>>>> of_memory_accessor
>>>>         MIPS: OCTEON: Move L2 Cache probing code to setup.c
>>>>         MIPS: OCTEON: Move call to register_smp_ops() to smp.c...
>>>>         MIPS: OCTEON: Save/Restore wider multiply registers in OCTEON III
>>>> CPUs
>>>>         MIPS: Add support for OCTEON III perf events.
>>>>         MIPS: OCTEON: Don't write FAU registers for cn78XX
>>>>         MIPS: OCTEON: Add sysfs support for CPU power throttling.
>>>>         netdev: octeon: Move and update OCTEON network drivers from
>>>> staging.
>>>>         OCTEON: Import new S.E. and adjust things to match.
>>>>         MIPS: OCTEON: Don't do acknowledge operations for level triggered
>>>> irqs.
>>>>         MIPS: OCTEON: Add support for SRIO interrupt sources.
>>>>         MIPS: Improve support for OCTEON III interrupt controller.
>>>>         MIPS: OCTEON: Handle cn78XX counters in csrc-octeon.c
>>>>         watchdog: Octeon: Add 78xx support.
>>>>         watchdog: Octeon: Add 68xx and cn78XX SOCs support.
>>>>         MIPS: Octeon: Fix new coremask, hotplug CPU
>>>>         MIPS: Allow __cpu_number_map to be larger than NR_CPUS
>>>>         usb: octeon2-common: Update clock initialization.
>>>>         MIPS:OCTEON:USB: Hack up xhci to work on Octeon3.
>>>>         usb: Convert {ohci,ehci}-octeon.c to use device tree.
>>>>         usb: ehci-octeon/ohci-octeon: Fix for little-endian kernel.
>>>>         usb: Add host driver for cn3XXX and cn5XXX SoCs
>>>>         usb: octeon2-common.c: Enable error reporting.
>>>>         usb: Hack up xhci, so that it works with the OCTEON III xHCI
>>>> controller.
>>>>         usb: octeon2-common.c: Improve clock initialization sequence.
>>>>         usb: octeon2-common.c: Added new header file and host host
>>>> controller
>>>>         usb: Remove non device tree irq domain handling of the USB
>>>> interrupts
>>>>         usb: Add host driver for cn3XXX and cn5XXX SoCs
>>>>         usb clock init for octeon to be called from dwc3 driver.
>>>>         usb: dwc3: simplify OCTEON ifdefs
>>>>         spi: spi-octeon.c: Allow faster speeds on octeonIII boards.
>>>>         Octeon: Added support for Fast access thread pointer
>>>>         MIPS: OCTEON: Handle userspace access to CVMSEG
>>>>         MIPS: OCTEON: Rearrange CVMSEG slots and
>>>> FAST_ACCESS_THREAD_OFFSET for TLB related contiguous usage.Save and restore
>>>> K0/K1 when CONFIG_KVM_MIPS_VZ.
>>>>         MIPS: Add new system 'paravirt'.
>>>>         Octeon: Use cvmx-pcie.c from executive and fix compile error
>>>>         MIPS: OCTEON: Implement PCI INTA interrupts for cn78xx
>>>>         MIPS/OCTEON: Add msi/msi-x support for ciu3.
>>>>         MIPS/OCTEON: Add multiple msi support.
>>>>         MIPS: OCTEON: Use correct CSR to soft reset
>>>>         MIPS: OCTEON: Seperate SoC and CPU related config items
>>>>         MIPS: OCTEON: Save and restore CP2 SHA3 state
>>>>         MIPS: octeon-hw-status refcount rework
>>>>         MIPS:OCTEON: Enable access to CVMSEG for user space
>>>>         MIPS: OCTEON: Add initial error bit detection for cn78XX.
>>>>         MIPS: OCTEON: Use correct instruction to read 64-bit COP0
>>>> register
>>>>         MIPS: Add nudges to writes for bit unlocks.
>>>>         MIPS: Octeon: Add /proc/octeon_info support.
>>>>         MIPS: Octeon: Rearrange L2 cache locking code
>>>>         MIPS: Octeon: Add /sys/devices/system/cpu/cpuX/cache
>>>>         MIPS: OCTEON: Fix local_flush_icache_range
>>>>         MIPS: Change type of asid_cache to unsigned long
>>>>         MIPS: Octeon: Implement DCache errata workaround for all CN6XXX
>>>>         MIPS: Remove race window in page fault handling
>>>>         MIPS: Octeon: Revise memory allocation from bootloader
>>>>         MIPS: Allow sub-architecture 'machines' to override bootmem
>>>> initialization.
>>>>         MIPS: OCTEON: Add NUMA support for cn78XX
>>>>         MIPS: OCTEON: Cleanup memory initialization and allow for more
>>>> than 32GB
>>>>         MIPS: OCTEON: Print address of passed device tree.
>>>>         MIPS: Octeon: Add config option to disable ELF NOTE segments
>>>>         MIPS: OCTEON: Add support for running kernel in mapped address
>>>> space.
>>>>         OCTEON: OCLA driver to support blocking IO.
>>>>         ata: Use WARN instead of BUG in pata_octeon_cf.
>>>>         MIPS:OCTEON:SATA:hecked ata platform code to modify octeon SHIM
>>>> according to endianess
>>>>         mmc: core: Use generic CMD6 time while switching to eMMC HS200
>>>> mode
>>>>         mtd: nand_ids: Add a couple of device identifiers to the table.
>>>>         MIPS/mtd/OCTEON: Add Add NAND flash driver for OCTEON.
>>>>         eeprom/of: Add device tree bindings to at25.
>>>>         perf: context-sensitive keywords: for uncore_foo/miss/
>>>>         MIPS: perf: octeon uncore events
>>>>         kvm tool: Add it to the tree.
>>>>         MIPS: OCTEON: Add PTP clocksource.
>>>>         MIPS: OCTEON: Add mach-cavium-octeon/mangle-port.h
>>>>         MIPS: OCTEON: Removed unused CAVIUM_DECODE_RSL related files.
>>>>         mmc: Add host driver for OCTEON MMC controller.
>>>>         MIPS: OCTEON: Re-introduced xkphys_read, xkphys_writ sysmips(2)
>>>> calls
>>>>         MIPS: Define cpu_has_octeon2_isa cpu features. Use Octeon2 atomic
>>>> instructions when cpu_has_octeon2_isa.
>>>>         watchdog: octeon-wdt: Remove bootloader dependencies.
>>>>         virtio_ring/kvm tools: Add barriers before accessing avail->idx,
>>>> used->idx
>>>>         MIPS: If huge pages are enabled, align STACK_TOP to a huge page
>>>> boundry.
>>>>         Although the existing code appears to work on most hardware, the
>>>> hardware designers tell us that 8-bit access to the registers is not
>>>> guaranteed to be reliable. Also the OCTEON simulation environments prohibit
>>>> 8-bit accesses.
>>>>         RapidIO: Add interface to memory map rapidio device memory.
>>>>         MIPS: OCTEON: Add parameter to disable PCI on command line.
>>>>         Add driver for OCTEON PCI console.
>>>>         mips/kvm: Add casts to avoid pointer width mismatch build
>>>> failures.
>>>>         mips/kvm: Rename kvm_vcpu_arch.pc to kvm_vcpu_arch.epc
>>>>         MIPS: Rearrange branch.c so it can be used by kvm code.
>>>>         mips/kvm: Add pt_regs slots for BadInstr and BadInstrP
>>>>         mips/kvm: Add host definitions for MIPS VZ based host.
>>>>         mips/kvm: Split get_new_mmu_context into two parts.
>>>>         mips/kvm: Allow for upto 8 KVM vcpus per vm.
>>>>         netdev/phy: Add driver for Cortina cs4321 quad 10G PHY.
>>>>         netdev/phy/of: Handle nexus Ethernet PHY devices
>>>>         netdev/phy: Add driver for Vitesse vsc848x single, dual and quad
>>>> 10G phys
>>>>         netdev: octeon-ethernet: Add common module for setting mac
>>>> address
>>>>         MIPS: OCTEON: Enable Micrel 9031 PHY for OCTEON.
>>>>         MIPS: OCTEON: Add new file for Cortina PHY support
>>>>         netdev/phy: Add driver for TI tlk10232 dual-10G PHY.
>>>>         netdev: Preliminary Ethernet driver for Cavium cn78XX.
>>>>         netdev: octeon3-ethernet: Fixes to build as module.
>>>>         net: phy: add qca833x phy-headed-switch
>>>>         MIPS: Make setting of MAX_PHYSMEM_BITS settable per
>>>> sub-architecture.
>>>>         MM: Export "is_vmalloc_or_module_addr()" pointer validation in
>>>> modules
>>>>         MIPS: Make XPHYSADDR() work for all addresses.
>>>>         doc: Add device-tree binding documentation for Cavium CIB.
>>>>         MIPS: oct_ilm: Fix debugfs file permissions.
>>>>         MIPS: Add user stack and registers to perf
>>>>         MIPS: Octeon: (Re) Add functions to enable kernel crypto usage.
>>>>         MIPS: move arch/mips/cavium-octeon/cpu.c to arch/mips/kernel/
>>>>         MIPS: OCTEON: Add support for CONFIG_CAVIUM_GDB
>>>>         mips: n32: use compat getsockopt syscall
>>>>         Use the compiler-gcc4.h header for all GCC >=4. The versioning
>>>> scheme for GCC has changed such that the next release is 5.1.0 and then the
>>>> next year will be 6.1.0.
>>>>         MIPS: OCTEON: Seperate SoC and CPU related config items
>>>>         MIPS: Add instruction format information for WAIT, MTC0, MFC0, et
>>>> al.
>>>>         MIPS: OCTEON: Protect accesses to bootbus flash with
>>>> octeon_bootbus_sem.
>>>>         MIPS: Add board_mcheck_handler, show process state on machine
>>>> check exception.
>>>>         MIPS: Octeon: cleanup defunct 2ND_KERNEL config option
>>>>         MIPS: OCTEON: Move Simulator command line out of the kernel.
>>>>         MIPS: OCTEON: Add ability to used an initrd from a named memory
>>>> block.
>>>>         MIPS: OCTEON: Populate kernel memory from cvmx_bootmem named
>>>> blocks.
>>>>         MIPS: Don't select SYS_SUPPORTS_HOTPLUG_CPU for CPU_CAVIUM_OCTEON
>>>>         MIPS: Only flush local ICache in get_new_asid().
>>>>         MIPS: KDUMP: Fix to access non-sectioned memory
>>>>         MIPS/OCTEON: CIU/CIU2 use random msi irqs.
>>>>         MIPS: octeon CONFIG_TRACE_IRQFLAGS balancing octeon custom trap
>>>> handling had missing TRACE_IRQFLAGS support, and would complain of
>>>>         perf: u64 printf formats & other gcc fluff
>>>>         MIPS: OCTEON: Add /proc/octeon_perf support.
>>>>         MIPS: OCTEON: Added new Error injector module to verify L2C and
>>>> various other error conditions.
>>>>
>>>>    Documentation/devicetree/bindings/mips/cavium/cib.txt             |
>>>> 45 +
>>>>    Documentation/devicetree/bindings/mmc/octeon-mmc.txt              |
>>>> 51 +
>>>>    Documentation/devicetree/bindings/net/cortina-cs4321.txt          |
>>>> 27 +
>>>>    arch/mips/Kbuild.platforms                                        |
>>>> 1 +
>>>>    arch/mips/Kconfig                                                 |
>>>> 92 +-
>>>>    arch/mips/Kconfig.debug                                           |
>>>> 9 +
>>>>    arch/mips/Makefile                                                |
>>>> 27 +-
>>>>    arch/mips/cavium-octeon/Kconfig                                   |
>>>> 204 +-
>>>>    arch/mips/cavium-octeon/Makefile                                  |
>>>> 30 +-
>>>>    arch/mips/cavium-octeon/Platform                                  |
>>>> 6 +-
>>>>    arch/mips/cavium-octeon/cacheinfo.c                               |
>>>> 848 +++
>>>>    arch/mips/cavium-octeon/cpu.c                                     |
>>>> 48 -
>>>>    arch/mips/cavium-octeon/csrc-octeon-ptp.c                         |
>>>> 80 +
>>>>    arch/mips/cavium-octeon/csrc-octeon.c                             |
>>>> 19 +-
>>>>    arch/mips/cavium-octeon/dma-octeon.c                              |
>>>> 6 +-
>>>>    arch/mips/cavium-octeon/executive/Makefile                        |
>>>> 29 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-agl.c                      |
>>>> 248 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-appcfg-transport.c         |
>>>> 465 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-bch.c                      |
>>>> 329 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-bgx.c                      |
>>>> 255 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-boot-vector.c              |
>>>> 192 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-bootmem.c                  |
>>>> 1747 ++++--
>>>>    arch/mips/cavium-octeon/executive/cvmx-clock.c                    |
>>>> 160 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-cmd-queue.c                |
>>>> 223 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-debug-handler.S            |
>>>> 450 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-debug-remote.c             |
>>>> 85 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-debug-uart.c               |
>>>> 251 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-debug.c                    |
>>>> 1658 ++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-dma-engine.c               |
>>>> 565 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-error-trees.c              |
>>>> 12630 +++++++++++++++++++++++++++++++++++++++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-fpa-resource.c             |
>>>> 313 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-global-resources.c         |
>>>> 643 +++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-agl.c               |
>>>> 273 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-bgx.c               |
>>>> 1545 ++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-board.c             |
>>>> 2732 ++++++++--
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-cfg.c               |
>>>> 1227 +++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-errata.c            |
>>>> 309 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-ilk.c               |
>>>> 871 +++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-ipd.c               |
>>>> 300 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c              |
>>>> 151 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-loop.c              |
>>>> 208 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-npi.c               |
>>>> 189 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-pki.c               |
>>>> 1762 ++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-pko.c               |
>>>> 331 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-pko3.c              |
>>>> 1308 +++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c             |
>>>> 349 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c             |
>>>> 671 ++-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-spi.c               |
>>>> 162 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-srio.c              |
>>>> 324 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-util.c              |
>>>> 1153 +++-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c              |
>>>> 502 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-helper.c                   |
>>>> 2953 +++++++---
>>>>    arch/mips/cavium-octeon/executive/cvmx-ilk.c                      |
>>>> 1507 ++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c        |
>>>> 371 --
>>>>    arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c            |
>>>> 140 -
>>>>    arch/mips/cavium-octeon/executive/cvmx-ipd.c                      |
>>>> 664 +++
>>>>    arch/mips/cavium-octeon/executive/cvmx-l2c.c                      |
>>>> 1211 ++++-
>>>>    arch/mips/cavium-octeon/executive/cvmx-lap.c                      |
>>>> 625 +++
>>>>    arch/mips/cavium-octeon/executive/cvmx-nand.c                     |
>>>> 2427 +++++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-ocla.c                     |
>>>> 762 +++
>>>>    arch/mips/cavium-octeon/executive/cvmx-osm.c                      |
>>>> 223 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-pcie.c                     |
>>>> 2222 ++++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-pki-resources.c            |
>>>> 494 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-pki.c                      |
>>>> 1101 ++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-pko-internal-ports-range.c |
>>>> 170 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-pko.c                      |
>>>> 1041 +++-
>>>>    arch/mips/cavium-octeon/executive/cvmx-pko3-queue.c               |
>>>> 1287 +++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-pko3-resources.c           |
>>>> 173 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-pko3.c                     |
>>>> 1991 +++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-qlm-tables.c               |
>>>> 435 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-qlm.c                      |
>>>> 1581 ++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-range.c                    |
>>>> 331 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-spi.c                      |
>>>> 304 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-spi4000.c                  |
>>>> 498 ++
>>>>    arch/mips/cavium-octeon/executive/cvmx-srio.c                     |
>>>> 1637 ++++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-sso-resources.c            |
>>>> 112 +
>>>>    arch/mips/cavium-octeon/executive/cvmx-sysinfo.c                  |
>>>> 248 +-
>>>>    arch/mips/cavium-octeon/executive/cvmx-twsi.c                     |
>>>> 1064 ++++
>>>>    arch/mips/cavium-octeon/executive/cvmx-usb.c                      |
>>>> 3556 +++++++++++++
>>>>    arch/mips/cavium-octeon/executive/octeon-feature.c                |
>>>> 261 +
>>>>    arch/mips/cavium-octeon/executive/octeon-model.c                  |
>>>> 362 +-
>>>>    arch/mips/cavium-octeon/flash_setup.c                             |
>>>> 84 +-
>>>>    arch/mips/cavium-octeon/oct_ilm.c                                 |
>>>> 4 +-
>>>>    arch/mips/cavium-octeon/octeon-78xx-errors.c                      |
>>>> 4213 +++++++++++++++
>>>>    arch/mips/cavium-octeon/octeon-crypto.c                           |
>>>> 66 +
>>>>    arch/mips/cavium-octeon/octeon-error-injector.c                   |
>>>> 120 +
>>>>    arch/mips/cavium-octeon/octeon-error-tree.c                       |
>>>> 335 ++
>>>>    arch/mips/cavium-octeon/octeon-hw-status.c                        |
>>>> 779 +++
>>>>    arch/mips/cavium-octeon/octeon-irq.c                              |
>>>> 2034 +++++--
>>>>    arch/mips/cavium-octeon/octeon-nand.c                             |
>>>> 1439 +++++
>>>>    arch/mips/cavium-octeon/octeon-numa.c                             |
>>>> 102 +
>>>>    arch/mips/cavium-octeon/octeon-pci-console.c                      |
>>>> 369 ++
>>>>    arch/mips/cavium-octeon/octeon-platform.c                         |
>>>> 124 +-
>>>>    arch/mips/cavium-octeon/octeon-power-throttle.c                   |
>>>> 394 ++
>>>>    arch/mips/cavium-octeon/octeon-rapidio.c                          |
>>>> 841 +++
>>>>    arch/mips/cavium-octeon/octeon_boot.h                             |
>>>> 72 -
>>>>    arch/mips/cavium-octeon/octeon_info.c                             |
>>>> 116 +
>>>>    arch/mips/cavium-octeon/perf_counters.c                           |
>>>> 742 +++
>>>>    arch/mips/cavium-octeon/perf_uncore.c                             |
>>>> 915 ++++
>>>>    arch/mips/cavium-octeon/perf_uncore_events.h                      |
>>>> 197 +
>>>>    arch/mips/cavium-octeon/serial.c                                  |
>>>> 75 +
>>>>    arch/mips/cavium-octeon/setup.c                                   |
>>>> 902 ++--
>>>>    arch/mips/cavium-octeon/smp.c                                     |
>>>> 444 +-
>>>>    arch/mips/cavium-octeon/unplug-cpu-ll.S                           |
>>>> 46 +
>>>>    arch/mips/cavium-octeon/unplug-cpu.c                              |
>>>> 186 +
>>>>    arch/mips/configs/mips_paravirt_defconfig                         |
>>>> 110 +
>>>>    arch/mips/include/asm/addrspace.h                                 |
>>>> 3 +-
>>>>    arch/mips/include/asm/atomic.h                                    |
>>>> 120 +-
>>>>    arch/mips/include/asm/barrier.h                                   |
>>>> 14 +-
>>>>    arch/mips/include/asm/bitops.h                                    |
>>>> 1 +
>>>>    arch/mips/include/asm/bootinfo.h                                  |
>>>> 2 +
>>>>    arch/mips/include/asm/branch.h                                    |
>>>> 7 +
>>>>    arch/mips/include/asm/cacheflush.h                                |
>>>> 1 +
>>>>    arch/mips/include/asm/cmpxchg.h                                   |
>>>> 36 +-
>>>>    arch/mips/include/asm/cpu-features.h                              |
>>>> 3 +
>>>>    arch/mips/include/asm/cpu-info.h                                  |
>>>> 5 +-
>>>>    arch/mips/include/asm/kvm_host.h                                  |
>>>> 7 +-
>>>>    arch/mips/include/asm/kvm_mips_vz.h                               |
>>>> 66 +
>>>>    arch/mips/include/asm/kvm_para.h                                  |
>>>> 109 +
>>>>    arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h  |
>>>> 14 +-
>>>>    arch/mips/include/asm/mach-cavium-octeon/irq.h                    |
>>>> 18 +-
>>>>    arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h      |
>>>> 266 +-
>>>>    arch/mips/include/asm/mach-cavium-octeon/mach_bootmem.h           |
>>>> 8 +
>>>>    arch/mips/include/asm/mach-cavium-octeon/mangle-port.h            |
>>>> 70 +
>>>>    arch/mips/include/asm/mach-cavium-octeon/mmzone.h                 |
>>>> 21 +
>>>>    arch/mips/include/asm/mach-cavium-octeon/physmem.h                |
>>>> 10 +
>>>>    arch/mips/include/asm/mach-cavium-octeon/topology.h               |
>>>> 42 +
>>>>    arch/mips/include/asm/mach-cavium-octeon/war.h                    |
>>>> 3 +
>>>>    arch/mips/include/asm/mach-generic/mach_bootmem.h                 |
>>>> 1 +
>>>>    arch/mips/include/asm/mach-generic/physmem.h                      |
>>>> 6 +
>>>>    arch/mips/include/asm/mach-paravirt/cpu-feature-overrides.h       |
>>>> 36 +
>>>>    arch/mips/include/asm/mach-paravirt/irq.h                         |
>>>> 20 +
>>>>    arch/mips/include/asm/mach-paravirt/kernel-entry-init.h           |
>>>> 50 +
>>>>    arch/mips/include/asm/mach-paravirt/war.h                         |
>>>> 26 +
>>>>    arch/mips/include/asm/mipsregs.h                                  |
>>>> 298 +-
>>>>    arch/mips/include/asm/mmu_context.h                               |
>>>> 17 +-
>>>>    arch/mips/include/asm/octeon/cvmx-address.h                       |
>>>> 344 +-
>>>>    arch/mips/include/asm/octeon/cvmx-agl-defs.h                      |
>>>> 5973 +++++++++++++++------
>>>>    arch/mips/include/asm/octeon/cvmx-agl.h                           |
>>>> 104 +
>>>>    arch/mips/include/asm/octeon/cvmx-app-config.h                    |
>>>> 100 +
>>>>    arch/mips/include/asm/octeon/cvmx-app-hotplug.h                   |
>>>> 184 +
>>>>    arch/mips/include/asm/octeon/cvmx-app-init.h                      |
>>>> 499 ++
>>>>    arch/mips/include/asm/octeon/cvmx-ase-defs.h                      |
>>>> 1586 ++++++
>>>>    arch/mips/include/asm/octeon/cvmx-asm.h                           |
>>>> 852 ++-
>>>>    arch/mips/include/asm/octeon/cvmx-asxx-defs.h                     |
>>>> 1315 +++--
>>>>    arch/mips/include/asm/octeon/cvmx-atomic.h                        |
>>>> 676 +++
>>>>    arch/mips/include/asm/octeon/cvmx-bch-defs.h                      |
>>>> 288 +
>>>>    arch/mips/include/asm/octeon/cvmx-bch.h                           |
>>>> 368 ++
>>>>    arch/mips/include/asm/octeon/cvmx-bgx.h                           |
>>>> 64 +
>>>>    arch/mips/include/asm/octeon/cvmx-bgxx-defs.h                     |
>>>> 7497 ++++++++++++++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-boot-vector.h                   |
>>>> 83 +
>>>>    arch/mips/include/asm/octeon/cvmx-bootinfo.h                      |
>>>> 55 +
>>>>    arch/mips/include/asm/octeon/cvmx-bootmem.h                       |
>>>> 587 +-
>>>>    arch/mips/include/asm/octeon/cvmx-ciu-defs.h                      |
>>>> 23679
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------
>>>>    arch/mips/include/asm/octeon/cvmx-ciu2-defs.h                     |
>>>> 13910 +++++++++++++++++++++++++++++------------------
>>>>    arch/mips/include/asm/octeon/cvmx-ciu3-defs.h                     |
>>>> 742 +++
>>>>    arch/mips/include/asm/octeon/cvmx-clock.h                         |
>>>> 163 +
>>>>    arch/mips/include/asm/octeon/cvmx-cmd-queue.h                     |
>>>> 566 +-
>>>>    arch/mips/include/asm/octeon/cvmx-core.h                          |
>>>> 306 ++
>>>>    arch/mips/include/asm/octeon/cvmx-coremask.h                      |
>>>> 827 +++
>>>>    arch/mips/include/asm/octeon/cvmx-csr-enums.h                     |
>>>> 174 +
>>>>    arch/mips/include/asm/octeon/cvmx-dbg-defs.h                      |
>>>> 182 +-
>>>>    arch/mips/include/asm/octeon/cvmx-debug.h                         |
>>>> 507 ++
>>>>    arch/mips/include/asm/octeon/cvmx-dma-engine.h                    |
>>>> 595 +++
>>>>    arch/mips/include/asm/octeon/cvmx-dpi-defs.h                      |
>>>> 3392 +++++++++---
>>>>    arch/mips/include/asm/octeon/cvmx-dtx-defs.h                      |
>>>> 7683 ++++++++++++++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-fau.h                           |
>>>> 630 ++-
>>>>    arch/mips/include/asm/octeon/cvmx-fpa-defs.h                      |
>>>> 4786 ++++++++++++-----
>>>>    arch/mips/include/asm/octeon/cvmx-fpa.h                           |
>>>> 399 +-
>>>>    arch/mips/include/asm/octeon/cvmx-fpa1.h                          |
>>>> 282 +
>>>>    arch/mips/include/asm/octeon/cvmx-fpa3.h                          |
>>>> 683 +++
>>>>    arch/mips/include/asm/octeon/cvmx-global-resources.h              |
>>>> 182 +
>>>>    arch/mips/include/asm/octeon/cvmx-gmx.h                           |
>>>> 70 +
>>>>    arch/mips/include/asm/octeon/cvmx-gmxx-defs.h                     |
>>>> 16599 +++++++++++++++++++++++++++++++++++++++------------------
>>>>    arch/mips/include/asm/octeon/cvmx-gpio-defs.h                     |
>>>> 1465 +++--
>>>>    arch/mips/include/asm/octeon/cvmx-gser.h                          |
>>>> 63 +
>>>>    arch/mips/include/asm/octeon/cvmx-gserx-defs.h                    |
>>>> 6978 ++++++++++++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-helper-agl.h                    |
>>>> 132 +
>>>>    arch/mips/include/asm/octeon/cvmx-helper-bgx.h                    |
>>>> 260 +
>>>>    arch/mips/include/asm/octeon/cvmx-helper-board.h                  |
>>>> 297 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-cfg.h                    |
>>>> 624 +++
>>>>    arch/mips/include/asm/octeon/cvmx-helper-errata.h                 |
>>>> 98 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-fpa.h                    |
>>>> 85 +
>>>>    arch/mips/include/asm/octeon/cvmx-helper-ilk.h                    |
>>>> 134 +
>>>>    arch/mips/include/asm/octeon/cvmx-helper-ipd.h                    |
>>>> 70 +
>>>>    arch/mips/include/asm/octeon/cvmx-helper-jtag.h                   |
>>>> 102 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-loop.h                   |
>>>> 64 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-npi.h                    |
>>>> 70 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-pki.h                    |
>>>> 368 ++
>>>>    arch/mips/include/asm/octeon/cvmx-helper-pko.h                    |
>>>> 100 +
>>>>    arch/mips/include/asm/octeon/cvmx-helper-pko3.h                   |
>>>> 107 +
>>>>    arch/mips/include/asm/octeon/cvmx-helper-rgmii.h                  |
>>>> 113 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-sgmii.h                  |
>>>> 101 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-spi.h                    |
>>>> 89 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-srio.h                   |
>>>> 100 +
>>>>    arch/mips/include/asm/octeon/cvmx-helper-util.h                   |
>>>> 445 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper-xaui.h                   |
>>>> 96 +-
>>>>    arch/mips/include/asm/octeon/cvmx-helper.h                        |
>>>> 471 +-
>>>>    arch/mips/include/asm/octeon/cvmx-hna-defs.h                      |
>>>> 1428 +++++
>>>>    arch/mips/include/asm/octeon/cvmx-hwfau.h                         |
>>>> 648 +++
>>>>    arch/mips/include/asm/octeon/cvmx-hwpko.h                         |
>>>> 666 +++
>>>>    arch/mips/include/asm/octeon/cvmx-ila-defs.h                      |
>>>> 1773 ++++++
>>>>    arch/mips/include/asm/octeon/cvmx-ilk-defs.h                      |
>>>> 4979 +++++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-ilk.h                           |
>>>> 226 +
>>>>    arch/mips/include/asm/octeon/cvmx-iob-defs.h                      |
>>>> 2570 ++++++---
>>>>    arch/mips/include/asm/octeon/cvmx-iobn-defs.h                     |
>>>> 796 +++
>>>>    arch/mips/include/asm/octeon/cvmx-iobp-defs.h                     |
>>>> 342 ++
>>>>    arch/mips/include/asm/octeon/cvmx-ipd-defs.h                      |
>>>> 4219 ++++++++++-----
>>>>    arch/mips/include/asm/octeon/cvmx-ipd.h                           |
>>>> 503 +-
>>>>    arch/mips/include/asm/octeon/cvmx-l2c-defs.h                      |
>>>> 10257 +++++++++++++++++++++++++++--------
>>>>    arch/mips/include/asm/octeon/cvmx-l2c.h                           |
>>>> 581 +-
>>>>    arch/mips/include/asm/octeon/cvmx-l2d-defs.h                      |
>>>> 1298 +++--
>>>>    arch/mips/include/asm/octeon/cvmx-l2t-defs.h                      |
>>>> 798 ++-
>>>>    arch/mips/include/asm/octeon/cvmx-lap.h                           |
>>>> 221 +
>>>>    arch/mips/include/asm/octeon/cvmx-lapx-defs.h                     |
>>>> 925 ++++
>>>>    arch/mips/include/asm/octeon/cvmx-lbk-defs.h                      |
>>>> 268 +
>>>>    arch/mips/include/asm/octeon/cvmx-led-defs.h                      |
>>>> 638 ++-
>>>>    arch/mips/include/asm/octeon/cvmx-lmcx-defs.h                     |
>>>> 12855 +++++++++++++++++++++++++++++++++++---------
>>>>    arch/mips/include/asm/octeon/cvmx-lut-defs.h                      |
>>>> 203 +
>>>>    arch/mips/include/asm/octeon/cvmx-mdio.h                          |
>>>> 352 +-
>>>>    arch/mips/include/asm/octeon/cvmx-mio-defs.h                      |
>>>> 13519 ++++++++++++++++++++++++++++++++--------------
>>>>    arch/mips/include/asm/octeon/cvmx-mixx-defs.h                     |
>>>> 1658 ++++--
>>>>    arch/mips/include/asm/octeon/cvmx-mpi-defs.h                      |
>>>> 921 +++-
>>>>    arch/mips/include/asm/octeon/cvmx-nand.h                          |
>>>> 865 +++
>>>>    arch/mips/include/asm/octeon/cvmx-ncb-defs.h                      |
>>>> 235 +
>>>>    arch/mips/include/asm/octeon/cvmx-ndf-defs.h                      |
>>>> 565 ++
>>>>    arch/mips/include/asm/octeon/cvmx-npei-defs.h                     |
>>>> 9333 +++++++++++++++++++++-----------
>>>>    arch/mips/include/asm/octeon/cvmx-npi-defs.h                      |
>>>> 6301 ++++++++++++++--------
>>>>    arch/mips/include/asm/octeon/cvmx-ocla.h                          |
>>>> 469 ++
>>>>    arch/mips/include/asm/octeon/cvmx-oclax-defs.h                    |
>>>> 1254 +++++
>>>>    arch/mips/include/asm/octeon/cvmx-ocx-defs.h                      |
>>>> 2722 ++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-osm-defs.h                      |
>>>> 371 ++
>>>>    arch/mips/include/asm/octeon/cvmx-osm.h                           |
>>>> 60 +
>>>>    arch/mips/include/asm/octeon/cvmx-packet.h                        |
>>>> 112 +-
>>>>    arch/mips/include/asm/octeon/cvmx-pci-defs.h                      |
>>>> 5698 ++++++++++++++------
>>>>    arch/mips/include/asm/octeon/cvmx-pcie.h                          |
>>>> 382 ++
>>>>    arch/mips/include/asm/octeon/cvmx-pcieepvfx-defs.h                |
>>>> 2648 +++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-pcieepx-defs.h                  |
>>>> 10991 ++++++++++++++++++++++++++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-pciercx-defs.h                  |
>>>> 11250 ++++++++++++++++++++++++++++++---------
>>>>    arch/mips/include/asm/octeon/cvmx-pcsx-defs.h                     |
>>>> 2451 ++++++---
>>>>    arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h                    |
>>>> 1769 ++++--
>>>>    arch/mips/include/asm/octeon/cvmx-pdm-defs.h                      |
>>>> 339 ++
>>>>    arch/mips/include/asm/octeon/cvmx-peb-defs.h                      |
>>>> 355 ++
>>>>    arch/mips/include/asm/octeon/cvmx-pemx-defs.h                     |
>>>> 3865 +++++++++++---
>>>>    arch/mips/include/asm/octeon/cvmx-pescx-defs.h                    |
>>>> 1313 +++--
>>>>    arch/mips/include/asm/octeon/cvmx-pexp-defs.h                     |
>>>> 2072 +++++++-
>>>>    arch/mips/include/asm/octeon/cvmx-pip-defs.h                      |
>>>> 7726 ++++++++++++++++++---------
>>>>    arch/mips/include/asm/octeon/cvmx-pip.h                           |
>>>> 1315 +++--
>>>>    arch/mips/include/asm/octeon/cvmx-pki-cluster.h                   |
>>>> 677 +++
>>>>    arch/mips/include/asm/octeon/cvmx-pki-defs.h                      |
>>>> 3705 +++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-pki-resources.h                 |
>>>> 195 +
>>>>    arch/mips/include/asm/octeon/cvmx-pki.h                           |
>>>> 1314 +++++
>>>>    arch/mips/include/asm/octeon/cvmx-pko-defs.h                      |
>>>> 16874 ++++++++++++++++++++++++++++++++++++++++++++++++++--------
>>>>    arch/mips/include/asm/octeon/cvmx-pko-internal-ports-range.h      |
>>>> 79 +
>>>>    arch/mips/include/asm/octeon/cvmx-pko.h                           |
>>>> 2 +-
>>>>    arch/mips/include/asm/octeon/cvmx-pko3-queue.h                    |
>>>> 245 +
>>>>    arch/mips/include/asm/octeon/cvmx-pko3-resources.h                |
>>>> 82 +
>>>>    arch/mips/include/asm/octeon/cvmx-pko3.h                          |
>>>> 877 +++
>>>>    arch/mips/include/asm/octeon/cvmx-pow-defs.h                      |
>>>> 2639 +++++----
>>>>    arch/mips/include/asm/octeon/cvmx-pow.h                           |
>>>> 3547 ++++++++----
>>>>    arch/mips/include/asm/octeon/cvmx-pse-defs.h                      |
>>>> 1733 ++++++
>>>>    arch/mips/include/asm/octeon/cvmx-qlm.h                           |
>>>> 237 +
>>>>    arch/mips/include/asm/octeon/cvmx-range.h                         |
>>>> 58 +
>>>>    arch/mips/include/asm/octeon/cvmx-rnm-defs.h                      |
>>>> 409 +-
>>>>    arch/mips/include/asm/octeon/cvmx-sata-defs.h                     |
>>>> 1992 +++++++
>>>>    arch/mips/include/asm/octeon/cvmx-scratch.h                       |
>>>> 121 +-
>>>>    arch/mips/include/asm/octeon/cvmx-sli-defs.h                      |
>>>> 9877 +++++++++++++++++++++++++---------
>>>>    arch/mips/include/asm/octeon/cvmx-smix-defs.h                     |
>>>> 837 ++-
>>>>    arch/mips/include/asm/octeon/cvmx-spi.h                           |
>>>> 292 +-
>>>>    arch/mips/include/asm/octeon/cvmx-spinlock.h                      |
>>>> 377 +-
>>>>    arch/mips/include/asm/octeon/cvmx-spxx-defs.h                     |
>>>> 1570 ++++--
>>>>    arch/mips/include/asm/octeon/cvmx-srio.h                          |
>>>> 581 ++
>>>>    arch/mips/include/asm/octeon/cvmx-sriomaintx-defs.h               |
>>>> 4401 +++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-sriox-defs.h                    |
>>>> 4652 +++++++++++-----
>>>>    arch/mips/include/asm/octeon/cvmx-srxx-defs.h                     |
>>>> 381 +-
>>>>    arch/mips/include/asm/octeon/cvmx-sso-defs.h                      |
>>>> 4821 +++++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-stxx-defs.h                     |
>>>> 922 +++-
>>>>    arch/mips/include/asm/octeon/cvmx-swap.h                          |
>>>> 130 +
>>>>    arch/mips/include/asm/octeon/cvmx-sysinfo.h                       |
>>>> 216 +-
>>>>    arch/mips/include/asm/octeon/cvmx-tim-defs.h                      |
>>>> 1816 +++++++
>>>>    arch/mips/include/asm/octeon/cvmx-twsi.h                          |
>>>> 309 ++
>>>>    arch/mips/include/asm/octeon/cvmx-uahcx-defs.h                    |
>>>> 6721 +++++++++++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-uart.h                          |
>>>> 161 +
>>>>    arch/mips/include/asm/octeon/cvmx-uctlx-defs.h                    |
>>>> 2239 ++++++--
>>>>    arch/mips/include/asm/octeon/cvmx-usb.h                           |
>>>> 1100 ++++
>>>>    arch/mips/include/asm/octeon/cvmx-usbcx-defs.h                    |
>>>> 4254 +++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-usbdrdx-defs.h                  |
>>>> 6317 ++++++++++++++++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-usbnx-defs.h                    |
>>>> 2332 ++++++++
>>>>    arch/mips/include/asm/octeon/cvmx-wqe.h                           |
>>>> 2033 +++++--
>>>>    arch/mips/include/asm/octeon/cvmx.h                               |
>>>> 303 +-
>>>>    arch/mips/include/asm/octeon/octeon-boot-info.h                   |
>>>> 269 +
>>>>    arch/mips/include/asm/octeon/octeon-crypto.h                      |
>>>> 22 +
>>>>    arch/mips/include/asm/octeon/octeon-ethernet-user.h               |
>>>> 104 +
>>>>    arch/mips/include/asm/octeon/octeon-feature.h                     |
>>>> 680 ++-
>>>>    arch/mips/include/asm/octeon/octeon-hw-status.h                   |
>>>> 41 +
>>>>    arch/mips/include/asm/octeon/octeon-model.h                       |
>>>> 627 ++-
>>>>    arch/mips/include/asm/octeon/octeon.h                             |
>>>> 296 +-
>>>>    arch/mips/include/asm/octeon/pci-octeon.h                         |
>>>> 8 +-
>>>>    arch/mips/include/asm/page.h                                      |
>>>> 17 +-
>>>>    arch/mips/include/asm/pci.h                                       |
>>>> 5 +
>>>>    arch/mips/include/asm/perf_event.h                                |
>>>> 10 +-
>>>>    arch/mips/include/asm/pgtable-64.h                                |
>>>> 7 +-
>>>>    arch/mips/include/asm/pgtable.h                                   |
>>>> 8 +-
>>>>    arch/mips/include/asm/processor.h                                 |
>>>> 43 +-
>>>>    arch/mips/include/asm/ptrace.h                                    |
>>>> 8 +-
>>>>    arch/mips/include/asm/smp.h                                       |
>>>> 2 +-
>>>>    arch/mips/include/asm/sparsemem.h                                 |
>>>> 3 +-
>>>>    arch/mips/include/asm/stackframe.h                                |
>>>> 9 +-
>>>>    arch/mips/include/asm/thread_info.h                               |
>>>> 4 +
>>>>    arch/mips/include/asm/traps.h                                     |
>>>> 9 +
>>>>    arch/mips/include/asm/uasm.h                                      |
>>>> 2 +
>>>>    arch/mips/include/uapi/asm/Kbuild                                 |
>>>> 1 +
>>>>    arch/mips/include/uapi/asm/bitfield.h                             |
>>>> 29 +
>>>>    arch/mips/include/uapi/asm/inst.h                                 |
>>>> 435 +-
>>>>    arch/mips/include/uapi/asm/kvm_para.h                             |
>>>> 6 +-
>>>>    arch/mips/include/uapi/asm/perf_regs.h                            |
>>>> 41 +
>>>>    arch/mips/include/uapi/asm/sysmips.h                              |
>>>> 2 +
>>>>    arch/mips/kernel/Makefile                                         |
>>>> 9 +-
>>>>    arch/mips/kernel/asm-offsets.c                                    |
>>>> 90 +-
>>>>    arch/mips/kernel/branch.c                                         |
>>>> 67 +-
>>>>    arch/mips/kernel/cpu-probe.c                                      |
>>>> 35 +
>>>>    arch/mips/kernel/crash_dump.c                                     |
>>>> 9 +-
>>>>    arch/mips/kernel/entry.S                                          |
>>>> 21 +
>>>>    arch/mips/kernel/genex.S                                          |
>>>> 27 +
>>>>    arch/mips/kernel/octeon-cpu.c                                     |
>>>> 196 +
>>>>    arch/mips/kernel/octeon_switch.S                                  |
>>>> 249 +-
>>>>    arch/mips/kernel/perf_event_mipsxx.c                              |
>>>> 35 +-
>>>>    arch/mips/kernel/perf_regs.c                                      |
>>>> 60 +
>>>>    arch/mips/kernel/ptrace.c                                         |
>>>> 149 +-
>>>>    arch/mips/kernel/scall64-n32.S                                    |
>>>> 2 +-
>>>>    arch/mips/kernel/setup.c                                          |
>>>> 86 +-
>>>>    arch/mips/kernel/smp.c                                            |
>>>> 2 +-
>>>>    arch/mips/kernel/syscall.c                                        |
>>>> 17 +-
>>>>    arch/mips/kernel/topology.c                                       |
>>>> 2 +-
>>>>    arch/mips/kernel/traps.c                                          |
>>>> 19 +-
>>>>    arch/mips/kernel/unaligned.c                                      |
>>>> 118 +-
>>>>    arch/mips/kernel/vdso.c                                           |
>>>> 3 +-
>>>>    arch/mips/kernel/vmlinux.lds.S                                    |
>>>> 25 +-
>>>>    arch/mips/kvm/Kconfig                                             |
>>>> 22 +-
>>>>    arch/mips/kvm/Makefile                                            |
>>>> 15 +-
>>>>    arch/mips/kvm/kvm_locore.S                                        |
>>>> 212 +-
>>>>    arch/mips/kvm/kvm_mips.c                                          |
>>>> 16 +-
>>>>    arch/mips/kvm/kvm_mips_dyntrans.c                                 |
>>>> 5 +-
>>>>    arch/mips/kvm/kvm_mips_emul.c                                     |
>>>> 144 +-
>>>>    arch/mips/kvm/kvm_mips_int.c                                      |
>>>> 8 +-
>>>>    arch/mips/kvm/kvm_tlb.c                                           |
>>>> 4 +-
>>>>    arch/mips/kvm/kvm_trap_emul.c                                     |
>>>> 20 +-
>>>>    arch/mips/mm/Makefile                                             |
>>>> 2 +-
>>>>    arch/mips/mm/c-octeon.c                                           |
>>>> 203 +-
>>>>    arch/mips/mm/cache.c                                              |
>>>> 31 +-
>>>>    arch/mips/mm/cex-oct.S                                            |
>>>> 38 +
>>>>    arch/mips/mm/page.c                                               |
>>>> 146 +-
>>>>    arch/mips/mm/tlb-r4k.c                                            |
>>>> 2 +
>>>>    arch/mips/mm/tlbex.c                                              |
>>>> 123 +-
>>>>    arch/mips/mm/uasm-mips.c                                          |
>>>> 2 +
>>>>    arch/mips/mm/uasm.c                                               |
>>>> 6 +-
>>>>    arch/mips/paravirt/Kconfig                                        |
>>>> 6 +
>>>>    arch/mips/paravirt/Makefile                                       |
>>>> 14 +
>>>>    arch/mips/paravirt/Platform                                       |
>>>> 8 +
>>>>    arch/mips/paravirt/paravirt-irq.c                                 |
>>>> 378 ++
>>>>    arch/mips/paravirt/paravirt-smp.c                                 |
>>>> 159 +
>>>>    arch/mips/paravirt/serial.c                                       |
>>>> 40 +
>>>>    arch/mips/paravirt/setup.c                                        |
>>>> 72 +
>>>>    arch/mips/pci/Makefile                                            |
>>>> 1 +
>>>>    arch/mips/pci/msi-octeon.c                                        |
>>>> 835 ++-
>>>>    arch/mips/pci/pci-octeon.c                                        |
>>>> 14 +-
>>>>    arch/mips/pci/pci-virtio-guest.c                                  |
>>>> 131 +
>>>>    arch/mips/pci/pcie-octeon.c                                       |
>>>> 1879 +------
>>>>    drivers/ata/Kconfig                                               |
>>>> 5 +
>>>>    drivers/ata/Makefile                                              |
>>>> 1 +
>>>>    drivers/ata/ahci_platform.c                                       |
>>>> 5 +
>>>>    drivers/ata/pata_octeon_cf.c                                      |
>>>> 6 +-
>>>>    drivers/ata/sata_octeon.c                                         |
>>>> 44 +
>>>>    drivers/base/cpu.c                                                |
>>>> 7 +
>>>>    drivers/char/Kconfig                                              |
>>>> 13 +
>>>>    drivers/char/Makefile                                             |
>>>> 1 +
>>>>    drivers/char/octeon-ocla.c                                        |
>>>> 911 ++++
>>>>    drivers/edac/octeon_edac-l2c.c                                    |
>>>> 147 +-
>>>>    drivers/edac/octeon_edac-lmc.c                                    |
>>>> 42 +-
>>>>    drivers/edac/octeon_edac-pc.c                                     |
>>>> 42 +-
>>>>    drivers/gpio/gpio-octeon.c                                        |
>>>> 50 +-
>>>>    drivers/i2c/busses/i2c-octeon.c                                   |
>>>> 642 ++-
>>>>    drivers/misc/eeprom/at24.c                                        |
>>>> 7 +
>>>>    drivers/misc/eeprom/at25.c                                        |
>>>> 8 +
>>>>    drivers/mmc/core/mmc.c                                            |
>>>> 3 +-
>>>>    drivers/mmc/host/Kconfig                                          |
>>>> 10 +
>>>>    drivers/mmc/host/Makefile                                         |
>>>> 1 +
>>>>    drivers/mmc/host/octeon_mmc.c                                     |
>>>> 1438 +++++
>>>>    drivers/mtd/nand/nand_base.c                                      |
>>>> 12 +
>>>>    drivers/mtd/nand/nand_ids.c                                       |
>>>> 2 +
>>>>    drivers/net/ethernet/octeon/Kconfig                               |
>>>> 60 +-
>>>>    drivers/net/ethernet/octeon/Makefile                              |
>>>> 20 +-
>>>>    drivers/{staging => net/ethernet}/octeon/ethernet-defines.h       |
>>>> 31 +-
>>>>    drivers/net/ethernet/octeon/ethernet-mdio.c                       |
>>>> 514 ++
>>>>    drivers/net/ethernet/octeon/ethernet-mem.c                        |
>>>> 326 ++
>>>>    drivers/net/ethernet/octeon/ethernet-napi.c                       |
>>>> 472 ++
>>>>    drivers/net/ethernet/octeon/ethernet-rgmii.c                      |
>>>> 298 ++
>>>>    drivers/net/ethernet/octeon/ethernet-rx.c                         |
>>>> 601 +++
>>>>    drivers/net/ethernet/octeon/ethernet-sgmii.c                      |
>>>> 231 +
>>>>    drivers/net/ethernet/octeon/ethernet-spi.c                        |
>>>> 239 +
>>>>    drivers/net/ethernet/octeon/ethernet-srio.c                       |
>>>> 282 +
>>>>    drivers/net/ethernet/octeon/ethernet-tx.c                         |
>>>> 229 +
>>>>    drivers/net/ethernet/octeon/ethernet-xmit.c                       |
>>>> 393 ++
>>>>    drivers/net/ethernet/octeon/ethernet.c                            |
>>>> 1178 ++++
>>>>    drivers/net/ethernet/octeon/octeon-bgx-nexus.c                    |
>>>> 157 +
>>>>    drivers/net/ethernet/octeon/octeon-bgx-port.c                     |
>>>> 589 ++
>>>>    drivers/net/ethernet/octeon/octeon-bgx.h                          |
>>>> 60 +
>>>>    drivers/net/ethernet/octeon/octeon-ethernet.h                     |
>>>> 228 +
>>>>    drivers/net/ethernet/octeon/octeon-pow-ethernet.c                 |
>>>> 816 +++
>>>>    drivers/net/ethernet/octeon/octeon3-ethernet.c                    |
>>>> 2043 +++++++
>>>>    drivers/net/ethernet/octeon/octeon_common.c                       |
>>>> 193 +
>>>>    drivers/net/ethernet/octeon/octeon_common.h                       |
>>>> 40 +
>>>>    drivers/net/ethernet/octeon/octeon_mgmt.c                         |
>>>> 287 +-
>>>>    drivers/net/phy/Kconfig                                           |
>>>> 29 +
>>>>    drivers/net/phy/Makefile                                          |
>>>> 4 +
>>>>    drivers/net/phy/cs4321-regs.h                                     |
>>>> 1093 ++++
>>>>    drivers/net/phy/cs4321-ucode.h                                    |
>>>> 4378 +++++++++++++++
>>>>    drivers/net/phy/cs4321.c                                          |
>>>> 1147 ++++
>>>>    drivers/net/phy/micrel.c                                          |
>>>> 11 +-
>>>>    drivers/net/phy/qca833x.c                                         |
>>>> 456 ++
>>>>    drivers/net/phy/qca833x.h                                         |
>>>> 568 ++
>>>>    drivers/net/phy/tlk10232.c                                        |
>>>> 346 ++
>>>>    drivers/net/phy/vsc848x.c                                         |
>>>> 774 +++
>>>>    drivers/of/Kconfig                                                |
>>>> 7 +
>>>>    drivers/of/Makefile                                               |
>>>> 1 +
>>>>    drivers/of/of_mdio.c                                              |
>>>> 6 +
>>>>    drivers/of/of_memory_accessor.c                                   |
>>>> 192 +
>>>>    drivers/rapidio/devices/Kconfig                                   |
>>>> 8 +
>>>>    drivers/rapidio/devices/Makefile                                  |
>>>> 1 +
>>>>    drivers/rapidio/devices/cn6xxx.c                                  |
>>>> 277 +
>>>>    drivers/rapidio/rio-sysfs.c                                       |
>>>> 101 +
>>>>    drivers/rapidio/rio.c                                             |
>>>> 45 +
>>>>    drivers/spi/spi-octeon.c                                          |
>>>> 9 +
>>>>    drivers/staging/Kconfig                                           |
>>>> 2 -
>>>>    drivers/staging/Makefile                                          |
>>>> 1 -
>>>>    drivers/staging/octeon/Kconfig                                    |
>>>> 13 -
>>>>    drivers/staging/octeon/Makefile                                   |
>>>> 23 -
>>>>    drivers/staging/octeon/ethernet-mdio.c                            |
>>>> 184 -
>>>>    drivers/staging/octeon/ethernet-mdio.h                            |
>>>> 44 -
>>>>    drivers/staging/octeon/ethernet-mem.c                             |
>>>> 172 -
>>>>    drivers/staging/octeon/ethernet-mem.h                             |
>>>> 29 -
>>>>    drivers/staging/octeon/ethernet-rgmii.c                           |
>>>> 428 --
>>>>    drivers/staging/octeon/ethernet-rx.c                              |
>>>> 558 --
>>>>    drivers/staging/octeon/ethernet-rx.h                              |
>>>> 52 -
>>>>    drivers/staging/octeon/ethernet-sgmii.c                           |
>>>> 127 -
>>>>    drivers/staging/octeon/ethernet-spi.c                             |
>>>> 292 -
>>>>    drivers/staging/octeon/ethernet-tx.c                              |
>>>> 749 ---
>>>>    drivers/staging/octeon/ethernet-tx.h                              |
>>>> 34 -
>>>>    drivers/staging/octeon/ethernet-util.h                            |
>>>> 72 -
>>>>    drivers/staging/octeon/ethernet-xaui.c                            |
>>>> 125 -
>>>>    drivers/staging/octeon/ethernet.c                                 |
>>>> 890 ----
>>>>    drivers/staging/octeon/octeon-ethernet.h                          |
>>>> 101 -
>>>>    drivers/tty/serial/8250/8250_dw.c                                 |
>>>> 68 +-
>>>>    drivers/usb/dwc3/core.c                                           |
>>>> 46 +-
>>>>    drivers/usb/host/Kconfig                                          |
>>>> 19 +
>>>>    drivers/usb/host/Makefile                                         |
>>>> 2 +
>>>>    drivers/usb/host/ehci-octeon.c                                    |
>>>> 23 +-
>>>>    drivers/usb/host/octeon-hcd.c                                     |
>>>> 889 ++++
>>>>    drivers/usb/host/octeon2-common.c                                 |
>>>> 143 +-
>>>>    drivers/usb/host/ohci-octeon.c                                    |
>>>> 25 +-
>>>>    drivers/usb/host/xhci-octeon.c                                    |
>>>> 379 ++
>>>>    drivers/usb/host/xhci-plat.c                                      |
>>>> 1 +
>>>>    drivers/virtio/virtio_ring.c                                      |
>>>> 1 +
>>>>    drivers/watchdog/Kconfig                                          |
>>>> 1 -
>>>>    drivers/watchdog/octeon-wdt-main.c                                |
>>>> 302 +-
>>>>    drivers/watchdog/octeon-wdt-nmi.S                                 |
>>>> 43 +-
>>>>    include/linux/compiler-gcc.h                                      |
>>>> 6 +
>>>>    include/linux/of_gpio.h                                           |
>>>> 1 +
>>>>    include/linux/of_memory_accessor.h                                |
>>>> 71 +
>>>>    include/linux/rio.h                                               |
>>>> 7 +
>>>>    include/linux/rio_drv.h                                           |
>>>> 3 +
>>>>    include/linux/skbuff.h                                            |
>>>> 1 +
>>>>    include/uapi/linux/kvm_para.h                                     |
>>>> 3 +
>>>>    mm/vmalloc.c                                                      |
>>>> 2 +
>>>>    net/core/skbuff.c                                                 |
>>>> 3 +-
>>>>    tools/kvm/CREDITS-Git                                             |
>>>> 30 +
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
From cbf72cac8fe1a80557c97a48a933937007d075cb Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfi...@windriver.com>
Date: Mon, 4 May 2015 11:02:21 -0400
Subject: [PATCH] mips: define cpu_has_saa in common features include

To avoid build failures such as the following on non-cavium platforms:

 | arch/mips/include/asm/atomic.h: In function 'atomic_add':
 | arch/mips/include/asm/atomic.h:52:6: error: 'cpu_has_saa' undeclared (first use in this function)
 |   if (cpu_has_saa) {
 |       ^

We define a disabled cpu_has_saa unless the machine specific feature
overrides define a value.

Signed-off-by: Bruce Ashfield <bruce.ashfi...@windriver.com>
---
 arch/mips/include/asm/cpu-features.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/mips/include/asm/cpu-features.h b/arch/mips/include/asm/cpu-features.h
index f95e6f37e771..7d1c8ea81cda 100644
--- a/arch/mips/include/asm/cpu-features.h
+++ b/arch/mips/include/asm/cpu-features.h
@@ -27,6 +27,9 @@
 #define cpu_has_segments	(cpu_data[0].options & MIPS_CPU_SEGMENTS)
 #endif
 
+#ifndef cpu_has_saa
+#define cpu_has_saa              0
+#endif
 
 /*
  * For the moment we don't consider R6000 and R8000 so we can assume that
-- 
2.1.0

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to