Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8803AC6FD1B for ; Tue, 7 Mar 2023 16:48:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231166AbjCGQss (ORCPT ); Tue, 7 Mar 2023 11:48:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230451AbjCGQsF (ORCPT ); Tue, 7 Mar 2023 11:48:05 -0500 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EE6C9CFD4 for ; Tue, 7 Mar 2023 08:44:36 -0800 (PST) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-536c02eea4dso255299797b3.4 for ; Tue, 07 Mar 2023 08:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678207475; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fudFHVuFTBFg/trnMAjwYtHP559hB1IlUkkm8c37Y50=; b=C1FtktTUZLRScveIKZ9szc5tqFc6zTVlhosAm5W76bIoTA3+jownCZemOQJtXqOj/i OswV+evhE1bJddGQbzMng1HQJDkU2BUx6B9RB9Pe9n0f/n4QtjzYtDChr0Ayz2e7bRUU kMYvci9lBkG6mamdFC3GBN0aEpock3bvfim3piuR76BI/d3rspNk8J3Z8ZaumNx/OMzA UmV9535q5E0zVsf9yBGCMIGTSfIdpnxUU0qb6MG9EKVAD7TIPSkEsDGgQGFOerMUOlB4 jfqW9qFop3MurMcW8Upi8uSgzVR1WrvzZOgJtH517PHHvOzldcVVB2GjoDgA3OVlz4hs OO6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678207475; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fudFHVuFTBFg/trnMAjwYtHP559hB1IlUkkm8c37Y50=; b=TFOcJuhdahMScHxs9VuiM37IvlFVdO5IKEjJX+P+iyWGmWEmAqE2OqF6u+knUK4Lr3 qGF88uYmCXfqZQBw28MW5HoiXB61IvTAzhe4EWXYfJOeQvzrbrQLk1wTQZsB7Qn7TBTM DJsJ2/lfa0kwYceLhhA/vWi2l+a/3MfXxAlKr3rG6o33hYHlhov+wK1LPOs4kd1vy6Db xuiCueICB3LVd5m+7sFR1TGplc9CQXX/2/qQt3pNUAQGkF4T5M7cdsXQ9ysWrEQZIrOO SECyYhEqJmMroE+244uAo9tmvstC0Lhjjk8i1335qLEbtcjMRx0wDtFqmXDYcpI5nvg7 QHAQ== X-Gm-Message-State: AO0yUKVeWYt8GVwdIk9UUNFNvowjz1Tbeg3yROPgsQcj7wM1rOEUc/jK CLQKhiqLklcAy1OrkcGcpjONKy9g+/G1awhqy1yBxA== X-Google-Smtp-Source: AK7set8Mlhd3BMu0el6kBe6TVY9uurv9wWYfzGKZYZ3v+8bg59K0iPFTbzTLcG3qzqvWFFLjae+E3TdWxy0lihl0lxw= X-Received: by 2002:a81:ae26:0:b0:52f:1c40:b1f9 with SMTP id m38-20020a81ae26000000b0052f1c40b1f9mr9643617ywh.7.1678207475364; Tue, 07 Mar 2023 08:44:35 -0800 (PST) MIME-Version: 1.0 References: <20230307164405.14218-1-johan+linaro@kernel.org> In-Reply-To: <20230307164405.14218-1-johan+linaro@kernel.org> From: Bartosz Golaszewski Date: Tue, 7 Mar 2023 17:44:24 +0100 Message-ID: Subject: Re: [PATCH 0/4] serial: qcom-geni: fix console shutdown hang To: Johan Hovold Cc: Greg Kroah-Hartman , Bjorn Andersson , Andy Gross , Konrad Dybcio , Jiri Slaby , Douglas Anderson , Daniel Thompson , linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Mar 2023 at 17:43, Johan Hovold wrote: > > This series fixes some of the fallout after a recent series adding > support for DMA transfers to the Qualcomm geni serial driver. > > Most importantly it fixes a hang during reboot when using a serial > console and the getty is stopped during reboot. > > Doug just posted an equivalent fix here: > > https://lore.kernel.org/lkml/20230307073155.1.Iaab0159b8d268060a0e131ebb27125af4750ef99@changeid > > but the commit message only mentions the regression with respect to > kgdb, which is not as widely used serial consoles generally, so I > figured I'd post my version for completeness. > > Either version of that fix should address the immediate regression, but > fixing the underlying problems which have been there since the driver > was first merged is going to be a bit more involved. > > The rest of the series fixes a few bugs in the new DMA support that I > found while investigating the console regression. > > Johan > > > Johan Hovold (4): > serial: qcom-geni: fix console shutdown hang > serial: qcom-geni: fix DMA mapping leak on shutdown > serial: qcom-geni: fix mapping of empty DMA buffer > serial: qcom-geni: drop bogus uart_write_wakeup() > > drivers/tty/serial/qcom_geni_serial.c | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > > -- > 2.39.2 > Hey Johan, Douglas and Srini beat you to these fixes but thanks! Bart