From patchwork Mon Aug 24 16:46:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael Kelley (LINUX)" X-Patchwork-Id: 11733811 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3CB8814E5 for ; Mon, 24 Aug 2020 17:13:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 13FDC2063A for ; Mon, 24 Aug 2020 17:13:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="J6/l8Me9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ph6BXJGy"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=microsoft.com header.i=@microsoft.com header.b="J+JnWmIN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13FDC2063A Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=microsoft.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bBp5SZ++Iu0cXN4DguWtMEjAqbz3a6JW8govlCMnz7Q=; b=J6/l8Me98upOrWCj+qlk/djNK tJlnoVxhJz5dn4qhXJu7pi/URGZZjknJgi9JlwFdS1jE7yl6mVbDocoIZ1HZy1N6XSAEAmBMg4ZT5 bfKHLsybPCN5iyGI3YNDDcfNJJE1WzTnbNCCEh+mTynOodrOsUpRqTSEaaW8PQ7He9rDiUoCBcw1O vEPAoAQnJktQ4+dmunkBZxoFhhW2wHBvDtsJGvbQWsmraWqhjWdh8mY1PwYavtVmMeh2hj2SLnqPE WCCjliKRByqKH1+HuA6VRS7pyr6HScvcVL/1qzq4E4F/LSa1zZiSGE2M0x/oZKyWsn1dTQkz1yPSK OH9truNwA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAG0F-0003tg-Sf; Mon, 24 Aug 2020 17:11:28 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAFzi-0003ex-G7 for linux-arm-kernel@merlin.infradead.org; Mon, 24 Aug 2020 17:10:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=MIME-Version:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=vmze2nQ8/9ls2Gk++w5LIsR6HXsVIrPclx6MxH20zjI=; b=ph6BXJGyLYcQZ+UKT7tTstPSQC VffPGU9gilB2dMzEhwHrRtVNLjXl8tctIZ7Iau2FAni16AX0LrLN0PhlPlkhN+ECgCplWkrqGYF5c Qqc9Ga9ZVxkzNKQVy1Ngz0WAFwupgXG3n2b6uEPrLp00XFmHjUOsEVaojQIZGtTUN5pz/IAeKqivB QqW0bfMxHSR31b7Hy4JyhgD0UNj8e47/VFaKTQBU0UF1wQM7QlKBM6qOzOswtED45DaGJFVR8vL2X d1W9UJRCUQo/TLA6ZvQVaDkJCgqWo50hDWeF1XCHtXA+hl3JptjOYCYIKqy3tiAzDXyqer9y4OVS/ smHyFErg==; Received: from mail-dm6nam12on2128.outbound.protection.outlook.com ([40.107.243.128] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAFdi-0001wk-Nm for linux-arm-kernel@lists.infradead.org; Mon, 24 Aug 2020 16:48:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DGausWlDjfzJ9gSEUfARqZJB/jzt88J0ZD593O/C4AAHZPenD2gXj+XACQl+2mbYEN/CS3nc2H9G2mgNJknLkNZMrUiD4xk1P96jsMDCouIENCvRKtAZXiIaEpsexxaP3VSl38HePeVOnWVzAo3Ct+J1Pby+o1rn+LiR9oOwYjWK/I5Mk1QTLNuoPPyYR56znAn1Pcp4UWpGBduYXx/rQX4RFkuhuY1c0o7YdYiJzz/ilUWc34PzkcxXGmWz9PVNp4JysB4XbhPAWu4CDJC3Z97GA/uyFfBg+4NBIxEWkaFA5B8HUap0lMcIT+fN7dctecnlDoR/QAGUjFbRDKmDYg== 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=vmze2nQ8/9ls2Gk++w5LIsR6HXsVIrPclx6MxH20zjI=; b=FVAu1HB2mssyuBpe1/5/SLzmseuV2+QgU61LqJ7RdUKTbNJMaocmPy6QUGvB1jQOQ+Vqb7aGiMEPnp6/ULQLjeXGcvwz0J+HVd9K9Sk9Ry9fqY1jMBkejHCGZDHOiRUhRqKJqPrh6a6rjaPEqT2tygMiGjMMR06m8SxICQQ0kR1OQHopq2wH9Rp0Bs/TnknDmRlwfziT+NWuIsYERrkPyZSihuLGPr/mVtuqhOQmjMvrwbqfy4RHMxzP9po6WyclvZc55cofgcgf+4449ZxxUMdFk36h4DaGM2NlSC7LC0m4qoCf82s6I9rX3cw2tWEyDmofNkUk+6+OP32zwsYKOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vmze2nQ8/9ls2Gk++w5LIsR6HXsVIrPclx6MxH20zjI=; b=J+JnWmINPxscUailRBwumUc7VCnGl1GLVobPyVT1gRrWtiJOHaLA/KRpJVQgyvk5bV/SnBHBvl2MfVp2MWTmeHGusZTvz/m4B9SOSzZ57P/5+Plv6O9943RGX830u+q3Bduq/zB8C/NC1Zic+0CJ2ZfDzYdm7A1bCxMJst211QM= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=microsoft.com; Received: from BN8PR21MB1281.namprd21.prod.outlook.com (2603:10b6:408:a2::19) by BN6PR21MB0753.namprd21.prod.outlook.com (2603:10b6:404:9c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.4; Mon, 24 Aug 2020 16:47:43 +0000 Received: from BN8PR21MB1281.namprd21.prod.outlook.com ([fe80::e0c9:2634:6fb1:5615]) by BN8PR21MB1281.namprd21.prod.outlook.com ([fe80::e0c9:2634:6fb1:5615%3]) with mapi id 15.20.3326.012; Mon, 24 Aug 2020 16:47:43 +0000 From: Michael Kelley To: will@kernel.org, ardb@kernel.org, arnd@arndb.de, catalin.marinas@arm.com, mark.rutland@arm.com, maz@kernel.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-efi@vger.kernel.org, linux-arch@vger.kernel.org, wei.liu@kernel.org, vkuznets@redhat.com, kys@microsoft.com Subject: [PATCH v7 01/10] arm/arm64: smccc-1.1: Add vendor specific owner definition Date: Mon, 24 Aug 2020 09:46:14 -0700 Message-Id: <1598287583-71762-2-git-send-email-mikelley@microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1598287583-71762-1-git-send-email-mikelley@microsoft.com> References: <1598287583-71762-1-git-send-email-mikelley@microsoft.com> X-ClientProxiedBy: CO2PR04CA0145.namprd04.prod.outlook.com (2603:10b6:104::23) To BN8PR21MB1281.namprd21.prod.outlook.com (2603:10b6:408:a2::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from 255.255.255.255 (255.255.255.255) by CO2PR04CA0145.namprd04.prod.outlook.com (2603:10b6:104::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25 via Frontend Transport; Mon, 24 Aug 2020 16:47:41 +0000 X-Mailer: git-send-email 1.8.3.1 X-Originating-IP: [131.107.159.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: edd52061-fa6b-4240-9739-08d8484d6bba X-MS-TrafficTypeDiagnostic: BN6PR21MB0753: X-MS-Exchange-Transport-Forked: True X-LD-Processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2582; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: x6qM1XyiJpzV2ne3wnFQM3qq3AmwBu58Cw0okP1MIPwmPpReSo8GvNSpThZYiokHqprs4GqCpcYLK1Os9xehwLgqjakgfP+9f8wUcPqkAXWliH7uDlB662Vlq/HMq/s4IQEfi/xzpS0Z3aWYc6kb8040KFp/j8GGrKX9w5PEy5mTXYZ5IqzudHTYmzqs41DnEi/rAF+p2zSB3ChdBL06vOupWacL8ipFELP/ei1cWy4PUtNlajnrroKPyGwD1o/ppcsufEWdF2xyLcGX1SACPPC47NPX4lMC+gUXuVxPRnjpEM22TY4iu39bgH/XBxu0trWMXu4I6vQo42K/ElhDjPTpzQq9MKRCIr0l5Ti/4axtQ1xDbq5Ozw09DpiSI6Da X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR21MB1281.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(366004)(376002)(396003)(346002)(8676002)(86362001)(2616005)(956004)(2906002)(6486002)(8936002)(52116002)(10290500003)(5660300002)(66946007)(16576012)(66556008)(4326008)(6636002)(316002)(4744005)(36756003)(186003)(82950400001)(478600001)(26005)(6666004)(66476007)(82960400001)(7416002)(921003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: 0M+U9om80NEr7GgteThBukqRDQd/gYsYCpUmNEbLXIJZysjqj2E6fxRwwovUTwtyzgpS91InrVPXBp2N3+/Y6XSnWYVCyN+EhdrkX0Fad5kHA01TyyVSFN92TCtm5r+yrMS7U/GKCXOJqQh6ZbvUzssca/VvBKKE9o0ovQUz2lwxhOVOXeYuvR29JueYPT4Dm3011VXf0u+TlFwcs8vqI+Z5T+bTtx0zFsobYO5C+eFfj07EZlmibJEKFhWVkqm07WhHrUQX2gftGp25+eS71U8LIQiavktozdpTWXGAimp3K5dGFZ9TrM5FaHvtah9NCPKmdYsxiH9H1KlIZ1hAHaNDa6bFgPICTD/79PC+t4dle8H55J/9FB2xeOe6xKEK8buAfg0yW52imGJBDFnUrZGe0r5rq+boaCkqEbM6du2NgH+SevmPI/K6GOkVZ9EkzWcA8sv+o8XV0VByFgwUXWKD7nWzMJUhzwaFEtCsp1ShNcFng1pMQxAC9zkmXbAAB/qN5DuupJIUIQ/V9yl3MO6kE7Dl8To0bvgvb8z8bQwAGKXNqZGdBCLQzW4tiZUA98lUI5ZXgmJtc7bRPvczDnN7zXeOt8iYjEIFEMHXq5BgZgE6Aq+R9RKQJ6P4pA/e79SIjGBqhrGTrfgjab25Dg== X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: edd52061-fa6b-4240-9739-08d8484d6bba X-MS-Exchange-CrossTenant-AuthSource: BN8PR21MB1281.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2020 16:47:43.1916 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ti1rOcY+s9USJxw2aiCD0DWUW+qvMNHUqeK0jevpF6Jf3K9dYGAPcwfT0+LT0LgdJEZfvNm70nfiQtiMPm+CPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR21MB0753 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200824_174811_036668_CAF342BF X-CRM114-Status: UNSURE ( 8.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.8 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.243.128 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.243.128 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.3 RCVD_ILLEGAL_IP Received: contains illegal IP address -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay -1.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sunilmut@microsoft.com, boqun.feng@gmail.com, mikelley@microsoft.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org In the SMCCC v1.1 spec, the Owning Entity Number in the Function Identifier may have a value of 6 for a vendor specific hypervisor service call. Add this #define. Signed-off-by: Michael Kelley --- include/linux/arm-smccc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h index 15c706f..ee286f5 100644 --- a/include/linux/arm-smccc.h +++ b/include/linux/arm-smccc.h @@ -49,6 +49,7 @@ #define ARM_SMCCC_OWNER_OEM 3 #define ARM_SMCCC_OWNER_STANDARD 4 #define ARM_SMCCC_OWNER_STANDARD_HYP 5 +#define ARM_SMCCC_OWNER_VENDOR_HYP 6 #define ARM_SMCCC_OWNER_TRUSTED_APP 48 #define ARM_SMCCC_OWNER_TRUSTED_APP_END 49 #define ARM_SMCCC_OWNER_TRUSTED_OS 50