Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp929245rwi; Fri, 14 Oct 2022 10:21:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48SOC0E+i7yjzvxhrGj6hTMOyOBGFhIvWnl+WhLr3Hhnw3wP6z3RAErXFKl35K0x4DJwYJ X-Received: by 2002:a17:90b:48c9:b0:20a:f2f5:45c8 with SMTP id li9-20020a17090b48c900b0020af2f545c8mr18034843pjb.18.1665768079020; Fri, 14 Oct 2022 10:21:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665768079; cv=pass; d=google.com; s=arc-20160816; b=VauWXDm6t4gNlbryxFtMcyw5RYMbUwgqRbW5RIYzO9i/KX39ex34tp5Wc6T7szSTzw s6V2wn4LQdNuPxrtvV+ypCx/WPPlsXO36L6aWsO81QedLBcYYyl2/t2WB7GRo6fI5S4w uEe4eKJtc0TvdeWyE+GfAZTTdjAM/Siz7JOUh+05cIsVbl5rPK1aV+soz1FiIMFBf6kQ xSNt2V7nru40oxfnp1/luh3RvvWGNQd8VzQSsEqdT2ws9ZmKrHRUalpUKcb3/rxqG5ee lBlZ7l3rKyDQw52YaBbvDbTDpmwXCmPERgAJ4N2WdOlh1tgBDdP3haNJvjOwJ1+y6CNh xAyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VXv+P71c4vzTRrfPraL5ddMtH2hCJErWbUesX0qQy3k=; b=DEfAxf6e4OoNaWlaHwkRUbWcRaXGn6FtE2nKCT1YsJkV8sBMI89KpoukxbEWtcL0X/ 7YAfcf88F+bbvfTSjwE1OTSyi6+ULt4Fe/Vq/nJu/z1fvwl0ODWZKcnd05jzXL++sPjs AJpbrSOmYpXn5chTNnicfIigym8SaaYHzrTZkW3mjJ+jiQCdf5TQV+z34lbPE5oJCmdZ Iu+vrFAPTCHz/e+Ba9vPxliveww/HJWQvlPfMmDVDvKjgdnykrz1NSaM3MG7ScCisUtp cAJltC20mMprUIOvPpy41dQcP/WuU9nCeIBG9tR55xfaevdRlDxhOL5w3b7E+cKqiAvy XHkg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@stgolabs.net header.s=dreamhost header.b=jqw1Ig0R; arc=pass (i=1); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a17090a8d8100b001fde53d5d79si9116060pjo.5.2022.10.14.10.21.02; Fri, 14 Oct 2022 10:21:19 -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=@stgolabs.net header.s=dreamhost header.b=jqw1Ig0R; arc=pass (i=1); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230417AbiJNQxB (ORCPT + 99 others); Fri, 14 Oct 2022 12:53:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbiJNQwz (ORCPT ); Fri, 14 Oct 2022 12:52:55 -0400 Received: from bee.birch.relay.mailchannels.net (bee.birch.relay.mailchannels.net [23.83.209.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1CAD1C69CE; Fri, 14 Oct 2022 09:52:52 -0700 (PDT) X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5DC88640DE0; Fri, 14 Oct 2022 16:52:51 +0000 (UTC) Received: from pdx1-sub0-mail-a285 (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B3CF9640CF1; Fri, 14 Oct 2022 16:52:50 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1665766370; a=rsa-sha256; cv=none; b=Ph4KsOifQ7SYQHDdvIbChczNcag8o59StORM18dA9Qs3TqQfrodtH0IDxZH7uCc6Z441hs 7rxYLGfNRMBPPr4cL7x6Sj1K4ypa+sg7Ad6v+VoqVh669J+43P3mQXVqr5TK5AvUCT+k2p tP5F/LRbrEhSSGWC4lAiKGJhkE8ohA4kjSg+h7SqTX5QICa8D2EM9rjJH+Q3pRSpXeWUAE lSECKXiKDQ2LJwo85B/TglJkYmNJ75kWx8hC1gzxzKsohGTlxBh6fzpPk2rKwUSMjS/E68 HwFYU9qOf7SK4UCheMagGVlBKejk4EiYz8RNMBOXnm25sg4te33En4v2YR15gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1665766370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=VXv+P71c4vzTRrfPraL5ddMtH2hCJErWbUesX0qQy3k=; b=rbwN21pry0LZKmanvsCL17eM11Ej4pFRfIyfyE6nNg8rMcPaWLIJPvkqbtRYyQbfY2qewU hQ4+qczYRkb8PPTVAelEA/SNO4fXhI3/6gyEhxZCGrS4rXy8LkGG4H06Yk67aK9R4Ydzvi jdzxuPTAr2mXKgprCGiOAfKFrSVIhWQW/NKHt2pI1IhLauyMQtjHwlAS59Mi6mrfzHU7UW Ayt3mu/7R4qCW8gVI8dkeYkNqlJMo6z8VFkrpjpzIKfOn8tTLrcOfGow++dmf5hca6UswB 5SW0TVK1ErBe0nnJptZdB1bYsw9VNfY0jga4jmTtwCROu9f9ltJSQ0LhiJNmuA== ARC-Authentication-Results: i=1; rspamd-5798657bcf-xqzdk; auth=pass smtp.auth=dreamhost smtp.mailfrom=dave@stgolabs.net X-Sender-Id: dreamhost|x-authsender|dave@stgolabs.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dave@stgolabs.net X-MailChannels-Auth-Id: dreamhost X-Spot-Whistle: 5ccf444e1e30d890_1665766371169_77002921 X-MC-Loop-Signature: 1665766371169:3588203213 X-MC-Ingress-Time: 1665766371169 Received: from pdx1-sub0-mail-a285 (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.34.85 (trex/6.7.1); Fri, 14 Oct 2022 16:52:51 +0000 Received: from offworld (ip72-199-50-187.sd.sd.cox.net [72.199.50.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dave@stgolabs.net) by pdx1-sub0-mail-a285 (Postfix) with ESMTPSA id 4Mpsrb5XTMz1v; Fri, 14 Oct 2022 09:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stgolabs.net; s=dreamhost; t=1665766370; bh=VXv+P71c4vzTRrfPraL5ddMtH2hCJErWbUesX0qQy3k=; h=Date:From:To:Cc:Subject:Content-Type; b=jqw1Ig0RQKHI6fW3PZ+Gic0mh9QeXiprzu5f4wP5ohFMnziQXOMPrPV4NyUBQRWxB RTjNaOtZfAuQs1aaB9/KzBcA4vjwzXso0P08rTr9OgsHeAckkZkrXFruPQgWCETzaI r49zPO0OnzzNVlG7qD/Bv90Bw26AoJ40OJr7QhJXlYz1AMjXFju95Sz8fwJq15v4cQ YAaTnZkwzZz9effYu7Qt71HFam+y1zwmHzqTCj3p3gH3mP5joZEzhKJ/z+Mdu0lZLo qjKkZVlCzsGccCG6w0ZW5PzpoM2lz8o1tg6JJ4Ja+umltQx+aKbBPMOyK6BLfkZWtk tDZTXeIdR8LXg== Date: Fri, 14 Oct 2022 09:31:49 -0700 From: Davidlohr Bueso To: ira.weiny@intel.com Cc: Dan Williams , Alison Schofield , Vishal Verma , Ben Widawsky , Steven Rostedt , Jonathan Cameron , linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org Subject: Re: [RFC V2 PATCH 01/11] cxl/mbox: Add debug of hardware error code Message-ID: <20221014163149.6zwx6nrbzfbc5pps@offworld> References: <20221010224131.1866246-1-ira.weiny@intel.com> <20221010224131.1866246-2-ira.weiny@intel.com> <20221014162921.oth2ing7gv3ofuha@offworld> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20221014162921.oth2ing7gv3ofuha@offworld> User-Agent: NeoMutt/20220429 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 Fri, 14 Oct 2022, Davidlohr Bueso wrote: >>- if (mbox_cmd.return_code != CXL_MBOX_CMD_RC_SUCCESS) >>+ if (mbox_cmd.return_code != CXL_MBOX_CMD_RC_SUCCESS) { >>+ dev_dbg(cxlds->dev, "MB error : %s\n", > >Maybe s/MB/mbox? Actually 'Mailbox' seems to be the standard: core/regs.c: dev_dbg(dev, "found Mailbox capability (0x%x)\n", offset); core/regs.c: dev_dbg(dev, "found Secondary Mailbox capability (0x%x)\n", offset); pci.c: dev_dbg(dev, "Mailbox operation had an error\n"); pci.c: dev_err(cxlds->dev, "Mailbox is too small (%zub)", pci.c: dev_dbg(cxlds->dev, "Mailbox payload sized %zu",