Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp753316rdh; Wed, 14 Feb 2024 10:14:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUDeJwVVgN5gECbn6dg2bOoqxH4GToOl7iojfjK+vyYVHSeOzifKkCpE5u6+LTR5rDNYXljJI2vnm1xbORKhqyHCbhIbX4xdMMgKW0wEg== X-Google-Smtp-Source: AGHT+IGOeNl5RjvFBV49/8o4647B5VN9y3ve4uTfBrnz35XPfdr9B1MAt4UgrVyzT+b6xvrm9yDo X-Received: by 2002:a17:902:c408:b0:1db:6408:499f with SMTP id k8-20020a170902c40800b001db6408499fmr2163529plk.3.1707934454204; Wed, 14 Feb 2024 10:14:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707934454; cv=pass; d=google.com; s=arc-20160816; b=KYQZwZSA+byFOxdSlAaTKEvcgIxodCACsn3HQQ9KYttT0WBMFHZx6/uOe6iEyGLpOm bjq0t75ZI/RMBoNmlVKGjPlrGQCtoaVRCm7t+QWZ5dwS7OUahOZgizoeHuemqY6h0JmK ADbOm5sKsDm9qQJqYFeXPCvPB0fs3OqkMkb8+auXO+IfkglOHG1+MtNcWPVDTKPmWYzQ gVi6eTcoD5hBKIQ1JNU2zK/C4Pr9ooExYoKDFMsphVExjxKhQtNthoJgIbJg41CDQ0zb mTi8Hz9mmhXkp0CPKiRVrkv1rQ5rnMNYyJdmzmU9FhIEb7dP3snZUWDTZ9h1m+vsHFgQ bXdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Pr83Pd1ea1PttQuhIyKYSSsk+gPJCNY3Xc+Rhb3x+RE=; fh=bukTw50X4N3gR3VpFFmtJaTJHuKklxcQJBE8Co8zMH0=; b=wb92hnCumpWdhy2RnaVDMRDaHn0rzviJU1TfXaYOas31lSBGm/ec2j2/hvhml7HA45 me3jzXLLRRUdlRpoLbQSNyXRlqQFbaoMU0Cq0fUGvQf9fXW19itFQwXkoDdPOx/NYjnH BKQ2Mg80l6YP5J53hujRPDzfxK3MN+LZa1h9UTQQ55Ma4ocoGZpSXiikopPrIqFVdrH8 uQs5xAYfMkov1bkgbcFOaJyB+ghb5t+tMgbcgJFKxF+MxxszIZ+Ggco1/PIu7OSHdcFj h+KkK03ykGaO+tzmdT87rt9u7qQ8Faqw+IG2qi4WxiyfJfbvYgkuuCReSSZHBan2/rBv Np4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XLZDE35Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWCO5IzOwBcULYFfzLi2QcRc5Wqoy1jLldMB7uHeVx9M1ShLqvktyB4FxR6HNvmSPGT4tpavv27gHP/0bdNvbK0JPoecH8vyVrGvlzDcA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a17-20020a170902ecd100b001d9176f56f7si4176516plh.462.2024.02.14.10.14.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:14:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XLZDE35Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D4A5D2995F6 for ; Wed, 14 Feb 2024 18:14:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AAE112838B; Wed, 14 Feb 2024 18:11:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XLZDE35Y" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF53A126F3B; Wed, 14 Feb 2024 18:11:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707934288; cv=none; b=FY6I3dltv+BIDJeB8zeDK4/lMO76zvJUQh+W1zIyPCdaFh8mwXOqSqiLkJP9AYAoiB1oQ8xlyrJsUt5o5X7y+VmCwb29gE7NmyFTgq7irRqsW/lJqP8qB4JQX2OKhqCc/DlchIlijko/kpMvetC4CbMwUJ2M8jij1Ns41NRQRUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707934288; c=relaxed/simple; bh=GuaP8Kmq3A9rbhJY9b1MVriZ9VyUEnzwnoFzYXaIvAo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=CHv5w9pR9g0Qy5zRg3fM5hhyGBJmjun2aV2UvtTUPt8/ivPKEFc257e5mmbIfEa9JN83so648i1Go1/q7srgsxj5+YpHQUimS7C/A5w3YqNAoQpTpnQ62eSji3BSL1vRIKVh/2Qyn7CcE7AEZljvWu2cKuyIjcX34O6cRP5kL4o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XLZDE35Y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9727C433F1; Wed, 14 Feb 2024 18:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707934288; bh=GuaP8Kmq3A9rbhJY9b1MVriZ9VyUEnzwnoFzYXaIvAo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XLZDE35Y0DwzZetKQFdMdmg0b11Gq+Y2G3424h4bKMeRF6zlZXXziaRW40x9i1gHd SVqRyUOPzpFEi2oGuuEm/xiSeGTKN3NtcZawprWU4clP2qV8YIe1cfJb69I1wHQc0r D4wV+AWgomNDjxdnb5GMPzm+fNS9eYTMlII7PlvWBhJ0p2nMZrs5EJs6LMUaWrTOjc kjp0Gi08wQDYVdzK0z9lVmRoHX1THexkqNIjbRj159oeP89zcSaGWO5BzQasar75hs ZqdWtNn++5ZOiajAQx9gLBeE22IZsXrLDpaiBF3ZUiGWrRhmxqsLeK8JiiUpdvRMt5 m2MDu7IBKqujA== Date: Wed, 14 Feb 2024 10:11:26 -0800 From: Jakub Kicinski To: Jason Gunthorpe Cc: Andy Gospodarek , Christoph Hellwig , Saeed Mahameed , Arnd Bergmann , Greg Kroah-Hartman , Leon Romanovsky , Jiri Pirko , Leonid Bloch , Itay Avraham , Saeed Mahameed , David Ahern , Aron Silverton , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH V4 0/5] mlx5 ConnectX control misc driver Message-ID: <20240214101126.0c3681ee@kernel.org> In-Reply-To: <20240214175735.GG1088888@nvidia.com> References: <20240207072435.14182-1-saeed@kernel.org> <20240214175735.GG1088888@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 14 Feb 2024 13:57:35 -0400 Jason Gunthorpe wrote: > There is a clear split in my mind between: > - inspection debugging > - invasive mutating debugging > - configuration Yes there's a clear split, and how are you going to enforce it on an opaque interface? Put an "evil" bit in the common header? > And maybe "invasive mutating debugging" taints the kernel or something > like that.