Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3494456pxb; Mon, 4 Apr 2022 18:47:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7JPQD+ffHBf/hepyyHPHnvYgS019oPVqNvGRMItyl3DCjUtbz28fxFT9jXLvDlQtRAZSK X-Received: by 2002:a17:902:ec8c:b0:154:2e86:dd51 with SMTP id x12-20020a170902ec8c00b001542e86dd51mr1082087plg.99.1649123262362; Mon, 04 Apr 2022 18:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649123262; cv=none; d=google.com; s=arc-20160816; b=SL2PBNbvNJr+TRDF2PSY+QMOot5Y1m5h7y1FaA0yvxnddk55um4JZBvFO85reZH29n rtPape89NqX650V59DIxsSAF0poFsV4N10ViiEDxY5Y/NppzphLLt0jzViAjHwb0raUf Zd7EUvLj1tR7o5Y6cjfCey4Z+xiYa4M/j4zHc6iN69LX1iFecXqkYVRGnj2J8lZaFUks cjFPnYNQb1vNAa59ZxB+gGvcMyV8EGM2PIXpsFb1jW4YqGt+Z0y2wzUgFlm3ptj5d8zA 8u7IR+PPmblUtnUHwpMgURGU+L/qNRLFgyioPq0iTmF1l6+wERpRySnC8aAaLYAtnbMB 6kUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=mYf+bWqeh/ZwSmVjVlHKXsshvXIg2KiuwW+L1MZaldc=; b=vij+vsgBGaMXrLXoJOFxXkwEWTBXLMDKqOjVRz/R2fvcBbvWNAKOXwzW8XQy09sOVk AqvbCTXQtN9qKS8Y4Z+Zx+486opUSuu03MaH6GIh2tYLP0dFkz6GX7BY2QHSldIm8LnE o6R9+DKS8gpFvTHzf9hi1nXoWaV0hIp5eis2zcle2loD8gNilsb14WGHCPttVQZF1Kug B2D7EuEc3RQqpehWRG81IbmvHP4wwiL7Y3gNdMOocmgvwfT4RjNz1cZKZi0YjL1CP0Wf DuFxEovKecc5cRraFbgR4+uKlE/6TAKA09NE4tYyrjHrJfMxUkQ/z6FO8BtavY3Ltn+R BVXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r18-20020a170902be1200b00153b2d1646asi10495327pls.114.2022.04.04.18.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 18:47:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 310F232035F; Mon, 4 Apr 2022 17:48:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378344AbiDDPBD (ORCPT + 99 others); Mon, 4 Apr 2022 11:01:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378318AbiDDPAy (ORCPT ); Mon, 4 Apr 2022 11:00:54 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54C62DEE2; Mon, 4 Apr 2022 07:58:54 -0700 (PDT) Received: from fraeml741-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4KXDQH0Xx4z67ms2; Mon, 4 Apr 2022 22:57:11 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml741-chm.china.huawei.com (10.206.15.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 4 Apr 2022 16:58:52 +0200 Received: from localhost.localdomain (10.69.192.58) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 4 Apr 2022 15:58:50 +0100 From: John Garry To: , CC: , , , , John Garry Subject: [PATCH v2 0/2] libata: A tagging improvement and related code reorg Date: Mon, 4 Apr 2022 22:53:08 +0800 Message-ID: <1649083990-207133-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 This is a follow-up to the series at [0] to fix SCSI device tagging and use the per-device token as the libata qc tag. I added the changes Christoph shared on the list to move the functionality from ata_qc_new_init() into libata-scsi.c Please do not apply on a kernel which does not include "scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()" v5.18-rc2 should be the release to include that patch. [0] https://lore.kernel.org/linux-ide/1647340746-17600-1-git-send-email-john.garry@huawei.com/ Christoph Hellwig (1): libata: Inline ata_qc_new_init() in ata_scsi_qc_new() John Garry (1): libata: Use scsi cmnd budget token for qc tag for SAS host Documentation/driver-api/libata.rst | 11 ------- drivers/ata/libata-core.c | 48 +---------------------------- drivers/ata/libata-sata.c | 25 --------------- drivers/ata/libata-scsi.c | 45 ++++++++++++++++++++------- drivers/ata/libata.h | 13 -------- include/linux/libata.h | 1 - 6 files changed, 35 insertions(+), 108 deletions(-) -- 2.26.2