Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp294707pxb; Wed, 25 Aug 2021 03:32:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3zaVfduGg7SLVWlWOjaRxx42XixwewsJZqxlxlMvTpGPzwevSppUXwGmf3r/JvYfRNDxO X-Received: by 2002:a17:906:9708:: with SMTP id k8mr18126212ejx.399.1629887565278; Wed, 25 Aug 2021 03:32:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629887565; cv=none; d=google.com; s=arc-20160816; b=fahjNoJFK3GnWplOYOeIi//+DUDkXDmW+nJf9dYkVV/DEcHizjbQkkFPnGiXPMvZ1e pQeEs6+7cgDhQh+pVTDltxjP3HjlX1JmRCh/B5A71fLYPJ4mNtrSrOVE9umhWbkqGv+D TEdtHoj/BSj/Kw3CoLm8ti70sjD1y/AZlBdkF84xmuns3sSX1Hu93I8fGTIUTR6Ixk2l foDlNxTa/KIOLEMJCcqBEA2xb89czXVS9MYwbt2f0GXXJdaA5NlGqwEtIP5QbvIu4dS9 tEMrpF74WRXRKP5ZdFvM0QsWwbitzGeMFJciRzewBQ9eI0N1caE8hQb8D2k59hDxgeku MSEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=ljYjhZk7xODYifRKLlNuoAeWY2WaxL/PB579A6YFENM=; b=cB6ZemNhp/S/R9qgOryQS128aoikASomDpR+NoKM61trqf9apu1YShN/p9GJxvLzjf YhatR6eERKHp1KJi/iqhmD71gN5VgjxX9Rk/rkSMl8mfaLdH0hoc34s2vjff81q5t0PU jzNDHHoi3IcNecWTU8acRyxvMUKis8unQnkRDAUD7r1grxCkfUvrQwrrs//ZOyEWh6Le qtQI522GHb6ZLKoOs5bRtH/PHuPGFUM51ZK2fKg0TvYLk0P805JVUw7/pSVieO7Ou08x wDgAT/ubN9HavCWbh//zU1A2Rn4vQjr3iyNMhgeJWTq3rnCzqIwucGfe9Cla77TS87+Y K1yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bWqaWLmZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si12317405edt.168.2021.08.25.03.32.20; Wed, 25 Aug 2021 03:32:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bWqaWLmZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237516AbhHYK3Y (ORCPT + 99 others); Wed, 25 Aug 2021 06:29:24 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:11043 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S239888AbhHYK3M (ORCPT ); Wed, 25 Aug 2021 06:29:12 -0400 X-UUID: d03e7707fe3e4856be758ec4a7b9bc5e-20210825 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=ljYjhZk7xODYifRKLlNuoAeWY2WaxL/PB579A6YFENM=; b=bWqaWLmZ55cjGCFIOCVc4c8MHQaOnk+qyq/MJ4tQuzWkL4RB9P29PrpeU1A87iy7TdvQyRAizZQPTr93eW5ayRGrwVVG1W6jUQcpV6swy+FfKDGZq0As2I7CVJWfEFcAiMFuvMnTruVPDdD05wOFlFamgz6XFvF27sMoq02InYg=; X-UUID: d03e7707fe3e4856be758ec4a7b9bc5e-20210825 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 980542094; Wed, 25 Aug 2021 18:28:22 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 25 Aug 2021 18:28:17 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 25 Aug 2021 18:28:16 +0800 Message-ID: <1629887296.13994.1.camel@mhfsdcap03> Subject: Re: [PATCH v3] media: mtk-vpu: Ensure alignment of 8 for DTCM buffer From: houlong wei To: Dafna Hirschfeld CC: "linux-media@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "Alexandre Courbot" , "kernel@collabora.com" , Enric Balletbo i Serra , "hverkuil@xs4all.nl" , "dafna3@gmail.com" , "mchehab@kernel.org" , "tfiga@chromium.org" , "Minghsiu Tsai =?UTF-8?Q?=28=E8=94=A1=E6=98=8E=E4=BF=AE=29?=" , Andrew-CT Chen =?UTF-8?Q?=28=E9=99=B3=E6=99=BA=E8=BF=AA=29?= , Tiffany Lin =?UTF-8?Q?=28=E6=9E=97=E6=85=A7=E7=8F=8A=29?= , "matthias.bgg@gmail.com" , "courbot@chromium.org" , "hsinyi@chromium.org" , "eizan@chromium.org" , Date: Wed, 25 Aug 2021 18:28:16 +0800 In-Reply-To: <20210825101717.18075-1-dafna.hirschfeld@collabora.com> References: <20210825101717.18075-1-dafna.hirschfeld@collabora.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 01E81F49704AFDF79AFC70AA7CA2ACF2B7B250A311999B359EA670EF2614D5452000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIxLTA4LTI1IGF0IDE4OjE3ICswODAwLCBEYWZuYSBIaXJzY2hmZWxkIHdyb3Rl Og0KPiBGcm9tOiBBbGV4YW5kcmUgQ291cmJvdCA8YWNvdXJib3RAY2hyb21pdW0ub3JnPg0KPiAN Cj4gV2hlbiBydW5uaW5nIG1lbWNweV90b2lvOg0KPiBtZW1jcHlfdG9pbyhzZW5kX29iai0+c2hh cmVfYnVmLCBidWYsIGxlbik7DQo+IGl0IHdhcyBmb3VuZCB0aGF0IGVycm9ycyBhcHBlYXIgaWYg bGVuIGlzIG5vdCBhIG11bHRpcGxlIG9mIDg6DQo+IA0KPiBbNTguMzUwODQxXSBtdGstbWRwIDE0 MDAxMDAwLnJkbWE6IHByb2Nlc3NpbmcgZmFpbGVkOiAtMjINCj4gDQo+IFRoaXMgcGF0Y2ggZW5z dXJlcyB0aGUgY29weSBvZiBhIG11bHRpbGUgb2YgOCBzaXplIGJ5IGNhbGxpbmcNCj4gcm91bmRf dXAobGVuLCA4KSB3aGVuIGNvcHlpbmcNCj4gDQo+IEZpeGVzOiBlNjU5OWFkZmFkMzAgKCJtZWRp YTogbXRrLXZwdTogYXZvaWQgdW5hbGlnbmVkIGFjY2VzcyB0byBEVENNIGJ1ZmZlci4iKQ0KPiBT aWduZWQtb2ZmLWJ5OiBBbGV4YW5kcmUgQ291cmJvdCA8YWNvdXJib3RAY2hyb21pdW0ub3JnPg0K PiBTaWduZWQtb2ZmLWJ5OiBFbnJpYyBCYWxsZXRibyBpIFNlcnJhIDxlbnJpYy5iYWxsZXRib0Bj b2xsYWJvcmEuY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