Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2374653ioo; Sat, 28 May 2022 11:40:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxg8DM7d0EtzNHepxehF7RNL61udXGptzAOhr+zXP3qZVmLSS6169oakLZ6Y6DHJ1oYyvi2 X-Received: by 2002:a17:902:a415:b0:161:74b2:c1c2 with SMTP id p21-20020a170902a41500b0016174b2c1c2mr47475704plq.2.1653763235539; Sat, 28 May 2022 11:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653763235; cv=none; d=google.com; s=arc-20160816; b=I+05seDIVlS5iJUDCwxAw0svxQ+NLHanl10wrYUcR5RO6BYgRoKT9UhVr77WrMig3E 3oYFOhdi6/wSuwDFEDqVZZHhOgBb0cHA5EsXc3G+Ice027PZqnFTIATGs9r02nbBMUki +BskxGiR9VguuU8ghQYEsgBj8nVXkEWiD7OdhzvxbXfO5EIDnPH3x4S2gacsiIVFD+Jg VtOjUip+dDTrP31cru5K9vIQjyqCPaNODbPZNi38iY0RQ4pBoiHktuveA8BClAIy2K1k e6qSx0lsMH6zLDjd9muIkcsmatPutmdH0Mf5JIRkKyuGOl++iBfZbcp/8Voq5MYVSCrI kzaA== 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=jpVKmAi8bEeOfj3xBmp1aXhzykGLkSm5+Fx4/RF94XA=; b=1GzhtnsY4MibLv4KK47QA6ieKlEJm7DmLWajqunGOmj29yWb8S7Wi1waABrZcI+dYK +Wk+AdJ//8bTxXtRnJqbM7FmTkkqVnPvW5pygfPrdTdlmIYyfq0z2EZbLjLIU2A7e6bO MHERcA2UyE7wJuoykUU5PIAupMsXQcFdA2SR7uhEUgaaOTFStJaL5bKXOyU5Lox2RMXa O4rzRtwL43DRIN9MxQ5xDgImA/hnGjaemWoV39Q/TnvJYjJsBh9jM7NNHchAAuGCzt+P NiiPYHnTR8y566VApsYbnBHaGqPuAOfirOOip2W7ukfzVthLzQxF1uADyDJU+XhdPjwR iu1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MsTF2+wp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p11-20020a056a000b4b00b005191f682507si9465150pfo.63.2022.05.28.11.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 11:40:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MsTF2+wp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7E0E822BF5; Sat, 28 May 2022 11:33:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348969AbiE0LLv (ORCPT + 99 others); Fri, 27 May 2022 07:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232837AbiE0LLt (ORCPT ); Fri, 27 May 2022 07:11:49 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 199FF57B0E; Fri, 27 May 2022 04:11:47 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id n22so2028549eda.5; Fri, 27 May 2022 04:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jpVKmAi8bEeOfj3xBmp1aXhzykGLkSm5+Fx4/RF94XA=; b=MsTF2+wpGe2/Z2GUFWPgUYQBuZpCLhPs/DVRZXjO+HwXN2OxjQOWoheVPU29S08Gu/ Lx0QOxySDuAIvBG0vZDROkRmm5fU8msxSvs4XJavbZXewHJlZGWKU4TCgf/lPM5oIT6Q JCDhBPp4kmMuDJwDDSo3W1TvMPE/wb6IuKyZjK81dWBAvCuVC2Pd4ale/kkPXTOEJbyB h1bwCR5SDawyKyB7EEOc7yeKK+AL2OKqi2ZqOWPFuzvsy09xh2WhUJAbb9jwycg5/5Nh G5Dhk3r8uB/DF4Lure9KMR15DDHtS0drIcdx8mr5bngR6seITavjIZEiCTJ4uvBhyBBZ bDzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jpVKmAi8bEeOfj3xBmp1aXhzykGLkSm5+Fx4/RF94XA=; b=yQPvj8eukqwYzxVGKOJMrWbWZQYMQidAn1UcCEfEOUroRIVeGpGeCkDhhtgHi2LFHu ue1IWvveQrK6u6RvpAn4F/6DlNADdQc9h5QN8chFyKTYXgUsCsnBktlhwyzTW+DndkZw HzUoL61pkLumulMiYf7YF05Gs2nmx/LIbZyXE83Jk2cbbOe9bdhHBNjiSYJx+MhDb37E ryHW88JtLbmSHoClUjVYggx0nJIjjPsqO6yOBDxAbjcRs1I0Bb7iCCnUrRJ3L7wiuJMB lNhwEFqBRBjcsFWdaGpiir/gX1zwZqDt12J4tmbHXgRMaPMwpRHNaObcVgs5VMXa22PQ zdfQ== X-Gm-Message-State: AOAM532GJ1vQQDTLZ5poxbd+QYPXPQLVqyGb0YGMPo0gQDpRbJvWlx0i 4m9RZJCJCFjwk2/2+ACaAnkPW/5UPPW0agF0Kw9fxgSmK+U= X-Received: by 2002:aa7:d056:0:b0:42b:e355:6038 with SMTP id n22-20020aa7d056000000b0042be3556038mr4914454edo.315.1653649905539; Fri, 27 May 2022 04:11:45 -0700 (PDT) MIME-Version: 1.0 References: <20220527102444.19683-1-ming.qian@nxp.com> In-Reply-To: <20220527102444.19683-1-ming.qian@nxp.com> From: Fabio Estevam Date: Fri, 27 May 2022 08:11:37 -0300 Message-ID: Subject: Re: [PATCH v2] media: imx-jpeg: Leave a blank space before the configuration data To: Ming Qian Cc: Mauro Carvalho Chehab , mirela.rabulea@oss.nxp.com, Hans Verkuil , Shawn Guo , Sascha Hauer , Sascha Hauer , NXP Linux Team , linux-media , linux-kernel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Ming, On Fri, May 27, 2022 at 7:25 AM Ming Qian wrote: > > There is a hardware bug that it will load > the first 128 bytes of configuration data twice, > it will led to some configure error. > so shift the configuration data 128 bytes, > and make the first 128 bytes all zero, > then hardware will load the 128 zero twice, > and ignore them as garbage. > then the configuration data can be loaded correctly > > Signed-off-by: Ming Qian > Reviewed-by: Mirela Rabulea > Reviewed-by: Tommaso Merciai Fixes tag?