Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2191264imu; Tue, 6 Nov 2018 10:24:23 -0800 (PST) X-Google-Smtp-Source: AJdET5d9aV6ZncAuOOqn4Bum43Rxl7mFoEx+JT1NEpIR1VpNPhwxcNw6lnGGHvA83FRrj+i3NVHu X-Received: by 2002:a62:3891:: with SMTP id f139-v6mr13514231pfa.196.1541528663228; Tue, 06 Nov 2018 10:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541528663; cv=none; d=google.com; s=arc-20160816; b=DPDwQw7teej6KLd1b2fa34Va5UGIShTB5R/elf7Z+gzEiwPgibSTXONkq/qgbSxAAp WlkTG9EzaWHNeM4O9gxeCMQ1R/W5hHmwilfOLUeWp9o+FSObp+6rj1FrGOYy0jrvXf4x CczQJwV0Ldi+P/xubSAUwY0S2CRa6iBXWOmy1F9C8fZb1Ub82SIsA7XPPMgrLWkrp9y4 /Y3WAFsquJAkkb+c08/KuMDpEAnktsWOzg/AmSUSYRL4YsyRg1XqWmnozTL63wL+vzwH LNbiHjc8vn/KrSxmL2WCBHDdUAnMHJiICFWy64J6xMjy6/8RAfAe6CI3Zn6yhZI4CL9a hXkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date; bh=YCdPxm01paEo3iO2K3JkIboN7xcmGA171LY9R93hXgU=; b=Z6WgMuFqMYzFFW7YEfweZzcvFOnm0wW3bD3NExbK9l9okiqRSNSvB96sgHP94v32rG EShffJMlzI4FmnWMBm2Az3/hqAsSCZeBu1ZN5rO6Pr086Dt9shGUdJRD2VGYUk3YbLbN FQ2k5/Ybl4qxIXR2YoOkgtvMZLMp4+UsvaMejtxGLmBof2bPrgGQbyn1X1yvlJBDw+9k xfUStlX+LVLKWwI/+ahYtOiCiu3Ctgq+tjXwSocRBNuqs+KoYxnZ9p24r4JTXV3OoUQ4 McG9+DN7gZlZpbsRmOohJ/nS3c8q06vw19ao70keZl1P8bk1f6dD++TL0Oz/DWWvRVSz Q1OQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6-v6si14048538pfy.29.2018.11.06.10.24.07; Tue, 06 Nov 2018 10:24:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730815AbeKGDkE (ORCPT + 99 others); Tue, 6 Nov 2018 22:40:04 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:57991 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729642AbeKGDkD (ORCPT ); Tue, 6 Nov 2018 22:40:03 -0500 Received: from null ([172.19.246.7]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N4eOd-1fLhn61sTH-011gGX; Tue, 06 Nov 2018 19:13:19 +0100 Received: from null ([172.19.246.7]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N4eOd-1fLhn61sTH-011gGX; Tue, 06 Nov 2018 19:13:19 +0100 Date: Tue, 6 Nov 2018 19:13:18 +0100 (CET) From: Stefan Wahren To: Eric Anholt Cc: Arnd Bergmann , Florian Fainelli , linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Message-ID: <619586887.222691.1541527998449@email.ionos.de> In-Reply-To: <87k1lyghp7.fsf@anholt.net> References: <1540922921-3653-1-git-send-email-stefan.wahren@i2se.com> <87k1lyghp7.fsf@anholt.net> Subject: Re: [PATCH] firmware: raspberrypi: Define timeout for transactions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev39 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K1:f94RfDlIddf8EgbuR0JPFJ4Rd34+GnQU79b80tYLoHqT2zi5mnp 8uqb68jVqH7elAwDfVQLRAl4IUWP/y95gK9NWtK9YaCgfTpLOc7hiX/eRk9VJgNNSTeL68x 1+6e7GtkRfQ/uQ2R0duXts9wHEO3fzqb9fcvLUQ6pHmqJH0OZEpo5TWIL1kwSTZmwr7VGef b87VL786EmuA48/D0g11Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:GxEuiASqIs4=:qZEa3RgJmKIMd+wM/+gGiX 8rnD1Z3h02kGBS1t7/716z1rMWYt7wyGUhB9dRceeLii5gqVbAvsz/Q+9H05md7Mm4eYX0X1q 5kUfhu3/0OPXvVttvl9wrXarAX7hKMufILAw5kJrySvqlVGI94BriCU1/DWvlSl889ju+C/6y JqSVJsvHPgkA593ymPaJ9i8ZlOGryNHtUSeBnwgL8tjMY9YmkrBnmXpT4N0HcqaTKaSDPMSaL oEiM6CdoRQWo2cjwsCMtuMvLJa3vpYI6WjSwl6Nx9cSmb6ysf01LGL58K1Pf/agQ2dVffhb9b ESKAAYp8Ww5ZbbakU+tyHOTyrA1RZOSdE5Z7nyM4G7jCFXNsb297BsObbTd5yf4W+IHzS3azC 7+bCoXAAsVo5gb059mG8+FdM6FA6TY6jgyoTe/uMReUfgI/QHp68ezo5u2tXZwieI+58Yq7hw /QMCvZ0e45SZUAULiYGKmWfBsSSz3Wx4LrJtY4wclPLjdR7tL+LBXC0TcNF1kuSAFd2B8WfBR ve6DdDtzOcokPMttyykfaPqT30bEBSEB3XLTaffhzE4X5AsyJ90d0CCLnJNwIBODv2O37CdCt YTEMTyQUV1U50lggFKf2gPWmSxHbXfwqZvyRDMK7IaRoEpeEI9B429ZOcn7FINnsK5xJ5Nrqr 5A1NWT3m10pqxcfFb04aVml5HMEmhje9S2Jt4E1ysQB1A+ejvONLIEW5P0dT4SJgR9ZdghhvB xEVkzjwifgKBHKNe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Eric Anholt hat am 31. Oktober 2018 um 18:16 geschrieben: > > > Stefan Wahren writes: > > > We should never assume to get a reply from the firmware otherwise > > the call could block forever and the user don't get informed. So > > define a timeout of 1 sec and print a stacktrace once in the unlikely > > case the timeout expired. > > > > Signed-off-by: Stefan Wahren > > Reviewed-by: Eric Anholt Applied to bcm2835-soc-next