From patchwork Thu Feb 28 23:17:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Burton X-Patchwork-Id: 10834285 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5BEB515AC for ; Thu, 28 Feb 2019 23:17:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B1CE2FC46 for ; Thu, 28 Feb 2019 23:17:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B5DC2FC45; Thu, 28 Feb 2019 23:17:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC0162FC45 for ; Thu, 28 Feb 2019 23:17:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728074AbfB1XRZ (ORCPT ); Thu, 28 Feb 2019 18:17:25 -0500 Received: from mail-eopbgr820095.outbound.protection.outlook.com ([40.107.82.95]:12001 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725955AbfB1XRZ (ORCPT ); Thu, 28 Feb 2019 18:17:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IrYn5/uz07Y2O1z1Y1J0TWyxBVNm8yYuAxx0jz8tzlk=; b=XVVULZTgJzC6ynbh3+HmUkUSsuW6wm/e+HhATapbdhTyFUcCDtRhhjyLxBVL4z2zjlVM9pFVPcVsZoogViTGqEUJwUVFPhDB1aQqvZvAi11XP/Hfej+vFrDs1bemAu/2+edD8xjtWvZdybC1KrST3lgzumJWb9sWphY1AJ6Rnc4= Received: from MWHPR2201MB1277.namprd22.prod.outlook.com (10.174.162.17) by MWHPR2201MB1374.namprd22.prod.outlook.com (10.174.160.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.16; Thu, 28 Feb 2019 23:17:22 +0000 Received: from MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::7d5e:f3b0:4a5:4636]) by MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::7d5e:f3b0:4a5:4636%9]) with mapi id 15.20.1643.019; Thu, 28 Feb 2019 23:17:22 +0000 From: Paul Burton To: Linus Torvalds CC: "linux-mips@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: MIPS fixes for 5.0 Thread-Topic: MIPS fixes for 5.0 Thread-Index: AQHUz7vC0R5+NeFkpUisfeO+e0Gddg== Date: Thu, 28 Feb 2019 23:17:22 +0000 Message-ID: <20190228231720.uvzxfn6jpvmtcnra@pburton-laptop> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR02CA0008.namprd02.prod.outlook.com (2603:10b6:a02:ee::21) To MWHPR2201MB1277.namprd22.prod.outlook.com (2603:10b6:301:24::17) user-agent: NeoMutt/20180716 authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [67.207.99.198] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 18a52d59-0a0e-4e36-848f-08d69dd2e46e x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:MWHPR2201MB1374; x-ms-traffictypediagnostic: MWHPR2201MB1374: x-microsoft-exchange-diagnostics: 1;MWHPR2201MB1374;23:UpdwUahw5o5H0s13JykAorLmD9jDW5o+j6DYPBQmP9Re37UkSuTUfGk4YgJ3BZRVBY+N1WS8Z24U010C2rZeArnb2dTTx3C62/AL+JAiH088itl/R9tWJFR7KAxcb9HCbP3J0auLhA+Onn+CzSV2Qe4EXEDENExfhDddsHm1Ts39FIP0G4Dwv7/W7P0175lftZod3IlyKY9y2Pr4Y+sSDd5EL4U2rAdDogitN2nj7BhI/9S0pWhxmZpJUsSTkvWab+uHh9RMdU7fFgMGt39gj96AQLqfCj905j/qI6CICQ82u35+eVIsk92giOyS6rQij/V/DE6552UCl8buZhs6rDAJzzueqfV68cXfl18Fv2TFTITZwlm3ICR4MpvZRYESn3KiPbME9dsiZ5m8fU5oT/WusN7X8sqCDiWJ+8R3BmCsWvflRm7D6EMz95YWLsrhuUR2hlpal0iWY4lv3eOHmgm5dJd3Rk/bl+RDIzsOLnoq8WssEepCMygCw/y7kR1PQKpJmtfavxJ0BnsxicJgX5YbRY/tExiTiRbHmr6NZuiqiCLAvIJuTKzxbqyYGF9PPifcOLtx3JDs1tQwYE0oLqHhL+GPVkQtpJem5ORekSC1NeNDVFS3oRgooi5Tc2y6PSsWfPwHF+8vjGTTMqpA2mbguQGu6hHOe2LyIkNevKjVbgbWeVVrOQxxuJyDezGVSVEu0rYYsjif6ojh0HCpTH/gCaK5mI5u95V2S/3lr0l0dVO8BNIrzZmITBqPsfF3RpVyP0pMD5wcSdHwALoHvt0qwrwX+hK1gHH+nQkl5248uQUIV+QpdYTVT6EUEFmm7A1SyPpOEV/7zQ63eU/pe71MGgiHkYYPbupjs9ubkXwQQ49Xe++z9FFs2g2ZlkJeBdi1QtJF2n7MCykrB1GVmCbn2jSGkFGAfhECHm0Yem+kSAqJ+f8HMOmePVABX8YHJyJgs5edbXG2O/OvmoTB/SU2BsLVxQXonoMl0AfH1Jyus6cOkVkmxm08WtXpqSAHUOrFQsToR8rgRzvqlbSgYf0cbWIG9vv1FiKZZ+z0wYeJRHj7KQO19Cvb+f5WE6rCEk9JRujnPsvIGWZ+ghCqMBpDAV9oT+1Im0nas/UptUuUF5Ld/3AYV5pRy74b5IV2lrKdwfSRBOI+3/yjlZi/+5Ww41kTZ4HblP8CcH2ylAoRIXgv7ydPkZ5XmTzpqeqs x-microsoft-antispam-prvs: x-forefront-prvs: 0962D394D2 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(396003)(39850400004)(136003)(376002)(366004)(346002)(189003)(199004)(2906002)(6916009)(33716001)(105586002)(58126008)(8676002)(316002)(54906003)(8936002)(305945005)(81156014)(7736002)(106356001)(14454004)(68736007)(97736004)(3846002)(25786009)(7116003)(81166006)(478600001)(6506007)(102836004)(66066001)(9686003)(256004)(6116002)(53936002)(6512007)(4326008)(99286004)(42882007)(71200400001)(6436002)(71190400001)(1076003)(26005)(186003)(386003)(52116002)(6486002)(476003)(5660300002)(44832011)(486006);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2201MB1374;H:MWHPR2201MB1277.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: HpRUFLbXQDlM/91hMaBdP052dBEOY+3o4REM/yYU693YEpywyT36fVjxC+VDcx1ngXV+81dJySJ1fYgQchKyJZHAdd78X34RItgyfWd3jKn2yhIr5U5OCvfR/lcVUBt7yDzekO9b+ojdFoBBRH2Qzoa7j8mr9QABJSXSpmZkzAJy4zolxBMxG9x2pPpJlV04HoCxS5LW1tGkcNXe6/oHgKY75P22SACEG/zuVtlTjp+jCLgce+0BNkZWx69nqc3PJeLWGUV0feq+4t09ShBRk2Mq/qwwmZGZe/Z8NiSV8I9to0S/kYfpHTk2kBIoN7KUjAVK47O1lEcYmtVRDSxtJWoy3jOKmh3LQUiTKXAluI+n1+7nKIXgzHOduaWeTe4EwxMJdJ8CMkcy5B2W4fsQ5vyNPHzfVE+f9Fo3xvQe3oI= Content-ID: <3C643F12E55A454893A17A0B6D80DF02@namprd22.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18a52d59-0a0e-4e36-848f-08d69dd2e46e X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2019 23:17:22.0074 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2201MB1374 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, Here are a few late fixes it'd be great to squeeze into v5.0. They're all pretty straightforward. Please pull. Thanks, Paul The following changes since commit d13937116f1e82bf508a6325111b322c30c85eb9: Linux 5.0-rc6 (2019-02-10 14:42:20 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git tags/mips_fixes_5.0_4 for you to fetch changes up to e0bf304e4a00d66d90904a6c5b93141f177cf6d2: MIPS: fix memory setup for platforms with PHYS_OFFSET != 0 (2019-02-27 18:49:29 -0800) ---------------------------------------------------------------- A few more MIPS fixes: - Fix 16b cmpxchg() operations which could erroneously fail if bits 15:8 of the old value are non-zero. In practice I'm not aware of any actual users of 16b cmpxchg() on MIPS, but this fixes the support for it was was introduced in v4.13. - Provide a struct device to dma_alloc_coherent for Lantiq XWAY systems with a "Voice MIPS Macro Core" (VMMC) device. - Provide DMA masks for BCM63xx ethernet devices, fixing a regression introduced in v4.19. - Fix memblock reservation for the kernel when the system has a non-zero PHYS_OFFSET, correcting the memblock conversion performed in v4.20. ---------------------------------------------------------------- Christoph Hellwig (1): MIPS: lantiq: pass struct device to DMA API functions Jonas Gorski (1): MIPS: BCM63XX: provide DMA masks for ethernet devices Michael Clark (1): MIPS: fix truncation in __cmpxchg_small for short values Thomas Bogendoerfer (1): MIPS: fix memory setup for platforms with PHYS_OFFSET != 0 arch/mips/bcm63xx/dev-enet.c | 8 ++++++++ arch/mips/kernel/cmpxchg.c | 3 +-- arch/mips/kernel/setup.c | 3 ++- arch/mips/lantiq/xway/vmmc.c | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-)