Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753751AbcJUJxy (ORCPT ); Fri, 21 Oct 2016 05:53:54 -0400 Received: from mail-by2nam03on0054.outbound.protection.outlook.com ([104.47.42.54]:64736 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751033AbcJUJxw (ORCPT ); Fri, 21 Oct 2016 05:53:52 -0400 X-Greylist: delayed 1949 seconds by postgrey-1.27 at vger.kernel.org; Fri, 21 Oct 2016 05:53:52 EDT Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; From: Naga Sureshkumar Relli To: "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "dedekind1@gmail.com" , "richard@nod.at" , "adrian.hunter@intel.com" , "michal.simek@xilinx.com" , Punnaiah Choudary Kalluri CC: "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: UBIFS with dma on 4.6 kernel is not working Thread-Topic: UBIFS with dma on 4.6 kernel is not working Thread-Index: AdIreulhNSfiAXz9SeGoIHaDLH4vBg== Date: Fri, 21 Oct 2016 09:21:03 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.19.55] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22650.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(33656002)(87936001)(586003)(6116002)(102836003)(3846002)(189998001)(11100500001)(8936002)(8746002)(5001770100001)(50986999)(4326007)(2906002)(54356999)(6636002)(5250100002)(7696004)(2501003)(5660300001)(626004)(6862003)(23726003)(7736002)(7846002)(19580395003)(305945005)(2201001)(46406003)(106466001)(86362001)(50466002)(92566002)(63266004)(356003)(229853001)(97756001)(2930100002)(2920100001)(2900100001)(55846006)(8676002)(81166006)(81156014)(47776003)(15975445007)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR0201MB0803;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2NAM02FT046;1:jRNnnDr0p9CTzOM34RYLd9Im2qqKc2tK9+8pzufzwtTfNTB3HBHqy8ZvlF4MzvWekP0oN53SxR9Mdmvq7c+EKq5g6s8NduN0d9WdOYMvAmNpuFuIbIbdJ/2LUs5ttG1JiBdZEyJyO4aqZZawEH4Q0cAk+3HKze9dBT3bxizFO7M9GzP9wd7aVuV7Hf5iUmBVWa/RlpA5yKj1gGZQ5cUAo758jU0d0GUcMz6zZNjSz4fo52PddmfURBhlQajVAdssb1gFlKQMpWJwzzIfZcyeU3gozGAeS7Ne9GMMYie+L7COgNTNDIx39u9QScC2gyTZsvTh3Ev6kCcTekp505kglo8AZaDU5iZ4mqAhcMA7dhH+JZTH9FvKE93OHyiKpmxIhNYj/lnchdKsWH325t8bqnqeocIAfYL4JBw+21PxJSHy2W7zQBJB4RC4gAil0OevJkeaP9TUoyG3DtQj05Hqp/ZXD7OqWqdGRmEaf/82qtBSTY+imOYma0hXm6WJzir9sePVSpfL8g9WSFYZeWLMV6yk6Ye/g0cYLdqO6Bfp8FmM9OB6YG6JBbDI/eZXyiei9FnAUfNmG8+GnYdcqLkGbBxJZSKG2wr+LCyfLewuqZY= X-MS-Office365-Filtering-Correlation-Id: ea50a3e6-bb73-49dd-8aee-08d3f9939b8e X-Microsoft-Exchange-Diagnostics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KBpmBH4poSnlB76CfloZmOOYAJh1AvEpTiCkVJs73W/5QiZ3oePKa8B+BPgRZAdKVivljxFUw5RQCuFL0stpchlyvGyV2Y4QiXoHEYDDMNHjIRND4gfeVRoOmHsQ6QGqsS8QmFXI6mCa2Ai8+rjzbp8ugv112n7cvfqKBqHOrWa/1nUNxHW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(788757137089); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(13023025)(8121501046)(5005006)(13018025)(13017025)(13024025)(13015025)(3002001)(10201501046)(6055026);SRVR:BN1PR0201MB0803;BCL:0;PCL:0;RULEID:;SRVR:BN1PR0201MB0803; X-Microsoft-Exchange-Diagnostics: 1;BN1PR0201MB0803;4:xRv4c4BiyikdYwPLHmQ5t+RXbDu9JnoiHw+dJjf03arCLnUFWDwyO0G/rQ4D/8reEBqZJEg0OV8OrztC6Y5aWy9pN/vXivsNgVM8co4AoLZW3QdkWSjjtxY+uLa6kly4JjotEpRgXCwae0S2pppFkQMc6p2hNmIeRzdUYAGrawyFMN9II0xgXh1cr8vj9edsawxJXy/7tiVyKhqYXdVe0rq2hOXoPA85z8BTqMZbJk47XdFAELkp5uHNlFYBCW1zUDSKplW+40HYTWIwOPU3Mj87Tpos9/4WFFfXS1vBI6rveXbYk77bDG9xwrbU2PHwln1VNl1XtQEQCn4xPNgcjVPIdNo5/BO/ppWpZHLKXQjEkGuqXbJBHoN93uDZ4UF8Cym6y7fGwkCI4rXOumBq/bFPS2/fjL8VnCOaxqUaGm8mA1G3U7rCOiGn/sn0y+mR5rHKWcnXi7T2COvIwkXA8Pcb8VGj88xy8NkCSkZTsWIC8szFqqstEaOBe4aoN+2S9Qp6XHJmbeLE0bYH8W79iu+cLIiURFCP7hQCWIRZdN+yAkeiZv36TgJkG8P4VBOF58SI2QCpsUARfiDRQJL3eQ== X-Forefront-PRVS: 01026E1310 X-Microsoft-Exchange-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4E7ZUVN1Ew1yOCxpL48fVq5TxMeHL1E7bTYe29ny5dj7CuMBEQ==;24:4q7JC64SZvGC4EtC9H6gPc81+G3IaJOX0L95uVFUu3+se611gHl9KJ0/QR+QCwRqXjXvZ9CFs+VX5wyB5nrqEU9zKPxEMWj/GUN2XOyZL5w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN1PR0201MB0803;7:+ZewjqyXjpOuS3AUqoJcpSk4lb2GZWIzDqNpGRJLs72+jvi8hahI9OBKbFfh4V9GFWAE/aljbViI/+S94djVwO2Z6aLA5VzQkHhFr0gs3dilCsnreOllJ19/RPdSoi/Zh4Z5UQ27TqIbk2kBXj7gosTAkRVoabeW8AAeLIPbifIWsIMPfUqfFrOfpFfsf6rLsycnzTC70unloh3GETrvo/pUf/UyuHTWQG7grr4VwSAzRjIfOP43MFsIZnLj3l291IzvDUaoj4MOyTldEO1j+3+atOlNSoVQBnUODmYSWmPrzlDhWzi9Q9+VY3TMbVlxbZDt7ZX1dnxO4GH32k8QzgpM17LtymULBVSghbfLL1s= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2016 09:21:15.2659 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0201MB0803 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id u9L9rxO6001019 Content-Length: 896 Lines: 19 Hi, This is regarding UBIFS on 4.6 kernel. We have tested UBIFS on our ZynqMP SOC QSPI Controller, the UBIFS is not working with dma on this kernel. Controller driver: https://github.com/torvalds/linux/commits/master/drivers/spi/spi-zynqmp-gqspi.c If I replace all vmalloc allocations in fs/ubifs/ to kmalloc then UBIFS with dma is working fine. But whereas kernel before 4.6 without changing vmalloc to kmalloc, UBIFS is working fine with dma. So is there any change in UBIFS in 4.6 kernel that to dma related? May I know some info regarding this? Why UBIFS on kernels before 4.6 is working with dma but not with 4.6? Now a days, most of QSPI controllers have internal dmas. Could you please provide some info regrading this dma issue? We can change our controller driver to operate in IO mode (doesn't use dma) but performance wise it's not a preferred one. Thanks, Naga Sureshkumar Relli