Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp118821rdg; Wed, 11 Oct 2023 23:58:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKURbw1vdUojjrXeTB4VJeYeoL8owMfl/oBMUDHqFusCoR1TspXzxuAUAsrFhU6ar8F7f/ X-Received: by 2002:a17:902:f944:b0:1c9:dac0:fbb3 with SMTP id kx4-20020a170902f94400b001c9dac0fbb3mr1806364plb.31.1697093911565; Wed, 11 Oct 2023 23:58:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697093911; cv=pass; d=google.com; s=arc-20160816; b=GlfABcXABVKeaLM6/m6oXBXw9tF/+oQsbwJM0N4Io/44pFeRmHWaQjEYIVNipSYqR3 oYCc3NtJLK48SDJawFy3Whmv7wPYbu5SQfvtShYeyjRM6H/iLWHanvDybYHUAUeV7RxC 7Zj3WfF45kZQBf3OHuOJjNoWBrKfJoiGtvbBm/d0pgRlJ0btxYEQnIYYf+c6apLGp1Eo seLW81UNU8Z5yyeN0gzYzEFR6t1KYFAtMfFCW4D5f/Mlsdceh6L+X8wZp+uU1AI0jAp7 HOsv5545qQ+zUy7F2W+ZgPH0BobG9iLzVlxW3JCKYr7wEa2ttNORQDTZ7yjgdgVYoIdF u7+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=L3NV5BW6qTD09tIABeawA/Ym6wDcKBEj6QDJo2oCTrY=; fh=YNasjq1wMNPud8Kf02JxTimkmj7TM990MihhX6o0eRM=; b=T4kobUJcD7IJAp5T93lpAmf1YzW6ba7VuRlOmja4m8xrbNzt2oYE2Vco/tdF+0aV7v KrBOjeoLIym3G7j1yn07E1/yOll+aSNib+v3OjsBpwc+8aNbSouxqDDJ8BQNPLBZW232 G8Np2A82AcSE9by94gM4pb/x8woUzxT1B4tCYIEGh/OOwRZYNtC5CB7oBt9Xs15mNgnf mezr2/De2u7x75/j2+diNBQ5mKAxNVe/VARy/Cn/dL9/QzNHlOEhO0gnOcv82NGaBc3U LTbgECmGSsP9MMjAKAZgLOICu0q7qgfQhoWOz9sMjhVZx/WXEcAjOAQWoyC0t0vmoH4q rUbQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="h/lL5fhw"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id e8-20020a170902744800b001c9ce2b6b97si1188919plt.198.2023.10.11.23.58.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 23:58:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="h/lL5fhw"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 2B8AB8040D70; Wed, 11 Oct 2023 23:58:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377573AbjJLG6R (ORCPT + 99 others); Thu, 12 Oct 2023 02:58:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347085AbjJLG6P (ORCPT ); Thu, 12 Oct 2023 02:58:15 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2086.outbound.protection.outlook.com [40.107.92.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50677BA; Wed, 11 Oct 2023 23:58:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lZZu2rAcTefcGHhErmaSSxq5Y2HdSrdwPjrajJTonOl6uav+2V+Ke7Zoyj2XWJvWK5ZkBFiXrKkLxQxj9P6dy0skPUUY32Vmvyipjw+X8lcGZ7WXbbKPpt3CA+XKy2U1EwgKQLfMCzvcW4gxzr53vzUZf1QTLzhRJxrBUPeD1XnyVm76vKCRVU8l0mtGUr38yBJB+q+RLIhHmYp/dGULZ+7n33kjoCYpcDWp+NQH+EudayXEQPrfLKvhffkFP7NUZ5Dd7r1DxItAfSimNvRrhlfc+OfuSDgqSd1ka2UgaXo3VI6lb7eM7l5pMmDlmUssPYa2m6gd6O6vs6fsEqiXfw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L3NV5BW6qTD09tIABeawA/Ym6wDcKBEj6QDJo2oCTrY=; b=e5xXFvF7pu8USVYStzF+ZhtuoDC+Qzo+ejI0KliTdrwbBGUu63cMuliLn4rtdVIQ7ewTuzE8UWSwqRl+8UGelbuH1gFCW+nPI2ukaqNjd+f0tgoIociU9ZdC0KHR3MdBrezvqBAgw3rsynHGMsiv/9RRghB3yCci5AlphXfX8TM4FrEYgV2VOX5SMsKrKXqCdOdoV5l73KBW5uu65fraanGIax9t5h275ydCqc8Qxi9YCJeLI+oyDa72uH/qfw+5nLE+EuQBdEkuKcP5YiL923hNJSg/99XrqKfTtwFXjY9gqEfRWRVXz6c8ZNUf5zJqmtpM/lh72/pQJiOWoHEu6g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L3NV5BW6qTD09tIABeawA/Ym6wDcKBEj6QDJo2oCTrY=; b=h/lL5fhwyMUNTVIsDUulafiviP22+SSIK8cy0nlqPBPfLc91IyjeQJFq+MX3ZqxaglUL/15wBxOec6rELlZrz/dtmyvW6vPry+Ii+FGrSef8mtxW9Kj99CIJC7QXwsCoVUpU60DXHtojvZ/CuD+mbJ5HaSm+JaD6kF9yilbsaqE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DS7PR12MB6048.namprd12.prod.outlook.com (2603:10b6:8:9f::5) by BN9PR12MB5273.namprd12.prod.outlook.com (2603:10b6:408:11e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Thu, 12 Oct 2023 06:58:10 +0000 Received: from DS7PR12MB6048.namprd12.prod.outlook.com ([fe80::726d:296a:5a0b:1e98]) by DS7PR12MB6048.namprd12.prod.outlook.com ([fe80::726d:296a:5a0b:1e98%4]) with mapi id 15.20.6863.032; Thu, 12 Oct 2023 06:58:10 +0000 Message-ID: Date: Thu, 12 Oct 2023 12:27:57 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] hardening: x86: drop reference to removed config AMD_IOMMU_V2 Content-Language: en-US To: Dan Carpenter Cc: Lukas Bulwahn , iommu@lists.linux.dev, Joerg Roedel , Suravee Suthikulpanit , Kees Cook , "Gustavo A . R . Silva" , linux-hardening@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231012045040.22088-1-lukas.bulwahn@gmail.com> <7533e359-2024-b69a-2bcf-1906c1a8dbca@amd.com> From: Vasant Hegde In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN3PR01CA0124.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:96::12) To DS7PR12MB6048.namprd12.prod.outlook.com (2603:10b6:8:9f::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS7PR12MB6048:EE_|BN9PR12MB5273:EE_ X-MS-Office365-Filtering-Correlation-Id: 904b0d19-7f55-4f50-9768-08dbcaf09829 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hjL+UnSrwVaWRUzkEet4SbYaYXKf4X/yiWLf4B/gLoOwdGTskgOwtB9Iaohh4mtZzL48UuN7EuWg9OKv2t3QtmUfQrXkrDM8uhuS7G1v4iy4153DDO3QUybf99wFAnwPjcBfZBFo698+C24cgAv8JuAPYgZwdFNkG+QuH8D8rouvyUMeGHwURvBF5ygjZDG7FKnaDQ7EV8tUgJAS+FEBOEQJpTgrCBZyFIkmkUcIzs4/AVJO/CiziqesBIhokLCcZNx4dBv+PrnNbCEvp0TDakiWddes1ppVP5K5q3BEvtcFbScTi6MriCVstA+nFJkyxh/zIW3pYcpxDY9qY7MJwr/qSGnxDJBne0d3g3KoDb0iH5IeQG/VHDP8tE9lSsXP8fgycTk2+cXJxNBtQ+b2UCayXRuQQJfxsmFy9bAvq+DH8/G9VyV6ELqm4UT3iBy12B2waH5af5yUnJNQG4KRxr5t3i1SMSO//T36949pOZRzuQZmUKTNNMhi/cCdpsJdaWlU+WyrDyVhTXRiR6vF3YVpPJI3/zOFW1uGYDTW7zxfC84KmYT7g59dtbZfB3QVTeT218rZr8Gj+r0pGkbFRR7Fk72Qr69oeWsHd4qTuQC3Y/XyxmY0GRW3jMUPoDEuSGA8lFXrZbftKk+9HpKpIA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR12MB6048.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(39860400002)(396003)(346002)(376002)(136003)(230922051799003)(451199024)(186009)(1800799009)(64100799003)(44832011)(8676002)(8936002)(4326008)(41300700001)(5660300002)(2906002)(4744005)(36756003)(31696002)(86362001)(38100700002)(26005)(2616005)(6916009)(316002)(478600001)(66556008)(66476007)(66946007)(54906003)(31686004)(53546011)(6486002)(6512007)(6666004)(6506007)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z1ErTUh6YmwzZ0lPSUl6cmpvVmU2Uk9DR1NodXd1bllFaGdISStNR2Riczc3?= =?utf-8?B?dkt6d3k1OXlLdDF0akVaTTM3eFpZMnVieFdZUk80K0Y5ZmFrVElxMkd0M2Jo?= =?utf-8?B?RkQvOHd6b3UwUUJHZ0xwVzRicUllOGo2M2RGSUZVbFRtem9BQ1FmMGo1N1VR?= =?utf-8?B?Y0xjWWhVWThtd0lpclo3RWJmbnlnazNLejFDbGpQR2tWaVZDMjJOY0xxQ01M?= =?utf-8?B?dFpzbFFkSklDQlU0YS9nMFY5aUxKWk40VkJsSW9aMWtKMEp3S1prZjZGVkhF?= =?utf-8?B?VzhwR21PeVpVUXB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?Q?+Ai9zZo1fSQ3ADrPy2o9TI7q6?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 904b0d19-7f55-4f50-9768-08dbcaf09829 X-MS-Exchange-CrossTenant-AuthSource: DS7PR12MB6048.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2023 06:58:10.0543 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: AtQGjTzoNLKOR9TwWUMlyYB5CdBNRgSoN7bFiRQGk6eu17p8TDJfGYj8Oyio8ehc9wGbpbeGTEBGP+HD/KtxXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5273 X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 11 Oct 2023 23:58:29 -0700 (PDT) On 10/12/2023 12:05 PM, Dan Carpenter wrote: > On Thu, Oct 12, 2023 at 10:45:03AM +0530, Vasant Hegde wrote: >> >> >> On 10/12/2023 10:20 AM, Lukas Bulwahn wrote: >>> Commit 5a0b11a180a9 ("iommu/amd: Remove iommu_v2 module") removes the >>> config AMD_IOMMU_V2. >>> >>> Remove the reference to this config in the x86 architecture-specific >>> hardening config fragment as well. >>> >>> Signed-off-by: Lukas Bulwahn >>> --- >>> Joerg, please pick this patch on top of the commit above. Thanks. >>> >>> arch/x86/configs/hardening.config | 1 - >> >> Thanks for the fix Lukas. But I don't see this file in upstream linux tree. Am I >> missing something? >> > > It was added on Aug 24 in linux-next. Thanks Dan. I can see the patch in linux-next. Reviewed-by: Vasant Hegde -Vasant