Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp858367iob; Thu, 12 May 2022 06:15:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymGyxmSPAKlCbwckCwQVaQ0BHTZXlENhJFsBlliOsx5KGexBfABGcsAru/TdfzyUyLtHD1 X-Received: by 2002:a17:90b:1c04:b0:1dc:4dfd:5a43 with SMTP id oc4-20020a17090b1c0400b001dc4dfd5a43mr11075525pjb.160.1652361302575; Thu, 12 May 2022 06:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652361302; cv=none; d=google.com; s=arc-20160816; b=TkJvOqbflAFh+HNrTzJfhxnERPQFE2TOrDEA/gmllbhMo4oNKIYs0ge4dKMo2ALHa+ MrmFrOUiad5WvyJuZoAJdPSyUtB33/OP5I6DkWKkMvpp7CktF/veiOmMMrnzynpkQoIb o96YegHf82G32iPh1dW3A4SxFQQBkBL+cRXQg//jK6lgmUXGQSMBW8MtAwtBahmOr+z6 UZ9F+M86cxuXIdmvFmvDwaT8gviEOshZqUPyY5wS6Oi2N1mMGqVfqgX9XSkCQzXIaBJn oG9VtKhH5jZ0Cl97zVuoBmEYRYBNe3s1ZmWCqXHdKGlM1lYCSQKYGSspQtjCMeb8fCWz rnkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=X8cuhc70WJhGVRlyqcGiXhEgWuGjboKttKdlKZeYH/k=; b=L40uVW8Dd9QRhM3UOtN/r+LcrK7G1lUodbzJ1REgfCVq/r0xbGAQR8sN+6uuAn6oRP aw6chWIwS27rrq6HMKNsOJkv6apkQyo7VWy3AuyiIckJFPucuFUh6n+EQOn3JLB+QABi WFhtjvcIMoH+H5tt9+dH4yMVxm5hZ4fou/qO79Bby4mL94cDKsNQsbD81FU6li+P4bfN NwKhSb9tCjDroVTegLDEl2R0N++NA1EEJgds9F+ElqH6dDJTwJnxHTkbKQ5MYPKiI3xo UStVUgyDlnLgpf2c/PxHbIeL+Qpw7T1Xx1bkjPrhgrYHm5+IC6Y/exkO4WxifHakQuvV Wm4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="08FotzP/"; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p36-20020a631e64000000b003c6c6e041f1si4287456pgm.654.2022.05.12.06.14.48; Thu, 12 May 2022 06:15:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="08FotzP/"; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350631AbiELG6I (ORCPT + 99 others); Thu, 12 May 2022 02:58:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238889AbiELG57 (ORCPT ); Thu, 12 May 2022 02:57:59 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708EC1836F; Wed, 11 May 2022 23:57:57 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2EED421CA1; Thu, 12 May 2022 06:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1652338676; h=from:from:reply-to: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=X8cuhc70WJhGVRlyqcGiXhEgWuGjboKttKdlKZeYH/k=; b=08FotzP/dZFOaguP7NtLoygRK6Z0DNF7JuTX6Hs4U6OeU5bxgna/sEAHeOUX+wfid/ikMd tAwOQx+iApOHrA0cSkWx6SdP+JAxXV3W4z7C2/Vc0fPgcFgskZUlRoLM5wwSazZJ9S43/d znh3k6yUQLHrheIbk4etcVbt9hJ6YyI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1652338676; h=from:from:reply-to: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=X8cuhc70WJhGVRlyqcGiXhEgWuGjboKttKdlKZeYH/k=; b=XMybFq3x0miy40f2Szg2tI7gwpnNWNWAtzHsQy/X21tXWL3lpk7ulNUUcFUz+cEJl8fb73 ppSC7JGuZ9ed4vCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E0B0513A97; Thu, 12 May 2022 06:57:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8tHBNfOvfGLNWQAAMHmgww (envelope-from ); Thu, 12 May 2022 06:57:55 +0000 Message-ID: <7fd1c122-12b2-adff-856f-50ffc5fc6bd1@suse.de> Date: Thu, 12 May 2022 08:57:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v3 13/23] ata: libahci: Extend port-cmd flags set with port capabilities Content-Language: en-US To: Serge Semin , Damien Le Moal , Hans de Goede , Jens Axboe Cc: Serge Semin , Alexey Malahov , Pavel Parkhomenko , Rob Herring , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20220511231810.4928-1-Sergey.Semin@baikalelectronics.ru> <20220511231810.4928-14-Sergey.Semin@baikalelectronics.ru> From: Hannes Reinecke In-Reply-To: <20220511231810.4928-14-Sergey.Semin@baikalelectronics.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 5/12/22 01:18, Serge Semin wrote: > Currently not all of the Port-specific capabilities listed in the > PORT_CMD-enumeration. Let's extend that set with the Cold Presence > Detection and Mechanical Presence Switch attached to the Port flags [1] so > to closeup the set of the platform-specific port-capabilities flags. Note > these flags are supposed to be set by the platform firmware if there is > one. Alternatively as we are about to do they can be set by means of the > OF properties. > > While at it replace PORT_IRQ_DEV_ILCK with PORT_IRQ_DEV_MPS and fix the > comment there. In accordance with [2] that IRQ flag is supposed to > indicate the state of the signal coming from the Mechanical Presence > Switch. > > [1] Serial ATA AHCI 1.3.1 Specification, p.27 > [2] Serial ATA AHCI 1.3.1 Specification, p.7 > > Signed-off-by: Serge Semin > --- > drivers/ata/ahci.h | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > You might want to adapt the subject line, as this patch doesn't touch libahci at all. Other than that: Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer