Message ID | 7cd163e1-fe13-270b-384c-2708e8273d34@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=Y5lV=N5=lists.xenproject.org=xen-devel-bounces@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4FF6C433EF for <xen-devel@archiver.kernel.org>; Tue, 7 Sep 2021 12:07:11 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9AACD60698 for <xen-devel@archiver.kernel.org>; Tue, 7 Sep 2021 12:07:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9AACD60698 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.180935.327833 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1mNZsV-0007MU-OB; Tue, 07 Sep 2021 12:07:03 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 180935.327833; Tue, 07 Sep 2021 12:07:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1mNZsV-0007MN-Km; Tue, 07 Sep 2021 12:07:03 +0000 Received: by outflank-mailman (input) for mailman id 180935; Tue, 07 Sep 2021 12:07:01 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <SRS0=GyZL=N5=suse.com=jbeulich@srs-us1.protection.inumbo.net>) id 1mNZsT-0007LE-GV for xen-devel@lists.xenproject.org; Tue, 07 Sep 2021 12:07:01 +0000 Received: from de-smtp-delivery-102.mimecast.com (unknown [194.104.111.102]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id c7167cc5-da60-41dd-964f-0f0b7ed46926; Tue, 07 Sep 2021 12:07:00 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01lp2058.outbound.protection.outlook.com [104.47.0.58]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-6-sqoC9y0uOUmyMVzmjdz1SQ-2; Tue, 07 Sep 2021 14:06:59 +0200 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by VI1PR0401MB2335.eurprd04.prod.outlook.com (2603:10a6:800:2e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Tue, 7 Sep 2021 12:06:56 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::4d37:ec64:4e90:b16b]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::4d37:ec64:4e90:b16b%7]) with mapi id 15.20.4500.014; Tue, 7 Sep 2021 12:06:56 +0000 Received: from [10.156.60.236] (37.24.206.209) by PR0P264CA0063.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1d::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Tue, 7 Sep 2021 12:06:56 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> X-Inumbo-ID: c7167cc5-da60-41dd-964f-0f0b7ed46926 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1631016419; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yfSrUDJsXrUgIa8eiGS6wO+C14mV3RvK021zMRjhrHg=; b=Zq8NCV1PhIRAR6RayonpC9+VvN4XjM8PkzIxG6ZLTq09Ggxv3aIn0GWpSISijyvN1/tV3l HmgsHSV/TaB8cXjkuQa49gI27c4OMmcMcp4XDy6wIa2EzsR1mQ6HOIfNsqpZmdRCqVWA6C v8w5wXZUFHxMnb2eLFFE8ubNwGIZBS0= X-MC-Unique: sqoC9y0uOUmyMVzmjdz1SQ-2 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jWmrHmi+ZMHC3LYMtzJur7+Dw2pd9sVEpZFYIwzl1En8ZFIaMuvsyXDu46b6O63Xri3ktnl3NG4vEpo2X1NCj+edcilG4n7L8fqrFK3Lg5sPwvvpcEMleoMqsRQXf7gTN8ZR++aOFpoLKWzvFe9WvldIB01WEOVOJOdTLjOGdylsdinh2m88P3Tl9a/wlaN2YtVK2NODSaULwDrGCIaYxaio5NoXg2GOBP+MiTWza1oKNGCbWILjuodfrE0lZsuuVPuT52OOpILXMXlCIKvXLYjOe/8WHc1ruEmLs/SzzlU7GgGNdiOv5UQHlxhqVzNDXXf5vRl9yoShbaCeJwWAkQ== 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=yfSrUDJsXrUgIa8eiGS6wO+C14mV3RvK021zMRjhrHg=; b=csNV5nHeNahFGwpU/LYDwy+AT9eP940y29k4YQXmrHVGKLzZG69WDnDPOUtKSLNFRJ45kWRZrH0F0tKhvqFWP9Gsrp4ICQq+I4bxESlQjOfXueGoE5RwmJYVqec3j7dn/11Dj0zuVRnhY4QFIkKGzmwn0A9lGuHrZ7XIwIeQROa9Bou8FpTAsbUaV6ofOsK7OJmI7XiCvHYaqMoQjaS1nHXO57rVItI0QfbN60php0A5+IxAU4M5U93Q6uQmwG8a5AVDmocy4GggdRzdWAF1JbOttbCBfe5hGS26QOEhdyL0HlDQHCwTaYetM3+wE5KmZB7f0hfHMq98EbjQmgqGpw== 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 Authentication-Results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com; Subject: [PATCH 07/12] swiotlb-xen: drop leftover __ref From: Jan Beulich <jbeulich@suse.com> To: Juergen Gross <jgross@suse.com>, Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: Stefano Stabellini <sstabellini@kernel.org>, lkml <linux-kernel@vger.kernel.org>, "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org> References: <588b3e6d-2682-160c-468e-44ca4867a570@suse.com> Message-ID: <7cd163e1-fe13-270b-384c-2708e8273d34@suse.com> Date: Tue, 7 Sep 2021 14:06:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <588b3e6d-2682-160c-468e-44ca4867a570@suse.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PR0P264CA0063.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1d::27) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6d92d3fb-5473-4882-8cd6-08d971f7fd10 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2335: X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <VI1PR0401MB23353A656619E82E11D01D10B3D39@VI1PR0401MB2335.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:2887; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X+TnSCKrSsUpHDy62Y4a7n1mHtJ9sHiN2ncLWbETlk/iczTyLciNrb5Q889LTvUlcTFTCatHa/e1EqPzGeQDQpSD+Y1AKhG6Hm24253horOclA2vhn884oXNKEvO9qcIIl8MPmtoatQAbIBjnu9cJRRtb0/ej/lKc5QCx+RcL6RZOQ7+ftwD762dJdvnoSSOeijFyC4Kk6njhHLs+2De3ZLT1GzhybjWv9hupmX9FDFWnRRm7x3D54pT57k3nQt9MqwL2td8mMaX8WPZ8Dpgc1XX2K8BaXZtRu0aMHtBzu8bxWFxTMZUPKCxTZUpqznBthXzUJQ36AdPzD21Jp0CSFz6S+ppSSinkIpVQkWttj+vYttUyddhDV23uNXZws1qy5f6FeLi8cuIrDaxOQwoUFgs4b+X2DYo05kJem9wJeERmpwUMo+GDleGFRqFDXVCbXDug2mEqhBXxifoahtCFOI286Ufw6W7W0+5zytY4VE0bRuHgrAz8LkVRydX3GYHdDIaCxURPWCuHzzbglGi1C5KDTxAXt+qd3q2Qdyp/3wcPAPQOFtloxJJnpeERFIcSVwbxX4oqVJnbddgS61tY+iUGPZZkgupsx4wQ00xAa4Od43WB168COO+sKbqmoa+Gglbu7X0GE2BBtbihFP17xWyzSH5cQFcpVdmVBehNxbioptTeRvXZggT+enSjf2d+31gIvnt7Mi1uN+fqZO0uDIs6NavEMlbVuKnX9ygZ+Y= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(39860400002)(376002)(366004)(136003)(396003)(346002)(2616005)(8676002)(5660300002)(38100700002)(54906003)(110136005)(956004)(66476007)(66556008)(66946007)(4744005)(26005)(316002)(6486002)(31686004)(8936002)(16576012)(36756003)(4326008)(2906002)(478600001)(186003)(86362001)(31696002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?gW6Kcgr01T9YtoHrjaAqI5AeriA9?= =?utf-8?q?oLOHB5BybXU8BpNG495WsRTCO7ENCsRSHGugV6xoleWDCEFM93j4elX+IrN3Jmumw?= =?utf-8?q?6n/XzwGsKeIx/KZE11HNumsz5lP/9cWgxCa75e0YRXhqEBEL6+WK7WEe/DOQu+aHs?= =?utf-8?q?oIDM5sfR5Cjc6hLJ15R1AtYuoQQpwMisqqkFX7q80neuHylWL3bjbcR6eYQQQjchh?= =?utf-8?q?bJUP5EqMkAeFg2JePyh9aYiCj7tRQpChQ+liXB1wZGatIm3oqZ+f7IlFxe02MsNIu?= =?utf-8?q?s3NpaIdCwc3FrUScHvxuN4eNBQ6U0VkIQJ3JDQt+tMRv9O+Q0QCaqtsBSMWyRff+r?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dfLmsIs5EtxPhjTxAj3Uh+oD1Avg1z8VnG61zT6zpueodSA9C4Hs9FhhGM1mn?= =?utf-8?q?SgXSbmwbylLEBmaH?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d92d3fb-5473-4882-8cd6-08d971f7fd10 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2021 12:06:56.7266 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: v3JjegjrSVa7Eyffa0vq6FD1jmgD626Xg9ETA8SXF6JHGDsF+T5u/SkYZ9MAPiV1vclz+c5K8UFXntF15X7vlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2335 |
Series |
swiotlb-xen: fixes and adjustments
|
expand
|
On Tue, Sep 07, 2021 at 02:06:55PM +0200, Jan Beulich wrote: > Commit a98f565462f0 ("xen-swiotlb: split xen_swiotlb_init") should not > only have added __init to the split off function, but also should have > dropped __ref from the one left. > > Signed-off-by: Jan Beulich <jbeulich@suse.com> Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>
On Tue, 7 Sep 2021, Jan Beulich wrote: > Commit a98f565462f0 ("xen-swiotlb: split xen_swiotlb_init") should not > only have added __init to the split off function, but also should have > dropped __ref from the one left. > > Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> > --- a/drivers/xen/swiotlb-xen.c > +++ b/drivers/xen/swiotlb-xen.c > @@ -154,7 +154,7 @@ static const char *xen_swiotlb_error(enu > > #define DEFAULT_NSLABS ALIGN(SZ_64M >> IO_TLB_SHIFT, IO_TLB_SEGSIZE) > > -int __ref xen_swiotlb_init(void) > +int xen_swiotlb_init(void) > { > enum xen_swiotlb_err m_ret = XEN_SWIOTLB_UNKNOWN; > unsigned long bytes = swiotlb_size_or_default(); >
--- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c @@ -154,7 +154,7 @@ static const char *xen_swiotlb_error(enu #define DEFAULT_NSLABS ALIGN(SZ_64M >> IO_TLB_SHIFT, IO_TLB_SEGSIZE) -int __ref xen_swiotlb_init(void) +int xen_swiotlb_init(void) { enum xen_swiotlb_err m_ret = XEN_SWIOTLB_UNKNOWN; unsigned long bytes = swiotlb_size_or_default();
Commit a98f565462f0 ("xen-swiotlb: split xen_swiotlb_init") should not only have added __init to the split off function, but also should have dropped __ref from the one left. Signed-off-by: Jan Beulich <jbeulich@suse.com>