Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5292308yba; Wed, 10 Apr 2019 16:08:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqym78iBDI29JAY0OhhQqxRKx0BX1bOv4qw3pHcJp0GEXPNJF8RWGkGC+SjkyLz3hOzqB0L7 X-Received: by 2002:a63:8e:: with SMTP id 136mr39081429pga.367.1554937702578; Wed, 10 Apr 2019 16:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554937702; cv=none; d=google.com; s=arc-20160816; b=EtzOYX10icXs1wq2I0viGdBRR6aR2FYh2LYAWPAu3wnqgUh34awyLNQvbualEO13Lu 3GdfLbflz+pNQJvWaOlMkMhvF03+HihQG8hAshS8fuf/G7nQ8fo+8ZjhB9f7PNVaaDHO 4IpE8h8hGfbZW5S14rltBj22A8ZrRgE3yJBM9SI2B04kqdY36dcYUBbNq73admH+BInG W1Tvye6M37Zj+UAJ6RZiU+482UnT5CWgPSTDMS4uYR3b6eL4G3L8eGOnAFfCEX80ztXH MP4edHeyuGjFwafZOWdJAsRZp0Kq34iVY8V5QAW5xjp+3anLHcRg2ik+PHFM7jmhXl2h rb+w== 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:ironport-sdr:ironport-sdr :dkim-signature; bh=t3z4B97I6US49VlxdlrbTpRjOPT7hrSMDWYe9JScZtE=; b=LWhfvQuVNYFDsgkiI8XIU1m1F1NBY2n3fp0YqFoWIpiibygCtzbWpbpLODc8AW3+jc /DM0StghqnX9kFOKTzHm8/UOfNC93NvCH7/ulMLKVaFYud97qWgqS19kwIAqE3RMVfxV kq5xbws4HOiaEEH9qwEBBQKhhvaLtrVHsBUJaoExB1wQSefOXKKkqx6VmdAyGkNZMryI 5H3nCtYef4BhZBIdZcA+fBYJMfj6lSIFsigNI7vAlh0Fjv3gMfTn0u2v0Co0WQAa0ABV cwauytj/CaUU9pl+RGFHZ10g+g9IEja3paGYRmHsuy7qij4JmSNwUe3nm6jVH2e4RtKb iOlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=DCRd82DW; 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 r189si4120693pgr.175.2019.04.10.16.08.06; Wed, 10 Apr 2019 16:08:22 -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=DCRd82DW; 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 S1726256AbfDJXFA (ORCPT + 99 others); Wed, 10 Apr 2019 19:05:00 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:61696 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725981AbfDJXE7 (ORCPT ); Wed, 10 Apr 2019 19:04:59 -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=1554937500; x=1586473500; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GLs0GoxRzUrfv22VND2PfnCLlwY3Um+V6ZRAqFdvJic=; b=DCRd82DWgoKQnvCMICabtb9sEHM1psLYYg0jDWGFy4SBbV4xP60kwNXJ aCRLn/AHKkN/ILmrLhDbDd170exmcZ4tQyj8yGwiEmOGad0VB5xL3THf8 F96RHRx2bRIh5WoYiTre97X2y6WvdGwJ087vPJSFblYiaGqU1wU1WbwpU apGyVk1qmSKdsyd+KRznecrZ1YHGRudxCXdb2OMkbSDdFvE4c/h5K6OQI 7Y+m89IrsT5SREoMuMNFK2h94g//l/sya0SARVN0rtLuUr4VeEr2uC+si c/WoM6iK8qxZUNyRt0MVaJ2+KnLEadOeWBZ7XJIFlX6QrKuYUv3wFDHd9 A==; X-IronPort-AV: E=Sophos;i="5.60,335,1549900800"; d="scan'208";a="110531204" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 11 Apr 2019 07:05:00 +0800 IronPort-SDR: V6KWr+K8V/3eBXMl+srttJt5bpySJWq87WqBg4+EcYfcixL33Z2Ee0ZWDUD2yZDvYHX5WM8VU6 OEgUYqz0rBRpIfVB8NQBfdroGduz7r80j6ulHJLaJc0iE12HiCRax6Su/NQ9JNWehTYxHvqzto Ukqm6yxDvCYDisAoGRZ3i7JsYN5BAi2QKyGjN4uov4crRNwaP40QmIfVzxSbLjQ/Mn2kjnXbIM NkMX1049l8vQKL68Z+vrNrAtHPHmTCESatdLDoRL0qh8pwoWgj+VZRqrxGOep7ztHyFcKCw/C9 kQ6nokfG4jeBSItmuP34YV3P Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 10 Apr 2019 15:41:52 -0700 IronPort-SDR: zAezptHMBcF3SaRvVTnC+jsYaiyx1J5/a/GTFW1QBEGumpEwYjawwuSewMtYYPIASdxheJ1JJf +PGD2epfHl4RBRz2Ce/FOjT9g7mikC+PnrdwVn944btrwc7I9ktZF6/AlqBsEEHe72gHEkjPcN yBStiVZ55Nw/ZSCyqhGhX29gzf0cw9AliY9s5emYMGVjtpHvujPHcY4nCmJHA4Pby1ZcVOfvxD WGWJA0XCgYz+a2MGaQGehUZrDKnOpNFR1aPiMT9EuuLrvG7uVowP4Si9MA+9ZFCGo0+hpslTWZ DWk= Received: from jedi-01.sdcorp.global.sandisk.com (HELO jedi-01.int.fusionio.com) ([10.11.143.218]) by uls-op-cesaip01.wdc.com with ESMTP; 10 Apr 2019 16:04:58 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Andreas Schwab , Anup Patel , Dmitriy Cherkasov , Johan Hovold , linux-riscv@lists.infradead.org, Palmer Dabbelt , Paul Walmsley Subject: [PATCH v2 0/4] Miscellaneous kernel command line fixes Date: Wed, 10 Apr 2019 16:04:39 -0700 Message-Id: <20190410230443.15729-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 Assorted command line option fixes for RISC-V. Changes from v1->v2. 1. Update pr_err string in patch (4/4) as per review. Atish Patra (4): RISC-V: Add RISC-V specific arch_match_cpu_phys_id RISC-V: Fix of_get_cpu_node usage RISC-V: Implement nosmp commandline option. RISC-V: Support nr_cpus command line option. arch/riscv/kernel/cpu.c | 3 +-- arch/riscv/kernel/smp.c | 5 +++++ arch/riscv/kernel/smpboot. | 0 arch/riscv/kernel/smpboot.c | 22 ++++++++++++++++++++-- 4 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 arch/riscv/kernel/smpboot. -- 2.21.0