Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp835161pxb; Thu, 21 Jan 2021 23:46:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJyptV4K44Lupezt6efK03d+xX47oOJTKwCQLNmq2LG+G5QQUTJjxZ1Vh3O2yKwXiN8CwlUo X-Received: by 2002:a17:906:259a:: with SMTP id m26mr2164408ejb.399.1611301578674; Thu, 21 Jan 2021 23:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611301578; cv=none; d=google.com; s=arc-20160816; b=b/L2JD26sJv1eUWIYdxgbAZDn9uibawWvDVnKvHdf6CXS6vXqBZjOyzZyGxP+/51MW 4h9VdSduxqYVSIw3yQdxvxnM7vn5OyGn+mKRjA6wgMrss6NPpQMXjL2rAitpx9FlTbwf PsuYpJSZHfLb4eWrqZRJWHv9+K/t5yWeJKdJYXrbotsM/DY2CWe2Erj/iBoMFY3hNK/t bIm9akehh4NNHmF7qDAC3c74cgMu0lYpyXgqQzsP7DJR+YqYKn9alehigzdtCt/qtk0/ MpDKC2KYR8kpcv+wT4HMR704Mch5SlHPR+cHEmpJMiuz51Z7bEaR2bKLb9R/ceLYok7T 94XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=nVvrd/4gPehvCF1j59+Xexug3ddL/zOX6NDGUcJwgnA=; b=OUhmUKK75ds2uHowz8lrlQg+nrmZJP8ZpKWqyCrQuwFe9okx8Dd9N7Ojg7G7QVBJyO FF+ckAQPnn8sUHwAeTLJ0dQhYBDqs/ZzdYOFOC98PzjUcpy8LE4Vdn9UooDxbT+GILE7 YnimxEyUB50oMM4udacjSIldBTBv7WxNQjyOaEnudGJoNCX2sDXEBqO5hdx4vhMMosdn XtzzdcXwAw8Ls48d0hiUBXG34k2+apDuNAAl7fUSf5p0i+kcCzRsYo2n4xH6/OcCpU8w iMw544EU4lD4VjoHLguQdQ6ge6TW65VklGEDyyI+p1VzgxZXcV8n2aTKUIwC4RBsdyLi 3V1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T8m1a84t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p13si1726201edu.274.2021.01.21.23.45.55; Thu, 21 Jan 2021 23:46:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T8m1a84t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727081AbhAVHnU (ORCPT + 99 others); Fri, 22 Jan 2021 02:43:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727074AbhAVHnS (ORCPT ); Fri, 22 Jan 2021 02:43:18 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44F1AC061786 for ; Thu, 21 Jan 2021 23:42:38 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id 3so5479691ljc.4 for ; Thu, 21 Jan 2021 23:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=nVvrd/4gPehvCF1j59+Xexug3ddL/zOX6NDGUcJwgnA=; b=T8m1a84twNCsjiFCdRXVr+AliLEZ0NT1IUG0uFOYs6b4CTpDZyDNk8B+ZxpziV6TNb Rk84Zr8oOhv0+x6+XymTDp2nedh88MAfMQPJagT4V0tiLJsO3mU76PeCZS6AmrZBFS0P fLRzkxlXYrAbyMflhrFIbO0tgtLsyWm4SWKrA0ZLZhYNxtiTUu7ROwvkrS+N6fIid1X9 7QOM1KMH26+IKhEUwKTdXXLwE1BwW8uhm+8SyivDAW43K7evLXGQv/QrFGCe/Pv12lw5 Rb+xa5UHiyvIgxGA9N7UpYn5b1ipLYGBnYnZzS7iEeF4AQ9dKGAvfmy4wdBsf8xeQHOj GcVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=nVvrd/4gPehvCF1j59+Xexug3ddL/zOX6NDGUcJwgnA=; b=h3CNyorHkc7Sn5UyWYk65+grsIwvSNk5WEKzh9QpBuTV3gS8ullLOX115mR+eQY+je uyr4SS/Z4aaQlKdHqtLGFabSFdwS5cdvJxffxfIPT7mdhc1k9V5anT+4lCggL2X+SRjh A8uzD9P4z+GvViKr7iz9OMviglP53ThFCDNta/wenqf6+bgoQ+4pWdmifycHTiE4VxFn P47x4oGLGvAT4A46gDlOs+P2ThJgM52iqJZKuSMUKYfRr20pJTjEk2X/VK3gSI+WV2Af iz8p6TsqJGZhxY2NKYhhV2etdMZ7JURLlnf9V6jM0eM16NyT3ugY1Zm31zqsstJ7Hl0e jslQ== X-Gm-Message-State: AOAM533b6hvhc58REZVV0+3+96D1JwB56S6a2N8wHrMTP7HhyS4p4H0/ k9YbWWMWF7LU0JJ3Syfi8YcCIBoCo0CFIA== X-Received: by 2002:a2e:8118:: with SMTP id d24mr1718148ljg.105.1611301356768; Thu, 21 Jan 2021 23:42:36 -0800 (PST) Received: from jade (h-249-223.A175.priv.bahnhof.se. [98.128.249.223]) by smtp.gmail.com with ESMTPSA id r29sm850730ljd.54.2021.01.21.23.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 23:42:36 -0800 (PST) Date: Fri, 22 Jan 2021 08:42:34 +0100 From: Jens Wiklander To: arm@kernel.org, soc@kernel.org Cc: op-tee@lists.trustedfirmware.org, Linux Kernel Mailing List , Rouven Czerwinski Subject: [GIT PULL] OP-TEE driver fix for v5.11 Message-ID: <20210122074234.GA1074747@jade> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello arm-soc maintainers, Please pull this small patch taking care of a rcu_sched trace in some corner cases when OP-TEE is invoked. Thanks, Jens The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62: Linux 5.11-rc2 (2021-01-03 15:55:30 -0800) are available in the Git repository at: git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/optee-rcu-sched-trace-for-v5.11 for you to fetch changes up to dcb3b06d9c34f33a249f65c08805461fb0c4325b: tee: optee: replace might_sleep with cond_resched (2021-01-21 10:36:48 +0100) ---------------------------------------------------------------- Fix rcu_sched trace from OP-TEE invoke Replaces might_sleep() with a conditional call to cond_resched() in order to avoid the rcu_sched trace in some corner cases. ---------------------------------------------------------------- Rouven Czerwinski (1): tee: optee: replace might_sleep with cond_resched drivers/tee/optee/call.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)