lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 3 Apr 2020 14:47:24 +0800
From:   Tiezhu Yang <yangtiezhu@...ngson.cn>
To:     Huacai Chen <chenhc@...ote.com>
Cc:     Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        Jiaxun Yang <jiaxun.yang@...goat.com>,
        "open list:MIPS" <linux-mips@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Xuefeng Li <lixuefeng@...ngson.cn>
Subject: Re: [PATCH v3 0/3] Add basic support for Loongson 7A1000 bridge chip

On 04/03/2020 12:28 PM, Huacai Chen wrote:
> We have a rule of naming to avoid confusing: Use Loongson-3A,
> Loongson-3B, etc. to describe processor; use LS2H, LS7A, etc. to
> describe bridge. So please don't use Loongson 7A1000.

OK, thanks for your suggestion. I will modify it and send v4.

Thanks,

Tiezhu Yang

>
> Thanks,
> Huacai
>
> On Tue, Mar 31, 2020 at 9:34 PM Tiezhu Yang <yangtiezhu@...ngson.cn> wrote:
>> The Loongson 7A1000 bridge chip has been released for several years
>> since the second half of 2017, but it is not supported by the Linux
>> mainline kernel while it only works well with the Loongson internal
>> kernel version. When I update the latest version of Linux mainline
>> kernel on the Loongson 3A3000 CPU and 7A1000 bridge chip system,
>> the boot process failed and I feel depressed.
>>
>> The 7A1000 bridge chip is used a lot with 3A3000 or 3A4000 CPU in
>> the most Loongson desktop and sever products, it is important to
>> support Loongson 7A1000 bridge chip by the Linux mainline kernel.
>>
>> This patch series adds the basic support for the Loongson 7A1000
>> bridge chip, the patch about vendor ID and SATA has been merged
>> into the mainline tree, the next work is to refactor the code about
>> the interrupt controller, and then power management and some other
>> controller device drivers.
>>
>> By the way, if you want the boot process is successful (just for
>> test) on the Loongson 3A3000 CPU and 7A1000 bridge chip system,
>> you should not only apply these patches, but also need the support
>> for SATA and interrupt controller in the v1 patch series.
>>
>> This patch series is based on mips-next.
>>
>> If you have any questions and suggestions, please let me know.
>>
>> Thanks,
>>
>> Tiezhu Yang
>>
>> v2:
>>    - The split patch series about Loongson vendor ID and SATA controller
>>      has been merged into the linux-block.git by Jens Axboe [1].
>>
>>    - Think about using hierarchy IRQ domain in the patch of interrupt
>>      controller, and this maybe depend on the patch series by Jiaxun
>>      ("Modernize Loongson64 Machine"), so the patch about interrupt is
>>      not included in this v2 patch series.
>>
>> v3:
>>    - The split patch series about Loongson vendor ID and SATA controller
>>      has been merged into the mainline tree [2]
>>
>>    - Modify the macro definition and add comment to make it easy to read
>>
>>    - Move ls7a1000_pci_class_quirk() to fixup-loongson3.c
>>
>>    - Use PCI_VENDOR_ID_LOONGSON in pci_ids.h instead of 0x0014
>>
>> [1] https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?h=for-next&id=9acb9fe18d86
>>      https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?h=for-next&id=e49bd683e00b
>> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9acb9fe18d86
>>      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e49bd683e00b
>>
>> Tiezhu Yang (3):
>>    MIPS: Loongson: Get host bridge information
>>    MIPS: Loongson: Add DMA support for 7A1000
>>    MIPS: Loongson: Add PCI support for 7A1000
>>
>>   arch/mips/include/asm/mach-loongson64/boot_param.h | 20 +++++++
>>   arch/mips/loongson64/dma.c                         |  9 ++--
>>   arch/mips/loongson64/env.c                         | 22 ++++++++
>>   arch/mips/loongson64/init.c                        | 17 ++++++
>>   arch/mips/pci/fixup-loongson3.c                    | 12 +++++
>>   arch/mips/pci/ops-loongson3.c                      | 63 ++++++++++++++++++++--
>>   6 files changed, 136 insertions(+), 7 deletions(-)
>>
>> --
>> 2.1.0
>>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ