| Message ID | 20211216062405.415888-1-amitay@ozlabs.org |
|---|---|
| Headers | show
Return-Path: <linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=iYios6p4; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=<UNKNOWN>) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JF2Bz3Ng2z9sRR for <incoming@patchwork.ozlabs.org>; Thu, 16 Dec 2021 17:24:27 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4JF2By1hF2z2yb6 for <incoming@patchwork.ozlabs.org>; Thu, 16 Dec 2021 17:24:26 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=iYios6p4; dkim-atps=neutral X-Original-To: linux-fsi@lists.ozlabs.org Delivered-To: linux-fsi@lists.ozlabs.org Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee2:21ea]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4JF2Bv3wrZz2xKK for <linux-fsi@lists.ozlabs.org>; Thu, 16 Dec 2021 17:24:23 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=iYios6p4; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4JF2Bt2WF0z4xcF; Thu, 16 Dec 2021 17:24:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ozlabs.org; s=201707; t=1639635862; bh=ghasrMJ0LZ4YSU1neyhcBbY1k4hx8y4S1Ymf9h54RE8=; h=From:To:Cc:Subject:Date:From; b=iYios6p4f8Y9HAjFiMZdF3Jqbtpa/VZ+CDgof4kNUoy5TsbYh9ZI0GoV0g1l0XaO2 2M4hg+CkscgBzySlbt7e+NvmC/WhVX5Yw4j7BgpMpH+tnoe8g53iwiN+p6jrczMhse OcUq5NPrYr2oK72zIY2p4+9japZOZkKBGflUBCVn/YHPasjL7oo5ah4OlwXHPEGBq8 U20wRjV7XmbXqsMtJqfCGfVruayChlyCssJCE6oaLTdtUfkKToxBXoBNBhrZ8aNkAT 5Nde5cJ89DeHRolWcztyQrcffIBNMHHREkvm4joPWsoVQTp7IX0qD2/h8EsEVfCK11 ud6XheKZsFVSQ== From: Amitay Isaacs <amitay@ozlabs.org> To: linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org, jk@ozlabs.org, joel@jms.id.au, alistair@popple.id.au, eajames@linux.ibm.com Subject: [PATCH v2 0/2] Enable read timeout specification for sbefifo read Date: Thu, 16 Dec 2021 17:24:03 +1100 Message-Id: <20211216062405.415888-1-amitay@ozlabs.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linux-fsi@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-fsi.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/linux-fsi>, <mailto:linux-fsi-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/linux-fsi/> List-Post: <mailto:linux-fsi@lists.ozlabs.org> List-Help: <mailto:linux-fsi-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/linux-fsi>, <mailto:linux-fsi-request@lists.ozlabs.org?subject=subscribe> Cc: Amitay Isaacs <amitay@ozlabs.org> Errors-To: linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "linux-fsi" <linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
| Series |
Enable read timeout specification for sbefifo read
|
expand
|
Certain SBE operations (e.g. collecting trace information from processors) can take long time (> 10 seconds) to finish before SBE can respond. Such operations will currentlly timeout due to the default response timeout of 10 seconds. This patchset allows users to set a longer timeout using ioctl on the sbefifo device fd, before issuing SBE operations that are likely to take longer. v2 changes: - uint32 --> u32 - Avoid resetting the read timeout after single operation. Use ioctl to set the read timeout per open fd for sbefifo device. - Specifying 0 value to ioctl will reset the timeout to default value - Document ioctl behaviour in uapi/linux/fsi.h Amitay Isaacs (2): fsi: sbefifo: Use specified value of start of response timeout fsi: sbefifo: implement FSI_SBEFIFO_READ_TIMEOUT ioctl drivers/fsi/fsi-sbefifo.c | 48 ++++++++++++++++++++++++++++++++++++++- include/uapi/linux/fsi.h | 14 ++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-)