From patchwork Wed Aug 21 09:24:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 171941 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp706908ily; Wed, 21 Aug 2019 02:24:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3BLVURrKSvPrkoB/iJpibSh85//Ov/dwjssdZUpL06okP/qozOKWZvUCCV3+MA3VelaU1 X-Received: by 2002:a63:3009:: with SMTP id w9mr29549969pgw.260.1566379469986; Wed, 21 Aug 2019 02:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566379469; cv=none; d=google.com; s=arc-20160816; b=sty6mEV218PBhfC/CyA4nLIgSHhcHjvaC277Ow7fFPfWjdylh55kLwWk3FjHR876N9 tggR5QL/ekiFnfmmtlybWbLEszVnq59xRgdABRCR/3114IMYVz88yVH2dKQLmjROKWqf eQ1TO22k0LGoVFNHdg3r+wjO8IAmInSSWoXKf1evwlpDSZ6YpyR2o9flwfXoEl6Zjlyx lZrrlVhNNgjvKAA0dGVoKsL4jGLmjdbg6bWCKSyzLbOx7mwWYOeAARrXHu4zQVsednXE mh/dYSc4Z9rAGHoxG7qB5SfDZYmuTdOHaYMyVaVel9d7SY/egcGG+P105RKkEvggJg57 O6jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=laE6Zf2tk7GepvyPW8Bqr4dcxy5XHxSRcELNCbz38hE=; b=canEOJEVxdS5fVt/Ulymqf9FaWrxXIm/czGtLoUM2fc/HPP93jcVzoC/QWYPaDnKgR PFRdllneCs9SEsCTOs6qRk9wTwAjxFKZPpuAkvSQDOMur8NIYqoghRkdZRgArjFo18PD AbVdCXlsGlCOLtw3/m3ZGb9r2p5R3aPapZZGPxOLvRPPTToCa4aKbME4mXLZV9AOsn+Y JpyrOrzv9r4Xow12fTHDGMy3sSvb6xGPOno7/VJRN8l4JjSo1QqDiMUDqtpdVdMKTjya leCoJVV4MSrzVCGUAoQTBA8VsOpK8ZkIhil+52G8ilnJYq9oiYpQqIegglp+oMbkbKLU 0quA== 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 cp5si1878660pjb.4.2019.08.21.02.24.29; Wed, 21 Aug 2019 02:24:29 -0700 (PDT) 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 S1727129AbfHUJYQ (ORCPT + 28 others); Wed, 21 Aug 2019 05:24:16 -0400 Received: from foss.arm.com ([217.140.110.172]:55040 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726617AbfHUJYP (ORCPT ); Wed, 21 Aug 2019 05:24:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9824428; Wed, 21 Aug 2019 02:24:14 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8AADA3F706; Wed, 21 Aug 2019 02:24:13 -0700 (PDT) From: Julien Grall To: linux-rt-users@vger.kernel.org Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, maz@kernel.org, bigeasy@linutronix.de, rostedt@goodmis.org, Julien Grall Subject: [RT PATCH 0/3] hrtimer: RT fixes for hrtimer_grab_expiry_lock() Date: Wed, 21 Aug 2019 10:24:06 +0100 Message-Id: <20190821092409.13225-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This small series contains a few fixes for the hrtimer code in RT linux (v5.2.9-rt3-rebase). The patch #2 contains a error I managed to reproduce. The other two are were found while looking at the code. Cheers, Julien Grall (3): hrtimer: Use READ_ONCE to access timer->base in hrimer_grab_expiry_lock() hrtimer: Don't grab the expiry lock for non-soft hrtimer hrtimer: Prevent using uninitialized spin_lock in hrtimer_grab_expiry_lock() kernel/time/hrtimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0