From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D25EC2D0F9 for ; Wed, 13 May 2020 09:56:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3017220753 for ; Wed, 13 May 2020 09:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589363815; bh=ayQIYBoq1/11f+SGXZ4WB5p1qyFYV0HIzGXCQ44ZZ5M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=aMPbOufFbJCoWbiOFsl3/r4qLjGIFswL1as//nheHWEPeuoXf7wP1/JxgQO3j5m0J 1b8wDuGkfVjLgFvKg+DBxwmc28reVFqaEFpHaa2/aLMF8A48QLZN5Z26azVn+vrrf1 dYQDjVKLUa+JUMZUdHbwzMBr6cy7yxGP2N/+h+BE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387973AbgEMJ4u (ORCPT ); Wed, 13 May 2020 05:56:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:59744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733061AbgEMJ4J (ORCPT ); Wed, 13 May 2020 05:56:09 -0400 Received: from coco.lan (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 319F2206D6; Wed, 13 May 2020 09:56:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589363769; bh=ayQIYBoq1/11f+SGXZ4WB5p1qyFYV0HIzGXCQ44ZZ5M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sQ04DAiTsUb9KSkYHof6mNg8BaWQFfNbebKNrZuHDl8EpsGyaZDNdShUPIlxN4t2w hX4urPGcGi7EwPrea4dROYxCiX51IBczD0DmSfFbJm3nhXo5oOUs0UyswrT9sSbHaI BLJ1SGnqsPlVwx8jebW1n+7lZZgU/iaikFG7iScE= Date: Wed, 13 May 2020 11:56:05 +0200 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Andy Shevchenko , Patrik Gfeller Subject: Re: atomisp kernel driver(s) Message-ID: <20200513115605.787e9079@coco.lan> In-Reply-To: <20200512165644.6609098b@coco.lan> References: <20200502190414.7ede79b6@coco.lan> <20200512122056.6ae3580f@coco.lan> <20200512165644.6609098b@coco.lan> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Em Tue, 12 May 2020 16:56:44 +0200 Mauro Carvalho Chehab escreveu: > [ 79.625858] virt_to_cache: Object is not a Slab page! Solved this issue: https://git.linuxtv.org/mchehab/experimental.git/commit/?h=atomisp_v2.1&id=c916263a340ef1c4cc187ad6267302bdd4298514 Yet, I'm not happy with the code inside the hmm/ dir, nor the code at isp_mmu.c. There are too many dirty memory-management magic there, including some forks from upstream /mm code inside it. Changing it may not be an easy task, as it currently uses three different VMA areas (dynamic, reserved, and "normal"). Touching it without knowing more about the atomisp or being able to test the driver seems risky. Thanks, Mauro