[SRU][PATCH v4][F/oracle][PULL] arm64 support (LP: #1925421)

Kleber Souza kleber.souza at canonical.com
Tue May 4 08:13:24 UTC 2021


Hello Khaled,

On 01.05.21 10:19, Juerg Haefliger wrote:
> So I see you've decided to apply v4. I have several problems with that:

If this patchset has already been applied, could you please send an
"applied" message to the thread? You should also explain where the ACK's
are coming from given that this revision wasn't fully ACK'ed.

> 
> 1) We have a process that requires 2 ACKs. You have only 1 ACK for v4, so
> you've violated that process. You *cannot* carry forward signed-off-by tags from
> previous versions. Some patches changed significantly and the old
> signed-off-by tags are no longer valid. On the same topic, you want the ACKs from
> the people who NACK'ed your previous versions since they are the reason
> for the patch respins and you want their OK. ACKs from other people are nice to
> have but IMO should never be sufficient even if you get 2 of those.

Sorry but I need to agree with Juerg on this. I know we are probably in a rush
to get a kernel in -proposed for testing but we can't ignore the process for
the stable kernels. The changes won't regress any arm64 users as this is
new, but this patchset doesn't contain arm64-only code, it touches common areas
meaning it has potential regression for the already supported arches and the
comments made by Juerg are relevant for future code maintainability.


Kleber

> 
> 2) You claim to have fixed some of the things I complained about but I don't
> see that change in v4. But since I mentioned in my v3 review that I don't care
> too much about that, I let it go but I do wonder about your process...
> 
> 3) For reasons that are beyond me, you managed to mess up the 'start new
> release' commit in the repo. I can only speculate that you cherry-picked it from some
> previous version rather then rerunning cranky open. It introduces a complete new
> set of ABI files rather than updating the already existing set. How did you not
> spot this?
> 
> 4) The subsequent 'bring up arm64' commit 'fixes' that up by removing the old
> ABI files. While the end result is technically correct it is a bloody mess. To
> but it mildly. More seriously, that commit in the repo is different from the
> one that Tim reviewed in the PR. Huh? You decided to modify a commit *after* it
> was reviewed, keep Tim's signed-off-by tag and add Kamal's who has never seen
> that version? I guess I can partially blame these two guys since they
> signed off on this mess.
> 
> We already have enough problems with letting bad patches through because we
> don't spot problems during reviews but ignoring review results *and*
> silently modifying patches after they have been reviewed is not acceptable and a
> slap in the face of the people who take their time to do the reviews and
> increases the risk of introducing additional problems.
> 
> I'm not happy at the moment.
> 
> ...Juerg
> 
> 
> On Fri, 30 Apr 2021 13:34:15 -0400
> Khaled Elmously <khalid.elmously at canonical.com> wrote:
> 
>> v2:
>>    Update commit messages and re-ordered some commits. No functional changes
>>
>> v3:
>>    Update commit messages and re-ordered some commits. No functional changes
>>
>>
>>
>>
>> The following changes since commit aea1f691e9550b653072cf0931afeafebd4fab67:
>>
>>    UBUNTU: Ubuntu-oracle-5.4.0-1044.47 (2021-04-19 11:18:25 -0600)
>>
>> are available in the Git repository at:
>>
>>    git+ssh://git.launchpad.net/~kmously/ubuntu/+source/linux/+git/focal tags/oracle-arm-20
>>
>> for you to fetch changes up to 03ce4765cd4a2a491d27fae4a3b5d7a98a594439:
>>
>>    UBUNTU: [config] oracle: update configs (2021-04-30 13:29:16 -0400)
>>
>> ----------------------------------------------------------------
>> Baoquan He (3):
>>        mm: memmap_init: iterate over memblock regions rather that check each PFN
>>        mm: rename memmap_init() and memmap_init_zone()
>>        mm: simplify parater of function memmap_init_zone()
>>
>> David Hildenbrand (2):
>>        mm/page_alloc.c: initialize memmap of unavailable memory directly
>>        mm: pass migratetype into memmap_init_zone() and move_pfn_range_to_zone()
>>
>> James Morse (2):
>>        mm/memory-failure: Add memory_failure_queue_kick()
>>        ACPI: APEI: Kick the memory_failure() queue for synchronous errors
>>
>> Khalid Elmously (3):
>>        UBUNTU: [config] oracle: update annotations
>>        UBUNTU: [config] oracle: Bring-up for arm64 support
>>        UBUNTU: [config] oracle: update configs
>>
>> Mike Rapoport (22):
>>        mm: memblock: replace dereferences of memblock_region.nid with API calls
>>        mm: make early_pfn_to_nid() and related defintions close to each other
>>        mm: remove CONFIG_HAVE_MEMBLOCK_NODE_MAP option
>>        mm: free_area_init: use maximal zone PFNs rather than zone sizes
>>        mm: use free_area_init() instead of free_area_init_nodes()
>>        alpha: simplify detection of memory zone boundaries
>>        arm: simplify detection of memory zone boundaries
>>        arm64: simplify detection of memory zone boundaries for UMA configs
>>        csky: simplify detection of memory zone boundaries
>>        m68k: mm: simplify detection of memory zone boundaries
>>        parisc: simplify detection of memory zone boundaries
>>        sparc32: simplify detection of memory zone boundaries
>>        unicore32: simplify detection of memory zone boundaries
>>        xtensa: simplify detection of memory zone boundaries
>>        mm/page_alloc.c: refactor initialization of struct page for holes in memory layout
>>        mm: remove early_pfn_in_nid() and CONFIG_NODES_SPAN_OTHER_NODES
>>        mm: free_area_init: allow defining max_zone_pfn in descending order
>>        arc: fix memory initialization for systems with two memory banks
>>        mm: rename free_area_init_node() to free_area_init_memoryless_node()
>>        mm: clean up free_area_init_node() and its helpers
>>        mm: simplify find_min_pfn_with_active_regions()
>>        docs/vm: update memory-models documentation
>>
>> Robin Murphy (4):
>>        perf: Add Arm CMN-600 PMU driver
>>        perf: Add Arm CMN-600 DT binding
>>        perf/arm-cmn: Fix PMU instance naming
>>        perf/arm-cmn: Move IRQs when migrating context
>>
>> Tuan Phan (7):
>>        UBUNTU: SAUCE: perf/smmuv3: Allow sharing MMIO registers with the SMMU driver
>>        UBUNTU: SAUCE: arm64: Split the old READ_IMPLIES_EXEC workaround from executable
>>        PCI/ACPI: Add Ampere Altra SOC MCFG quirk
>>        driver/perf: Add PMU driver for the ARM DMC-620 memory controller
>>        perf: arm_dsu: Support DSU ACPI devices
>>        UBUNTU: SAUCE: perf: arm_dsu: Allow IRQ to be shared among devices.
>>        Perf: arm-cmn: Allow irq to be shared.
>>
>> Vanshidhar Konda (1):
>>        arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4
>>
>> Wei Yongjun (1):
>>        perf/arm_dmc620_pmu: Fix error return code in dmc620_pmu_device_probe()
>>
>> Will Deacon (1):
>>        perf: arm-cmn: Fix unsigned comparison to less than zero
>>
>> lho (1):
>>        UBUNTU: SAUCE: hwmon: Add Ampere Altra HW monitor driver
>>
>>   Documentation/admin-guide/perf/arm-cmn.rst         |   65 +
>>   Documentation/admin-guide/perf/index.rst           |    1 +
>>   .../devicetree/bindings/perf/arm,cmn.yaml          |   57 +
>>   .../features/vm/numa-memblock/arch-support.txt     |   34 -
>>   Documentation/vm/memory-model.rst                  |    9 +-
>>   arch/alpha/mm/init.c                               |   16 +-
>>   arch/alpha/mm/numa.c                               |   22 +-
>>   arch/arc/mm/init.c                                 |   66 +-
>>   arch/arm/kernel/elf.c                              |   27 +-
>>   arch/arm/mm/init.c                                 |   66 +-
>>   arch/arm64/Kconfig                                 |    3 +-
>>   arch/arm64/include/asm/elf.h                       |   23 +-
>>   arch/arm64/mm/init.c                               |   48 +-
>>   arch/arm64/mm/numa.c                               |    9 +-
>>   arch/c6x/mm/init.c                                 |    8 +-
>>   arch/csky/kernel/setup.c                           |   26 +-
>>   arch/h8300/mm/init.c                               |    6 +-
>>   arch/hexagon/mm/init.c                             |    6 +-
>>   arch/ia64/Kconfig                                  |    1 -
>>   arch/ia64/mm/contig.c                              |    2 +-
>>   arch/ia64/mm/discontig.c                           |    2 +-
>>   arch/ia64/mm/init.c                                |    4 +-
>>   arch/m68k/mm/init.c                                |    6 +-
>>   arch/m68k/mm/mcfmmu.c                              |    9 +-
>>   arch/m68k/mm/motorola.c                            |   15 +-
>>   arch/m68k/mm/sun3mmu.c                             |   10 +-
>>   arch/microblaze/Kconfig                            |    1 -
>>   arch/microblaze/mm/init.c                          |    2 +-
>>   arch/mips/Kconfig                                  |    1 -
>>   arch/mips/mm/init.c                                |    2 +-
>>   arch/mips/sgi-ip27/ip27-memory.c                   |    2 +-
>>   arch/nds32/mm/init.c                               |   11 +-
>>   arch/nios2/mm/init.c                               |    8 +-
>>   arch/openrisc/mm/init.c                            |    9 +-
>>   arch/parisc/mm/init.c                              |   22 +-
>>   arch/powerpc/Kconfig                               |   10 -
>>   arch/powerpc/mm/mem.c                              |    2 +-
>>   arch/riscv/Kconfig                                 |    1 -
>>   arch/riscv/mm/init.c                               |    2 +-
>>   arch/s390/Kconfig                                  |    1 -
>>   arch/s390/mm/init.c                                |    2 +-
>>   arch/sh/Kconfig                                    |    1 -
>>   arch/sh/mm/init.c                                  |    2 +-
>>   arch/sparc/Kconfig                                 |   10 -
>>   arch/sparc/mm/init_64.c                            |    2 +-
>>   arch/sparc/mm/srmmu.c                              |   21 +-
>>   arch/um/kernel/mem.c                               |   12 +-
>>   arch/unicore32/include/asm/memory.h                |    2 +-
>>   arch/unicore32/include/mach/memory.h               |    6 +-
>>   arch/unicore32/kernel/pci.c                        |   14 +-
>>   arch/unicore32/mm/init.c                           |   43 +-
>>   arch/x86/Kconfig                                   |   10 -
>>   arch/x86/include/asm/elf.h                         |   22 +-
>>   arch/x86/mm/init.c                                 |    2 +-
>>   arch/x86/mm/numa.c                                 |   11 +-
>>   arch/xtensa/mm/init.c                              |    8 +-
>>   debian.oracle/abi/5.4.0-1039.42/arm64/ignore       |    0
>>   .../abi/5.4.0-1039.42/arm64/ignore.modules         |    0
>>   .../abi/5.4.0-1039.42/arm64/ignore.retpoline       |    0
>>   debian.oracle/abi/5.4.0-1043.46/arm64/ignore       |    1 +
>>   .../abi/5.4.0-1043.46/arm64/ignore.compiler        |    1 +
>>   .../abi/5.4.0-1043.46/arm64/ignore.modules         |    1 +
>>   .../abi/5.4.0-1043.46/arm64/ignore.retpoline       |    1 +
>>   debian.oracle/config/amd64/config.common.amd64     |   24 +
>>   debian.oracle/config/annotations                   |   22 +-
>>   debian.oracle/config/arm64/config.common.arm64     |   27 +
>>   debian.oracle/config/arm64/config.flavour.oracle   |    3 +
>>   debian.oracle/config/config.common.ubuntu          |  660 +++++++-
>>   debian.oracle/control.d/vars.oracle                |    4 +-
>>   debian.oracle/control.stub.in                      |    2 +-
>>   debian.oracle/etc/kernelconfig                     |    2 +-
>>   debian.oracle/rules.d/arm64.mk                     |   30 +
>>   drivers/acpi/apei/ghes.c                           |   67 +-
>>   drivers/acpi/pci_mcfg.c                            |   20 +
>>   drivers/hwmon/Kconfig                              |   10 +
>>   drivers/hwmon/Makefile                             |    1 +
>>   drivers/hwmon/altra-hwmon.c                        |  435 ++++++
>>   drivers/iommu/arm-smmu-v3.c                        |    2 +-
>>   drivers/pci/ecam.c                                 |   10 +
>>   drivers/perf/Kconfig                               |   14 +
>>   drivers/perf/Makefile                              |    2 +
>>   drivers/perf/arm-cmn.c                             | 1638 ++++++++++++++++++++
>>   drivers/perf/arm_dmc620_pmu.c                      |  749 +++++++++
>>   drivers/perf/arm_dsu_pmu.c                         |   65 +-
>>   drivers/perf/arm_smmuv3_pmu.c                      |   25 +-
>>   fs/compat_binfmt_elf.c                             |    5 +
>>   include/acpi/ghes.h                                |    3 +
>>   include/linux/memblock.h                           |    8 +-
>>   include/linux/memory_hotplug.h                     |    3 +-
>>   include/linux/mm.h                                 |   44 +-
>>   include/linux/mmzone.h                             |   11 +-
>>   include/linux/pci-ecam.h                           |    1 +
>>   mm/Kconfig                                         |    3 -
>>   mm/compaction.c                                    |    4 +-
>>   mm/memblock.c                                      |   19 +-
>>   mm/memory-failure.c                                |   15 +-
>>   mm/memory_hotplug.c                                |   17 +-
>>   mm/memremap.c                                      |    3 +-
>>   mm/page_alloc.c                                    |  420 +++--
>>   99 files changed, 4343 insertions(+), 812 deletions(-)
>>   create mode 100644 Documentation/admin-guide/perf/arm-cmn.rst
>>   create mode 100644 Documentation/devicetree/bindings/perf/arm,cmn.yaml
>>   delete mode 100644 Documentation/features/vm/numa-memblock/arch-support.txt
>>   create mode 100644 debian.oracle/abi/5.4.0-1039.42/arm64/ignore
>>   create mode 100644 debian.oracle/abi/5.4.0-1039.42/arm64/ignore.modules
>>   create mode 100644 debian.oracle/abi/5.4.0-1039.42/arm64/ignore.retpoline
>>   create mode 100644 debian.oracle/abi/5.4.0-1043.46/arm64/ignore
>>   create mode 100644 debian.oracle/abi/5.4.0-1043.46/arm64/ignore.compiler
>>   create mode 100644 debian.oracle/abi/5.4.0-1043.46/arm64/ignore.modules
>>   create mode 100644 debian.oracle/abi/5.4.0-1043.46/arm64/ignore.retpoline
>>   create mode 100644 debian.oracle/config/arm64/config.common.arm64
>>   create mode 100644 debian.oracle/config/arm64/config.flavour.oracle
>>   create mode 100644 debian.oracle/rules.d/arm64.mk
>>   create mode 100644 drivers/hwmon/altra-hwmon.c
>>   create mode 100644 drivers/perf/arm-cmn.c
>>   create mode 100644 drivers/perf/arm_dmc620_pmu.c
>>
>>
> 
> 




More information about the kernel-team mailing list