Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5033631rwb; Mon, 21 Nov 2022 15:42:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf53W8nKaHKu5T6lyxp7PZrPEZqvh9tfpk0q1MpVs0vW3hOcJClfcxhLTU3qqgBsR3REZuz4 X-Received: by 2002:a17:906:2804:b0:78d:e7c0:a2b with SMTP id r4-20020a170906280400b0078de7c00a2bmr17950409ejc.273.1669074148480; Mon, 21 Nov 2022 15:42:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669074148; cv=none; d=google.com; s=arc-20160816; b=bOXwW5a/Bnxvc7Yl6RGHSzjn+aV9YNvuGzq6YcMdRfLAGOcWehs2Lgh7FViyvhpiqy Xx33AgUuu9yELdhQ71CprLQa6hvtUXChRbtMB9hVShPEAVg1+g5aezlAdLLq/yUyjGz4 0i2ePxZB6SF9WAtbntwJL/0CyZiLGngk46WoDiG9J/n42Fnc2E30XuoTr+hIKLzXu/n/ qNhztaNIv5rvmegcUPH6GClO3iLNGsPRVxwjlI0z5URX1NogRaINqL8IEC9Ni46VJCN5 I2OuaBOmnqNIcRm1YDTV5TQdZ9ObfSyrUb8m/+XawHmeQZt534J/5ueWITLn47qs/rR1 5j1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:date:from :content-transfer-encoding:mime-version:subject:dkim-signature; bh=GjSP03i5E+KwTrECfe197N4xDzu4tuLBSVRRI01rBMQ=; b=OARLRFnEb7Tfrh/0XReDT7BmQb3hqNOzB7EaJCpK7uPHMbCid/GQPFhFy4RakP3x91 aQ+W93O02VuiixDIjd5u5WMLGsgRPUtN3UFl4oLPrKluThkGihh15GcZSs+UbIkU4VpY cNI+cOKOfCYwKbt3nLf1KqBaigxJDkFZIgZvQ9LwODh1HojIqP8u4ANKrGdlVa+8QQos h02kUtWHteUsKx1AJ7yjBG+++svGGjbidaeXiX8GUO0onMlwJ3Y7J0kHWdq7qz43z7GR TCfBNOna229mn0MmAlwCXWBSQltTX/KEZxARKqtlZi3NQDqf899frIDRWxMFyBHtEdtE GgvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QXSA76hd; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ae12-20020a17090725cc00b007825337afeesi13090606ejc.273.2022.11.21.15.42.03; Mon, 21 Nov 2022 15:42:28 -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=@chromium.org header.s=google header.b=QXSA76hd; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231716AbiKUXj0 (ORCPT + 92 others); Mon, 21 Nov 2022 18:39:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231671AbiKUXjU (ORCPT ); Mon, 21 Nov 2022 18:39:20 -0500 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5426BB703B for ; Mon, 21 Nov 2022 15:39:19 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id x2so18447672edd.2 for ; Mon, 21 Nov 2022 15:39:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date:message-id:reply-to; bh=GjSP03i5E+KwTrECfe197N4xDzu4tuLBSVRRI01rBMQ=; b=QXSA76hdXZXcn9UdshKVDU0yThYtOyFkiR3HDr57mFWmwkVoXF42Qfg/fxQ1MBSfHt OgbMbxtiwf89wUzPWECvGrMi3CnI+eVy8cMo/4FPD7QgPniZnd5bh87yulpN58sxglBf Bv2CFxQDKHP0oWmjo9oW5IksJHWmQNl+8uKIY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GjSP03i5E+KwTrECfe197N4xDzu4tuLBSVRRI01rBMQ=; b=JqvQOb34zJWNGL5ID7vc1sXOc2CL4pOChVcieBAfM4aIuZ9e1GJR7jpbggtXhOREgH /Xim7PQ59OJMVyRXt95n6qfdSEz0aXOzrUXzhPuDmhxdvIqEeQ9cpkZOdZnfqXGV3s5R pUf4tfDYB4I0rbk908ZxowfsiQZCnNEQTJXnTttzixdm8Ae4mtqs327NR4v5sYtZa5sV EskHPP0mNAltGF0uWvoj3Gk69pf6abSDN92aPQcY5EtkoUhH3cT8eAdu8C6FHsykIoCb Ld6/PxxJf+RGcwcKivMnE+l86RWD7iDkjxI/OOtFUemAPWyhG4eMrSa1gKHZXpaAFiJx ynNw== X-Gm-Message-State: ANoB5pn6Z/0FTD5o6xP9tHWrEeUZRpB/FKt5Awk/wmW7YHwN0YIqJnxc e6j3+nFMiqu1wQWx4YFKH6PAeA== X-Received: by 2002:aa7:cb96:0:b0:461:bacd:c85d with SMTP id r22-20020aa7cb96000000b00461bacdc85dmr17914295edt.278.1669073955298; Mon, 21 Nov 2022 15:39:15 -0800 (PST) Received: from alco.roam.corp.google.com (80.71.134.83.ipv4.parknet.dk. [80.71.134.83]) by smtp.gmail.com with ESMTPSA id f26-20020a17090631da00b007b27aefc578sm5411835ejf.126.2022.11.21.15.39.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 15:39:14 -0800 (PST) Subject: [PATCH v1 0/1] pinctrl:mtk: Fix kexec() initialization MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-b4-tracking: H4sIAA4MfGMC/w3LOw6AIAwA0KuYzjaBxoF4Gz6NNGI1gC7Gu8v4hvdC4yrcYJ1eqPxIk1MH7DxBzF 43RknDQIbIWiI8+o6XaOy1oHeUDC0musXBGME3xlC9xjyO3qV83w9UtaZFYgAAAA== From: Ricardo Ribalda Date: Tue, 22 Nov 2022 00:38:54 +0100 Message-Id: <20221122-mtk-pinctrl-v1-0-bedf5655a3d2@chromium.org> To: Linus Walleij , Matthias Brugger , Sean Wang Cc: 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)" , Ricardo Ribalda X-Mailer: b4 0.11.0-dev-d93f8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1062; i=ribalda@chromium.org; h=from:subject:message-id; bh=bze2KnrOlEBNmpaBvmtcoShIvqWrNXhh8LxDvF3j3lA=; b=owEBbQKS/ZANAwAKAdE30T7POsSIAcsmYgBjfAwPMbbIUgdoq6PrZ9H2Kcpi0lz+5E0bJsMoV/K5 KgRiS/CJAjMEAAEKAB0WIQREDzjr+/4oCDLSsx7RN9E+zzrEiAUCY3wMDwAKCRDRN9E+zzrEiLqID/ 9oBrfZhi/1JSkdEHdfWPAOktZbLqpryc8Q/EgZlPFLFD+zy5jkF4RdFcQhOe6bq5ebZ5bq20K6itfc ybvJV0ssS+Kx8tkWkBdYsbnVXvLMTtD3N441IoT1JVO4JMqMWZUkZJd3hKR4bJ6Spq2HPVF2qPB0C3 TMrlYXwvPk2hwxkVBhmjUyEto3xk9Os0l6f2sNLVboDjMdgirx8mUk4D32Xnt1dMesNEdLShDLHCVg XVZzZDQzwaVq1vPFRNxBBL2LkTJISv5rbzhXOPoL4ngDWtmoxEkbSy7TCFlDluyQPE7uYUZlOtVbgY zvcFwLY6MGUcQin4BfqH6Zol8JvE5eEvFPnRU/dbo+Pbh+dlMq/TNorTEujBQnB0Gb75AmfLHrLiVI Xfj6r6/+NyWbXW+DsV1k33TMQGxr1nc0UiYdqb9fA13m8Cu/irMnxIno0iClxFO+9+C525N3aeJ97E xF9n6YBWFpSTDFxwGythbbSvhBB6wlpu5YmoDkCIB3zArLVMf1h1hMfAhZCYVEHWlYCZYP2zy+TjhN BbwGuJvHCTO4W6Ivn92WQr0GwaPeaae415K8Emt1rFUKpWf7w/eK1sR6LEdFfJ6PDfRQEsGWUhqrF1 KzAVEGUjuMjr9BUY9atEy7DWYP7CmxnEXpvuiOjo1cD8yjEDSDyFuIHhINJQ== X-Developer-Key: i=ribalda@chromium.org; a=openpgp; fpr=9EC3BB66E2FC129A6F90B39556A0D81F9F782DA9 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 When we use kexec to reboot a system, the hardware keeps its old state. This can be problematic for interrupt controllers. Lets initialise the controller with a know state. To: Sean Wang To: Linus Walleij To: Matthias Brugger Cc: linux-mediatek@lists.infradead.org Cc: linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: Joel Fernandes (Google) Cc: Sergey Senozhatsky Cc: Steven Rostedt Cc: Ross Zwisler Signed-off-by: Ricardo Ribalda --- Ricardo Ribalda (1): pinctrl: meditatek: Startup with the IRQs disabled drivers/pinctrl/mediatek/mtk-eint.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- base-commit: eb7081409f94a9a8608593d0fb63a1aa3d6f95d8 change-id: 20221122-mtk-pinctrl-a82d0240c848 Best regards, -- Ricardo Ribalda