Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp595234ybl; Tue, 28 Jan 2020 08:31:25 -0800 (PST) X-Google-Smtp-Source: APXvYqzHLSvsbXre/nxCMNDqMfN4T0qbsaU7CEoPkJhrnYPQKiOIr2rd7SyvncRnyVwDXUXR6Bvt X-Received: by 2002:aca:815:: with SMTP id 21mr3534542oii.52.1580229084947; Tue, 28 Jan 2020 08:31:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1580229084; cv=pass; d=google.com; s=arc-20160816; b=Obv2RVBgl2dJx77nyajkm6cxhhyxhIh0s2EgwA38SM4kmAb23aTQjfijtiF4ktCio8 Mk4tnkX06kHTs2t//P+bYr/clYYAjZFufWfAbF6/v6+VJzMqb3eTUx3pTRrH/OjMFtYR T9sBuHk6Rs2NzGnlbvstefp8PwlH2KqlS3FOovIBlaPZ+PsAnKYf0mKqM12h2/BB54LA N+wZvVzFF9/FH8FMnrYGgV4tQybjzvtNBJqmjgqxdpgJUp42o93eNBti1I8QfK40z9/H 3wYDEvbdKsTw6sM3kKXRr/s7V0ABx1AJFptBbeDD+i/nlQoFUdcNOw7FuWpydmLETBcf Ijrw== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=KETHOV4BbEA3BJ+dCOM66p9KRiXKHqu5SALDdvIZ+zU=; b=s5167W5ckhplXLSdT6FueLenEe7pW/Bgawi3EDcurTJeVa0EBgT055fRUL8cvuYR+P armPKUANTB6qyV7mVScUjV/0OeZOoYhzwb1U7NaJ+f0D4TCeLLGJP+LnQL+MbBT2boF2 ZTvEuVhPqIZaNf443ITcRLmSknGw6SNzlz8kR1W+X2BUyoqvliqKkatFf/adby5U3tQL j09vwp72TMKZPdCSDagWK7OIwsZPsOOIQNt+QxBHHuwMPqU2xon4DYvVB/BOOh+WoY4Y BKQwvvNKHdea9rr1daPfo3xPchwK7rxq4cYkqgXdoegveqmPXIeCMFcspgugRKVQePMH Rcfw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=IOTFIg1e; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d22si9304712oti.316.2020.01.28.08.31.12; Tue, 28 Jan 2020 08:31:24 -0800 (PST) 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=@Mellanox.com header.s=selector1 header.b=IOTFIg1e; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726462AbgA1QaN (ORCPT + 99 others); Tue, 28 Jan 2020 11:30:13 -0500 Received: from mail-vi1eur05on2043.outbound.protection.outlook.com ([40.107.21.43]:30680 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726182AbgA1QaN (ORCPT ); Tue, 28 Jan 2020 11:30:13 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fIWzUeAIaHBYlX2ZRH0MI3I422T7twpXxHI1fGE7DssIkFoIqKbDggtje2EJq0LnajOSBerCjFGgrVjn0ZPwyVSEexlfpA2EsI6erqFQmt/xcGy5olz9oZBDIQy5ssRYRNMK6MhOGVd3hujK8trPTRTNALUpiFbBU37Ffs5B8qYjbR8JeFplyRPqULcFExxNnIouDgUjuPk8BJC7ycnOXFlRGpqeENBb+jdAGhOh25RFuUUg+6S7+Lo/ion+7rl1IzTO15YCQAc1mjTS0/qCIP9S6woswRtnJmLemAgTZllkg9xZEg+4G8i/vzFkHu6dtUQDz4srcKq8zNgoW1PzKg== 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=KETHOV4BbEA3BJ+dCOM66p9KRiXKHqu5SALDdvIZ+zU=; b=cU5Qk84sOMIzDmtVkxOHRNoOSAxVCqXECljia0aLLDKNMjU5fCX7rQCwLdrqXrqN7uoTpGZNallgZfOdYCfAP3F53k90Bel4NWd15FT297tOuBPGuMXgKWwj9SzPHyMYyoai+uE8ADNaoVpNWLUxYqBIBtW7UDvDHMjeucgtO5vdnOhhH9AEG8j63bJQZgwldGG4ve4ifk+3ElT5762uL8y/2RdZdV8K/kTUdO5/7lVmLudPMUAIyWWIzrVy78ROe63oyOWuL/JVx1zg6LRpAVXgDsnyxVKJcGPxeJFsZp+pyLpPTHpCk7BmCK+O0itKRtPT4QRzbh+QHMSfzZ6mrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KETHOV4BbEA3BJ+dCOM66p9KRiXKHqu5SALDdvIZ+zU=; b=IOTFIg1e6sE9hMbWNG8Tc/PXf/M0o8NHk+5+RPsfay3rFVCoyool8OP8GRZKGI7vHdaAZsDyCPshqxEsr8plx9huvb8DEDalw2XvjKHvtpK6K48mVeuaFdXFUyKQZqeLAFE/oPPmA33u1pKZ7GD0YTSFtQG6vtiVRPmQqh1ry0E= Received: from VI1PR05MB4141.eurprd05.prod.outlook.com (52.133.14.15) by VI1PR05MB4749.eurprd05.prod.outlook.com (20.176.8.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.24; Tue, 28 Jan 2020 16:30:09 +0000 Received: from VI1PR05MB4141.eurprd05.prod.outlook.com ([fe80::1c00:7925:d5c6:d60d]) by VI1PR05MB4141.eurprd05.prod.outlook.com ([fe80::1c00:7925:d5c6:d60d%7]) with mapi id 15.20.2665.026; Tue, 28 Jan 2020 16:30:09 +0000 Received: from mlx.ziepe.ca (142.68.57.212) by BN6PR16CA0010.namprd16.prod.outlook.com (2603:10b6:404:f5::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.22 via Frontend Transport; Tue, 28 Jan 2020 16:30:08 +0000 Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1iwTka-000500-63; Tue, 28 Jan 2020 12:30:04 -0400 From: Jason Gunthorpe To: Boris Ostrovsky CC: "xen-devel@lists.xenproject.org" , "jgross@suse.com" , "linux-kernel@vger.kernel.org" , "ilpo.jarvinen@cs.helsinki.fi" , "stable@vger.kernel.org" Subject: Re: [PATCH] xen/gntdev: Do not use mm notifiers with autotranslating guests Thread-Topic: [PATCH] xen/gntdev: Do not use mm notifiers with autotranslating guests Thread-Index: AQHV1fdr4rfmN5j5BkWz1GaT1QrDOagARHQA Date: Tue, 28 Jan 2020 16:30:08 +0000 Message-ID: <20200128163004.GI21192@mellanox.com> References: <1580228659-6086-1-git-send-email-boris.ostrovsky@oracle.com> In-Reply-To: <1580228659-6086-1-git-send-email-boris.ostrovsky@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN6PR16CA0010.namprd16.prod.outlook.com (2603:10b6:404:f5::20) To VI1PR05MB4141.eurprd05.prod.outlook.com (2603:10a6:803:44::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jgg@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [142.68.57.212] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 362e6f7f-621c-4419-9869-08d7a40f56b8 x-ms-traffictypediagnostic: VI1PR05MB4749: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1227; x-forefront-prvs: 029651C7A1 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(186003)(26005)(6916009)(2906002)(4744005)(4326008)(5660300002)(9746002)(9786002)(1076003)(8936002)(8676002)(478600001)(2616005)(81166006)(81156014)(52116002)(36756003)(86362001)(71200400001)(54906003)(66946007)(64756008)(316002)(66476007)(66556008)(66446008)(33656002)(24400500001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB4749;H:VI1PR05MB4141.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Zm8x+qLpnv5B2a38pJQ+pGyqMMYrI1SK/w0G/2tn3kLGahk7CaSAQoW+cLEeIoH9iZkkLRMxjeANH7VYlPu9JJMQWzW6MAh5q/oRsSxo8Ox7euvQgM6DbmbNd+6ZHDUvrR2NhR+lv7kXILjRryZietN8VhnM2Le49B4dpDRFXuQ4XhDhQS84bFjoQkbNEitNkREjlkmOGgA+CfJ74FDfa5xfvJ9hdvVb2sor1hWzstNLFxL0l786p2SFrlkRfbr4WROR7EbcvMxF9dFE2M9tfJqEH5tbm1Z0agaD4/goDs7S2nhARR1oP4g0SxKwxvDD3SkZKRauEDudMG+QJjTpMr94Xdg55MBJLfYbkYWDeFlBLbdzGj7Vqer/WiCF0OWWCydh61067/m0y7fckk+xt1M9QSmTUBflBN9CyRnbhXgfoSXACyDcstA07akNtv4UuJ5IB/R5s4+sZyM2zX+hqrg1iNY4NsAKhQNF6+vYzoOkQaTsKEUMCxG7v43ctkDn x-ms-exchange-antispam-messagedata: LV/vPAZ/eki6CGNzi6HyEQIQgnEboFqEIffFrFeXbdKRv7JgFmI9bcwYR9VY87cw7INCjrN7Qi0q84YeWydAKgbVuBqCWpqZjCrOlKLugySInN1bZLPxA3ywmI2iEgAXCmmuCVxb3Lfqn9sX9GCSEQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <472CD4A5B98D3E4785753939EB7D6FC1@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 362e6f7f-621c-4419-9869-08d7a40f56b8 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jan 2020 16:30:08.6065 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: y0ffG5GA26V4lS3M6K5CrQpq+xomGcdewk1eGTYvt2Si92aI/QY/f7MDfGRgx+c2am3IPO1CVPgNu6fMIr5Huw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4749 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCBKYW4gMjgsIDI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