Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 843f7647 authored by Ruchi Kandoi's avatar Ruchi Kandoi
Browse files

Revert "arm64: cpuinfo: ARMv7 compatable cpuinfo option"

This reverts commit 6cd119d4.
parent b3458b38
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -364,17 +364,6 @@ config ARMV7_COMPAT

	 If you want to execute ARMv7 applications, say Y

config ARMV7_COMPAT_CPUINFO
	bool "Report backwards compatible cpu features in /proc/cpuinfo"
	depends on ARMV7_COMPAT
	default y
	help
	 This option makes /proc/cpuinfo list CPU features that an ARMv7 or
	 earlier kernel would report, but are not optional on an ARMv8 or later
	 processor.

	 If you want to execute ARMv7 applications, say Y

config SYS_SUPPORTS_HUGETLBFS
	def_bool y

+1 −6
Original line number Diff line number Diff line
@@ -471,14 +471,9 @@ static int c_show(struct seq_file *m, void *v)
	for (i = 0; hwcap_str[i]; i++)
		if (elf_hwcap & (1 << i))
			seq_printf(m, "%s ", hwcap_str[i]);
#ifdef CONFIG_ARMV7_COMPAT_CPUINFO
	/* Print out the non-optional ARMv8 HW capabilities */
	seq_printf(m, "wp half thumb fastmult vfp edsp neon vfpv3d16 tlsi ");
	seq_printf(m, "vfpv4 idiva idivt ");
#endif

	seq_printf(m, "\nCPU implementer\t: 0x%02x\n", read_cpuid_id() >> 24);
	seq_printf(m, "CPU architecture: 8\n");
	seq_printf(m, "CPU architecture: AArch64\n");
	seq_printf(m, "CPU variant\t: 0x%x\n", (read_cpuid_id() >> 20) & 15);
	seq_printf(m, "CPU part\t: 0x%03x\n", (read_cpuid_id() >> 4) & 0xfff);
	seq_printf(m, "CPU revision\t: %d\n", read_cpuid_id() & 15);