1. 06 7月, 2015 28 次提交
  2. 04 7月, 2015 7 次提交
  3. 03 7月, 2015 3 次提交
    • H
      ARM64 / SMP: Switch pr_err() to pr_debug() for disabled GICC entry · f9058929
      Hanjun Guo 提交于
      It is normal that firmware presents GICC entry or entries (processors)
      with disabled flag in ACPI MADT, taking a system of 16 cpus for example,
      ACPI firmware may present 8 ebabled first with another 8 cpus disabled
      in MADT, the disabled cpus can be hot-added later.
      
      Firmware may also present more cpus than the hardware actually has, but
      disabled the unused ones, and easily enable it when the hardware has such
      cpus to make the firmware code scalable.
      
      So that's not an error for disabled cpus in MADT, we can switch pr_err()
      to pr_debug() to make the boot a little quieter by default.
      
      Since hwid for disabled cpus often are invalid, and we check invalid hwid
      first in the code, for use case that hot add cpus later will be filtered
      out and will not be counted in possible cups, so move this check before
      the hwid one to prepare the code to count for disabeld cpus when cpu
      hot-plug is introduced.
      Signed-off-by: NHanjun Guo <hanjun.guo@linaro.org>
      Reviewed-by: NAl Stone <ahs3@redhat.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      f9058929
    • T
      [IA64] Drop debug test/printk that some special pages are marked reserved · 43c518d1
      Tony Luck 提交于
      In commit 92923ca3 "mm: meminit: only set page reserved in the memblock region"
      we dropped setting the reserved bits for all pages. This results in some warnings
      on ia64:
      
      put_kernel_page: page at 0xe000000005588000 not in reserved memory
      put_kernel_page: page at 0xe000000005588000 not in reserved memory
      put_kernel_page: page at 0xe000000005580000 not in reserved memory
      put_kernel_page: page at 0xe000000005580000 not in reserved memory
      put_kernel_page: page at 0xe000000005580000 not in reserved memory
      put_kernel_page: page at 0xe000000005580000 not in reserved memory
      
      the two different pages match up with two objects from the loaded kernel
      that get mapped by arch/ia64/mm/init.c:setup_gate()
      
      a000000101588000 D __start_gate_section
      a000000101580000 D empty_zero_page
      
      In a discussion with Mel Gorman:
        http://lkml.kernel.org/r/20150526102219.GB13750%40suse.de
      he suggested that while the preferred approach might be to
      set the reserved bit for these pages, it would also be OK
      to just drop the test:
         "as it's a debugging check that is ia-64 specific"
      
      After hunting around a bit and failin to find a good place to mark these
      pages as reserved - I decided to just delete the test.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      43c518d1
    • J
      arm64: cpuidle: add __init section marker to arm_cpuidle_init · ea389daa
      Jisheng Zhang 提交于
      It is not needed after booting, this patch moves the arm_cpuidle_init()
      function to the __init section.
      Signed-off-by: NJisheng Zhang <jszhang@marvell.com>
      Reviewed-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      ea389daa
  4. 02 7月, 2015 2 次提交
    • F
      ARM: multi_v7_defconfig: Enable BRCMNAND driver · ae41a0b7
      Florian Fainelli 提交于
      The Broadcom NAND driver is used by brcmstb, bcm63xx, bcm5301x and
      Cygnus/iProc under mach-bcm, this is enough critical mass to enable it.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NKevin Hilman <khilman@linaro.org>
      ae41a0b7
    • F
      ARM: BCM: Do not select CONFIG_MTD_NAND_BRCMNAND · d80d942b
      Florian Fainelli 提交于
      This reverts 7dc95b40 ("ARM: BCM: Enable
      NAND support for iProc SoCs") since it creates an unmet dependency for
      MTD_NAND_BRCMNAND which depends on MTD and MTD_NAND, this results in the
      following build failure for brcmnand:
      
       LD      init/built-in.o
      drivers/built-in.o: In function `brcmnand_remove':
      /home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:2234:
      undefined reference to `nand_release'
      drivers/built-in.o: In function `brcmnand_init_cs':
      /home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:1933:
      undefined reference to `nand_scan_ident'
      /home/fainelli/dev/linux/drivers/mtd/nand/brcmnand/brcmnand.c:1958:
      undefined reference to `nand_scan_tail'
      Makefile:931: recipe for target 'vmlinux' failed
      make: *** [vmlinux] Error 1
      
      Instead, select this driver an all dependencies on the
      multi_v7_defconfig.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NKevin Hilman <khilman@linaro.org>
      d80d942b