01ea01 Allow _crashkernel_add to address larger memory ranges

Authored and Committed by Baoquan He 10 months ago
1 file changed. 14 lines added. 2 lines removed.
    Allow _crashkernel_add to address larger memory ranges
    
    Resolves: https://issues.redhat.com/browse/RHEL-8727
    Resolves: https://issues.redhat.com/browse/RHEL-8710
    Upstream: Fedora
    Conflict: spec/kdump-lib_spec.sh doesn't exist in RHEL, so I remove
              the hunk directly.
    
    commit 3d253ab81134d9f68d230aeeceb3158026b597aa
    Author: Coiby Xu <coxu@redhat.com>
    Date:   Tue Oct 10 14:31:36 2023 +0800
    
        Allow _crashkernel_add to address larger memory ranges
    
        Currently _crashkernel_add can't deal with larger memory ranges like
        terabyte. For example, '_crashkernel_add "128G-1T:4G" "0"' actually
        returns empty result. This patch allows _crashkernel_add to address
        terabyte, petabyte and exabyte memory ranges.
    
        Fixes: 64f2827a ("kdump-lib: Harden _crashkernel_add")
        Signed-off-by: Coiby Xu <coxu@redhat.com>
        Acked-by: Baoquan He <bhe@redhat.com>
    Signed-off-by: Baoquan He <bhe@redhat.com>
    
        
file modified
+14 -2