From patchwork Thu Sep 28 00:08:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Kerr X-Patchwork-Id: 819358 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y2Zmz1gKjz9t16 for ; Thu, 28 Sep 2017 10:09:23 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="ysdIsKWD"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3y2Zmz0LcrzDsPf for ; Thu, 28 Sep 2017 10:09:23 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="ysdIsKWD"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y2Zms69P4zDsN9 for ; Thu, 28 Sep 2017 10:09:17 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="ysdIsKWD"; dkim-atps=neutral Received: by ozlabs.org (Postfix, from userid 1023) id 3y2Zms4rT0z9t6C; Thu, 28 Sep 2017 10:09:17 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1506557357; bh=cU1Fs1/J86L/DzGdPh7pxpMWJIro2u8KqyPXKiUw1Mk=; h=From:To:Cc:Subject:Date:From; b=ysdIsKWDRMYBHCHBlhKxqWMtz+YAVLzzx6e0Iol+W72uXrWcULf4IDm8W9RWX1+2h /lPhcft3Bfr4S8d9/mQ9jol76rpXRRKDfptREFQjc1gIed+K/5ZOStd0NHs10oA+AQ OJyvscXqdh4QuOKegV4bcnnvpYD7w3k+yudRLf2raUhk70BOKLbz8/pldXFkbLk5Gl TKwy8jjFCTgeH0oGsZs20RkuJY5QfVNBMQnBFrrN2d9Bmz22n2v26MWfjVCw7+gsQN +/JEoPjvIKZaupJpCSVMms4Ex+YZuGi1rf40HRHZYcIFTByiYICaYJtXQXH8nj3uxl 9zEURmwhHFqBQ== From: Jeremy Kerr To: skiboot@lists.ozlabs.org Date: Thu, 28 Sep 2017 08:08:48 +0800 Message-Id: <1506557328-18842-1-git-send-email-jk@ozlabs.org> X-Mailer: git-send-email 2.7.4 Subject: [Skiboot] [PATCH] opal-prd/hostboot-interface: Add API comment regarding nanosleep ranges X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dean Sanner MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Signed-off-by: Jeremy Kerr --- external/opal-prd/hostboot-interface.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/external/opal-prd/hostboot-interface.h b/external/opal-prd/hostboot-interface.h index 3a7ca19..603b767 100644 --- a/external/opal-prd/hostboot-interface.h +++ b/external/opal-prd/hostboot-interface.h @@ -165,6 +165,10 @@ struct host_interfaces { /** * @brief Delay/sleep for at least the time given + * + * The sleep time must be normalised; i_nano_seconds should be between + * 0 and 999999999. + * * @param[in] seconds * @param[in] nano seconds * @platform FSP,OpenPOWER