Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5631372rwb; Tue, 22 Nov 2022 02:45:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf4OMskXHgD/LeowozNisbCti0KZTkfP7KQkHfLOJMFZOKv+XaWxCZIpiqkmXSSubS7mg4EO X-Received: by 2002:a17:907:2b15:b0:78d:51c0:d4d1 with SMTP id gc21-20020a1709072b1500b0078d51c0d4d1mr18882027ejc.161.1669113948551; Tue, 22 Nov 2022 02:45:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669113948; cv=none; d=google.com; s=arc-20160816; b=JVTMELE6yUAXu1lZFv6vjkTGXEMoTJOUGqtZlLLipBMjgy50Zl9NAB0yskm8oweCGM jjzBDsmJ3mPO/Zja28B63qnWAtkUQa2pg39l8CzhLDomq3MMPQTWS46+q2S+8ABG9rac bqT8kFjw+qtrKI9Q8wgAmSGGhQ5pC5K9+xClcpDdSn7MeImQu7nHxgEB+a8gr7yVTQF5 qjeuFpPeoYRnTZW/IwLFj30vf53xEQdixEOpprEj8FYsG5o4oD5Wdcna4EN0aRvofXSd QyGuh/4eJLU5akyvBgkh7Mj/pW2ez91J9NwEhmeRlAPSh1lO6g2hco7d12/WWr+5JAjA U/6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kFNWZX6nqcPRLAP3+p36POBcq2PQuLvUG582lwuLDsU=; b=HIU1bl/FU9XKzwza1FdxFAnDbRnnW5JedqHaLLKbJG9FKNwWVc9uu19W9jfB5Btp3b QZXwkgf/eKpC1w43XTMDQdMCIsUyHXiXLKv98Rzuv42L4uf4ks8XiMYXMkgocWfb4v47 1ZSORFda5ziuEfs1jl+1htl23S8aFcfhvCeqKIDSXrZ0svuq/Rs+VkAf8vq6hbd9YOxK ulxYLCCqSSzt94ZUnEZgQrIqm3u4RX71jYJJ99RnlgLDhxhj7nCxKAW916+jYa/kq8Na D6p4uKZoSKIoz+Kk2d5NBWafq1C344Q9mMJx7gGPfXhtLM+jF+xKpOD9PcTmQvRTKi+c RsPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LQ3kFeWQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fy15-20020a1709069f0f00b007ae0e8f5993si9859290ejc.252.2022.11.22.02.45.14; Tue, 22 Nov 2022 02:45:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LQ3kFeWQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232168AbiKVIey (ORCPT + 91 others); Tue, 22 Nov 2022 03:34:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231319AbiKVIew (ORCPT ); Tue, 22 Nov 2022 03:34:52 -0500 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A4C927DD4 for ; Tue, 22 Nov 2022 00:34:50 -0800 (PST) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-36cbcda2157so136986267b3.11 for ; Tue, 22 Nov 2022 00:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kFNWZX6nqcPRLAP3+p36POBcq2PQuLvUG582lwuLDsU=; b=LQ3kFeWQ2ww95B+4OGM/Xi7/EhnpNDt1EmBmwI4DT0yUXiW6umbD9hx++bvotDI8K3 CX9Yix/41xJH9FKCIELQkCUCRfZxBZrgPQqQ1OV9qCn3RIAZaQNnEkjQGyfVVW/7leQk hjzkwVSOKuILe7qujZovTjJBAFnjYaABa92WQkUVNY4ErS7bfEbTBeNeWjewcpZoZNTY zTcwNKruUOGSTfcHRvypjheI1dWtxsxaNdJJ97yirVI1wOImVd2TCcV7TFzRa8cY4UtS 1KQ0eid0pYmANe+Pu3gcXhXYOCHwwsyWwh8g0M1joaKs3+STGH5K8ujgOUyU82A0URV1 +P9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=kFNWZX6nqcPRLAP3+p36POBcq2PQuLvUG582lwuLDsU=; b=yTs/jcr719hLbjDenC1LR73WjkWrVfuiIvxYeaSnx9oaR+SFXbUO1WLfCsmQnFGy48 RRl6NE81tO5+Mrh1y91PtQejQGhiBCRgUUjcmAgO/xapIQf2PLN4GRnjTNzZb0QIsMck tiIeUWCeGABomaHXxEB1S9v1ysYSfJWUBrsjVanlOnvvOim2iAiuzBAAPO0K5BnkUW/Q fY3XI4pj3/a5L20gORzGC7UCt4c2Q5gFnjAhpv0oJVK4nIFCZQQYmgc+y9lJnRCMyztE PNvBO8ZCvbfc05VgdwYJ9Tt8+BahQiZ9BQw+I3o4Odx0nH95SpB2jycJDwiMqkbeaLDv YgRw== X-Gm-Message-State: ANoB5plwRDxqVUfJlaXqwqdxKFt1V4IGUXhVqM0vhYbsztPzFhUEdlSf OWvzFlZRM6lD21IoFcMXaowD7RjuTAOT/lZ4oyCVZw== X-Received: by 2002:a81:7909:0:b0:36f:d2d9:cdc4 with SMTP id u9-20020a817909000000b0036fd2d9cdc4mr5218311ywc.380.1669106089855; Tue, 22 Nov 2022 00:34:49 -0800 (PST) MIME-Version: 1.0 References: <20221122-mtk-pinctrl-v1-0-bedf5655a3d2@chromium.org> <20221122-mtk-pinctrl-v1-1-bedf5655a3d2@chromium.org> In-Reply-To: <20221122-mtk-pinctrl-v1-1-bedf5655a3d2@chromium.org> From: Linus Walleij Date: Tue, 22 Nov 2022 09:34:38 +0100 Message-ID: Subject: Re: [PATCH v1 1/1] pinctrl: meditatek: Startup with the IRQs disabled To: Ricardo Ribalda Cc: Matthias Brugger , Sean Wang , Steven Rostedt , Ross Zwisler , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Sergey Senozhatsky , "Joel Fernandes (Google)" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 22, 2022 at 12:39 AM Ricardo Ribalda wrote: > If the system is restarted via kexec(), the peripherals do not start > with a known state. > > If the previous system had enabled an IRQs we will receive unexected > IRQs that can lock the system. (...) This is obviously the right thing to do, so I just applied this patch for fixes. Any ACKs and reviewed-by can be added while this is tested in linux-next. Yours, Linus Walleij