Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp753583rwd; Thu, 15 Jun 2023 01:20:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6+4jSVf7wv2oTUaYtoQr4YnUcJqsgLxqZUwyxdzVYsHcJALpuMCK73sVgzmgrd6AnOTzpb X-Received: by 2002:aa7:c758:0:b0:514:a5ee:2b04 with SMTP id c24-20020aa7c758000000b00514a5ee2b04mr12243572eds.33.1686817247390; Thu, 15 Jun 2023 01:20:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686817247; cv=pass; d=google.com; s=arc-20160816; b=hWJloiQ7ySeAAo3DL4ZvUHTlqErFIMkaNeiWBAOmCl5kbEdyLqTrBVWmV77F5PQ6Yp kw0Vfck6TNByX9X8AW3rhq5SuDZU3im3TkOFTjMRtt1qK5UmRno/blyasJxXJ7H7lHtO oMY2jgINBrHuB0WKyQDdziJTD6ge+tERAn3x48FOMiVIt2J4pkJZTLb9s7uq47y8cv9b yTd1IZnsm2/vZ+nrYz0UuSqRqCjvDgby8f6363MwRfK5S1JXBCzum6k0h1y+DlkYMjfu jQFIDPHqpS80JekwuAdIMD/3xyob/NP9lqh4Car/1WnCTPEE+zvP7quzxxHeJg2KBO8J O4yw== 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:organization:from:content-language:references:cc:to :subject:user-agent:date:message-id:dkim-signature:dkim-signature; bh=Pm9ZU2x4lMk99hy/+jjjyCNRCERnzIkCFUchjyqd6bU=; b=xBvyJeRkzFyGxeh8vQBlIs5dh2d4LcMVRWSgEZ9fi3bAHWnQdJFed5TY5UWaha7MRi gC5TRK5bmfyYh/4p/CeEtxWixxt+ATXrDcm1w1XuTdzWyIQs0v7J/u3nr+gkyr7x3/0m 0CcXm12Rms0T49Z1lc3h6y1LUcLt7c8AgsouMdgECs5i6GZVyKAUyLQiWfddB5C88HlB PUTlvqiill0hEtfZKFEtX3p85wNxsk1zVjA3OeHPXdykDol3U/nw8mOcRSYI1AZzKY+J TByJ1ZD40uNNzowgKikWNaKd+b2GacZslk4QvWCfR0atFwyVo/sRpJSQ9lHO00yPdjS3 Z2kg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=hvUXCPIF; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=zjQTLK6c; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b6-20020aa7df86000000b00514924b0f6asi9357026edy.268.2023.06.15.01.20.23; Thu, 15 Jun 2023 01:20:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=hvUXCPIF; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=zjQTLK6c; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243155AbjFOHud (ORCPT + 99 others); Thu, 15 Jun 2023 03:50:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245220AbjFOHtl (ORCPT ); Thu, 15 Jun 2023 03:49:41 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66524123 for ; Thu, 15 Jun 2023 00:49:38 -0700 (PDT) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35EJjiGu009857; Thu, 15 Jun 2023 07:49:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=Pm9ZU2x4lMk99hy/+jjjyCNRCERnzIkCFUchjyqd6bU=; b=hvUXCPIFdFmlDNhbCEIKeZtUKiR5b+YqB8m+4HG2U5LdNcvCOUyBizbLvIWJUmgjYLL2 pJtU5E79qhxI1tY7ynFXDn2KigzahE35xaDC0C0NJmKaYB9vup0ANiH5YZlTbuZs2aSw I7tBDHNESJyi/kDM1WW2Y/LNaWPZBbGg+DsFVrvcFiDGi5ZWO+5SbF4jr7Wdpot4cf7M LcVb6I69oFkLsUl3F6VU7ihKYqQAySTPDOmXCguO7xPZSaMx8ohMIC8XWRuM4ZtGaTFl RXIwPDf+849SN4hR9vxLyOC3T4dit/HC8jYhA+5DyVcVJcJ/jOferexoiBCnvbKfNWDl Zg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r4g3bsf53-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Jun 2023 07:49:27 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35F7CRAm017814; Thu, 15 Jun 2023 07:49:26 GMT Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2047.outbound.protection.outlook.com [104.47.73.47]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3r4fm6aupe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Jun 2023 07:49:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BG5yDxkuUws58Bk5G7l0RRwjnaanA1/TGBID8/x+Bs12ezEj1UA5By7yLUUpDrHZo+3YHJ7OXAmtv9dFnQ+Yob8LW0eDYXf26oPPplU1VxdtFw/kx1Ow5mLohatPQ8tHv23IKSzYaoOHzydelA6SIoekPKtRJ0X8hli7m9abnzcRUpvfhzgZwIMzkoPA5Ztv8WwHevEJmmgZtMPpCBkJvW4q07C2U1h7/cD5R/9GLvnKDfSqu74dI58YCLJt/wdXvY0i1sS9eeOXQilnCdDLkMzZ/NErr5MBLEygM9IFbYVEhqrYptmBHEVQa+GktPHSpcPEnaRV8ujFyKdmP92NvQ== 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=Pm9ZU2x4lMk99hy/+jjjyCNRCERnzIkCFUchjyqd6bU=; b=DE+BKrY6W7RjGzDf7FkQ5+urgS2c3yrjk01UYcumkP2HBUNzjc89JmliTCCi8XR1JkvFOWxNB9JjdGZaFuiKyH+DTULTNoICglGBT6Kh0m8WmA/59UQdKzNEcZf+Lq3S8gUVdkw5SlOx3DEWz6AgdH7SGOfUjLnJyZg6MNXeG58GrfkU0vwEGTC36yFlBJwY62nj5c7fEpv94CqM9BXV2p/TuM6wNjebTNkQL5cSHeOSYJPc+thmnNoEJF2bvX94tSA098gUnxvpxha50dmMDkXEX4sjElr3VKBfFunQ0iFft8+CN5Z1wExdNKe6wXQ9K4unhh14b+YP3xKfT1aVZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Pm9ZU2x4lMk99hy/+jjjyCNRCERnzIkCFUchjyqd6bU=; b=zjQTLK6c/noF2drgfB+tpkR3h5zloO/0fr7HVE0pCYaF0km2Lq0v1xWbaD7hef8OLe/G35gyRHSMRvac0gSzYd5QlCMXFZtcuUxlBbcFr0xNZ2NrJN1jSIpzFnwjyWVgLlaab20iT2NziFDzwQkHf5C5Vs1LPRESu5L6c6P/E/Y= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by CY8PR10MB6801.namprd10.prod.outlook.com (2603:10b6:930:98::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.29; Thu, 15 Jun 2023 07:49:24 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::e38:5b81:b87f:c1eb]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::e38:5b81:b87f:c1eb%7]) with mapi id 15.20.6477.037; Thu, 15 Jun 2023 07:49:24 +0000 Message-ID: <4f9184c5-e6a2-08da-f44a-3000b6cdfe35@oracle.com> Date: Thu, 15 Jun 2023 08:49:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v4] iommu: Optimise PCI SAC address trick To: Jakub Kicinski , Joerg Roedel Cc: Robin Murphy , will@kernel.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Linus Torvalds References: <20230613105850.30172085@kernel.org> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: <20230613105850.30172085@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P123CA0060.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1::24) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|CY8PR10MB6801:EE_ X-MS-Office365-Filtering-Correlation-Id: bdbb2cec-a7bb-4c46-b872-08db6d7509c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F9qFygbEdA+eJZImZwtKE3Mj9UQSXA4pxCxNKx48oK8mTrFZTBSOP6T7dyXfCS9bDDpt/ticwQl3FC0Tvkh/zrJN6bdwX1HUxpvqg5CHfSFlARbp1agUZv7gkEVfs3Kjh5eUpU2/KChxNk42fR/dvZaZ1SMkgwiAJABgC60DgbafwH5aAqGn1x7tYSlEt7yesK4vRf/f6tEZlmtytGk8fp0SdsPW78sIFHb3cX+97yn6PyYN1PBlrsZnlmHYz+LfMsoK/FycLSfEJRwumsLJIf9yTQX2TYJgddnlnKlj6Gv77C+dqs9lObZV9LQkkwP9o/AVuB0GRGn+cz4W5+ivb0ABdlQ9OFzRq05VlsoVDE6RKcnrlD1MCjahbhDI71gdEZBslZ7K/fwyygnaBZxRIsjv6WECFxMmfJ5GOngvwd/DnKSzVquBNfpUC59rHeP8YxTLDXhdJx2INDO41HgldgZR8WJtEXdvr8t7gUeyAi4S3XRLtqXSYaWhpWRu5woIHL2hjQJQesi+jvVv0N6KrCtMxGjNl2gCvwzm5t5zkS5qeJN0fCtN3Gqw0pYQdEy/U+hera0Pd00/ZGsxNJBMqTiQ5OiVYNXJeYsHX7U/1Kcz2mT61+fUCdooIAUavT4eFrnpUW71cWh3C68nZuVVjw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(346002)(366004)(396003)(136003)(39860400002)(451199021)(31686004)(66556008)(31696002)(316002)(66476007)(66946007)(6666004)(54906003)(4326008)(478600001)(110136005)(36756003)(86362001)(53546011)(26005)(6506007)(186003)(83380400001)(6512007)(4744005)(2906002)(8676002)(8936002)(5660300002)(6486002)(36916002)(41300700001)(38100700002)(2616005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SEpZQXNMSEFqbHN3aWJMODBvbXAvdlhYcmtZcEpTTVhNTVM2RnRMd0owSUR0?= =?utf-8?B?MGdmTW1ORElWb0ZDci95Z3FaREpUZnF4bENrVDl5emZMOGVBeTNSeW5oL0xn?= =?utf-8?B?QVVGR2NDTlkrOE9kVEU2dVdKWDZsNGF1eVJGOW5IcGFIN1BhUXhCcVZDNDBY?= =?utf-8?B?RFNjc01RdjQ2MkRBL0lrdlBIMjY4ZWVPWHgzWEZTV0J3RnZEcG54ZGNkVjg5?= =?utf-8?B?MVhGcGRnU0EwTElreFFaZ1pLM081S05VK2toeFk4NVczbFViQ2tZakRTMXZa?= =?utf-8?B?MnBKbWxpcmdUOEMwOUFLYjlndkkzNnFDRUcvWnkzVnZSRDkrRHRYak1aeERv?= =?utf-8?B?T0hDK3I4TGpMTTFyMkVESm5jdDl2WmM2YnBLTE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eTUvTGY4YTVQMVdxY1Nl?= =?utf-8?B?NEVuQnZ0Ti85T2dBRDhKaGh2b0ZaWDlzY3dybUtLeER6QlZFaWFac1lyZ3RT?= =?utf-8?B?U2ExeGk2cFNnZWJ5V1EzT0RvWk1Wb3RzdWFiNUtDS0FkbVlNRkxCbVBaVCt6?= =?utf-8?B?NFhCWWswbC9QRThmOGpOeWwwbmNwdnEzZk5kYk9FRHdyaG1ONUt1dVQxOHRH?= =?utf-8?B?U2JRNEd2Z05ITlZ5Yy9ZeWdydTNUOFZSQU1VSnNKOTZnY1d1NjlsNGI1UE9Q?= =?utf-8?B?T29aTjVsUXhkMkYzUWtJNTEwOHUrKzRqcXVKOG1GdHMxYXliRU5zOG12ME9V?= =?utf-8?B?WCtxS0FlUUVDZnNIL0cyanU2NUtHL2cvOWxQbTdtTk9DQ2wxaEkreEVneUlk?= =?utf-8?B?TktHWm5XL3FWUWVmQzJXREZCMTVBaExZRjI3K1ZHdFdwc0xodVppc3NrNGhu?= =?utf-8?Q?kKMFp7NOsLbIdnU?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: bdbb2cec-a7bb-4c46-b872-08db6d7509c1 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2023 07:49:24.7256 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2U+0BbRIXIWJs4qBmA7zRz2YlXuysgEORyskNrMu+9GSV54OdTlJzYTJhwZVdge26096eapXSic8f0CYW45C9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6801 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-15_04,2023-06-14_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxlogscore=763 mlxscore=0 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306150065 X-Proofpoint-ORIG-GUID: 36WqDo0S0qOaovU3_ghjSfg8UGUER_m_ X-Proofpoint-GUID: 36WqDo0S0qOaovU3_ghjSfg8UGUER_m_ X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/06/2023 18:58, Jakub Kicinski wrote: > On Fri, 14 Apr 2023 13:45:34 +0200 Joerg Roedel wrote: >> Thanks for working on this, I think this is good to go. But given the >> issues we had with last attempt I'd like to have this in linux-next for >> a few weeks before sending it upstream. Therefore I will defer this >> patch and merge it early in the next cycle. > Is this patch queued up? I don't see it in linux-next and we keep > hitting this issue in production. After a few NIC reconfigurations > IOMMU starts consuming 90+% of CPU time. > Since we're at rc6 time and a cautious approach was wanted to merge this change, I doubt that this will be merged for this cycle. That's quite unfortunate. Please note what I mentioned earlier about using dma_opt_mapping_size(). This API is used by some block storage drivers to avoid your same problem, by clamping max_sectors_kb at this size - see sysfs-block Doc for info there. Maybe it can be used similarly for network drivers. Thanks, John