Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4500778pxb; Tue, 25 Jan 2022 11:43:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7wFKbwlFvLo/FcGeque2mLvGqjlt8uZi7qKjOLK8aUM3QAQ8/qNrDNzd628X6SoLBF++H X-Received: by 2002:a17:906:ce53:: with SMTP id se19mr7379427ejb.147.1643139823920; Tue, 25 Jan 2022 11:43:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643139823; cv=none; d=google.com; s=arc-20160816; b=EBswPJXqG8BpRmeCZySo5hAPmA91uI1vYMTyGad16cWJasWhx2XQ/Fvom6DmmFCQPP i2FDhT1s6cXVxwsEK8ehqac4i9FckaE0y0VZr45RlhYNKISchYjXpeToaMAMn8vvN6cn hXSnuLKMButIKIaVHk0kJjuQyjQoR+OmrLevE2hCCrjUREyo5zS/ScKz3JoRZ8ucyNpU lXixfacpzxwQ2Zo2ZtxN/bgPzuhNXReWhE2NJq+R7e01CjJYlRNv30jK5wPOotqaI19p fOGWAb5A7iohdJKw8rDt/U4APTNOgaT/Rxs42zvYe5m5SyyDht5/vtvaz6SS3ddxOcBx DzdA== 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=hIWwu7CZHoqXC33UGi3MUTqAEWUOsFTRpTUBCT7WnHs=; b=qY3z+x1MbuFr9U/QIYm2+GL3Z/RxYG3tWWHg2Bq79qeeDMYJKT7eqfq4EmVFJEAfX0 N1ifugT8EX4b62jaWlpYec0elVanWuXyjtET3GvLk3er0zFmaA0b2JkKEUqiA3tyeHuF JvFWF6Qt/oyPj1EUhAmSiDehkEBR/oKK3PbxMIrqLlG9VVWsWIebkSSvzShhwSzgZRkz KKxQDpvArtiR3klFE07duaS7l9D7rgrsDHgL1iqPyNN19ITN1/oUTT941n6fB7rUJkHW JOzUIDtKUJTjSrZ78JXKxxEcmVza7u9h4D/G7CDTEtrul6pE/P/qhZQAE5X2EHmYRP9X n4KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=V1Pkn765; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si6936279ejo.704.2022.01.25.11.43.18; Tue, 25 Jan 2022 11:43:43 -0800 (PST) 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=@infradead.org header.s=casper.20170209 header.b=V1Pkn765; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386441AbiAYNkM (ORCPT + 99 others); Tue, 25 Jan 2022 08:40:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386420AbiAYNhs (ORCPT ); Tue, 25 Jan 2022 08:37:48 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CBB1C061748; Tue, 25 Jan 2022 05:37:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=hIWwu7CZHoqXC33UGi3MUTqAEWUOsFTRpTUBCT7WnHs=; b=V1Pkn7653tgtgPGveH+VmAJb8P JneUFzY5tzZW+hK5YC2E4wglaygLKzwoMcKLLqpmH3STe/DK3eT8OP+WqgPHOB8YFR2NPOR4jD4iu jgncI+6thbj9FCmzMg7gRrHxfIwHj378nk9L8aD35LRNJH4gs3B0Gt9bvN1bLBauzDKWXSe0QgG7I yUBQ/Dog3pZd1e6UX/qmuMe8lAzx6sfFBNY4ozLo6M2uRqmSj4FkcKoaxv/AFyojnPe7ttY6TIvVI uVs0aY5l2tTXy/RvhvtisYr7YaTfCC9i1+pv6slMX668samW7c52CBb2yuWKoKvaAeqC1fsHL1B9z Zn2SZc1Q==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCM0k-002rKG-AM; Tue, 25 Jan 2022 13:37:26 +0000 Date: Tue, 25 Jan 2022 13:37:26 +0000 From: Matthew Wilcox To: John Garry Cc: jejb@linux.ibm.com, martin.petersen@oracle.com, artur.paszkiewicz@intel.com, jinpu.wang@cloud.ionos.com, chenxiang66@hisilicon.com, Ajish.Koshy@microchip.com, yanaijie@huawei.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linuxarm@huawei.com, liuqi115@huawei.com, Viswas.G@microchip.com, damien.lemoal@opensource.wdc.com Subject: Re: [PATCH 05/16] scsi: libsas: Add struct sas_tmf_task Message-ID: References: <1643110372-85470-1-git-send-email-john.garry@huawei.com> <1643110372-85470-6-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1643110372-85470-6-git-send-email-john.garry@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 25, 2022 at 07:32:41PM +0800, John Garry wrote: > Some of the LLDDs which use libsas have their own definition of a struct > to hold TMF info, so add a common struct for libsas. > > Also add an interim force phy id field for hisi_sas driver, which will be > removed once the STP "TMF" code is factored out. > > Even though some LLDDs (pm8001) use a u32 for the tag, u16 should be > enough. ... because pm8001 limits the number of tags to 1024.