Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4801020pxj; Wed, 12 May 2021 13:38:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2o2zIvWWPhUolRnvHrU6kWKzjaZTUfImgC3WoxtpiVKjOI2aiUfXci1/qVeyZVSY20G44 X-Received: by 2002:a17:907:2646:: with SMTP id ar6mr7735391ejc.293.1620851880088; Wed, 12 May 2021 13:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620851880; cv=none; d=google.com; s=arc-20160816; b=qy3baJWx6dsRagNjwnbUHdFzrfwlrXHxq/lnTCnW4iIapvbnPYWOfd8djKFuiWDQIX NLRHcH6GrOgKaYCm1oMizc2ba8NfSh4VraYeOS+6In1q4AcmSe9Kn8/VzfVYWaAJoJ0O 8uWrZsfJPxXFwSC9oFngA865gbNQlatoC4mSF5QI0169xUjoyr8Dg+4fVqrx8hWS2CDj A+YEqPTF0ODuvm7i/PuSYqfpCaC7qgs1nM00WKcQ2y2Y1hC4Sfdz1KVhb0bO2SVunjX1 OREJGTeYV2DFpkmuuc+0jru/W/Q+8Du6x/PkkGgj+wTbojQ+70X6x104naaClCmmCz7F NuVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=3d+ePq6tZa8RIWqGkIrSHzQ8zlWUhkyb9ZfhndqFaOY=; b=hh9BikcaRMqixK56gBi5lJOjdJnP0mALxghDUBgKmw3Sv8hdHctEkbnbZejvb2CCeI NXWho8JdlUSAyWc6XqtsfsUvEL2x1AExrV21nDEEBbSIBwffrmXeSnTvOvFlCY6HlhmS Jdybl5jBKENp6P5pCGVGdNL7F9cCriB//6vbN8jnFi1J/7U9KFMJJZD8xmcqu0/eqmYb r0vE45wxgRGMvfD+9OqOdvbKA5G0urfH5G4ne3+YGibJ3RYRK6kQqr/xmC2EGQoQJBvs iVQpHNDS9kY7Vh1yZLcT+K9u79gthioM3bMmFEcNc57Db35+IyIdC4OhAz89IAH6B1VM x6+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oe+sv3IL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi10si699411edb.15.2021.05.12.13.36.41; Wed, 12 May 2021 13:38:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oe+sv3IL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345422AbhELUfz (ORCPT + 99 others); Wed, 12 May 2021 16:35:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:56772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344347AbhELULy (ORCPT ); Wed, 12 May 2021 16:11:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E584D61408; Wed, 12 May 2021 20:10:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620850243; bh=KiSht4eykHbuRx4encDVma3UC0WdUp6sYB51Ups/XBQ=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=oe+sv3ILc/RC+aVoS4W+Yefy9KsbBFO5a0a/INlcBlqGDSktVFnmkAeXr/w639z41 FF6tet/bKQ9itBDU7qZ50bOtG4N5MDKvqG9wXs9XE5I7LA6RUYdRx25BxbmF5tLeM8 vC7jRmufvNf0Cfxf5++3NwAC67oEPQXe/Acw1pHjw6tfLBhINnc8MFktxvcakjlL3t 7tHb+8HFZ7QQHeyqwmf1dF6OY5SnoGvdYQ04BKAkHWVg+Q0awZtJSeCSnfthbMy5YS pp9vmID2lox89aKRN67CxlsLOK/QV8v48IrBEG+cQCZbXsRdFaQTNxlDH3SPOPnQnj ShdB+57YHYeuw== Date: Wed, 12 May 2021 13:10:42 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Boris Ostrovsky cc: Stefano Stabellini , xen-devel@lists.xenproject.org, hch@lst.de, linux-kernel@vger.kernel.org, Stefano Stabellini , jgross@suse.com Subject: Re: [PATCH 2/2] xen/swiotlb: check if the swiotlb has already been initialized In-Reply-To: <2e5a684b-3c74-5efc-2946-8ca002894ab4@oracle.com> Message-ID: References: <20210511174142.12742-2-sstabellini@kernel.org> <2e5a684b-3c74-5efc-2946-8ca002894ab4@oracle.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 May 2021, Boris Ostrovsky wrote: > On 5/11/21 1:41 PM, Stefano Stabellini wrote: > > --- a/drivers/xen/swiotlb-xen.c > > +++ b/drivers/xen/swiotlb-xen.c > > @@ -164,6 +164,11 @@ int __ref xen_swiotlb_init(void) > > int rc = -ENOMEM; > > char *start; > > > > + if (io_tlb_default_mem != NULL) { > > + printk(KERN_WARNING "Xen-SWIOTLB: swiotlb buffer already initialized\n"); > > > pr_warn(). > > > Reviewed-by: Boris Ostrovsky Thank you! I'll send a v2 shortly with the change to pr_warn and your reviewed-by.