[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 09/12] swiotlb-xen: drop DEFAULT_NSLABS


  • To: Juergen Gross <jgross@xxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 7 Sep 2021 14:07:47 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • 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; bh=/5oNHcbLsqo9M2lUcfhAAuumf4VaC3DcQDQUojVuRYU=; b=OYZsiqHbMNHHvzMyUyXzyeazn7kelTM4uQq6MtiiWZxOX6jf2C5kbafG/gmmVLOt0qu2gDfVbiTdyDWPRsrfuBXYTEV1BuHWocO2tolkw2gvouu7XIdzHPaEuS0Vr8Mn3yrx3eQFA6fcNA5lZglT9DtdoZsg3t1gO04cdF/Hu+hjJg++yxteefVe98DrGI6Wm3U4fnVsL4/XjcLDI2HtzFaQ1KR0E9JUVnAISYO/5Y7dj35MUZMpsmnUlcSUrDpC0tvcd1GtzOBglkN0mR2firbjOfEct+BCrCfZR9XJgVCoOj+B1dUKIGIY/UxJtUg6GtvnJwwh0b9Yeqbe4OIYqQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nbjHdUoBL+11rFy2gY9B7/5mScKhF6tDW8jzwh1MY89QgITtmyPuTtKBW0xg0Vu5cMuSraCSMBABO1E2hXH+30s+8L6rwE2hVLfRVeNDJx/I/zvguIlsa3RWLK1qaiZf43GUfrhsA+On0iuek9DjDTbnx2mL+TgUGnQPXjw2orNJ3zCLRz1ML/2WdmiyQ3uhws1+F1ngN0cWzsSwnk6uv4+opDLPzCW4OwKNmKTIP42kGvU4XDG5toyu7ES825sr59QPhB+buDuo9v8t8OWS8QbsAcUKg0KNL3ibMPAeblCDggQV3uRWL2ocXD7wyJb1BJOigXbJy5nPdRB3iQHxwg==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 07 Sep 2021 12:07:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

It was introduced by 4035b43da6da ("xen-swiotlb: remove xen_set_nslabs")
and then not removed by 2d29960af0be ("swiotlb: dynamically allocate
io_tlb_default_mem").

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/drivers/xen/swiotlb-xen.c
+++ b/drivers/xen/swiotlb-xen.c
@@ -152,8 +152,6 @@ static const char *xen_swiotlb_error(enu
        return "";
 }
 
-#define DEFAULT_NSLABS         ALIGN(SZ_64M >> IO_TLB_SHIFT, IO_TLB_SEGSIZE)
-
 int xen_swiotlb_init(void)
 {
        enum xen_swiotlb_err m_ret = XEN_SWIOTLB_UNKNOWN;




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.