Received: by 2002:a17:90a:37e8:0:0:0:0 with SMTP id v95csp380067pjb; Fri, 4 Oct 2019 00:47:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLjTP7HZiMpLoz16cHJpPKL4P+Ou0P1Zj5DnU6tXxREtJQ3khH77BViIEKYRREYOWo4rUv X-Received: by 2002:a17:906:8308:: with SMTP id j8mr10833847ejx.142.1570175224889; Fri, 04 Oct 2019 00:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570175224; cv=none; d=google.com; s=arc-20160816; b=PYZoPGMffLDTmQbNvN0CtWxEpC0iK88ofJvtBUq2Kk1mO9XCoxQIIhjvy4jOIKs5Wh a3TLW468daylYp8lx4Pn+9cgbLHhFBpixcBr5ZiiVCp3MrgcM1GNTBA0iQUeguJ9RCSR vPyUZAmiW5DkIU4LypMu/E2TNGKAFDIA8Z+4yeYbrQp7jL+pNEAG3YNfDFFeQGdwZdDn w7BA8dm118nsRFsu+0J/foTbVZ5WTzNpJTYx1bf/o2AuJWx8HbJguiapASO/vC/3uHFr dQBx15pv0stMFqiy3TJHVRPsK1GxsSL67TQiB2lcEodBNpBnwWRwFJCPwK4zbWlNbkLG Ix0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:wdcironportexception :ironport-sdr:ironport-sdr:ironport-sdr:dkim-signature; bh=3s9p8mZ4v1i9HV2GiYd/g4c2trNfR40827F5jJV6sg8=; b=Z7kB1AFIuOn8PAW2fQnWIxtRWSlrqajxMT1ZzjUOeZlnCFxXFrBbCdq32OpUCWBsBO /+wEzGOsT1T9UT2L2wKJh2md0vLnMkU1afD2VpWPJiJODg8jWwr2LtT6u90TczHyOVI5 0wXwZhGk7DW2i8hYx9aDtLlfdHVYBvBTsBmN1QLTgVfOhno1bOhi5tailkW8I40ioOV+ G8fEylmI9TmYC8Y9wDq3xawY7bDrIC0Yq71ED8JKgRJqR1Dr+Iw6T4VkoMWJpBssr+AN K9kW7EGodjO+T9x1ZzAo4AkuDA5VQYtQNqmItc4WcqGxNeRHXYsxFpmIOLKgmEEFGkNg qNzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=SyOYhhaK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si2590453eju.3.2019.10.04.00.46.40; Fri, 04 Oct 2019 00:47:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=SyOYhhaK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730813AbfJDBUD (ORCPT + 99 others); Thu, 3 Oct 2019 21:20:03 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:33208 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729936AbfJDBUC (ORCPT ); Thu, 3 Oct 2019 21:20:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1570152002; x=1601688002; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=NzwMkZfhyj9zYXOCuOOZ0vuE69ztDUVtvki7aeyLmd0=; b=SyOYhhaK8aZDIXRucb3/YVGgBZ770QYHr/q9NY+gwD7Amxc55JDGWIqC M+cRtRN4Hd5nUHWC8F+pyTbf/nfbjagMLTU1027nKeDD/okjFQrHPA6JC Jpc55qnB3dUT9WUn3PHRatBLOjgrwy+RWnX5QW1HimVwLWn6c4IBoJNjn HEeGT+vZet8CRLwuJ5nbuEX9cWATtJ/a2KoxJUvjMhW6RijJbsisrGmQq 4pqtSJ8FsQpraBlNpDs9WAZ338yGNgjIxqAE92vkJarVAFh+TZ0NDEs1s YIYbzssapugJxa5gMXI2iDn3gideloLASOHG3drb79WEvRf8rPDsYsD1d g==; IronPort-SDR: iFZpQDYyVjMJKrO0yxFbbrjDt/sl/JYcOJYcSMs1ReWhQMNXljxyCc26qBIqWWG5ITQ5lw5oMT Lk5MciJv7paiNNDL3fAXO0EY/PHcN2rKAXx7jEUoIAgGeqyXT9Uzpr8gY2vXezj3HBq3e/9RfC veKZgChec+l85sF/wyihww7EhssfY1eTnmIpoyJd3ETWflapX3Fagtp69f2XesDr3wNzJbZmCe cLI0yHMdwHw7nro3OH9OGvZF7od5d5NipcUNb29F/LT727APROvX+0c0mCBkbDu34SnyFZ2+Dt XUo= X-IronPort-AV: E=Sophos;i="5.67,254,1566835200"; d="scan'208";a="119765636" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 04 Oct 2019 09:20:01 +0800 IronPort-SDR: 6vSk2ULkGyku89yDd8uvkHJsnn8psoh3O09WvNkDc1pj8fJ26rC1yNhP/dYopSfaa1B885kBOT JWfWb3lJo0zh2SZSwaaFVhxTaVA5LBDg/fiYHX2R7W6P4b+L6KKjvETCAnDck9/Et5vk3AiB/+ 6qomKvEino5YVdglGPzIjZ5dB1R2t672gkXsq23roZXJwzHMauCzyTNjmdPr+UdBNu1/yoPnAI CGOcGfxjAeCdpoI0qojt7s4MF9g+Up1ltCaLEAE63kOWQRGejHwali3AnlG0a5nLaietVYzBkS dnyx6rxKMnTTK4hvjbPdNJNB Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2019 18:16:10 -0700 IronPort-SDR: KuxEV1SGWdJOztyc5eYy40O3JRvzi+JQ3c0RSx2GcM44hBQu7yP4fnOywYeiIwcgxIVqS1vCJS +iR4eFhykfeU2PnByGRiFkYUZGRS2QYw/0smedlSiogmAkcTaSZueo5U54zt7EoKEye6YkGM9f n6MF/SjkErw8g1HlVdKrj2fqPi7KhCKVxc0Lv+mx6IG8hEV8FelqiWnipB+Z/hnDWdE+NISKS6 yPCcRadrRt0YFCp/tbLoudLXfIFGMOSSD1oKd23cNaus/cn6GCt3ZDlDb0ifyEl6YxsOmGPVtx sdM= WDCIronportException: Internal Received: from jedi-01.sdcorp.global.sandisk.com (HELO jedi-01.int.fusionio.com) ([10.11.143.218]) by uls-op-cesaip02.wdc.com with ESMTP; 03 Oct 2019 18:20:02 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Alexandre Ghiti , Andrew Morton , Anup Patel , Greg Kroah-Hartman , Johan Hovold , linux-riscv@lists.infradead.org, Palmer Dabbelt , Paul Walmsley , Richard Fontana , Thomas Gleixner Subject: [v1 PATCH 0/2] Cleanup isa string access and print Date: Thu, 3 Oct 2019 18:19:58 -0700 Message-Id: <20191004012000.2661-1-atish.patra@wdc.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a cleanup series addressing issues around isa string accesses and prints. Patch 1 is actually a revised patch as a result of discussion in the following thread. http://lists.infradead.org/pipermail/linux-riscv/2019-September/006702.html Patch 2 is an additional cleanup that tries to consolidate all isa string related checks. Atish Patra (2): RISC-V: Remove unsupported isa string info print RISC-V: Consolidate isa correctness check arch/riscv/include/asm/processor.h | 1 + arch/riscv/kernel/cpu.c | 85 ++++++++++++------------------ arch/riscv/kernel/cpufeature.c | 4 +- arch/riscv/kernel/smpboot.c | 4 ++ 4 files changed, 39 insertions(+), 55 deletions(-) -- 2.21.0