NetBSD Problem Report #50596

From www@NetBSD.org  Mon Dec 28 18:15:01 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 01FDC7A227
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 Dec 2015 18:15:01 +0000 (UTC)
Message-Id: <20151228181450.157317ACC9@mollari.NetBSD.org>
Date: Mon, 28 Dec 2015 18:14:50 +0000 (UTC)
From: frank.zerangue@gmail.com
Reply-To: frank.zerangue@gmail.com
To: gnats-bugs@NetBSD.org
Subject: CPU_ID_ARM1136JS r0p4 does not support feature registers
X-Send-Pr-Version: www-1.0

>Number:         50596
>Category:       port-arm32
>Synopsis:       CPU_ID_ARM1136JS r0p4 does not support feature registers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm32-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 28 18:20:00 +0000 2015
>Originator:     Frank Zerangue
>Release:        NetBSD-7.0
>Organization:
>Environment:
Darwin Franks-Mac-Pro-3.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
>Description:
arm/include/arm/armreg.: macro CPU_ID_ARM11_P(id)
arm/arm32/cpu.c: function identify_arm_cpu()

if (CPU_ID_CORTEX_P(arm_cpuid) 
|| CPU_ID_ARM11_P(arm_cpuid) 
|| CPU_ID_MV88SV58XX_P(arm_cpuid)) {
		identify_features(dv);
}

CPU_ID_ARM11_P(arm_cpuid) is TRUE for arm_cpuid = CPU_ID_ARM1136JS, as is the case for IMX31 arm11 core r0p4, but this core does not support armreg_isar0..5 used in function identify_features().
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.