From patchwork Thu Oct 27 13:23:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 13022143 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C401EECAAA1 for ; Thu, 27 Oct 2022 13:23:54 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.431048.683524 (Exim 4.92) (envelope-from ) id 1oo2rB-00025A-Kq; Thu, 27 Oct 2022 13:23:37 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 431048.683524; Thu, 27 Oct 2022 13:23:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oo2rB-000253-H0; Thu, 27 Oct 2022 13:23:37 +0000 Received: by outflank-mailman (input) for mailman id 431048; Thu, 27 Oct 2022 13:23:36 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oo2rA-00024x-D8 for xen-devel@lists.xenproject.org; Thu, 27 Oct 2022 13:23:36 +0000 Received: from esa3.hc3370-68.iphmx.com (esa3.hc3370-68.iphmx.com [216.71.145.155]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 8c13fe7a-55fa-11ed-91b5-6bf2151ebd3b; Thu, 27 Oct 2022 15:23:33 +0200 (CEST) Received: from mail-mw2nam12lp2043.outbound.protection.outlook.com (HELO NAM12-MW2-obe.outbound.protection.outlook.com) ([104.47.66.43]) by ob1.hc3370-68.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 27 Oct 2022 09:23:29 -0400 Received: from SJ0PR03MB6360.namprd03.prod.outlook.com (2603:10b6:a03:395::11) by MW4PR03MB6377.namprd03.prod.outlook.com (2603:10b6:303:11c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Thu, 27 Oct 2022 13:23:27 +0000 Received: from SJ0PR03MB6360.namprd03.prod.outlook.com ([fe80::9f90:6ba5:5b44:c254]) by SJ0PR03MB6360.namprd03.prod.outlook.com ([fe80::9f90:6ba5:5b44:c254%3]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 13:23:27 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 8c13fe7a-55fa-11ed-91b5-6bf2151ebd3b DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1666877014; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=fkalRipwL4QhzJBlRTC3oCd7uIW7whVV3EmU6EU1m+w=; b=eri9ZSEaHiH4Y0knOgQ/b+sUGXiMU6ttrI2YCM/taMKuCqrNetMKGcCv fG5UJQXRMFSNsGWpdaYVQlnicN92wF1wzLUA8yIfwl86ENeNgERpowxCT MDqmsbDdbfskF6UopUjyzncD7a7bs3RLuvON7BsIb9P6Z8VOdMWS9/roK 0=; X-IronPort-RemoteIP: 104.47.66.43 X-IronPort-MID: 83623797 X-IronPort-Reputation: None X-IronPort-Listener: OutboundMail X-IronPort-SenderGroup: RELAY_O365 X-IronPort-MailFlowPolicy: $RELAYED IronPort-Data: A9a23:ZwXKpa5AlcxiTnyoOOgBzwxRtA7GchMFZxGqfqrLsTDasY5as4F+v mtJUWHUaf+DMDCnf98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kzbh7qHml/2g0BfT20La8pwTstr8zdloAtCKl6EuW0LRozftQL4kd6yJvTgzru3qwFE2kO PUqxNlBMh342O5RBDHnTLdny3blBo+4X7rzlGVxVH5p9bieT48A81dwapEbxrw8SMbzZtB+Z MO+1jcm4tcDBvGkii4zcPPTQtWmk29pmdnufIPjkZYTZAVZNZq3MciFXtuYds99R/Bmc8a+L EENrCT2B8WSyLTU5nhhBgj/DT2NU5DXytvQSA5y7yoOnZt7TBEJnAjtbIid0c7he4AoqZ/lp v529xT5ddzp+8tHNBA7bQ6ML6KI12IZy7wG0SvBnmiPJ07Ghv22u/KCfMOlaiXRKA= X-IronPort-AV: E=Sophos;i="5.95,217,1661832000"; d="scan'208";a="83623797" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bmxXj7c/Oesn8rt0Alzk62EuqMT+IbybG/NfpckdsP35f1xa11QdDnvFOCVV8YMvZ6av/STerHJt8V9ovhue6EewzxTULa6dtjjdmucr3lbP5N97SBWVRHBh9B5jSPvuF8oBwrHe/di46bizZO8Nc1pJP6BVFl8riZpZSwE77DbiL7+x+YAcHDg+YP4QUhOH0wLPFpVMh0LC+lzTeoJ4lpkNBClFA0UNSh03iDcKRKjX5DGUmQp4UCEuZnzdd9QsCeTlyYvlX87pdFgcSK3KfII/EJklxjEe0PafQtKP+ywUVum6Y7qgOId+QwglSNI0vPH2Sz9UpweFYGAYbi6UAw== 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=Y8UmHt6C/ljxC4lFDsKcFQOxCx0nEIFwa+tGtO4pidA=; b=H4XESa+bh20XAPjoJnmlPSdHcfv2y2ViGdmvvDo9Yncx00whV/PWrf27zPt/Qag1KA+wq5kK63nGhzlMG+hCUFC/kNnEhJVnma/WIxcK1fUS7LRbScETTZy2oDT8MnI1/5qoycpq/w4Mtb7kjgQi1TVafZ0yOY3EAfYGuT1aHvUWXfCt8vjgdvKBQgiParmMMqMt7qkbyTaVT4MOuZWKINsE1odZNYYnX+LZTY3yCS7HLAAsRKO2scnsC/ZivLrqIpJ3x8MHfORPprMqiAKX0wnkWfkbOYC1WqFYY5aKJaDHWgvkebMAqrhAxPlWzh0ZCkfpkTBJWrs5JzRy2f7DtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y8UmHt6C/ljxC4lFDsKcFQOxCx0nEIFwa+tGtO4pidA=; b=ib1ppPFKZTOiBFLeBLTM3ybLmj5nsOxh6ZsMJsczZtOI91EBtpPnH1tgffG+cg18S5agIwNEyKY88Gv81xrA18hgFfmLEniWuqn4TzsMOfFjR8AkjH557eTry6H4dbOQo8Hq0Zan5HjWbnqcyyz/euUD9rAQ6n1uygyX6Dg3utI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com; From: Roger Pau Monne To: xen-devel@lists.xenproject.org Cc: Henry.Wang@arm.com, Roger Pau Monne , Jan Beulich , Paul Durrant Subject: [PATCH for-4.17 v3 0/2] (v)pci: fixes related to memory decoding handling Date: Thu, 27 Oct 2022 15:23:13 +0200 Message-Id: <20221027132315.80592-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.37.3 X-ClientProxiedBy: BN9P220CA0026.NAMP220.PROD.OUTLOOK.COM (2603:10b6:408:13e::31) To SJ0PR03MB6360.namprd03.prod.outlook.com (2603:10b6:a03:395::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB6360:EE_|MW4PR03MB6377:EE_ X-MS-Office365-Filtering-Correlation-Id: 98ec76a1-4683-4009-70f7-08dab81e6e61 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YCbNAwQL9eXZr8rwe5n9Kb53LDvhdbzGDa34gtLloDfe0PxwZmjDX41T7pg4FbSwB1AnWciVZG0jF9pq10cGtHIidpYnmNEq8QJOjihirmn/Nauy20lGYGZKO2gzAaf9MgvtxVo4cyd0WJIJegjFRac0eayq+HE37DmPNn0wtknL8zxc0OfuF53hheBBXBE1RFKBxXcLuzZJZbS1Y3O+mNFo5TEznAlb7XVEVrtDKFKeyiKQgzRTL9DjAKFSo1YY0dhPmSMIcAyMAoNvicbf4cOyaAibnMDSTki430ATqpg4mJfbqpLOluaoIfn2muIzfP9yGVFDOzXvKE5hRcPzifJ1jHyGU37G6P0F8Dr20RllXv7iOJmBeydl9g3HqDsy2XWlf+FonbaUuvjKCl+HTD3cg6af8nRTXNzG1yeoDIGKKgAnda5HyRzl9/H7EgTI7yhTrZM4+eQ3+5melVyZ0FG+tlS9Y/6wMPviW0nqXcN4XGW+eY8SxE8MBvSSRnxAK7eecr25gI3PZ6OzONEE+BthSpOXz47nDqmFDpg1wQQpu0sTWgxvSFc9nBhRnKiEphnuvNhBy0zE6Io/A1Q30hiI89BY3/g/L8Xwzl8aGYsCSQ/81E1jALvOKYkZSyFhR3X2EEhjKapfs+3PevHH20h9OUoRjbt/1Z6axPD3Uhyimq+WJj3giIrUgOzpKg8zDEsy+sVk7+VCIg9oNec1RQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR03MB6360.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(346002)(39860400002)(136003)(396003)(366004)(451199015)(478600001)(83380400001)(6486002)(54906003)(6916009)(6666004)(82960400001)(1076003)(4326008)(8676002)(36756003)(186003)(66476007)(26005)(6506007)(8936002)(41300700001)(38100700002)(66946007)(66556008)(4744005)(2906002)(316002)(6512007)(86362001)(5660300002)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?RYWZQsRKsHSmtgO4nws1VxSVoAbW?= =?utf-8?q?WOWWFbHBF+S8l/5w1AaYqYMQNKBM2ThHpA1IeZU1eTqcEB1B+B3n49nN+O11a7jKE?= =?utf-8?q?O6YvCKJlCzjv2qY+VxTPpH6QDeenfDNl0ih/+rGaFduR8fTBg5e4m5FNk5sBX2+Qv?= =?utf-8?q?OaN0Mm12ckm/ZZMBEfrr+xKHhr1rTivuUPF8kfY+mdywihHBwRAIjk0J6bw8kX/gc?= =?utf-8?q?dJhtAWbZCSSKbjnp8XMAvrG03UN6jytY0Yl8djiQ7jh5HlPp6fD80QOHu/7L7Ttcd?= =?utf-8?q?6DuMqGUUan55zcCIqjBLnrc2HQOpizwWMSWwZ7JFjB8Qza8ARZ7i4R6gXCsJOkhKg?= =?utf-8?q?YVOjureaCGNPSIx1eoJVdpWrO3Cagi5SiQH+cTiJjO0t+VHj0D3FxX//WMvU/8YPl?= =?utf-8?q?4E0uXNENH8/wRQmeDOj+ic4OrDASeAaVpAYkBtZSNtUg7/wEZZGTg1hZEMN+iq9Yk?= =?utf-8?q?Ujj3DFa39uy/v0kQbp0sP9cvK5LQ3yk85rxjHBZFQ3KSjUmGiQj61OrnOdg0/pf3F?= =?utf-8?q?9Vi643nKKFLKRDpjB6M3IkGmC61j3lp3A5mfZmUnwoHFGeYTMAfJvvFdD5Yv9tj0a?= =?utf-8?q?tks/MWTDXEfkEbI9SjhDK60IPDpB04Jt+euPSyITed22iHTqxJ+aig1wl+Byh6hw4?= =?utf-8?q?ywjVGIHMzX+QenW8v3xnD9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ix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98ec76a1-4683-4009-70f7-08dab81e6e61 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB6360.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 13:23:26.8005 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tJY77IUAbqDt3avB0WuFxoWJjoJONYdkc4bfLA31S+Zu0jbNFjc+uIubgND+0X13Rx0nPpivbo1ipFUkzO8Dmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR03MB6377 Hello, Just two patches left, but likely the ones with more meat in them. Previous series was release-acked by Henry, but I haven't kept the acks in case there's delay in getting them reviewed at which point the release-ack would expire. Thanks, Roger. Roger Pau Monne (2): pci: do not disable memory decoding for devices vpci: refuse BAR writes only if the BAR is mapped xen/drivers/passthrough/pci.c | 69 ----------------------------------- xen/drivers/vpci/header.c | 44 ++++++++++++++++------ xen/include/xen/vpci.h | 6 +++ 3 files changed, 39 insertions(+), 80 deletions(-)