Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7395967rwi; Mon, 24 Oct 2022 14:06:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6CB7075LPOchH2t6oo6bQbJYrC9JL377qiYWoEtIESVskmuCFQD2NF8XLm60JNniIlmctm X-Received: by 2002:a17:906:5dae:b0:78e:3109:36d1 with SMTP id n14-20020a1709065dae00b0078e310936d1mr29512104ejv.470.1666645609958; Mon, 24 Oct 2022 14:06:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666645609; cv=none; d=google.com; s=arc-20160816; b=UjEXjkSNZUwyLYpLZAlCbONqwsOYb//sgw9dpApba7RfZSRO7mC5/YWZljGYwh02Pa xhGyyQpHCY9RzyVWl9NdXBf3WHK+zzIZJxKIeUzXhlvfBZ+0V2KNNraFyRSZ2noKrDBA SYpgD9HlWSpzH+wtvss34nBkUTaBMuAOnYU5LNHSmCOC9s01VoZ6GmN+/s8yGwlMJ+Zo +d6zMWTPhqk1W4aoKWtLja26lfulVkbBDSx6BgnPJuc+DQFIrPvFl2NR0JJKgS6JuHMN Gsp+KaRv0W1HGwO3iDEZdDRwailee10QmyxiUQaq/0Sn20Ne1LWlZQb7ktIx0R+QeeF3 dmew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sD1/9KUepwxnnbZHmOxcQ0nb2LDnGCi+U3tMVxTFuSE=; b=jO/3nj0n1SAeibJnuma3W7BQ8qdPzA/BJs4gZsm4GshANvmR1Rrl8HLEbGLLBr3Wdg a8yyVRReVIRT0BZtjxxu4dchjVJJw4irSTorxZhbgfLoqmpSQMfHHnPhIacmg5ibRJhm WpudsJdnq7UjJVWDTbiHjhjf+G7lxOwH8pg1Zbcn6LwUWpCIKl02hrfrpE83tVf4ER7W yApXBxf6TH7P6S+2zqYAdSVmGy1BA0llOqWPNbFm8vFpTuHlzMZquuf8tjdrl8Zf7BDt 17xLRWk0k97RAOWTTH5vqX3FHi2XFuoltzX0xym+ubFpHeJmRLBFmaa5N9hmUaCjBjVJ du6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ShSp2+NT; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tl25-20020a170907c31900b007309eb6dcbfsi716496ejc.372.2022.10.24.14.06.25; Mon, 24 Oct 2022 14:06:49 -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=@infradead.org header.s=bombadil.20210309 header.b=ShSp2+NT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233209AbiJXUIV (ORCPT + 99 others); Mon, 24 Oct 2022 16:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232408AbiJXUH5 (ORCPT ); Mon, 24 Oct 2022 16:07:57 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE04082875; Mon, 24 Oct 2022 11:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sD1/9KUepwxnnbZHmOxcQ0nb2LDnGCi+U3tMVxTFuSE=; b=ShSp2+NTgj4NbO//OTI9ybjHre /+4idaGTfOP2cZZepFuVzG6VTj106A725AmvchWCyGPhWW0ULuEu9DESP6S6HnDAZcwb/1eiFs/Ci j5KU9irR0d90+K8+3LNua77wdl1V/SNAlKyMa/t7P4h2siKyDhWQ6pyEHXHIrybXYLUutHjNs+QHK nhFt5+e0jO/84nYFbMU3YyCT27pYCUZFLRZuUQcj1KLM9OcabmPUK6f8sQY93XZBo642wxbKfXltd aw1qFRMAKxER3crTMWbM10pDCoXSJKAtbHaxOXAIv1nUG8KRZtBNUY3iMbLLUKak3RZjS0oBe4a1r AWDX7Z2g==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1on0me-002PNe-1e; Mon, 24 Oct 2022 16:58:40 +0000 Date: Mon, 24 Oct 2022 09:58:40 -0700 From: Christoph Hellwig To: Juergen Gross Cc: jejb@linux.ibm.com, Sreekanth Reddy , Bart Van Assche , Salvatore Bonaccorso , sathya.prakash@broadcom.com, suganath-prabu.subramani@broadcom.com, "Martin K. Petersen" , MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, adi@kriegisch.at Subject: Re: Report in downstream Debian: mpt3sas broken with xen dom0 with update to 5.10.149 in 5.10.y. Message-ID: References: <85ad4508-b979-c792-e92b-01bc16260dec@acm.org> <2fd505a07bd26d76f1166761fa50905414edb7ef.camel@linux.ibm.com> <30a056c8-071f-4259-3253-75e718af619d@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30a056c8-071f-4259-3253-75e718af619d@suse.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 Mon, Oct 24, 2022 at 03:20:43PM +0200, Juergen Gross wrote: > Dom0 is (normally) a PV domain, so the physical memory can be still above > 4 GB even with dom0_mem set to 4GB. Which means that we need to ensure the DMA ops for Xen-PV (which is always xen-swiotlb I think?) need to return DMA_BIT_MASK(64) or whatever is the highest possible address.