From patchwork Fri Mar 1 00:56:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Burton X-Patchwork-Id: 10834315 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 075541575 for ; Fri, 1 Mar 2019 00:57:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E044D2F5E5 for ; Fri, 1 Mar 2019 00:57:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0DD32F5EF; Fri, 1 Mar 2019 00:57:38 +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 539742F5E5 for ; Fri, 1 Mar 2019 00:57:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729231AbfCAA5h (ORCPT ); Thu, 28 Feb 2019 19:57:37 -0500 Received: from mail-eopbgr800129.outbound.protection.outlook.com ([40.107.80.129]:4288 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727005AbfCAA5h (ORCPT ); Thu, 28 Feb 2019 19:57:37 -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=2QkIYh4MG5TEUIY6OHSOYT9nGJCneQbHV64p9eAli+0=; b=I/0xEMdshXgawGhTkEPdk05xbwXsCTMFizCPBcYYGVOmELJkCAQX/QqwlCxhC0fP+7Ja3/lmbF6Lf3BPlITOS/FMEOhkLHVhT0L6ZKE8IowGbh4K8qZIjV/KgFwHc9SP6REOVl4b0PRiNMO9ZzHp+f2O19V0LN/Qk0SwOam64/I= Received: from MWHPR2201MB1277.namprd22.prod.outlook.com (10.174.162.17) by MWHPR2201MB1373.namprd22.prod.outlook.com (10.172.60.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.16; Fri, 1 Mar 2019 00:56:53 +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; Fri, 1 Mar 2019 00:56:53 +0000 From: Paul Burton To: Linus Torvalds CC: "linux-mips@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [GIT PULL] MIPS fixes for 5.0 Thread-Topic: [GIT PULL] MIPS fixes for 5.0 Thread-Index: AQHUz8moXMFrZPPDYE2hzuXRJsOI4Q== Date: Fri, 1 Mar 2019 00:56:52 +0000 Message-ID: <20190301005650.nzsntehn3hpbgcey@pburton-laptop> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR07CA0041.namprd07.prod.outlook.com (2603:10b6:a03:60::18) 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: [2601:647:4100:4687:76db:7cfe:65a3:6aea] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: def169e0-db9b-464c-9601-08d69de0cb1d x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(49563074)(7193020);SRVR:MWHPR2201MB1373; x-ms-traffictypediagnostic: MWHPR2201MB1373: x-microsoft-exchange-diagnostics: 1;MWHPR2201MB1373;23:aoFy5kbmUGaqK2XQA4WImyRn0Ak5zwaP/WtQ6/H4ifofPlJcbvLv92no7DnCyyIW1h18u3jwG671YagocCqMClHeD1Qql6RFflEZZ4EnHn4sKzjZFdzNwK1BtyOBL1MOWQ/q42Hf+IpNXLwAQYCRGno1Qf3j84Ox0R/7l6o/U3vIf528rvykxvr+QX30N/xB8kibDZwlIVqqoGMV2pyxtot9MqpTWRR3OgnMYXySWX/gdJknZTMG5M1qjeRzs2LXHYdP/XrrPiM51EkzlYdUe26PymUC3TiX4tICVSoJY2dy5m3tWgzgjk1ObnGBdLOCGqD3ByqDOvFuPwbinSaSU9jjBxhRi/no5NLRYKi4dArivPrzWx6MdVbwwkJVDc0Kfs3pmRqEIddA518T2c2oDuwRa/T5M6w/M3rTI1RxdE7eAanLFTlQMeh5Yjdsde9JTVTLX3hWYkvFZYHlf/Z/acIo2DturXq2JeuPsks0znijeFYVKHm4Gh+g4PbIVc9G300nJIHU4PIH6JSkBcnu2cCzGF1AEzGf90TJdqnghb6h7PLzJaPtyBaQqGXWDi+am+6wIisDeS02mO6EPc0YU4UG9Ue4U6fSpYUfFFKybQQc7xOGeyoHJQ4jYk88fYKoWHoxdv9ItPzqpNfdX1E5W3xu9KTT0uFIxg1xTfrxc5hP59k3IO6HcVS+m6C6lkEIhoN5kgfocoJQaDBvabUnK/zb6wHQmyR2ziCU3bNazaI5lfO0YyJcIMckNJWiQXWyzm0lzFUYe+6hllfwTkQ4F1Z/VdPcTzKys2T/zrcsrBxdy8b/e7jspPfLAdpSm6MWMlxDuRS8VIge5pWK4kBnWk2r05ZMDvAxYg5oYMVXwYWivIDTA+KXQdr1jxylJrwxiTN/mhjCr0wjwySyIQW/9nxNauKsNXN2cXyblBU+lhHdCMv9TVLFhgIwSpe4jD4FgRkAQwS4m8MpUO5gW/LAPCMFAI1PEQJ9SQHmHf7vaqqU8KBDOzR2U8zTVmMmcGxxNimHO6EhS0Rnm4N6W9TG2iQelsaG54d4YKVpjhVb0/98Y2mOqpfrCw4XdXrl6cgQ1AmzXR1uPhYf34ZCrAjY0ZNoSfO3886fkUs8jvkUzwLZqvRx1B++FgBBUuAJUs978dNKSERnhnuBR0gMJXyTSg== x-microsoft-antispam-prvs: x-forefront-prvs: 09634B1196 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(346002)(136003)(376002)(366004)(396003)(39840400004)(189003)(199004)(1076003)(58126008)(6512007)(9686003)(53936002)(316002)(97736004)(6486002)(256004)(105586002)(106356001)(6436002)(4326008)(68736007)(7736002)(305945005)(14454004)(8936002)(25786009)(6116002)(33716001)(8676002)(6916009)(52116002)(42882007)(46003)(486006)(6506007)(386003)(186003)(99286004)(476003)(44832011)(102836004)(54906003)(99936001)(478600001)(71190400001)(71200400001)(5660300002)(2906002)(81156014)(81166006);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2201MB1373;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: EQTPHRTtTN3r4FDh4fdqiv6TU0Q3YtQtTb/tJTNxOfwQXWTTyPkIkRUivWnvqiBUGWX72y+CkRheeh4sCaoPSB9KBC7wgVmUrUvBbaOpGcyy7ulVLf7IJOWOi9p1FgxUlivbXAP8Dgb4txlIQ1pa3itlHSLOLe1dcm6HdPj62gUjusdlppqQ3Gcl92SUEBQi0JN6o6YINa+DRRw2cNjceW2o11liFDptkwOctbljjw2Yyy9USiokTz+4a1UFhZdFf2o0bpN3zaQxkI7uz8j26mSwNmb+6OENPMH3uH6th2UzGonzIWyq2HAtC1jxm59AtkDvmmQAOSIJrg6/j8DDhxUyjGFa3u53jEqVznXOkY4OQFcccWcRdyeggZo2PEyBdhKTYeeID+yA7v3k6dLa0yHvqGfEKpLOmJl3U1fh7wk= MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: def169e0-db9b-464c-9601-08d69de0cb1d X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2019 00:56:52.4572 (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: MWHPR2201MB1373 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, (Resending with fixed subject & PGP sig. /me makes more coffee...) 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(-)