Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1889423iog; Thu, 16 Jun 2022 16:35:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1saytrqaFL/6fzGTy1EP4lfzUhSUi1R5bfB3OQ0b1R+SqgxK6KWp/kKUt2U/5D+5VYq0odh X-Received: by 2002:a05:6402:4410:b0:434:f35f:132e with SMTP id y16-20020a056402441000b00434f35f132emr9243181eda.215.1655422516132; Thu, 16 Jun 2022 16:35:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655422516; cv=none; d=google.com; s=arc-20160816; b=P56MeIsoWpYDJg/TR4gBj2o+j2BrmE38zecQeNzIBCIwAnUNfH7B19hTzvjlayAfvP WvlsCJ7hKyu1bgoWQ7f31zJKQAgIWzriTJOgIPqBb+x3LBXhIeRvG3xkWN+fFraKhnkN rKxRt8xwavyIYywgyo8uVbvqV3QrdjtRCCKXKFw8B0ErjDRdLSvWLfSfRNffj1glFXza RLzhLGmwJYU+Lzvrq7n5nLn6y9/XzKs70FWC9ZguwwU9+1tZGKsLV0R9I10oW3mqFQrH VW5+QUMWdm8yTTA4gWwazK7UqqxWKLAIuTZNBHpvWGwcgdkRadHHGuRNxYGlkP/zYVu3 0KIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=THo9XHd11UDRnUr4uU8nMz1j4YPM3x8Ly24+r3XmrAA=; b=J6TDGWSSxb4cI9CLFQtmuCitJFk+XAE2+4QiE/N3Xn7fb9z7bFHZidqM3cBImuxnze FSHMenMqBVK844XH7fjorNLKo7z2jRs7Y5Q/JLsTudoUXPRyzM579vE+Gzdw1DsbVT9F N4zkep1vyMxCdzJ3eY3Q6UPg+Q27bl+jFFXdJt8kyJxVE6rK4QSmPYzGt3ki/HzJ5cM0 yG2LSh5UDbsAyFkPr7i+nOh449Udjs/3qurlVkPNrxoJ7XF2Kmp5qzRhtYskh8yqMDnU IuEuYHrnG/C0GV0tYgB65ktaJsx3bB0RX2+6Hf86mmPLznOoxmWozsctXtESv7t/RY1U meZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fiPggnN5; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020aa7cdd3000000b0042e256e771csi3642127edw.493.2022.06.16.16.34.51; Thu, 16 Jun 2022 16:35:16 -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=@intel.com header.s=Intel header.b=fiPggnN5; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379354AbiFPXPq (ORCPT + 99 others); Thu, 16 Jun 2022 19:15:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231500AbiFPXPo (ORCPT ); Thu, 16 Jun 2022 19:15:44 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0247762A0A; Thu, 16 Jun 2022 16:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655421343; x=1686957343; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=Bm9Vb0LSbnkJ7TNyPuwbBBz6WhULyCYNAtvB1EzVugQ=; b=fiPggnN5C5hqmotl01zdGdbaq+K7HhdKsw/7lQitFVjHU9KTmBQFWApb VOly4cEvI0JrtA7uWQlIBNeY2hRmwyBym2owfhwplg3ng09oWDEMPe+in ZaYIigP6AymKLlJXhodagZLd8s6yJ83T6eKBW0rv8NmKIAgJhUnPTPP4o +LfuTzgUMxkPjaTdRdOvjZZExU8nlh0hTs7ZOHfE+dn0qdmB2R1C4BzXm DLxOKjbKHJ8A8JXHtEh96w34fgTijEuNP1XITvsh7VfGhNKWcGAaNz1VK 4HSN66/a9f8QxVp03jWmDNbQOb2EDr3+XrFp3JHAA8rqmiUX90iTM8DIJ A==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="259225680" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="259225680" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 16:15:43 -0700 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="641767275" Received: from alison-desk.jf.intel.com (HELO alison-desk) ([10.54.74.41]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 16:15:43 -0700 Date: Thu, 16 Jun 2022 16:15:22 -0700 From: Alison Schofield To: Davidlohr Bueso Cc: "Williams, Dan J" , "Weiny, Ira" , "Verma, Vishal L" , Ben Widawsky , Steven Rostedt , Ingo Molnar , "linux-cxl@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "a.manzanares@samsung.com" Subject: Re: [PATCH 2/3] cxl/mbox: Add GET_POISON_LIST mailbox command support Message-ID: <20220616231522.GA1529779@alison-desk> References: <382a9c35ef43e89db85670637d88371f9197b7a2.1655250669.git.alison.schofield@intel.com> <20220616194334.pvorvoozt4rrzr66@offworld> <20220616203400.GA1529208@alison-desk> <20220616224525.fufa4dnpw4vl344n@offworld> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220616224525.fufa4dnpw4vl344n@offworld> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,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 Thu, Jun 16, 2022 at 03:45:25PM -0700, Davidlohr Bueso wrote: > On Thu, 16 Jun 2022, Alison Schofield wrote: > > >cxl list --media-errors -m mem1 > > lists media errors for requested memdev > > > >cxl list --media-errors -r region# > > A quick question on the tooling front: the above goes nicely with > cxl-list, but what about the rest of the poisoning cmds? Do you have > anything in mind? Do we want something specific for media and poison > management instead? Ie: > > cxl media --list-errors Not clear how this one differs. Seems like we can get any piece of the list w cxl list. > cxl media --inject-errors > cxl media --clear-errors For inject/clear I'd probably start w what ndctl does today. ndctl inject−error [] where option -d --uninject performs the clear. > > Thanks, > Davidlohr