Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4609460ybp; Mon, 7 Oct 2019 10:59:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwq026aSFBLIF/uugOEunVGgpSImDa3H1XeLP54jKqofeFmK+gUdE4T+sZzqoMoFptGCI5C X-Received: by 2002:aa7:d995:: with SMTP id u21mr30259513eds.271.1570471193440; Mon, 07 Oct 2019 10:59:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570471193; cv=pass; d=google.com; s=arc-20160816; b=OsQ/B6AkwM23M4ZYxNXscu65D02kDH3UtHxrd4BsaQqjD7OTRkabsFcPA1UD+o7uT9 Ee1Cv+LOPx5A5SgoiWMdf1b81pTYVmc732VaVl7rGSKSGwcD7TvJJ3/A6dE0e/e1AaZx HSLAIm6Ihn7edmpKuZzs4HUHT6056nLlJQaw+rNRKho/xFquN/FIS6GzAvVosGYv7cP6 RdCGqnEC1HXEOaFG4CNa1nKhrRd7wsrUxbYxQzskePFpOABamUxWDVRQyxRPSZIenmSc VfAvKHmDTNX3iifjV/KXdajDUXLhiervdju3Tin8RA+5d9mecPkWesFl2CZ+GXxoTNIE lQVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=YpugprrxkpYyCFw31flchiDPUSvNqCsv1FxjbiTbckE=; b=FO7tJILmX8UlPiph4lzpvD0JpWggquBxDE+iadIxGDSLmgqU7YcTqYqn/83P/1s20H mM6nLeaRTWBNmrurlLGBqIj1pJJ54KAcdSQ7lTgosiTlCShc7Zq5haqBXUc19SwiAEJB AjVmikoYaSZiGJ0Kh2V475GX33bvmNbB6wO3+vSX10YRm7HIgC+9howWcG1MlL330WsC Y0A2qwWKczC9H2sfyiklJYLGvlzJ7IfJ4j3awxHksbvjoWjzJ6ZKn9resN8GVDL3f/FI rAe7SEy4BK8D552ngFhn001dA3mLme6QNuFMbiOlerF120Qt2nm3KB51nnpZIsrKAUid B2PQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wavecomp.com header.s=selector2 header.b=F2owVDi7; arc=pass (i=1 spf=pass spfdomain=wavecomp.com dkim=pass dkdomain=mips.com dmarc=pass fromdomain=mips.com); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c31si9426685edb.309.2019.10.07.10.59.29; Mon, 07 Oct 2019 10:59:53 -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=pass header.i=@wavecomp.com header.s=selector2 header.b=F2owVDi7; arc=pass (i=1 spf=pass spfdomain=wavecomp.com dkim=pass dkdomain=mips.com dmarc=pass fromdomain=mips.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729293AbfJGR7U (ORCPT + 99 others); Mon, 7 Oct 2019 13:59:20 -0400 Received: from mail-eopbgr710135.outbound.protection.outlook.com ([40.107.71.135]:35603 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728079AbfJGR7U (ORCPT ); Mon, 7 Oct 2019 13:59:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H9oUNSm8wAr8U4FKsnyjQQcpo9hf83F7ac+/bDqnC1SYDxDDH4+cW0exlLnF3GFR8V6VUV8C4EF8zu6CPpodV6OOn6oeBSrCvdfdLUDpPl0BR2K7erqlT5ICE4fag77G2NWAXdei/PkN+JaE45tz9SDjy2aqHFEnsk2tcVXuErHMx0IsWTmQyCSCNUxEvf9ilpXKl3KhNSzET+xgO3SaSJFLhXsahsYqI267ww4xebZw2gscgfXRem9uDu/MGePj48t9W3p/gJUsAY2GzZ8dwLpSz08i9vW6IcAtjzRLcGb31ROqcdT8XOGVKslMRnTQ9AKWgk3Izcws5uPiDsC56A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YpugprrxkpYyCFw31flchiDPUSvNqCsv1FxjbiTbckE=; b=ZXNm3aK67PYosKiNxq8eEX5jS5a018BQ7ZNADFo2oUWQtkcbMK49e552AAmdOu5go3KnOlsN9uZcMrDhpmxnL1lQF8ZyFF/Q4Hy0GArXxyG+hsRgDR/+Gx4be6rOL6NpAphSHm0z1n/AGxcVyZZopvWpb7BiHGwT1YqT98Tpr6nLalAQvp4wva/8BUKtVhht8EgIFhS9VUpDri0nAyMZlOlm+F53kwRuNFeh2LMvfvVTRIRIqLaqEeXS6AkUbqK/yz3Xz1B+pOfFfk6fFLu7TLYEVWETgOmvbc4VJsgtyVMfgwYNVBwV8tFI4LOzMnWCQdZhP8dNBa+wk0/2VE69BQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wavecomp.com; dmarc=pass action=none header.from=mips.com; dkim=pass header.d=mips.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavecomp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YpugprrxkpYyCFw31flchiDPUSvNqCsv1FxjbiTbckE=; b=F2owVDi7Ep01desXvKu6V0T9Ii8Wy4dIZLgNPwk8GLzK3dZ9AhN1hx7K9RlIRS988lljt1WbaWPNgocLXh5QounfcWC3QDCxBq6SxwSMuwIU0SxZTkrBXgJ73yz8SVZj6zEjc50kFEsc5Fazs5AH6o04MMBOE7+N3Bx4w/dmNT8= Received: from MWHPR2201MB1277.namprd22.prod.outlook.com (10.172.60.12) by MWHPR2201MB1470.namprd22.prod.outlook.com (10.174.170.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2327.24; Mon, 7 Oct 2019 17:59:18 +0000 Received: from MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::3050:9a38:9d8e:8033]) by MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::3050:9a38:9d8e:8033%5]) with mapi id 15.20.2327.025; Mon, 7 Oct 2019 17:59:18 +0000 From: Paul Burton To: Aurabindo Jayamohanan CC: "ralf@linux-mips.org" , Paul Burton , "jhogan@kernel.org" , "alexios.zavras@intel.com" , "gregkh@linuxfoundation.org" , "armijn@tjaldur.nl" , "allison@lohutok.net" , "tglx@linutronix.de" , "linux-mips@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mips@vger.kernel.org" Subject: Re: [PATCH] mips: check for dsp presence only once before save/restore Thread-Topic: [PATCH] mips: check for dsp presence only once before save/restore Thread-Index: AQHVfTjwGrGVHbSFvECLy1pIiGJbFw== Date: Mon, 7 Oct 2019 17:59:18 +0000 Message-ID: References: <20190913120206.9234-1-mail@aurabindo.in> In-Reply-To: <20190913120206.9234-1-mail@aurabindo.in> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR03CA0016.namprd03.prod.outlook.com (2603:10b6:a02:a8::29) To MWHPR2201MB1277.namprd22.prod.outlook.com (2603:10b6:301:18::12) authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [12.94.197.246] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 57346c07-708f-4d0c-3e87-08d74b5012a6 x-ms-traffictypediagnostic: MWHPR2201MB1470: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 01834E39B7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39840400004)(396003)(376002)(366004)(136003)(199004)(189003)(52116002)(33656002)(7416002)(7696005)(76176011)(99286004)(6436002)(256004)(14444005)(476003)(74316002)(42882007)(11346002)(4326008)(446003)(229853002)(7736002)(305945005)(44832011)(486006)(102836004)(6116002)(3846002)(6246003)(71190400001)(71200400001)(6506007)(386003)(26005)(2906002)(186003)(1250700005)(52536014)(9686003)(4744005)(6916009)(54906003)(316002)(5660300002)(25786009)(66066001)(6306002)(14454004)(66446008)(55016002)(478600001)(8936002)(81156014)(66946007)(64756008)(66476007)(81166006)(966005)(8676002)(66556008);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2201MB1470;H:MWHPR2201MB1277.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1alN3vTzsY3RTyU0nGRudf5JMTk8sZm1JsEorVs7MmuNFoTnSYF8Nd4H9NbvnYZiS7zX3t8OKZMu+3jKVTvvXUCxQqFitkhmZhkin8hP4uG34MK/Ks8t5Ib1xRPBuSF5VhOXq96qmnPvKIQet9wBgLcfvtxkHpwsLKirlWpzgnauPp5VkmCV9J5+/45Dl/Elx5kTqU1JWg5MT+RbkI5ykZrBy4Ukgz+Ef48fybuldVAyknlL6lOpWpFmW01VyNaSetrEuzB+Lqp7Ao2i+Wouoj5+DJdFZZyN9KQd66cOcdbAnj2uAkRONfHw++rJIWBYGBbWDdwK/AtdkxDP5Wj12Oh0LRcjRjdYe8OCXj4arxpTSgBfka3yPdJS4BVoH1RqPtnjVgFuYhmTyG/iXkSNYBQCy8AgN44Bsblpg9Cm3xB/0x/Zb2c7pAcSJE86LFfEakmsGHuzBvP92cLv/Y6QYg== Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57346c07-708f-4d0c-3e87-08d74b5012a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2019 17:59:18.0935 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SzzS65YKhm6dYiHdazvzdXi9Ly8mJHJ5V8YXO0NITXGCY0MohgmEaV9wCj3Jp0znVfa9zp+AK3ICTTfy5rImfQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2201MB1470 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Aurabindo Jayamohanan wrote: > {save,restore}_dsp() internally checks if the cpu has dsp support. > Therefore, explicit check is not required before calling them in > {save,restore}_processor_state() Applied to mips-next. > commit 9662dd752c14 > https://git.kernel.org/mips/c/9662dd752c14 >=20 > Signed-off-by: Aurabindo Jayamohanan > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paul.burton@mips.com to report it. ]