From patchwork Sun Oct 30 09:16:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huacai Chen X-Patchwork-Id: 12970 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1714348wru; Sun, 30 Oct 2022 02:22:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Ol0j8XHaeVCjiDrksVOSX8Nc1jY9byIzuZPo48A/DIdKEwdi68i4kk1YVNz9WfBqwHO3V X-Received: by 2002:a17:907:3da2:b0:78d:3b45:11d9 with SMTP id he34-20020a1709073da200b0078d3b4511d9mr7546652ejc.87.1667121779721; Sun, 30 Oct 2022 02:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667121779; cv=none; d=google.com; s=arc-20160816; b=M4UWZn5MmZLUL9bncStex4SozC/KJFSS1a4FM8yRvN1ZZQUGR6X6vay0FkoJ7WCv3M 8nHn1a+m0TrUYQeIuyieCmSSAZ4UFTyBGqNSbUOyBU0BMKMm/eaV5300fDN+yPsXgBAc UMtn5+pyqV328L/n0A74VByxRPeXGDjLS7fbfvc+CWhSmdT3uDcDpg83acBwKKC+e4FS Ich3Ws8qTYQjTEOQQED/bZVerIwwMpPDhV9fkIKm3ifNMfzJFbWzYkpyV1CyJd4XlXvd 4PjwkZqq2oQbvGQC7jJ/KrZVwyTpT7zpZ26DWfvMwibHtkqZWjYUA6hk7aXzxg75Hsnm ju7A== 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 :message-id:date:subject:cc:to:from; bh=QHiFWuWmiZTmLkWGyinlcdE0Bbo43qpunUTQkV4klEg=; b=BMrIJsCZtsA7YXcbrGhX5STq4yaLeMI2pHFiv8bwnRaMta7KRGCiefw0j1fKf1jGbi VUgxHKAHx+cF3Eeb/02FoxmNhn44deiDs1WtTkBk+9f8WrG60ZwDUDKohWa1uc7WXa63 E6rg0Gn/OaEMTVNNLz4lKFNL1FOPIK6JZu5YrjIS2g53L+JBQQ9AWJgQ4P3rRZc9/A3S 7RqZb4A0y4zXzOvNd/YoRulhLAY4rcrLURP1w56T3ssP8mx5c55VeAGLF69Bkv6LImCy Fr33TshrdTd7oUZYCVkRkTafZLiXttbDNqiyThvOzyfNti8uk0alZZch57jiUPvKMzho /IhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg39-20020a170907a42700b00730870cb4b6si4551056ejc.621.2022.10.30.02.22.36; Sun, 30 Oct 2022 02:22:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229663AbiJ3JTD (ORCPT + 99 others); Sun, 30 Oct 2022 05:19:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229632AbiJ3JTA (ORCPT ); Sun, 30 Oct 2022 05:19:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 879C3190; Sun, 30 Oct 2022 02:18:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 01CA560E15; Sun, 30 Oct 2022 09:18:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED56DC433D6; Sun, 30 Oct 2022 09:18:55 +0000 (UTC) From: Huacai Chen To: Linus Torvalds , Arnd Bergmann , Huacai Chen Cc: loongarch@lists.linux.dev, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Guo Ren , Xuerui Wang , Jiaxun Yang , Huacai Chen Subject: [GIT PULL] LoongArch fixes for v6.1-rc3 Date: Sun, 30 Oct 2022 17:16:58 +0800 Message-Id: <20221030091658.1843946-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748103886956915609?= X-GMAIL-MSGID: =?utf-8?q?1748103886956915609?= The following changes since commit 247f34f7b80357943234f93f247a1ae6b6c3a740: Linux 6.1-rc2 (2022-10-23 15:27:33 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-6.1-1 for you to fetch changes up to d81916910f7498fe7a768697e0101d488f9fe665: platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init() (2022-10-29 16:29:31 +0800) ---------------------------------------------------------------- LoongArch fixes for v6.1-rc3 Remove unused kernel stack padding, fix some build errors/warnings and two bugs in laptop platform driver. ---------------------------------------------------------------- Huacai Chen (2): LoongArch: BPF: Avoid declare variables in switch-case platform/loongarch: laptop: Adjust resume order for loongson_hotkey_resume() Jinyang He (1): LoongArch: Remove unused kernel stack padding Yang Yingliang (1): platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init() Yushan Zhou (1): LoongArch: Use flexible-array member instead of zero-length array arch/loongarch/include/asm/processor.h | 2 +- arch/loongarch/include/asm/ptrace.h | 4 ++-- arch/loongarch/kernel/head.S | 3 +-- arch/loongarch/kernel/process.c | 4 ++-- arch/loongarch/kernel/switch.S | 2 +- arch/loongarch/net/bpf_jit.c | 31 ++++++++++++---------------- drivers/platform/loongarch/loongson-laptop.c | 24 ++++++++++++--------- 7 files changed, 34 insertions(+), 36 deletions(-)