Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2253780rdg; Sun, 13 Aug 2023 16:57:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEceDpTuG48xIBW9nAmSRonJdVTqdsM9VzeBg8t1HWfEEmeTOBgbkV419p2JZEVo/dYcTE8 X-Received: by 2002:aa7:d1cb:0:b0:522:37ca:a51c with SMTP id g11-20020aa7d1cb000000b0052237caa51cmr5421541edp.40.1691971045050; Sun, 13 Aug 2023 16:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691971045; cv=none; d=google.com; s=arc-20160816; b=jlVgtvpIguTwfu0nQSsMfk0Jhn3PGpPM6ldqiMtS8FxgbN89WQ4YV6xR0RCbtMucKy OhjUtl+wsbb7H7XERGBSs8a65SIerfo+yYjli4w37uY9YuNNk0quz7MD9ZX4XSBMcZAj cVeLx/ZCi7Ss4arOdihZBRVE+qyiN/mCd5Z5gbVH0X2GW2+TSe2zqqtfBYcUkr1k0Ke5 ZscR0tX8wCZx6rkKCICFhmfh4OAY6Ugi6rrWXiiDAQ2ivBbKMBtg2vLtCgitCi13Zhr0 gmZ92HlKYWt1rqcB+k66VmPcorMoIy9qOWtvEz2U/UwRyAQq5HhA8ZZaU6kPpj4dFZwZ zLHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=yhdw9hv+q/7KjoOBUK62MpaF5MY8pFyZ6M1X/RS+eD0=; fh=tLMGrPLPGRQ4nC6zCxoSXYGB6gHP9jW47u08ebTtTwY=; b=Q6TIOJXcavo1Rx1DwMWAyFjrmpZnJFkuIkIkbGijIpzNHbf8em6/Ro5jAt6lUWjHug OZ3Y3ckoJKrxm7NZeF5KGgvFqge9xVGyRcLII2GcRRqYyoGd7ZRV4/35aMQNK0xc78P8 cHsedw0/F3IhQj8BlKynmm9CGi+fY4e0H/DDDCzMNI/VhP+5Nb/WmIKjOPc9nHJPr3Lh ehCbcWP+a7D4RQPqKRvWV4+rgWb+NA/IGJ6pl6SbnYHHgpEMD5VefzyFgwl8SMQpus1v +IKppqYugs5HYfBduCMIP/FXtiEPPVAcZmS6FUp9H6/9KZesZwpIEQOYQIceR/sMl3LR G2PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Jg8pDlrq; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a056402029100b0051e0bcda174si6717752edv.308.2023.08.13.16.57.00; Sun, 13 Aug 2023 16:57:25 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=Jg8pDlrq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230384AbjHMXlN (ORCPT + 99 others); Sun, 13 Aug 2023 19:41:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbjHMXkj (ORCPT ); Sun, 13 Aug 2023 19:40:39 -0400 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B7EB9C for ; Sun, 13 Aug 2023 16:40:38 -0700 (PDT) Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-584243f84eeso43599527b3.0 for ; Sun, 13 Aug 2023 16:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691970037; x=1692574837; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=yhdw9hv+q/7KjoOBUK62MpaF5MY8pFyZ6M1X/RS+eD0=; b=Jg8pDlrqElPlOWaacBJ5528Dzg99bfGXsdRme0ZpxGA4HEDxShtbkg2zu19EJBkAcK Ct4BNwhIBaOgJnnanvYxvjpZ712HnXFcG0PU67TmdTwl6agYbWlEhfT4u2rthQrJ0I9d /LkTq2fKYv1Gt5+dw02ayAmaIHo6Lvftk0PJptNxIiI1OOQJh9gypfYWvHwXoG+8C57O 4exPsQEPHOYIRnof5Uz46o5o6PM9ARquUgg63LaiRwZKjkiMrDsAglV3mEJuZBOk5gzr z3jpt+hAH2KNzed10YuAERHqz+L63M6MEmoo2CErXcKH6HAv8FxWckEb5OoIBxLeMfDy S4Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691970037; x=1692574837; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yhdw9hv+q/7KjoOBUK62MpaF5MY8pFyZ6M1X/RS+eD0=; b=WR4VtmwX8d+zOuqq/8ISUjHqU+BxARvzCjqK51EWo0Wb7a24M0HftWtj4+jpGD+3X3 o+FUf3b8bAzWxXKDzte28Dl9UyUm9QGA9JRZbzM43kwXlDoroZ9IcrZTX/3UQGtgDS4l tLtwJF4ONd3+GB6fmyVHgt5QG+T1hw+BhS78L79Uq9ETTD2ZAmwIUYkecHsbVMCN0Ky5 ahkGNNanw/b5RCx9+vUV6ggOMv3TGLEXHvXqhj9BKSCjw9qMSwDjKhlqi+e52PBxRx3Y fGJ/skIkf53zkZXKAiSyYo2oT1SsrFOCddy5CCQNl2KXO2Q/C+YvRITybwuDU0PHmMqS Or2g== X-Gm-Message-State: AOJu0YwDW/oAhk6ZgEnjOUfD2+OpjsyUMII9bY3G1pLpFYK4iJN3BtFc wQvcd+ufZ+ZPK30VVLObUK8Abe4i3ejKsCAbHkaQAXb8ivcP5Q== X-Received: by 2002:a05:690c:4587:b0:584:3f4a:b790 with SMTP id gu7-20020a05690c458700b005843f4ab790mr10356823ywb.33.1691970037242; Sun, 13 Aug 2023 16:40:37 -0700 (PDT) MIME-Version: 1.0 From: Fawad Lateef Date: Mon, 14 Aug 2023 00:40:26 +0100 Message-ID: Subject: Question regarding Linux-6.3.5 and Sunxi A20 NAND/NFC support To: Linux Kernel Mailing List , kernelnewbies Content-Type: multipart/mixed; boundary="0000000000000a7c1a0602d6793c" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 --0000000000000a7c1a0602d6793c Content-Type: text/plain; charset="UTF-8" Hi, I am trying to make Linux-6.3.5 working on Olimex/Sunxi A20 SOM with NAND. Found that the Sunxi A20 NAND is supported in mainline kernel (drivers/mtd/nand/raw/sunxi_nand.c) and following the guidelines here (https://linux-sunxi.org/Mainline_NAND_Howto); I added the NFC chip pin information in sunxi-a20.dtsi and defined/enabled the nfc controller in the sunxi-a20-olinuxino-micro.dts files. The changes I made are below. Problem is when I define the nfc node entry in dts file "without" pinctrl entry (pinctrl-0 = <&nand_pins_a>, <&nand_cs0_pins_a>, <&nand_rb0_pins_a>;), the sunxi_nfc_probe function is called (though the No NAND chip is detected). And if I define the pinctrl-0 in the nfc node, all I see related to NAND/sunxi in the kernel boot log is this line: platform 1c03000.nand-controller: deferred probe pending. Can someone please guide me why the deferred probe is pending but never call the sunxi_nfc_probe function? And without pinctrl-0 entry why probe function is being called? Seems like I am missing something basic here and any pointers to debug this will be appreciated. --- linux-6.3.5.orig/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts 2023-05-30 14:17:29.000000000 +0100 +++ linux-6.3.5/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts 2023-08-13 23:27:22.405058025 +0100 @@ -56,7 +56,7 @@ aliases { serial0 = &uart0; - serial1 = &uart6; + serial1 = &uart2; serial2 = &uart7; spi0 = &spi1; spi1 = &spi2; @@ -66,17 +66,6 @@ stdout-path = "serial0:115200n8"; }; - hdmi-connector { - compatible = "hdmi-connector"; - type = "a"; - - port { - hdmi_con_in: endpoint { - remote-endpoint = <&hdmi_out_con>; - }; - }; - }; - leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -90,16 +79,55 @@ }; }; -&ahci { - target-supply = <®_ahci_5v>; +&nfc { + pinctrl-names = "default"; + pinctrl-0 = <&nand_pins_a>, <&nand_cs0_pins_a>, <&nand_rb0_pins_a>; status = "okay"; + + nand@0 { + #address-cells = <2>; + #size-cells = <2>; + reg = <0>; + allwinner,rb = <0>; + + nand-ecc-mode = "hw"; + nand-on-flash-bbt; + }; + + boot0@0 { + label = "boot0"; + reg = /bits/ 64 <0x0 0x200000>; + }; + + boot0-rescue@200000 { + label = "boot0-rescue"; + reg = /bits/ 64 <0x200000 0x200000>; + }; + + uboot@400000 { + label = "uboot"; + reg = /bits/ 64 <0x400000 0x200000>; + }; + + uboot-rescue@600000 { + label = "uboot-rescue"; + reg = /bits/ 64 <0x600000 0x200000>; + }; + + main@800000 { + label = "main"; + reg = /bits/ 64 <0x800000 0xff800000>; + }; + }; -&codec { +&ahci { + target-supply = <®_ahci_5v>; status = "okay"; }; &cpu0 { + clock-frequency = <900000000>; cpu-supply = <®_dcdc2>; }; @@ -123,34 +151,24 @@ status = "okay"; }; -&hdmi { - status = "okay"; -}; - -&hdmi_out { - hdmi_out_con: endpoint { - remote-endpoint = <&hdmi_con_in>; - }; -}; - &i2c0 { - status = "okay"; + status = "okay"; - axp209: pmic@34 { - reg = <0x34>; - interrupt-parent = <&nmi_intc>; - interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - }; + axp209: pmic@34 { + reg = <0x34>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + }; }; &i2c1 { - status = "okay"; + status = "okay"; - eeprom: eeprom@50 { - compatible = "atmel,24c16"; - reg = <0x50>; - pagesize = <16>; - }; + eeprom: eeprom@50 { + compatible = "atmel,24c16"; + reg = <0x50>; + pagesize = <16>; + }; }; &i2c2 { @@ -160,55 +178,6 @@ &lradc { vref-supply = <®_vcc3v0>; status = "okay"; - - button-191 { - label = "Volume Up"; - linux,code = ; - channel = <0>; - voltage = <191274>; - }; - - button-392 { - label = "Volume Down"; - linux,code = ; - channel = <0>; - voltage = <392644>; - }; - - button-601 { - label = "Menu"; - linux,code = ; - channel = <0>; - voltage = <601151>; - }; - - button-795 { - label = "Search"; - linux,code = ; - channel = <0>; - voltage = <795090>; - }; - - button-987 { - label = "Home"; - linux,code = ; - channel = <0>; - voltage = <987387>; - }; - - button-1184 { - label = "Esc"; - linux,code = ; - channel = <0>; - voltage = <1184678>; - }; - - button-1398 { - label = "Enter"; - linux,code = ; - channel = <0>; - voltage = <1398804>; - }; }; &gmac_mdio { @@ -239,10 +208,6 @@ status = "okay"; }; -&otg_sram { - status = "okay"; -}; - &pio { gmac_txerr: gmac-txerr-pin { pins = "PA17"; @@ -323,9 +288,9 @@ status = "okay"; }; -&uart6 { +&uart2 { pinctrl-names = "default"; - pinctrl-0 = <&uart6_pi_pins>; + pinctrl-0 = <&uart2_pi_pins>; status = "okay"; }; @@ -352,3 +317,28 @@ usb2_vbus-supply = <®_usb2_vbus>; status = "okay"; }; + +&fe0 { + status = "disabled"; +}; + +&fe1 { + status = "disabled"; +}; + +&be0 { + status = "disabled"; +}; + +&be1 { + status = "disabled"; +}; + +&tcon0 { + status = "disabled"; +}; + +&tcon1 { + status = "disabled"; +}; + --- linux-6.3.5.orig/arch/arm/boot/dts/sun7i-a20.dtsi 2023-05-30 14:17:29.000000000 +0100 +++ linux-6.3.5/arch/arm/boot/dts/sun7i-a20.dtsi 2023-08-08 00:30:04.689288733 +0100 @@ -345,6 +345,58 @@ #size-cells = <0>; }; + nand_pins_a: nand_base0@0 { + allwinner,pins = "PC0", "PC1", "PC2", + "PC5", "PC8", "PC9", "PC10", + "PC11", "PC12", "PC13", "PC14", + "PC15", "PC16"; + allwinner,function = "nand0"; + allwinner,drive = ; + allwinner,pull = ; + }; + + nand_cs0_pins_a: nand_cs@0 { + allwinner,pins = "PC4"; + allwinner,function = "nand0"; + allwinner,drive = ; + allwinner,pull = ; + }; + + nand_cs1_pins_a: nand_cs@1 { + allwinner,pins = "PC3"; + allwinner,function = "nand0"; + allwinner,drive = ; + allwinner,pull = ; + }; + + nand_cs2_pins_a: nand_cs@2 { + allwinner,pins = "PC17"; + allwinner,function = "nand0"; + allwinner,drive = ; + allwinner,pull = ; + }; + + nand_cs3_pins_a: nand_cs@3 { + allwinner,pins = "PC18"; + allwinner,function = "nand0"; + allwinner,drive = ; + allwinner,pull = ; + }; + + nand_rb0_pins_a: nand_rb@0 { + allwinner,pins = "PC6"; + allwinner,function = "nand0"; + allwinner,drive = ; + allwinner,pull = ; + }; + + nand_rb1_pins_a: nand_rb@1 { + allwinner,pins = "PC7"; + allwinner,function = "nand0"; + allwinner,drive = ; + allwinner,pull = ; + }; + spi0: spi@1c05000 { compatible = "allwinner,sun4i-a10-spi"; reg = <0x01c05000 0x1000>; Thanks and regards, -- Fawad Lateef --0000000000000a7c1a0602d6793c Content-Type: text/x-patch; charset="US-ASCII"; name="sun7i-a20-olinuxino-micro.dts.patch" Content-Disposition: attachment; filename="sun7i-a20-olinuxino-micro.dts.patch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wMDA+OwogCWNwdS1zdXBwbHkgPSA8JnJlZ19kY2Rj Mj47CiB9OwogCkBAIC0xMjMsMzQgKzE1MSwyNCBAQAogCXN0YXR1cyA9ICJva2F5IjsKIH07CiAK LSZoZG1pIHsKLQlzdGF0dXMgPSAib2theSI7Ci19OwotCi0maGRtaV9vdXQgewotCWhkbWlfb3V0 X2NvbjogZW5kcG9pbnQgewotCQlyZW1vdGUtZW5kcG9pbnQgPSA8JmhkbWlfY29uX2luPjsKLQl9 OwotfTsKLQogJmkyYzAgewotCXN0YXR1cyA9ICJva2F5IjsKKyAgICAgICAgc3RhdHVzID0gIm9r YXkiOwogCi0JYXhwMjA5OiBwbWljQDM0IHsKLQkJcmVnID0gPDB4MzQ+OwotCQlpbnRlcnJ1cHQt cGFyZW50ID0gPCZubWlfaW50Yz47Ci0JCWludGVycnVwdHMgPSA8MCBJUlFfVFlQRV9MRVZFTF9M T1c+OwotCX07CisgICAgICAgIGF4cDIwOTogcG1pY0AzNCB7CisgICAgICAgICAgICAgICAgcmVn ID0gPDB4MzQ+OworICAgICAgICAgICAgICAgIGludGVycnVwdC1wYXJlbnQgPSA8Jm5taV9pbnRj PjsKKyAgICAgICAgICAgICAgICBpbnRlcnJ1cHRzID0gPDAgSVJRX1RZUEVfTEVWRUxfTE9XPjsK KyAgICAgICAgfTsKIH07CiAKICZpMmMxIHsKLQlzdGF0dXMgPSAib2theSI7CisgICAgICAgIHN0 YXR1cyA9ICJva2F5IjsKIAotCWVlcHJvbTogZWVwcm9tQDUwIHsKLQkJY29tcGF0aWJsZSA9ICJh dG1lbCwyNGMxNiI7Ci0JCXJlZyA9IDwweDUwPjsKLQkJcGFnZXNpemUgPSA8MTY+OwotCX07Cisg ICAgICAgIGVlcHJvbTogZWVwcm9tQDUwIHsKKyAgICAgICAgICAgICAgICBjb21wYXRpYmxlID0g ImF0bWVsLDI0YzE2IjsKKyAgICAgICAgICAgICAgICByZWcgPSA8MHg1MD47CisgICAgICAgICAg ICAgICAgcGF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LQl9OwotCi0JYnV0dG9uLTEzOTggewotCQlsYWJlbCA9ICJFbnRl ciI7Ci0JCWxpbnV4LGNvZGUgPSA8S0VZX0VOVEVSPjsKLQkJY2hhbm5lbCA9IDwwPjsKLQkJdm9s dGFnZSA9IDwxMzk4ODA0PjsKLQl9OwogfTsKIAogJmdtYWNfbWRpbyB7CkBAIC0yMzksMTAgKzIw OCw2IEBACiAJc3RhdHVzID0gIm9rYXkiOwogfTsKIAotJm90Z19zcmFtIHsKLQlzdGF0dXMgPSAi b2theSI7Ci19OwotCiAmcGlvIHsKIAlnbWFjX3R4ZXJyOiBnbWFjLXR4ZXJyLXBpbiB7CiAJCXBp bnMgPSAiUEExNyI7CkBAIC0zMjMsOSArMjg4LDkgQEAKIAlzdGF0dXMgPSAib2theSI7CiB9Owog Ci0mdWFydDYgeworJnVhcnQyIHsKIAlwaW5jdHJsLW5hbWVzID0gImRlZmF1bHQiOwotCXBpbmN0 cmwtMCA9IDwmdWFydDZfcGlfcGlucz47CisJcGluY3RybC0wID0gPCZ1YXJ0Ml9waV9waW5zPjsK IAlzdGF0dXMgPSAib2theSI7CiB9OwogCkBAIC0zNTIsMyArMzE3LDI4IEBACiAJdXNiMl92YnVz LXN1cHBseSA9IDwmcmVnX3VzYjJfdmJ1cz47CiAJc3RhdHVzID0gIm9rYXkiOwogfTsKKworJmZl MCB7CisJc3RhdHVzID0gImRpc2FibGVkIjsKK307CisKKyZmZTEgeworCXN0YXR1cyA9ICJkaXNh YmxlZCI7Cit9OworCismYmUwIHsKKwlzdGF0dXMgPSAiZGlzYWJsZWQiOworfTsKKworJmJlMSB7 CisJc3RhdHVzID0gImRpc2FibGVkIjsKK307CisKKyZ0Y29uMCB7CisJc3RhdHVzID0gImRpc2Fi bGVkIjsKK307CisKKyZ0Y29uMSB7CisJc3RhdHVzID0gImRpc2FibGVkIjsKK307CisK --0000000000000a7c1a0602d6793c Content-Type: text/x-patch; charset="US-ASCII"; name="sun7i-a20.dtsi.patch" Content-Disposition: attachment; filename="sun7i-a20.dtsi.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lla2yf4h0 LS0tIGxpbnV4LTYuMy41Lm9yaWcvYXJjaC9hcm0vYm9vdC9kdHMvc3VuN2ktYTIwLmR0c2kJMjAy My0wNS0zMCAxNDoxNzoyOS4wMDAwMDAwMDAgKzAxMDAKKysrIGxpbnV4LTYuMy41L2FyY2gvYXJt L2Jvb3QvZHRzL3N1bjdpLWEyMC5kdHNpCTIwMjMtMDgtMDggMDA6MzA6MDQuNjg5Mjg4NzMzICsw MTAwCkBAIC0zNDUsNiArMzQ1LDU4IEBACiAJCQkjc2l6ZS1jZWxscyA9IDwwPjsKIAkJfTsKIAor CQluYW5kX3BpbnNfYTogbmFuZF9iYXNlMEAwIHsKKwkJCWFsbHdpbm5lcixwaW5zID0gIlBDMCIs ICJQQzEiLCAiUEMyIiwKKwkJCQkJIlBDNSIsICJQQzgiLCAiUEM5IiwgIlBDMTAiLAorCQkJCQki UEMxMSIsICJQQzEyIiwgIlBDMTMiLCAiUEMxNCIsCisJCQkJCSJQQzE1IiwgIlBDMTYiOworCQkJ YWxsd2lubmVyLGZ1bmN0aW9uID0gIm5hbmQwIjsKKwkJCWFsbHdpbm5lcixkcml2ZSA9IDxTVU40 SV9QSU5DVFJMXzEwX01BPjsKKwkJCWFsbHdpbm5lcixwdWxsID0gPFNVTjRJX1BJTkNUUkxfTk9f UFVMTD47CisJCX07CisKKwkJbmFuZF9jczBfcGluc19hOiBuYW5kX2NzQDAgeworCQkJYWxsd2lu bmVyLHBpbnMgPSAiUEM0IjsKKwkJCWFsbHdpbm5lcixmdW5jdGlvbiA9ICJuYW5kMCI7CisJCQlh bGx3aW5uZXIsZHJpdmUgPSA8U1VONElfUElOQ1RSTF8xMF9NQT47CisJCQlhbGx3aW5uZXIscHVs bCA9IDxTVU40SV9QSU5DVFJMX05PX1BVTEw+OworCQl9OworCisJCW5hbmRfY3MxX3BpbnNfYTog bmFuZF9jc0Ax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