Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3647022rdg; Wed, 18 Oct 2023 01:31:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPaLDqZOXX6s1RX2zuM1kjC3qF1ZnV5Bqgx6lbZvcQSPWhDegiO+HzJI+6Z3eR3105w8fY X-Received: by 2002:a05:6a21:1a1:b0:173:f8c9:a898 with SMTP id le33-20020a056a2101a100b00173f8c9a898mr5200148pzb.52.1697617906406; Wed, 18 Oct 2023 01:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697617906; cv=none; d=google.com; s=arc-20160816; b=Fs9unqqQ3+VOPtbp0WymRGCqrsWjiVzETo8Or9JBNSxcCT/ngpTUUrlI5pKq61/grq QWyp+NdoTwXx/heUNr7U9xIcQ/Wuz7zaQWxDmRtCHa35C3fy6hmApHO9KaswgYeFtLKP TrgO/mW8sq+WE3yLZp2iroXNfzLzc7Zt6cTOtlLQViGhWhF90jvUqrHkJ9hDRse7oPOD xRt1wV/0DWCDOScC2XyQ8pij/7iL0ZcSGwHFB0QKoS07hsxqGSg9gUqBqT9ClSKAh7JH DeiZ/PTh9ZOUACGSnPvF6WORhV8QgzjtIOnl3d7hNz35HEthH9G+qPygrphsMZThnTxX wCXQ== 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=ZaFTrm6vAmtjqP5iNcp9wlgpbS/wn22o1q7nRAq9XZY=; fh=NQsvnJnrOlaWrXm4606ZuzBRCJOJcA+VEJ6Cxb3Gq9w=; b=nvi5VxhEu4smp+pPAyoedBXdQhBtCIpfrM2D6f5o+eFjd0tuDJIo5KcvYztCcODNLh ICUehFjXvA+02baIp/p2/VRb+Ne286c9KTKadIaoDB6GYMWYN5emQnzlrw/1QxT9CRJv oA3a6IoYX7NxqjADFDbjJNw9bYpb7FvtiffCH8C/qqPgM1ByRR23UVYXQeGHV2x80LXm NTCkGXwWwSn9J0eSl08fgPWJJDztP8C9pgKF01N+YNUSOLkrPU7XYp74yIC9DyBH5+u8 wZfWP/fLKjVDD9XolpGxuEyIsMgYdNEWHvH3t4cC3PjogSN1zBw7AdFKL0XIzDM9qYM5 ZW2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=r0iwZ43J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l5-20020a170903120500b001c75866c987si3796990plh.584.2023.10.18.01.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 01:31:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=r0iwZ43J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CB1E8803D023; Wed, 18 Oct 2023 01:31:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344664AbjJRIbg (ORCPT + 99 others); Wed, 18 Oct 2023 04:31:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235174AbjJRIbf (ORCPT ); Wed, 18 Oct 2023 04:31:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BD3FC6 for ; Wed, 18 Oct 2023 01:31:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07306C433C7; Wed, 18 Oct 2023 08:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697617892; bh=ZaFTrm6vAmtjqP5iNcp9wlgpbS/wn22o1q7nRAq9XZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r0iwZ43JxbY6cQT/a3/P4Az87awZg5egm3VM/VcXX6k0dcqUHebGpF9TaJiq41blw d0ovbvLBSpI3wt+WAAFbEr8EJ8rg6HBxtEDUX2RWukz3he0AIvjx6OvzTjMpIyEumM 4eg6a6oVx6kGBLhJaol920fdvyEBfi1eZ8gFZOo4= Date: Wed, 18 Oct 2023 10:31:23 +0200 From: Greg Kroah-Hartman To: Saeed Mahameed Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Leon Romanovsky , Jason Gunthorpe , Jiri Pirko , Saeed Mahameed Subject: Re: [PATCH 0/5] mlx5 ConnectX diagnostic misc driver Message-ID: <2023101858-underwire-donated-3ae9@gregkh> References: <20231018081941.475277-1-saeed@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231018081941.475277-1-saeed@kernel.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Wed, 18 Oct 2023 01:31:44 -0700 (PDT) On Wed, Oct 18, 2023 at 01:19:36AM -0700, Saeed Mahameed wrote: > Historically a userspace program was used that accessed the PCI register > and config space directly through /sys/bus/pci/.../XXX and could operate > these debugging interfaces in parallel with the running driver. > This approach is incompatible with secure boot and kernel lockdown so this > driver provides a secure and restricted interface to that. Why not just write a UIO driver for this hardware then? thanks, greg k-h