Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp450756imn; Thu, 28 Jul 2022 05:56:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tGgF1KrCDwn16CIRlctdUGMmWjfoWG4wIuvDkEAAngkyxHTIDtWmef7KIa5ThdrzkFp+zt X-Received: by 2002:a05:6402:54:b0:43b:5cbd:d5db with SMTP id f20-20020a056402005400b0043b5cbdd5dbmr28464250edu.264.1659012982639; Thu, 28 Jul 2022 05:56:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659012982; cv=pass; d=google.com; s=arc-20160816; b=xvtDSvtHhqX67RB2D7gjSNH42CTkQZJz0GLK4scOM6aAm/G9aYGZR+cvBWsbD9OzV+ mhU548UL8WyCVqAyNLbK3ogdQJElsO6Bz7HDX873TzBU0hSO8L2jChcXrBZ04vbQziqy PvzUhxMDCwNKC0IIJXtsOSSC/kL125AsRjd3AsWp3u1sS50udMpEGbPA9FJEU7Ho9Gwk R4xVjVlSJ+1uDurRseNuBVRiuATl2BuSo+keVtFRATDFm6TXp5NeoBmpTC73nTc7jhPO 3TC8k6neguQwsHbr+QAmZEI11gTiEwffP3p8LY3CvEfvPZpGhmMd4X8Em7qAUidD8F+M Mf5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=enjYm7DgTvkTZHYPbQe1mPg81BmFvjWKqAgYzCNj3M8=; b=AhGmUpgfo0Mid5t38lwBerUb/x3yEsfMWAkcfx7PUcu8mXEr+LHblmrfLTBo9gIPn6 Uv5nYEA9zXbRMe2Pa+HLvlFGE1Sg1L2LmWuz2iqHMPekeLdwFyGPd2yiYgrCL8qRxKsa nvfQSNeDA08OwhZ5WWYIpFCGtG/xqwwQ5fsTqL8vB1F2W82zjQrI8GxzMr6c4oBsCEBx ZEa5fvDlHhaJ4CT3I6k5Tzs6wBtxKpIymi+SVVh9Ok9zNXb6dQi7wxgIuSlVupJidhNW FUR5yzeqp+o31yQUaVFQ9+MzWpt/lHexz5laXJnZDAGKcR9D+IH7iMtgnff2Ng25V1a2 XDsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ihqYbVWt; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v22-20020a056402349600b0043c2ebeb23bsi862235edc.117.2022.07.28.05.55.58; Thu, 28 Jul 2022 05:56:22 -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=@intel.com header.s=Intel header.b=ihqYbVWt; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237336AbiG1Mt0 (ORCPT + 99 others); Thu, 28 Jul 2022 08:49:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236365AbiG1MtZ (ORCPT ); Thu, 28 Jul 2022 08:49:25 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29E9E2AC62; Thu, 28 Jul 2022 05:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659012564; x=1690548564; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SNgj2nSi4ugmtOCpdd2jr77n2uY8p6DwOtDpsgPv8go=; b=ihqYbVWt0VzReKmkcnhC2m+RbISArtZXHwN056CwVcSvKw5rTSrzsC6J pm1zWXOB4V6rhkMO+SN8Q5TvMjqKQJDSPIboi6B+e00FR94seccmVdpLm Azj5YruidS2j4B+G4UMM3qVT1MIsQ9SxvYgktDBqsIGZzNxpYlbp4ck0Z g6HS4YQBAUf1rC4fSY8O7iLNhJQdQ2mQQIqZdVIHW3+ez3vPNOcXw5REV fNNIxYJMuoZY3ekMDczwcaL6pbCtFnuGBsBmHKXbIGYa7QPbTwcp2Tujl JA4ftxo7hPbzmjyy6oYcDak/a6NdmD6jHORr1TR2QRSNgkcT0WTI3eAj/ A==; X-IronPort-AV: E=McAfee;i="6400,9594,10421"; a="352498717" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="352498717" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 05:49:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="928276192" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 28 Jul 2022 05:49:23 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 28 Jul 2022 05:49:22 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 28 Jul 2022 05:49:22 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 28 Jul 2022 05:49:22 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.170) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 28 Jul 2022 05:49:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CRIGMbbBaGayA5w26OJ9D2IHBCAeWGlQ+81lmCaLvu6i5jKBXMTnYGZQDdMa7Exim/hpDGE2U7uwoy7607W19EWwE9igERHQVcfo3bQthFg/QfbDAVrzex3Negbd1ciyRCT5UiUlhrW7y43nJf2ohOug5+kEzs+xnhRQq+wRioOfy2v9Q0fnIS+XHfIba/iA/ex7hc/2q9b3e+ZT+9baUucgeQoIg8Qgy83tBC+zHLJ+9+lZ7VPxMjJa40H/y74WPpHgeAoBCZ0GgTwJtKNNXApsTHu448J14DV4wnrDx6m2mb6HUu8J8aXJ77ItVwPmveAl5JGEoGUbNnCOtbIEcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=enjYm7DgTvkTZHYPbQe1mPg81BmFvjWKqAgYzCNj3M8=; b=Gk0IQQVpPjuVeEoZeRTF6FJu11XQ9aM9GozPvUziDRVI+WQTCnaSw2zszGsHAUAIOlHc4YzG49bGwu+0RlHA5a5A5u9kyTTdeq/q7B2F8+JmzGFlY6LrzfvBGqoRO3Ymd7ZfjaLxA0XInRHn/38ctBZF62qWlToLhUkhbI94RS0E3t2aIdJ/0blQignhSpFDMwTg6EfORzAAevlarfm5p0cfVSFOUJERMv7nlLN9qlUzXn5BlizzPVCbDCKWYkWNhX5OcBm0rI5mfIw0tj0+8zuDgTFDmGP5LuwXrtIqYoJzX7BbwNkiH4G8laKSjy2/ejQHWSQZP+d92Lxz/ofpPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BL1PR11MB5445.namprd11.prod.outlook.com (2603:10b6:208:30b::7) by MN0PR11MB6134.namprd11.prod.outlook.com (2603:10b6:208:3ca::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.25; Thu, 28 Jul 2022 12:49:16 +0000 Received: from BL1PR11MB5445.namprd11.prod.outlook.com ([fe80::347a:3ce7:e32f:a82e]) by BL1PR11MB5445.namprd11.prod.outlook.com ([fe80::347a:3ce7:e32f:a82e%5]) with mapi id 15.20.5482.011; Thu, 28 Jul 2022 12:49:15 +0000 From: "Liu, Chuansheng" To: Peter Suti , "dan.carpenter@oracle.com" , Greg Kroah-Hartman , Thomas Zimmermann , Javier Martinez Canillas CC: "dri-devel@lists.freedesktop.org" , "linux-fbdev@vger.kernel.org" , "linux-staging@lists.linux.dev" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v3] staging: fbtft: core: set smem_len before fb_deferred_io_init call Thread-Topic: [PATCH v3] staging: fbtft: core: set smem_len before fb_deferred_io_init call Thread-Index: AQHYoYuplkHDyCTFCkGJGaJymTDkcK2TuxOA Date: Thu, 28 Jul 2022 12:49:15 +0000 Message-ID: References: <20220727073550.1491126-1-peter.suti@streamunlimited.com> In-Reply-To: <20220727073550.1491126-1-peter.suti@streamunlimited.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: beaf851e-9e22-487c-d2f9-08da7097946e x-ms-traffictypediagnostic: MN0PR11MB6134:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IBAeRomupI7Lt6rtpcLCsFCRRCox64kC7/HsMBN4oe1hj8Pv0PEbYKlr+m6chnzua/BlC+slOiJcWmmbtfmjdmGWUtLJ/4FG9gRGujUn7zgA55bDG3VCGIr979rID3vqvWVzkG9WlK+gOXWHUa5gqjJK9G01ijTnDR8CLyO5mLBVEV4dz3dThvpakK2eK9GMGdL1wNuk32MbPbklK1LwXbor8ZatWqSuRF54r3nJQ7otZKAjDnau2yNcnP3WmVBF9fgzeESrlxuPViJa7brOAx2VFybF0mk74mK6KPPHtRC5Kgix39Nqe+KvbGiyhI9aV11aVYT3HXY0ZY6wIDHGXWHaIdC5MKBEiaOpeELZPijObGGlJWTUlp26lMmX00YBLwQlVlA8TSGMZ/X9MEO7GJzMmCxVO289jA6GQt7iq0m9noXmwBPQ/0kJ29IxV+SotclCYuQzPA8eSIO6J6bSw9wiBxyCsPHxGoCoscJULy8RL8cKh83YULciLkUNePo2ke0nrijyeMn76oMmsOid7IRRVBX7EXY2ykaKxdq1t5HC9ptbFHivWiZNoS+kPW9S9Tvf/RDdHJVN6T/naIGiTdbc2NdejuuJ4GUMh9GQHRESXwuWiWBKxuwTw5TPVPRuQDhQIlOJQ3tiTq9H5Uau6wgy5HPYi/5Zvq992piYfX+GmrljLsHAz26/qFalcGMPbYn30lbZ6T21A/WeQJrRTrMKwrIpi6cn/gKuBKE+BYPbb2tQmYEavnb3YLXKnm3wlLlEI/xq4yjS6pv+MjL2DuLJ4GpZD1XQgJJuCgVHQv6tYPloPzqcAN1fL6UNbu9I x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR11MB5445.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(346002)(376002)(136003)(396003)(366004)(39860400002)(8676002)(4326008)(76116006)(66946007)(66556008)(82960400001)(5660300002)(4744005)(2906002)(52536014)(38070700005)(8936002)(64756008)(33656002)(66446008)(66476007)(55016003)(38100700002)(122000001)(186003)(316002)(9686003)(6506007)(7696005)(86362001)(478600001)(26005)(71200400001)(53546011)(83380400001)(54906003)(110136005)(41300700001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?FVP69A9eTxtmG2HSy2CS5DR+N1TWFL0sC6gad9RSVEXvZb4K7wcHkSHGJqS8?= =?us-ascii?Q?GReGHmjHbTZza6G64ebRdwk0FN95/sDOX/xh0zPcBPg3PzQYuWu5K2FMjbSU?= =?us-ascii?Q?J89EgGfECrxWC6SNud31sntI0lvN6It/hJlhu0X07FFeS8aXoBNJDK8mQALk?= =?us-ascii?Q?zdK0guZcYvQLIAIJ0V9ItVinlXjihRU5kAUdKS+t2yZRIoUjEhCtCOnj1vE+?= =?us-ascii?Q?WFO7C+U+dHoQTJ8w5u3fh0s/DnLo3GecVBbMoVzRJqujv3X8Uq05RhY0LPUt?= =?us-ascii?Q?YDN6stkAK6I0Osyqf2U7cSBZmGD2MZAgNy7gmLa3K3HZjHNn0pa9cP5vcz+N?= =?us-ascii?Q?Q2g1novqAeE0qfPZzDStx3MfaB97m9jKN6jTJqZ2OqccAo1M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F2K8FXBxbfP5aHV9evX/sSbHOlpQ0X4IlUev?= =?us-ascii?Q?PbzY7f3bRxdeysKLnhpUPf6nN5ItaQeIKbWNO/PN8ENRDg3unAOIdt8c5s0D?= =?us-ascii?Q?yArJ7fzK2ddURs0EfLMdZyMeXznchVmgf1g+lkPDsA/AKeHxNexJ3tMI6JmN?= =?us-ascii?Q?OLx0wq+ZkadupOgKVFN7tpy9pnGKg9E883R3zrrjkD9wo/ITbiOLHOjjYSup?= =?us-ascii?Q?BlAuqjULVqcR3UvUIK93GmdLCdPpVc6dxctSA0IFsCY0WNa/PKZylwfujDaY?= =?us-ascii?Q?6Wxl/7xRcbWR7qJzaJmlJT5ysqGO3QOql+klpAtE?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5445.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: beaf851e-9e22-487c-d2f9-08da7097946e X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2022 12:49:15.8853 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qka/pNoPAkDHVqlgcgkDMsiHRW/MtN8CVYBmvwZM9o+FZJNFtijrqKKbOW7TQmrPtnLkwdgL5UQnczt1l0szVVdV3smQOSdeGkxDPZd8bqg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR11MB6134 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Hi Peter, > -----Original Message----- > From: Peter Suti > Sent: Wednesday, July 27, 2022 3:36 PM > To: Liu, Chuansheng ; dan.carpenter@oracle.com; > Greg Kroah-Hartman ; Thomas Zimmermann > ; Javier Martinez Canillas > Cc: Peter Suti ; dri- > devel@lists.freedesktop.org; linux-fbdev@vger.kernel.org; linux- > staging@lists.linux.dev; linux-kernel@vger.kernel.org > Subject: [PATCH v3] staging: fbtft: core: set smem_len before > fb_deferred_io_init call >=20 > The fbtft_framebuffer_alloc() calls fb_deferred_io_init() before > initializing info->fix.smem_len. It is set to zero by the > framebuffer_alloc() function. It will trigger a WARN_ON() at the > start of fb_deferred_io_init() and the function will not do anything. Please show us the WARN_ON() call stack, then everything is clear. It is th= e driver itself issue to be fixed. I saw Thomas made such WARN_ON(). >=20 > Fixes: 856082f021a2 ("fbdev: defio: fix the pagelist corruption") Don't agree with such description. Best Regards Chuansheng