From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f13.google.com (mail-wm2-f13.google.com [74.125.225.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB0FF2D322E for ; Thu, 1 Oct 2026 12:49:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790858998; cv=none; b=t41ewVaN0Jf7GprUN+Eh/wvEhPzxvNw+nmQzitrGpn18AX/tlNeUAIGpza03Da6Jh4FNajZL1Biv/1wl8xR7bDaVO+u2QfJSYfhzpYzpVLQRS8kAvJyYEqMlgFGeF8MDD65ux+oQ4mTpU6vIZM1u939QqVkR4PwtA+pEj6xoSLA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790858998; c=relaxed/simple; bh=VcOHWDTnnl6g0WBCWIDoq2YGdXIi8g4W8Az5JGVNyKw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HQWTJCsUPE0fuonC+DMO/XnLng673xiYOrnisA3WaVG2HMNAWm45J6IPGz4xQCnWhAHmsHR0BI+ZaPb1iaRMsKJoDcMdBhynuhywWfSbSVTyPTDAS4Xp9V3edsK0psKBWh8ad9KiM4buzIMg1gndcTApWwt4ylIMDS68EfdoDxM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f/9kMRtt; arc=none smtp.client-ip=74.125.225.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="f/9kMRtt" Received: by mail-wm2-f13.google.com with SMTP id 5b1f17b1804b1-4a024e16179so1988925e9.2 for ; Thu, 01 Oct 2026 05:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1790858995; x=1791463795; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=rA65ySEetIh5khnLT1XBKCYJyo89EMuZtxcz1hrLdGc=; b=f/9kMRttHAkGFR6MgIvngE/PdBynpVPCv6oFFRsZ9ywwYFYfqlxuIh085wHQN4DTXz KqfSdasgnjAiwPTK3cTslL6oq/4t3QPomJK6yj4P6kmVjZrGfk9q69asHtdVfBQRAHdh kpJh326YtyDETv/FxDMflyUYHMxBPrPW9mC/Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790858995; x=1791463795; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rA65ySEetIh5khnLT1XBKCYJyo89EMuZtxcz1hrLdGc=; b=QHNit5kZR3d6tK/gSi20FwezBkFZHxvLPvMJeVE4bTYI9u9kprrB+eb6l+lo+ElVvL XuHEFJVOSjZgcrJKWBpmYjA1C+Y/hIxdUepJO2zG41ZFEE1EMN/ipBdPOpWFxvMdtCuX PLa5XQagqbDux6a5WYtGySYdFfVBsAcUWUVnXydqSIU0Ivbng2NYqAYlqGrmule+p6v0 BYeHORg14QJy5d7xXHddTS759ESfpAgaC073Stcpip1/iS2Rs3PQZ8lg9wh3IC6tewlc bY5hm6BRvp3HlDO1+e6Et1bws+w7Nhj60rcKuebaejHN18g2uqG+1CYxDKtTb9OboXQc 3jKg== X-Forwarded-Encrypted: i=1; AKwUvBxqdgDqyFPfFjZPV4C8NT2bjsD7ZdgbsaUfbQPV0Uvm0GF+rByyFvs8lIIHCRRnTvTqDnFx11THNflRHms=@vger.kernel.org X-Gm-Message-State: AFuF++nzMCINvbqT+t29WTDBAUY+AVqZ05n4bp0Cvh6BkqMY2kNiwC5T bElzK0EssG7zk8PspOUiaxG3tq2WTEevhlOVzXDGH0sQ+SVIwrJuQT2FSLOsuQhtBrk= X-Gm-Gg: AYBFou0qjaynxXQotqbumN9UJJUormJuPof984yX+jupa67KY0tms4VvMyrlszxIr+F wJvRupBHR8PpsQtGJNpJ3mkLcSCuAaBiUnimx2PsmoscHYD8EPqxNngeoQSEXAh3aOIu29r5Pr6 JV+0tpeB1LY2+V0qWF8OzHXtvTM3E7cIp8p3RYprYrjKfdU/LzTj78GhoPHd82LsCyhJkl1Gmyk KqshqJu8TzmqGnvrlR4pLhfjsdL9ow16K07HkEZ0yadr6St1BPoNYDAMWN62WWbO8BYXDgb/Sll witqS9zl8jrb2t5Sgx9BjEeLyF0DhKw889M+yqrHxNeTcQp5+fgr7D1XKZEwWG4JW1krAu72x7p TKpmcS1UauZKjaongx34EbMJeQ1AOP8OKxI7BWssxiM/f4oHPQlchaHUdZJSV22Q9Wqv/xnyy+o kKi6ouswm9oAdjCHSCYbAHVg7s/4ss+vR5J/AAeIkVm7kHypDiqLgicNOFP024F1+T+yZr81U7+ 1CFBe8ceeKfUuSDauJM X-Received: by 2002:a05:600c:1d18:b0:4a0:1fe2:d4f1 with SMTP id 5b1f17b1804b1-4a01fe2d97dmr36275505e9.28.1790858994751; Thu, 01 Oct 2026 05:49:54 -0700 (PDT) Received: from [10.188.175.252] ([46.140.6.179]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a01f98224csm55621285e9.3.2026.10.01.05.49.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Oct 2026 05:49:53 -0700 (PDT) Message-ID: <1557ed70-d2da-424c-8ba6-10c898bbb81c@linuxfoundation.org> Date: Thu, 1 Oct 2026 06:49:52 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7] usbip: make remote list honor parsable output To: Jason Colapietro , shuah@kernel.org, valentina.manea.m@gmail.com Cc: greg@kroah.com, i@zenithal.me, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <96eedd54-7d2d-49a8-97a4-44342460c9fc@linuxfoundation.org> Content-Language: en-US From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/26/26 22:00, Jason Colapietro wrote: > Hi Shuah and all, > > The exact v7 patch has now been built and tested with a native Linux > USB/IP stack. > > Test setup: Alpine Linux 3.23.4 on aarch64, kernel 6.18.53-0-lts, > usbip-utils 2.0. A QEMU USB mass-storage device (46f4:0001, busid 2-1) > was bound to usbip-host and exported by usbipd. The client connected > to 127.0.0.1:3240. > > With the unpatched client, "usbip list -p -r 127.0.0.1" still printed > the human-readable "Exportable USB devices" report, reproducing the > bug. With the v7 client, the same command returned: > > busid=2-1#usbid=46f4:0001# > > "usbip list -r 127.0.0.1" retained its human-readable output, > including the device path and interface details. After unbinding the > device, the parsable command exited successfully with zero bytes on > stdout; rebinding restored the record. > > I also attached busid 2-1 through the v7 client. "usbip port" showed > it imported through vhci_hcd at port 08, and lsusb showed the device > on both the original and virtual host buses. Detach succeeded, leaving > no imported port. The build, list, attach, and detach commands all > exited successfully. > > This was one Linux VM with an emulated USB device and TCP loopback. I > have not tested physical USB hardware or two separate machines. The > existing option-order behavior is unchanged: -p must precede -r. Please test this with two systems hots running on one and client on the other. Send me before and after output that shows the bug and that it is fixed by your change. thanks, -- Shuah