From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD145C3A5A4 for ; Sun, 1 Sep 2019 23:09:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA29B2184D for ; Sun, 1 Sep 2019 23:09:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IbwvM4Ab" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729137AbfIAXJa (ORCPT ); Sun, 1 Sep 2019 19:09:30 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:50199 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729117AbfIAXJa (ORCPT ); Sun, 1 Sep 2019 19:09:30 -0400 Received: by mail-wm1-f65.google.com with SMTP id c10so694076wmc.0 for ; Sun, 01 Sep 2019 16:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:openpgp:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JJRuYPlKB5wWx0q/4EGUxsLe4cQZarfwXatit93zz+A=; b=IbwvM4Ab7vKvMXhbN1tXPmLo+g1czo75JQQyTR8iTj9yzl7iVoRIP0diG5HD6KxQXp T+VvjoeOYCcRD42wZBXJzdkzIU9o0gD14Hk8xdEBB1J+gi9KMyrPr2r8HIsT1Ddnwymx nh6N6hG5rDQRPy1FUL2xg2c9FbgeGh1hRjNAUUeqQv56Nt3noUz96jSz5Bi7ZgtmBA3t Yo4F2GDGAueDMRiHuLMkKTsCKVbSggLsQ2W2iSXc6tgBhAICLpz+AiCniHNiaC5fYmTV AVRfTi2Thll+i4ThtxHMrQKavoWr7gqNUfILhezQJBC+5p2OeFkkbHsSyVfmWuOyI9nE ORLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:openpgp :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=JJRuYPlKB5wWx0q/4EGUxsLe4cQZarfwXatit93zz+A=; b=a4um7CL0SJkFTjqKMQctzXDeuzzLQFG2BPnJGj4vg+sootiJPJAXxeyPZBpq1i+RJH uyRtN3ZvfpAIXMav07bQsadKZRkXCmNJvOOoEaQzAiB/gs35M2ROsQgaHSB+RxJooCRA 9JNZ7dGFWEwbNFWIpYu5PK/O8Zk6Menb30W4C3wdFF1Zd8TwRbtFQrABw9xhVwqpnwHa 8NziFPr2kFqzZBMQ5hPf7mkNtWiUQbs1fzTidrvOQvQ6w9T0STjDJD3EDfbsluo9iM8t nviUaA0/BEXG0xWCxf0pDHG1JNw4CV1hZ6+hVL8ADwnzpJYOreUWh29m4bkumThrITSY 2X/Q== X-Gm-Message-State: APjAAAULGSzxKFWsweyD6h8Kwmlpretx+GG8BlKi7eAD9QvDRmJpj1Vm 26Nwa3Wqwc4BUGlnr4KaU1AWo+4A X-Google-Smtp-Source: APXvYqzUfF5K6X1R6aTVjakJMrDf8spfbDnJmkwkHRwx2OFbMSGcWWXPXte0PP2CFkK4/q14/2ajXg== X-Received: by 2002:a7b:c40e:: with SMTP id k14mr19073386wmi.167.1567379367492; Sun, 01 Sep 2019 16:09:27 -0700 (PDT) Received: from [192.168.1.41] (251.red-88-10-102.dynamicip.rima-tde.net. [88.10.102.251]) by smtp.gmail.com with ESMTPSA id f197sm27121188wme.22.2019.09.01.16.09.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Sep 2019 16:09:26 -0700 (PDT) Subject: Re: [PATCH 047/120] MIPS: PS2: Let the system type be Sony PlayStation 2 To: Fredrik Noring , linux-mips@vger.kernel.org References: From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Openpgp: url=http://pgp.mit.edu/pks/lookup?op=get&search=0xE3E32C2CDEADC0DE Message-ID: Date: Mon, 2 Sep 2019 01:09:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On 9/1/19 5:54 PM, Fredrik Noring wrote: > The system type is shown in the /proc/cpuinfo file: > > # grep system' 'type /proc/cpuinfo > system type : Sony PlayStation 2 > > Signed-off-by: Fredrik Noring > --- > arch/mips/ps2/identify.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/mips/ps2/identify.c b/arch/mips/ps2/identify.c > index 264fdc13dc43..579148fb79c4 100644 > --- a/arch/mips/ps2/identify.c > +++ b/arch/mips/ps2/identify.c > @@ -9,11 +9,17 @@ > #include > #include > > +#include > #include > > #include > #include > > +const char *get_system_type(void) > +{ > + return "Sony PlayStation 2"; > +} > + > static int __init set_machine_name_by_scmd(void) > { > const struct scmd_machine_name machine = scmd_read_machine_name(); > Reviewed-by: Philippe Mathieu-Daudé