From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 625B71FDE31 for ; Thu, 1 Oct 2026 12:53:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790859239; cv=none; b=cB8MDbhL2rTPHh8EwSTyVoZlQ+Gh//nGd8ahpN4GazGINsHDT3I058OFFhPMbNYI8UHPXnbfD5HtEgReJ3NvDCloEnCTrtRMNJGE/fY2LiRjH1g/rAPXnLwYbLB003IeGg4rsE9JlRHBuZYh/NVCPONMZg5s4hc4ABf6zaWG/eI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790859239; c=relaxed/simple; bh=iO6ACXtbQ89OMoYuGfImztORxz07SfttR06dY6iNrdg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mtD8EPGLyz7gZJfH3Ltml9BWmXcozOUXCCeWEdstUXSnPynhikHktj9HkHOySQ7N1RHLhTeEpYw83GBSq6nlDF0v/RSB5DGezUhEHYKkVMKY6M6nj385O8fvP1Wocv4yhVBvH7lZxlHhCGjAi0wUN9kp0xWUIoeA2PhqWdECo1Q= 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=YWTEPCtw; arc=none smtp.client-ip=209.85.221.48 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="YWTEPCtw" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-48870973bddso245271f8f.1 for ; Thu, 01 Oct 2026 05:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1790859234; x=1791464034; 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=EjewsoWKjWgTJS0BtGGvt4SzdxHuu9lC0Aa6uOZYHh4=; b=YWTEPCtwhmpmg1oVWz3fuux7xoW7+54slBIvmxJwYn6FjpjgEY0q7dG3IBkMoFx1x0 7VU7Tu6wuvOflq73jxBhIbW1KI9kD9xYNXHdXmkSVg9pXNq64tAF8neFtin1cFdyeJag ls5s5oJjwm9TwsrO/FnjkytLWdTdnALucVtP4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790859234; x=1791464034; 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=EjewsoWKjWgTJS0BtGGvt4SzdxHuu9lC0Aa6uOZYHh4=; b=Ad6Lj9EKySop1Q2VxwqS75XQgh8vpV/Un7RXxutJUzH4zBe/Pj53WLGhowa2oAQief 4hTJvtaYonvVtCyeX9b89wN7t4VflNgubW/pTLMUKiJbJJgNUyb5zAeMh8eZzY0eDu3L mfL8Ch9hxnH93OefSveC0svFqbtl29GPAIBScgU5XNwoQ+QVKY39zciTji/AcrTggz8+ o8XkIGMnm67EDscY0+5zQbGgtw538cJCuPgeY3otRVXHntlHYKIr79NxHQSxfzTjxkRE FT/ebQFHPnbfCWA4xqo6VQ9Zcdx3/85tU7/zLPS+Rr6NpeMlHItp4e3Xz2Rb/1/Ly9DV MStQ== X-Forwarded-Encrypted: i=1; AKwUvBxNm/JOd1dFTpFD7lrI0Ok2AsaHlWFYRJ1URhQCO7WoT5q3B6YhlefMtl0nUqgP4uL9/Ca5jLI5FqkbcHg=@vger.kernel.org X-Gm-Message-State: AFq9FYKuyTPAWRanqPv3nHEak82eEzPzpVAXl2c0Nly8qblUu5CZsXGD qAamSDx691eUNgsX7N4TR8upW1pHZKUWKEYyCbCjhWxkV0UbVQINUXYQzXyrvY/2fiQ= X-Gm-Gg: AYBFou1bvrrpizLUI6O4c5F6Lq+Q+u/wS3BQsOuGmM4Uu9AJk6fKxf5LSl2oZr0Ol5s y4ipP/gYH3PR0Ccl8cpaWMK8vQ7y6WUqG//vp/EFp+Byiw5a7ZbKV7oVt30Tm30tRdm2gVkhCYo zNQ6CjqFagRLjeizeY2t1tCjbRpnevtFkfyRHikLh6U72xYqNkBGlVVGN0yEZiuByT2rJXvNZ1v tAXlIA3GhyQ6rdggjdIcYtsp/oL+RMb0CW/Hdj4NldBl+uxtMhNVgapYuWszrFda3DT1WfKjmHT 3vDq0kHmZip3HApCVz31kKN2yy3NoDhlNazphxzw/cjNxYayJcJaKMppUyfmWdQ5YNv8nXZDVXd Qmwz1LZLeo5SMsTaowXWtaDPghFBa0ghkr9W/mahnTERcQy2WybC125v03H2YTxK3dkpeQOx1GR HtV4de1DFuaxd16biRIY3nIjUpA4l6J1adxduWTOdItVC8e5a81hCxf95kGH/6Yn8ylFP9q0tHu IuYlnxPoA== X-Received: by 2002:a5d:64cd:0:b0:48b:2eb:5aa8 with SMTP id ffacd0b85a97d-48b067a764fmr5401311f8f.8.1790859234432; Thu, 01 Oct 2026 05:53:54 -0700 (PDT) Received: from [10.188.175.252] ([46.140.6.179]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48b0691d681sm5468346f8f.23.2026.10.01.05.53.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Oct 2026 05:53:53 -0700 (PDT) Message-ID: <05047d41-499a-4e96-ac64-bebdc0b330c9@linuxfoundation.org> Date: Thu, 1 Oct 2026 06:53: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> <1557ed70-d2da-424c-8ba6-10c898bbb81c@linuxfoundation.org> Content-Language: en-US From: Shuah Khan In-Reply-To: <1557ed70-d2da-424c-8ba6-10c898bbb81c@linuxfoundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/1/26 06:49, Shuah Khan wrote: > 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. Another thing. This needs to be reproduced and tested on the latest kenel, Linux 7.3-rc5 thanks, -- Shuah