Received: by 2002:a05:6358:795:b0:dc:4c66:fc3e with SMTP id n21csp1556865rwj; Sun, 30 Oct 2022 02:44:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4PyZdj5rCrDYuhOkyvLjaafFZ4m9jpvf2MIhGzJZP6Kka1mNBFwZvGIQXjs+Ml+zxUPi5A X-Received: by 2002:a05:6402:1505:b0:463:1a0c:4db8 with SMTP id f5-20020a056402150500b004631a0c4db8mr4374248edw.70.1667123047011; Sun, 30 Oct 2022 02:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667123047; cv=none; d=google.com; s=arc-20160816; b=Np0Mm/thr9J3JeRCw90aUSNszPwam1Z1flfg7dQo2K4OV0++WIFwQV0Hwe6IYqAvzx TNbOuYqiEYnnOFEsyi55NJ48oQ2Dq94VcWaNfLZ5k8or2tcyqj/LMCw3p7vneUTHLqHh a8Qhc893c1mlDkBfVCXUmuz9zuaEs0eh9+6bhQYUMRrsf0PYDgDkUl0Bw91R3fAzNAWv wpneSAv+my949rW4xe7A5VNKKImMPBPQFiYYsbPF/QK0wSarcejHrA+gPkSZXpsGudAR hASm8PdbORWMBSrpBEQnkI0LjbsZjAVgXfr/0/F300bm9e8lBNbOPtMmHgbzID7JhgxO 9mIA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 3-20020a170906310300b0073d6c0facdcsi3778932ejx.259.2022.10.30.02.43.42; Sun, 30 Oct 2022 02:44:07 -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 Content-Transfer-Encoding: 8bit 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 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(-)