Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19B61C636D7 for ; Thu, 16 Feb 2023 15:19:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbjBPPTZ (ORCPT ); Thu, 16 Feb 2023 10:19:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjBPPTW (ORCPT ); Thu, 16 Feb 2023 10:19:22 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E50535BA3 for ; Thu, 16 Feb 2023 07:19:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2925561852 for ; Thu, 16 Feb 2023 15:19:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0519BC433D2; Thu, 16 Feb 2023 15:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676560760; bh=aUBobFomaZu++V/z3TN862RlF8Gpj5REZIykBITcL58=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NqBVA10AXCjsux3YIwa2fodrNJHeOuFYmSuNljY3SNd0nn7UPAMH7WXZmWN8rPgyh JKMBhblQLDcgQczf8qSepkGW7aAmEdyUDfCwLLAgYAbnaVF6eklPJgf/cZNK+StFJ+ lcJZ8owTQC8FANEBXHMRE2A8Zv0hIX9+ACdTnoCzQNQ+N4KQ9DjYHOg1ZPOynkkDKV A0OBs0D3vaPCiU2iZCarZtMrdCKZ4/sdbGousJ+tbZfxfySpDh9Xo5v+o1Q3fq7cIL y1oMZBxYj7qSfDjSTAg9ICD7wWN9DzyUqg9Nnq1/6NaXysAVbjWYfDQCA0Ot8u8Cv8 IW1C31J5vXr1g== Date: Thu, 16 Feb 2023 08:19:17 -0700 From: Keith Busch To: Linux regressions mailing list Cc: Jens Axboe , Christoph Hellwig , Sagi Grimberg , "linux-nvme@lists.infradead.org" , LKML , michallinuxstuff@gmail.com Subject: Re: [regression] Bug 217037 - cmb attributes missing from the nvme class under sysfs Message-ID: References: <52f9afe2-f621-77d8-9d10-449d539e901d@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52f9afe2-f621-77d8-9d10-449d539e901d@leemhuis.info> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 16, 2023 at 10:28:55AM +0100, Linux regression tracking (Thorsten Leemhuis) wrote: > Hi, this is your Linux kernel regression tracker. > > I noticed a regression report in bugzilla.kernel.org. As many (most?) > kernel developer don't keep an eye on it, I decided to forward it by > mail. Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=217037 : > > > michallinuxstuff@gmail.com 2023-02-14 14:16:26 UTC > > > > For the CMB-capable nvme ctrls, kernel was exposing couple of related attributes under the sysfs. E.g. > > > > > > # grep . /sys/class/nvme/nvme0/cmb* > > /sys/class/nvme/nvme0/cmb:cmbloc : x00000062 > > /sys/class/nvme/nvme0/cmb:cmbsz : x0008021d > > /sys/class/nvme/nvme0/cmbloc:98 > > /sys/class/nvme/nvme0/cmbsz:524829 The breakage is that the attributes are decided before we've setup the cmb regions. I'll send a fix shortly.