Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp2028058lqp; Tue, 16 Apr 2024 05:36:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6MH70nRG5ClFTCKENZVSwdczhYF8P/EqkjnG5I6E64enwpjC1IliDibfjpWdaZdt9BPlDiuklIy9GmxGq7dSHWwBDda70vS4diaeZkg== X-Google-Smtp-Source: AGHT+IHitAOBKqWBQPJtLotX+yPsxKXBrZQGL3RsTW3lJexcH5A5A6/YhASOXoPCLOoBhcWjan0j X-Received: by 2002:a17:903:2c7:b0:1e3:e295:3f47 with SMTP id s7-20020a17090302c700b001e3e2953f47mr13557996plk.69.1713270983527; Tue, 16 Apr 2024 05:36:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713270983; cv=pass; d=google.com; s=arc-20160816; b=C7hfhVCxeR1nP4k/JSCA/cZr30+nKKnFA05ze2ifdd8rOou6wrwvJMJEbqvjBuba2C 4ER7unAVEpxpvFyyak0/JoBzyiX6OrMOrF9Ui8RZYPZgRsEFA+N66e4jSep8DGaYt8Aw A+fVtDOY9MNiYUvrk5VBz+rLo9ZziDxEomZ/HStVwwkR0W+dOMw+YuDFH/3uzRkMeS3+ 8kdDOsFcIyYCwJYQNkVr3+bMOri7YAgqpNFH5iVqml+chWdTJhYosB7L/6LgwGkGllYv JQpv1EU9h/wWOdqGrkQuItr/vBl1VqS2uxiIr+8rKfYPJCeufVLGX5uUdf0yewRbnicU VL6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=G4irgf2RtW4UbqPlxZoWpsEr8xGEeaVxEao1976prvY=; fh=6l5AbWDE1uGP37ROVKh5fjKoQzMRXIXSH1YGhI0dxfg=; b=XvHO8VGwtNhFqVO/1HcnGD4EOb/E9GEYXOC7nayf/9/5G6M5CfdFsyRln31OfTxdK0 wxpHt3AFcmweo00mA6Kj6tEocZ/rM2NwtaeVxdmetwozyu5Vg6ThQIQAEfyezbgOFDtz PmbjwWuN7cVOYoYgFrHvBjLXsqTvl4t4l6QoWwFwZZlbZ8uNJRy5omWNY53sDtB+nIJZ koIg55y2B+7+St0/Ib4kRMKr/XQWxwiv/QueQUvCm08G7bZTXpw8qvB36vx5srAGi8Gp Qt6uydRggZ44g2InS0w7jKNmHSwe8E/WY5GxrlX0Db27uWolZn3EM3wnOU9vjOK8WFsS PTGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=VMSi9Vjh; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-146798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146798-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b10-20020a170903228a00b001e5c10dd580si7341892plh.93.2024.04.16.05.36.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 05:36:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=VMSi9Vjh; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-146798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146798-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1E2BA2841AC for ; Tue, 16 Apr 2024 12:36:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BE2912BF35; Tue, 16 Apr 2024 12:35:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="VMSi9Vjh" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E191F128398 for ; Tue, 16 Apr 2024 12:35:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713270956; cv=none; b=jloA1rz4PGQ2VsFfFop1eRSDpHrlq5H1GCg8A2mlT4uCvxCBfO5A5/hq7adc+0gcgEEVXZ6g2po2jmPpkzQbyxelI6DHj8jp108QlBRGnXSFtrqDSeFYYi2aLHitrJEQte9bxElaMlf6iPA/e8F80J2M4uQ4Dn5de/Yee1COsIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713270956; c=relaxed/simple; bh=QzaXJp3fRmgFSdc4E+CBAgut+j23yvZ7rxM6Zesvzy4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XEXmkULBRxacY/NzLzitxCwDv96ogdD/BxjoSJSh/Bl0TyUuxhwb2JO0YkoasNFmfdnalAFnLEoS2xPFtA8wM3BekwJbHi09vBT3AoZtOtviEtxWoPHzE+urk6yC6jUs6FlfVDKIYg238HwC+R1bQejTThof5mrjK0w2Ip5Vk/g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=VMSi9Vjh; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=k1; bh=G4irgf2RtW4Ubq PlxZoWpsEr8xGEeaVxEao1976prvY=; b=VMSi9Vjhpm2RFEtcaoMJWhCmXPuCT3 l22DoSWa+Amf9+HXYhilSot5sxoZbstyg62fOpR5Nu0CmaTxr2joHayeN+ReED1Q U9XWgD1WlJ4xtqqySCx7yC+0NBo1wniBo+MtylJMkxCFVJOZBF/cmpvyWi9ygK5U INrDyls99BGpcX9TKfzbbD20qK7MeCXXmvXIyq1qrdodoB9WxS2i9B8w7LKKzKmi erm6xYQlBvvRTRGAQtsR1vnJmwW1i71cVXjJeR817/Jm9HzqVuX7RyDBRpG7m+Zf 1w6zGmb5/GKsyFyNOnBKVJ/z5Y7KoFNefiYQcJap4oFpPHhcnznacfew== Received: (qmail 2408439 invoked from network); 16 Apr 2024 14:35:51 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 16 Apr 2024 14:35:51 +0200 X-UD-Smtp-Session: l3s3148p1@JgJ1+jUW3psgAwDPXxiyACzheF6dGXh7 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [RFC PATCH 0/2] serial: sci: fix OOPS because of wrongly running hrtimer Date: Tue, 16 Apr 2024 14:35:46 +0200 Message-ID: <20240416123545.7098-4-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Dirk sent a very interesting bug report[1]. This series is what I found out by reviewing the driver. It is not tested yet because I couldn't trigger the code path yet. The console still works normally with these patches. Still, I am already curious in hearing your opinions, so here is what I have... [1] https://lore.kernel.org/r/ee6c9e16-9f29-450e-81da-4a8dceaa8fc7@de.bosch.com Wolfram Sang (2): serial: sh-sci: start hrtimer after setting up DMA serial: sh-sci: always cancel hrtimer when DMA RX is invalidated drivers/tty/serial/sh-sci.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) -- 2.43.0