From patchwork Mon Jul 22 01:34:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 1963050 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=J22Gir3K; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org; envelope-from=linux-ide+bounces-1930-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [IPv6:2604:1380:40f1:3f00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WS2rF4HrSz20Dw for ; Mon, 22 Jul 2024 11:34:21 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 90528B20B30 for ; Mon, 22 Jul 2024 01:34:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 779D24C83; Mon, 22 Jul 2024 01:34:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="J22Gir3K" X-Original-To: linux-ide@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3890E1FA4 for ; Mon, 22 Jul 2024 01:34:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721612054; cv=none; b=BfEYy9DSspENG9Q/do4ijGnLN3bNmGgPa0aVh6fW8HnOM5DRntPAy9dbVNlg+WL5Sj55BQtvQf9Rehr3/REoBuHoxMjJ+cLPxp38Dj34t5WkWmPwEl2mMryAXUs9wxlO0L7I8X03Ohr39YsCfotNo08RVIizB1pAral55HHeDq4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721612054; c=relaxed/simple; bh=iY/+iXkElAIbsjDJdA6+2rgax0JEskN9sCqaNObtncc=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=XpxEWTNldrnB7gKnEomc4EgxrfViRnO5Hv5JxskwjymkT4CjC8WD4uTPtMfzkfNRzWFshDIPa+eN0JMJ7HmEHo1gIl+zdiZTfLfYcg1sIFSF/gkBMU6eNBjAYzO+EyL3LyfNak/T+9sL9YooNmhkYE52gtb08iYKWongGVjlfAo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=J22Gir3K; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E505C116B1; Mon, 22 Jul 2024 01:34:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721612053; bh=iY/+iXkElAIbsjDJdA6+2rgax0JEskN9sCqaNObtncc=; h=From:To:Subject:Date:From; b=J22Gir3KoTsDbiitBAs6zIioeC5tqk7cpnNDMFHEaXLaoXLLT8KrYynImGKwPED2V MIQBXLGI3aMjqH0TOku+Pvip77qk+LWbXCbD135jJaibnHz/VreAESUZMXantLjhnv MqxV/XwzDePuVMZbECGmGaMO7QD6XMZNgOwpreJU5CmP0SeTqyvrPpfqdNlWhaPmZQ tiHHscuZjLplFkPUSRI8puUwoLZpT1UVZuHFyKjVy57ldOm3weK2X5DZdkYTgpElVe I2G/HjYpj5EncMnvT2ifUini8OsJyGAnggdo9EY0KwSRUK0CJR3AorZawDqaJq9oTD RlwlO0WSgyqNQ== From: Damien Le Moal To: linux-ide@vger.kernel.org, Niklas Cassel Subject: [PATCH v3 0/3] Some renaming and horkage improvements Date: Mon, 22 Jul 2024 10:34:09 +0900 Message-ID: <20240722013412.274267-1-dlemoal@kernel.org> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-ide@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The first 2 patches removes the use of the term "blacklist" from libata-core. The third patch adds printing on device scan of the horkage flags that will be applied to the device to help with debugging. Changes from v2: - Simplified ata_dev_print_horkage() to always print the device revision (patch 3) - Simplified ata_dev_horkage() to having 2 different calls to ata_dev_print_horkage() and to always print the device revision (patch 3) - Added a BUILD_BUG_ON() check in patch 3 to ensure that the horkage flags all fit within an unsigned int. Changes from v1: - Remove unused macro definition in patch 3 - Use unsigned int for horkage flags (patch 3) Damien Le Moal (3): ata: libata: Rename ata_dma_blacklisted() ata: libata: Rename ata_dev_blacklisted() ata: libata: Print horkages applied to devices drivers/ata/libata-core.c | 112 ++++++++++++++++++++++++++++++-------- include/linux/libata.h | 112 +++++++++++++++++++++++++------------- 2 files changed, 164 insertions(+), 60 deletions(-)