Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7177767rwp; Tue, 18 Jul 2023 11:08:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlGQGCdfQSaFuOLBW27+kNXMLmtAACOCFuwpLHDG+BtmRy5qk0QWyH4lc4iOGORfszyfPuC6 X-Received: by 2002:a5d:51c8:0:b0:314:f14:c24f with SMTP id n8-20020a5d51c8000000b003140f14c24fmr5241707wrv.0.1689703735468; Tue, 18 Jul 2023 11:08:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689703735; cv=none; d=google.com; s=arc-20160816; b=M70Ja2Ji5ZJyD+Krn4kW6Cn1l2e8ZO67MvGVWlevQwIO7CUdWqt8GcUToTNVHI4u9o UJ8sjRM4EJmwFC8Cox8Ej/NlPzXJHKSu4lmvTfqoApgMukjl8e1qhup/DGWye40G6f+l 6m/9dl8sfGYSSZfTvYcfHtr7ZF2cqWZ9tpE/1qmBIjgSMgX8DcG/41VQXWre63J2/Wvq yHxwNeTyVlGim2/91xSQvLgMI/6vos/hT5YJsj45vvk+7LOv8f3hS5kRCGN/Gw4T869e BLI0EEIe8uVjzGyuImvvHIpjz3jpPgtDlpJB+R4yCVP9SqRCGwh6WkyCe7J/EsgR84we ZJaw== 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=drFK8ENuM6Qgw3jDqnKtdpb3To0pselS1fFdM69pKf8=; fh=ks3zEowPLjFj5YZ1UeH81WnjaAWx1TFsy3iGQLyqw1A=; b=S6HTqw0IAWnNCWQhqlYjs7zMVjDSNHRt58jvdsoUHHfys+6MoNj0ef0f4U7kUtJc1l xpYjv8ejnKxk2u5hnN/DQW57OhOPanqNZnLTc/UznVoxy7sWn/2ev8YOqzgbqVeL0J6t u3JMHG3BWclvkp2mIIosn+kXmHL+ldWnj+ZQCIFjZlSKxM3JAJ7Dk0qXuf59tKNr5WqU 5FP07yGmt0gmvqfWT7yty+gItYP3vQEjT6aponwLVP1NGhSSyIwiJ67xHgCMLX8tmV59 2j/RgLRyPpjWnfaffz+so10l0PxHr7WCiPyODtUB/sVpG2OzArtS/BJ8f58DZA+TAAJ5 qs0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wXYTVvFx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a1-20020a1709062b0100b00992f1a3b9dcsi1381144ejg.845.2023.07.18.11.08.31; Tue, 18 Jul 2023 11:08:55 -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=@linuxfoundation.org header.s=korg header.b=wXYTVvFx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232633AbjGRRy4 (ORCPT + 99 others); Tue, 18 Jul 2023 13:54:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjGRRyx (ORCPT ); Tue, 18 Jul 2023 13:54:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BE2EA1; Tue, 18 Jul 2023 10:54:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B57C1616A0; Tue, 18 Jul 2023 17:54:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5910C433C7; Tue, 18 Jul 2023 17:54:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1689702892; bh=BY7s5SRsfMBO293SrAJEHEM0sa9oyX3nibPf15Qj2mw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wXYTVvFxkKKwqqnW4m98b2qCu0q65rB7rv+A1LcV+t5Gk2yePH0i3njC+pC1CRbZh 450vgCJ/ySzpRrNeCyvBiYy67fUH8e8C16Xl4RbFjVDXMdNd35LGrZwLyeYxAzruym ZmqOPViBe8WFrF6XoF34scrsx9nQik032/vHLiFc= Date: Tue, 18 Jul 2023 19:54:49 +0200 From: Greg KH To: Rajat Khandelwal Cc: Mika Westerberg , "linux-kernel@vger.kernel.org" , linux-usb@vger.kernel.org, "Khandelwal, Rajat" Subject: Re: ANNOUNCE: thunderbolt-utils-v0.1-rc1 Message-ID: <2023071834-audibly-proton-6a3a@gregkh> References: <2dab15ba-efd0-97cb-dfde-fa6f9d05f5fb@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2dab15ba-efd0-97cb-dfde-fa6f9d05f5fb@linux.intel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Jul 18, 2023 at 10:02:57PM +0530, Rajat Khandelwal wrote: > Hi, > > This is an official announcement that 'thunderbolt-utils', a collection of > user-space utilities for the TBT/USB4 subsystem is now made public for its first > release candidate. > > # What is it? > > The utilities comprise 'lstbt', similar in lines with 'lspci' and 'lsusb', > which polls the TBT/USB4 subsystem's information including enumerated > retimers. > > The secondary component of the utilities is the goal towards providing > a collection of available wrappers to provide the abstraction of configuring > the subsystem in user-space. This is made possible via porting the DMA layer > from kernel-space to user-space for the subsystem in an IOMMU-protected > environment. Cool, but it doesn't build as a normal user: /usr/bin/ld: cannot open output file /usr/bin/lstbt: Permission denied Why aren't you using autotools to properly be able to integrate into everyone's build systems? Also, you are shelling out to bash a lot, and as root, in this program, are you sure that's ok? And finally, why not add some of the USB4 stuff to usbutils? Wouldn't that be a bit more relevant for people who use those tools already? thanks, greg k-h