Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4367235rdb; Thu, 14 Sep 2023 22:59:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFcevM14C1BGD0hO1Uc5nfO04nZvFASiMvlRr7QqlH+c1fE4/pDrUTIghdCf4ykGp/OKm+Q X-Received: by 2002:a05:6358:cc26:b0:13c:d344:e414 with SMTP id gx38-20020a056358cc2600b0013cd344e414mr869472rwb.2.1694757553698; Thu, 14 Sep 2023 22:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694757553; cv=none; d=google.com; s=arc-20160816; b=rr+sSPVUk1/jmzGiVzgbAFCBoAtCGeOYFB7d5JvXJXLGaEFUMrg1it5Y30Ww/eCecs EtiuVxEHtH2zEwftaV3kmmZ2Otoy2LdwmQkLjFhFTg0vKkyFITpysOsRiiXRBZBs6eIL IpzIQmmaGGioL1Fg0hpbb3OHwHejmOl2ssb279FE6NZn1xWryEaJuhjbUO+c52JfENte 7an9H2bNfk/9gRtZaF9YyReiZHfG2CbMhUWWBmQpaqeonI6BvZ5ZpiV7IKjv4iiigUgx MoEgaEYAaHaEQV87SAvJUg24LjQRjni/Js9laih7pXvPIMZvjBnQlYHA5v+ZQlHbF5Fv 3yvA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=S6CdTbOb5SJDWVQ4uuGpl9JAAhxvt26QIKEA+nu+wro=; fh=V3FOp2x1qD1Imbim6j04GU+WriVa4Pb49KghutoBw98=; b=cwzIvf0ZCRBLqS3lOzrnMBqPHhBZ7xkWa5My8LkOZkpr2oOCaXMJFN0yRCFmyKzy57 T0YAIOh95VoXy4CshWIE5T0PMDGjW/MFR31F6IlAEOkTLTqKtKKI97T316b6E9ugFeJs bkX3bxu63eIj2mx+hJ3NZWkH4cswUmlU5LJP49pYIXaaWmYzBjiFfe/8jWLZjZfSTCh8 PwdiRSh4deAk33RO88gf/o9V1jD+BT4JqH1XgynTK8NgNOerwgXylCi+J2MMaiBCAirR CDp60z1UY8NIyR7JMY0AKHX25xjabmv4+Tz83Q04MjsZjS8G9+dYLKMW+R7hWB0gDohq pOAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Yecca53x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h71-20020a636c4a000000b005780f049ffesi1395024pgc.347.2023.09.14.22.59.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 22:59:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Yecca53x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6A14F8129AFD; Thu, 14 Sep 2023 08:16:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240130AbjINPQ1 (ORCPT + 99 others); Thu, 14 Sep 2023 11:16:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232858AbjINPQ0 (ORCPT ); Thu, 14 Sep 2023 11:16:26 -0400 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B67631FCC for ; Thu, 14 Sep 2023 08:16:22 -0700 (PDT) Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38EAWa8v010180; Thu, 14 Sep 2023 15:15:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pps0720; bh=S6CdTbOb5SJDWVQ4uuGpl9JAAhxvt26QIKEA+nu+wro=; b=Yecca53xeJCOVvJvh97sElDM2woE16IZml8+RYWRP4VN23ZwKAtb7GiCIs6zTYWVFrvo 3mWZdkT1JWflidF9A80gAbHefAqp+fvrSG/7uf57fQS0PDX/xZJB8iROxLjmMWgx5g+R 5cq5X4DQS6cjUaWVCqqtTTRbkvaxKTmGJEgfovk7jSSM2oJLB4mRXBAXXv89c4vNj7B4 7KF/WG5u3WEdI8tfF2RV6ew/Kh5LWvACJ0QVbOYdhDHYCvrmjWzB5o1tsf5T18ve7vtj C9tZPVH8BPxKoEIF6Be1Pk8sbEu8f+bhsawEcBpIZgxq585XKl+FHmKJbEVpJgstylc8 Pw== Received: from p1lg14881.it.hpe.com ([16.230.97.202]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3t3rkd6ff5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 15:15:52 +0000 Received: from p1lg14885.dc01.its.hpecorp.net (unknown [10.119.18.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by p1lg14881.it.hpe.com (Postfix) with ESMTPS id 42BF6805E4C; Thu, 14 Sep 2023 15:15:51 +0000 (UTC) Received: from swahl-home.5wahls.com (unknown [16.231.227.39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTPS id 53F7080AEA9; Thu, 14 Sep 2023 15:15:48 +0000 (UTC) Date: Thu, 14 Sep 2023 10:15:46 -0500 From: Steve Wahl To: Hans de Goede Cc: Steve Wahl , Justin Ernst , Kyle Meyer , Dimitri Sivanich , Russ Anderson , Darren Hart , Andy Shevchenko , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, Justin Stitt Subject: Re: [PATCH v2] x86/platform/uv: Rework NMI "action" modparam handling Message-ID: References: <20230913180111.85397-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Proofpoint-GUID: fFta-GvXh94nAe86I_WOBKbAPx2YLlgK X-Proofpoint-ORIG-GUID: fFta-GvXh94nAe86I_WOBKbAPx2YLlgK X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-14_09,2023-09-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 spamscore=0 mlxlogscore=745 mlxscore=0 adultscore=0 impostorscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309140131 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 08:16:25 -0700 (PDT) On Wed, Sep 13, 2023 at 04:06:51PM -0500, Steve Wahl wrote: > On Wed, Sep 13, 2023 at 08:01:11PM +0200, Hans de Goede wrote: > Maybe rework the message so a possible newline doesn't look so > awkward, by removing the comma? > > > + pr_err("UV: Invalid NMI action:%s Valid actions are:\n", val); It occurred to me overnight that leaving val out completely is an option, as printing it adds very little value. So a reasonable option would be: + pr_err("UV: Invalid NMI action. Valid actions are:\n"); --> Steve -- Steve Wahl, Hewlett Packard Enterprise