Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3229065pxb; Fri, 4 Feb 2022 04:21:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0bwE+wJrIIkTGnmuh9p18poXAr92d8kPuMOGdfwR4zZtXTf355paLimlE6Zw4Iq+V5q9t X-Received: by 2002:a65:5943:: with SMTP id g3mr2208365pgu.3.1643977294413; Fri, 04 Feb 2022 04:21:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643977294; cv=none; d=google.com; s=arc-20160816; b=02I++FQp2spD/oG18DpwgeAlG1h68NFqYXKzb1cAXGCkF/KdZdEBMWUkblzq+yqGqt DP3N2vNHMDUBy68bZwEds80rGTHWPRRHPyq/v8r7WjNMOkuxpKN/h73+MeCJgbVgyI6R MA3VDOibtbGw1eMX8j7qqkWszMK83SFPm3PPQDG4NdmEuUjANBJxTijKk5vu1zCmu9wi U/aw5rpDHrc4Mrj14EXrRUm0dDwsuzoIJ4896qLfCqJMd9O8C680m5ptz+lOiWpdyCBa 8nZPRiJH7/lqv0LXopMVuK6JRt92/8Z3f0qY/y8XJaNysigdOTRu6JI6n4swEdasEEq7 7KFA== 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=ulFfKXoRq8QJukyKpX0WjkN9+vmh3h2i2KxS5J3haRQ=; b=ZG/xFbK8CejEbbvP/VvkRbq48TCMVnODHY+KpmZYml8uNV5ZJI40UC+WR8e5lkZMyX 9KuurdF/iG3ac+3bqxPtIwTmvpii0PWw6U2U8gBJWLEZg6iyZRvEf30+XdGXjmkw2c6b 5PQaRXsIIOd2uJd2nJ9at1OX9XWmlSkguIhVcGFUdKQVd7MiUg1vrceuXRFH/CO276qj T9RFpj1SdLef4pvpxzuI8MVKeGBoffiqJ3YmX5xYZsMS54S9EOb83p2wKo2NJN7r8R5V 4PL3ltR6/ncywcDM512+faJtGbPVoyt2KjQOEAFl/lznl0qaLRnFEFS4x1GP2A/EIU1G HrpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=DGEwghLP; dkim=neutral (no key) header.i=@suse.de header.b=MK6+KnaE; 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 192si1730179pgc.664.2022.02.04.04.21.22; Fri, 04 Feb 2022 04:21:34 -0800 (PST) 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=DGEwghLP; dkim=neutral (no key) header.i=@suse.de header.b=MK6+KnaE; 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 S1344298AbiBBNT3 (ORCPT + 99 others); Wed, 2 Feb 2022 08:19:29 -0500 Received: from smtp-out1.suse.de ([195.135.220.28]:58186 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233464AbiBBNT1 (ORCPT ); Wed, 2 Feb 2022 08:19:27 -0500 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 34DEB212B5; Wed, 2 Feb 2022 13:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643807966; 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=ulFfKXoRq8QJukyKpX0WjkN9+vmh3h2i2KxS5J3haRQ=; b=DGEwghLPcWpzoCyyuOkZszuDl1Q8nqded/8dPqG8Q4YU7UWvuMuws+oda0lX7DvFwZ+65W XLmqjEpMg3A4TrGv93zlxgQ+Qy09zlx1ClX33wXVIJnWV+LhMQb61MKYsIUi4IlLy2c44/ lsHCp3gnEtoVC69tYvIoR77t/2E1jZw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643807966; 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=ulFfKXoRq8QJukyKpX0WjkN9+vmh3h2i2KxS5J3haRQ=; b=MK6+KnaE5ttkGnMgjHwh7+EWvFddHB6ebwBy9l80HtxfBniDhBKSGdFapKAUgiUVemN/AT 0MJWjC+AmEHj1gCQ== 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 23CC913E48; Wed, 2 Feb 2022 13:19:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id GJBXCN6E+mFeQwAAMHmgww (envelope-from ); Wed, 02 Feb 2022 13:19:26 +0000 Message-ID: <7a8e472b-8534-957e-6c32-49d3b919f382@suse.de> Date: Wed, 2 Feb 2022 14:19:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCHv2 6/7] block: add pi for nvme enhanced integrity Content-Language: en-US To: Keith Busch , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Cc: axboe@kernel.dk, hch@lst.de, martin.petersen@oracle.com, colyli@suse.de References: <20220201190128.3075065-1-kbusch@kernel.org> <20220201190128.3075065-7-kbusch@kernel.org> From: Hannes Reinecke In-Reply-To: <20220201190128.3075065-7-kbusch@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/1/22 20:01, Keith Busch wrote: > The NVMe specification defines larger data integrity formats beyond the > t10 tuple. Add support for the specification defined CRC64 formats, > assuming the reference tag does not need to be split with the "storage > tag". > > Cc: "Martin K. Petersen" > Signed-off-by: Keith Busch > --- > block/Kconfig | 1 + > block/t10-pi.c | 194 +++++++++++++++++++++++++++++++++++++++++ > include/linux/t10-pi.h | 20 +++++ > 3 files changed, 215 insertions(+) > 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