Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3145470pxv; Sun, 27 Jun 2021 20:33:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw82mOnB9fTP9D2NkMo+EFXzWc83HgPBDSou7tK/i5wf7CkIJ3iX4SwS2ys/36Sv4KH9WJS X-Received: by 2002:a17:906:d20b:: with SMTP id w11mr22392435ejz.242.1624851217515; Sun, 27 Jun 2021 20:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624851217; cv=none; d=google.com; s=arc-20160816; b=pqMfIWQsLp670wWZuqCponyFymGFaKs2pRUmnfZ77m28zvncFWcLEE33lF6itLTQng BsEHBR4uGfDVFtmIqwq3cJfuCrSi+9/bqK4lXptKgEa9FgNnErcQdDSiNO6Fur5JuJmi uhwEVZmqcq4DJWXJxvivtUMNJYWF/7f4LPEWk6nwHNoAZCWKj4C6gyDw/jWPUUyRkEfd JQjaZ1qiceewCfodd7AwaN/GY30jf8BUjRIhlGJCwhzPh2fWD/TXS4dQDNLh2xqmZhzN PCCkn2qNxQJSiu1Y2k8M2vdj7vtnBTUTtCw5ZofuuTzXMSVP0hbGprChIkgOTbbM/6NL CWRA== ARC-Message-Signature: i=1; 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; bh=ix1pyOjNjcrp0B2b8aBDTxv61TEwpk0PBrfZ88zhpp8=; b=V3bnxrASYDsGpgr5nv+BUtaYgeyBxNpFW7d7Pi3tA4vL4g16YU6EvueYxPDjfsGDZe MMElwbEgoZdf9ADdjC7Bpg6HaNTubf18lKMpM/b1Xanck9EP8xtpkK8syplEJzpXfeH6 PRSOCDTjITETto3lPZjPSYzvemAdmzm10zQJ9jdelyO00O1tcdjPn23LY4lIoQm9C4xt ikhXrC+/xpXuN5tHlzixn2xyMNSUcKjDtqc1Y/czrwFMhGjGlEaLV7syXADPY8XT6MDN 35H2c5evFHu9nKgB+yr5BVwxcmbokD3gurvVfZfk+NCPLhQPoIpXubAaForVLoNMKFx4 Oqiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w27si12737636ejk.544.2021.06.27.20.33.14; Sun, 27 Jun 2021 20:33:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232073AbhF1Ddy (ORCPT + 99 others); Sun, 27 Jun 2021 23:33:54 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:51012 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231933AbhF1Ddy (ORCPT ); Sun, 27 Jun 2021 23:33:54 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1lxhzV-0001rm-8F; Mon, 28 Jun 2021 11:31:21 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1lxhzO-0002n8-RB; Mon, 28 Jun 2021 11:31:14 +0800 Date: Mon, 28 Jun 2021 11:31:14 +0800 From: Herbert Xu To: Colin King Cc: Giovanni Cabiddu , "David S . Miller" , Qinglang Miao , qat-linux@intel.com, linux-crypto@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: qat: ratelimit invalid ioctl message and print the invalid cmd Message-ID: <20210628033114.GA10694@gondor.apana.org.au> References: <20210622151608.23741-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210622151608.23741-1-colin.king@canonical.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 22, 2021 at 04:16:08PM +0100, Colin King wrote: > From: Colin Ian King > > Currently incorrect QAT ioctls can spam the kernel log with error messages > of the form "QAT: Invalid ioctl" if a userspace program uses the wrong > ioctl command. Quench the messages by ratelimiting them and also print > the invalid command being used as that is useful to know. > > Signed-off-by: Colin Ian King > --- > drivers/crypto/qat/qat_common/adf_ctl_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt