Lines Matching +full:no +full:- +full:unaligned +full:- +full:direct +full:- +full:access

1 // SPDX-License-Identifier: GPL-2.0
100 * "srmcons" - early callback prints
101 * "console=srm" - full callback based console, including early prints
137 * i386-setup code. This is just enough to make the console
154 * The direct map I/O window, if any. This should be the same
229 { .name = "rtc", .start = -1, .end = -1 }, in reserve_std_resources()
244 for (hose = hose_head; hose; hose = hose->next) in reserve_std_resources()
245 if (hose->index == 0) { in reserve_std_resources()
246 io = hose->io_space; in reserve_std_resources()
261 for ((_cluster) = (memdesc)->cluster, (i) = 0; \
262 (i) < (memdesc)->numclusters; (i)++, (_cluster)++)
291 size = initrd_end - initrd_start; in move_initrd()
315 (hwrpb->mddt_offset + (unsigned long) hwrpb); in setup_memory()
321 i, cluster->usage, cluster->start_pfn, in setup_memory()
322 cluster->start_pfn + cluster->numpages); in setup_memory()
324 end = cluster->start_pfn + cluster->numpages; in setup_memory()
328 memblock_add(PFN_PHYS(cluster->start_pfn), in setup_memory()
329 cluster->numpages << PAGE_SHIFT); in setup_memory()
332 non-volatile memory -- we might want to mark in setup_memory()
334 if (cluster->usage & 3) in setup_memory()
335 memblock_reserve(PFN_PHYS(cluster->start_pfn), in setup_memory()
336 cluster->numpages << PAGE_SHIFT); in setup_memory()
348 * not being able to produce the memory map. In order to access in setup_memory()
360 mem_size_limit << (PAGE_SHIFT - 10), in setup_memory()
361 max_low_pfn << (PAGE_SHIFT - 10)); in setup_memory()
366 kernel_size = virt_to_phys(kernel_end) - KERNEL_START_PHYS; in setup_memory()
397 (hwrpb->mddt_offset + (unsigned long) hwrpb); in page_is_ram()
400 if (pfn >= cluster->start_pfn && in page_is_ram()
401 pfn < cluster->start_pfn + cluster->numpages) { in page_is_ram()
402 return (cluster->usage & 3) ? 0 : 1; in page_is_ram()
417 return -ENOMEM; in register_cpus()
450 hwrpb = (struct hwrpb_struct*) __va(INIT_HWRPB->phys_addr); in setup_arch()
454 * Pre-process the system type to make sure it will be valid. in setup_arch()
463 if ((long)hwrpb->sys_type < 0) { in setup_arch()
464 hwrpb->sys_type = -((long)hwrpb->sys_type); in setup_arch()
475 alpha_using_srm = !str_has_prefix((const char *)hwrpb->ssn, "MILO"); in setup_arch()
479 alpha_using_qemu = strstr((const char *)hwrpb->ssn, "QEMU") != 0; in setup_arch()
503 * Process command-line arguments. in setup_arch()
556 /* If we're using SRM, make sysrq-b halt back to the prom, in setup_arch()
557 not auto-reboot. */ in setup_arch()
567 cpu = (struct percpu_struct*)((char*)hwrpb + hwrpb->processor_offset); in setup_arch()
569 get_sysnames(hwrpb->sys_type, hwrpb->sys_variation, in setup_arch()
570 cpu->type, &type_name, &var_name); in setup_arch()
575 vec = get_sysvec(hwrpb->sys_type, hwrpb->sys_variation, in setup_arch()
576 cpu->type); in setup_arch()
582 hwrpb->sys_type, hwrpb->sys_variation); in setup_arch()
640 determine_cpu_caches(cpu->type); in setup_arch()
675 if (hwrpb->max_asn != MAX_ASN) { in setup_arch()
676 printk("Max ASN from HWRPB is bad (0x%lx)\n", hwrpb->max_asn); in setup_arch()
753 NULL, /* Sable -- see below. */ in get_sysvec()
761 NULL, /* Mikasa -- see below. */ in get_sysvec()
763 NULL, /* EB66 -- see variation. */ in get_sysvec()
764 NULL, /* EB64+ -- see variation. */ in get_sysvec()
770 NULL, /* EB164 -- see variation. */ in get_sysvec()
771 NULL, /* Noritake -- see below. */ in get_sysvec()
778 NULL, /* Tsunami -- see variation. */ in get_sysvec()
860 (type - ST_API_BIAS) < ARRAY_SIZE(api_vecs)) { in get_sysvec()
861 vec = api_vecs[type - ST_API_BIAS]; in get_sysvec()
863 (type - ST_UNOFFICIAL_BIAS) < ARRAY_SIZE(unofficial_vecs)) { in get_sysvec()
864 vec = unofficial_vecs[type - ST_UNOFFICIAL_BIAS]; in get_sysvec()
870 /* Member ID is a bit-field. */ in get_sysvec()
884 but, since no true EB164 had anything but EV5... */ in get_sysvec()
980 if (strcasecmp(mv->vector_name, name) == 0) in get_sysvec_byname()
997 (type - ST_API_BIAS) < ARRAY_SIZE(api_names)) { in get_sysnames()
998 *type_name = api_names[type - ST_API_BIAS]; in get_sysnames()
1000 (type - ST_UNOFFICIAL_BIAS) < ARRAY_SIZE(unofficial_names)) { in get_sysnames()
1001 *type_name = unofficial_names[type - ST_UNOFFICIAL_BIAS]; in get_sysnames()
1014 member = (variation >> 10) & 0x3f; /* member ID is a bit-field */ in get_sysnames()
1026 so, since no true EB164 had anything but EV5... */ in get_sysnames()
1069 * the string--a pointer to the name of the platform.
1072 * - Pointer to a ASCII string if it's in the HWRPB
1073 * - Pointer to a blank string if the data is not in the HWRPB.
1086 if (hwrpb->revision < 5) in platform_string()
1094 ((char *)hwrpb + hwrpb->dsr_offset)); in platform_string()
1095 return ((char *)dsr + (dsr->sysname_off + in platform_string()
1109 ((char *)cpubase + i*hwrpb->processor_size); in get_nr_processors()
1110 if ((cpu->flags & 0x1cc) == 0x1cc) in get_nr_processors()
1119 if (shape == -1) in show_cache_size()
1124 seq_printf (f, "%s\t\t: %dK, %d-way, %db line\n", in show_cache_size()
1134 } unaligned[2]; in show_cpuinfo() local
1150 cpu_index = (unsigned) (cpu->type - 1); in show_cpuinfo()
1155 get_sysnames(hwrpb->sys_type, hwrpb->sys_variation, in show_cpuinfo()
1156 cpu->type, &systype_name, &sysvariation_name); in show_cpuinfo()
1158 nr_processors = get_nr_processors(cpu, hwrpb->nr_processors); in show_cpuinfo()
1161 timer_freq = (100UL * hwrpb->intr_freq) / 4096; in show_cpuinfo()
1181 "kernel unaligned acc\t: %ld (pc=%lx,va=%lx)\n" in show_cpuinfo()
1182 "user unaligned acc\t: %ld (pc=%lx,va=%lx)\n" in show_cpuinfo()
1185 cpu_name, cpu->variation, cpu->revision, in show_cpuinfo()
1186 (char*)cpu->serial_no, in show_cpuinfo()
1187 systype_name, sysvariation_name, hwrpb->sys_revision, in show_cpuinfo()
1188 (char*)hwrpb->ssn, in show_cpuinfo()
1189 est_cycle_freq ? : hwrpb->cycle_freq, in show_cpuinfo()
1192 hwrpb->pagesize, in show_cpuinfo()
1193 hwrpb->pa_bits, in show_cpuinfo()
1194 hwrpb->max_asn, in show_cpuinfo()
1197 unaligned[0].count, unaligned[0].pc, unaligned[0].va, in show_cpuinfo()
1198 unaligned[1].count, unaligned[1].pc, unaligned[1].va, in show_cpuinfo()
1246 /* Note that the offchip caches are direct mapped on all Alphas. */
1275 return -1; /* No BCACHE found. */ in external_cache_probe()
1292 L3 = -1; in determine_cpu_caches()
1294 /* BIU_CTL is a write-only Abox register. PALcode has a in determine_cpu_caches()
1313 L3 = -1; in determine_cpu_caches()
1317 /* No typo -- 8 byte cacheline size. Whodathunk. */ in determine_cpu_caches()
1318 L2 = (car & 1 ? CSHAPE (size, 3, 1) : -1); in determine_cpu_caches()
1334 /* BC_CONTROL and BC_CONFIG are write-only IPRs. PALcode in determine_cpu_caches()
1339 size = 1024*1024 * (1 << ((bc_config & 7) - 1)); in determine_cpu_caches()
1340 L3 = (bc_control & 1 ? CSHAPE (size, width, 1) : -1); in determine_cpu_caches()
1358 L3 = -1; in determine_cpu_caches()
1366 L2 = ((cbox_config >> 31) & 1 ? CSHAPE (size, 6, 1) : -1); in determine_cpu_caches()
1381 L3 = -1; in determine_cpu_caches()
1388 L3 = -1; in determine_cpu_caches()
1409 return *pos ? NULL : (char *)hwrpb + hwrpb->processor_offset; in c_start()
1449 pd = platform_device_alloc("pcspkr", -1); in add_pcspkr()
1451 return -ENOMEM; in add_pcspkr()