Re: [PATCH 3/3] drm/amd/display: Support DRM_AMD_DC_FP on RISC-V

2023-12-12 Thread Josh Poimboeuf
On Mon, Dec 11, 2023 at 11:12:42PM -0800, Christoph Hellwig wrote: > On Thu, Dec 07, 2023 at 10:49:53PM -0600, Samuel Holland wrote: > > Actually tracking all possibly-FPU-tainted functions and their call sites is > > probably possible, but a much larger task. > > I think objtool should be able to

Re: [PATCH v6 0/9] Add jump table support for objtool on LoongArch

2025-02-10 Thread Josh Poimboeuf
On Mon, Feb 10, 2025 at 02:07:43PM +0800, Tiezhu Yang wrote: > On 01/15/2025 09:34 AM, Josh Poimboeuf wrote: > > On Sat, Jan 11, 2025 at 02:57:42PM +0800, Tiezhu Yang wrote: > > > Hi Josh and Peter, > > > > > > On 12/17/2024 09:08 AM, Tiezhu Yang wrote:

Re: [PATCH v6 4/9] objtool: Handle unreachable entry of rodata

2025-02-10 Thread Josh Poimboeuf
On Tue, Dec 17, 2024 at 09:09:00AM +0800, Tiezhu Yang wrote: > When compiling with Clang on LoongArch, there exists unreachable entry of > rodata which points to a position after the function return instruction, > this is generated by compiler to fill the non-existent switch case, just > skip the e

Re: [PATCH v6 9/9] drm/amd/display: Mark dc_fixpt_from_fraction() noinline

2024-12-18 Thread Josh Poimboeuf
On Wed, Dec 18, 2024 at 10:36:00PM +0800, Huacai Chen wrote: > Hi, Tiezhu, > > On Tue, Dec 17, 2024 at 9:50 AM Tiezhu Yang wrote: > > > > When compiling with Clang on LoongArch, there exists the following objtool > > warning in drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.o: > > > > dc_fixp

Re: [PATCH v6 0/9] Add jump table support for objtool on LoongArch

2025-01-14 Thread Josh Poimboeuf
On Sat, Jan 11, 2025 at 02:57:42PM +0800, Tiezhu Yang wrote: > Hi Josh and Peter, > > On 12/17/2024 09:08 AM, Tiezhu Yang wrote: > > This version is based on tip/tip.git objtool/core branch [1], add some weak > > and arch-specific functions to make the generic code more readable, tested > > with t

Re: [PATCH v6 0/9] Add jump table support for objtool on LoongArch

2025-02-12 Thread Josh Poimboeuf
ll go ahead and take the first 5. If you take in patches 6 & 7 separately, that might introduce a lot of warnings. But it's up to you. For patches 6 & 7: Acked-by: Josh Poimboeuf -- Josh

Re: [PATCH] objtool: remove duplicate case value R_PPC64_REL32

2025-02-11 Thread Josh Poimboeuf
On Tue, Feb 11, 2025 at 10:19:57PM +0800, Kexy Biscuit wrote: > In arch/powerpc/include/uapi/asm/elf.h, R_PPC64_REL32 is defined as a > macro to R_PPC_REL32, makes the case value here being duplicate and > creates the following error... > > arch/powerpc/decode.c: In function ‘arch_reloc_size’: > a

Re: [PATCH v6 0/9] Add jump table support for objtool on LoongArch

2025-02-11 Thread Josh Poimboeuf
On Tue, Feb 11, 2025 at 07:59:57PM +0800, Huacai Chen wrote: > Hi, Josh, > > On Tue, Feb 11, 2025 at 5:26 AM Josh Poimboeuf wrote: > > > > On Mon, Feb 10, 2025 at 02:07:43PM +0800, Tiezhu Yang wrote: > > > On 01/15/2025 09:34 AM, Josh Poimboeuf wrote: > > &g

Re: [PATCH v6 0/9] Add jump table support for objtool on LoongArch

2025-02-18 Thread Josh Poimboeuf
On Mon, Feb 17, 2025 at 11:13:43AM +0800, Huacai Chen wrote: > On Thu, Feb 13, 2025 at 10:51 AM Josh Poimboeuf wrote: > > > > On Wed, Feb 12, 2025 at 03:22:45PM +0800, Huacai Chen wrote: > > > > The new series now has 7 patches: > > > > > > > >

Re: [PATCH v6 0/9] Add jump table support for objtool on LoongArch

2025-02-20 Thread Josh Poimboeuf
On Wed, Feb 19, 2025 at 05:49:01PM +0800, Huacai Chen wrote: > > Looks like that's not going to work. Without patch 7 I'm getting a > > warning (upgraded to a build error with a pending change to upgrade > > objtool warnings to errors): > > > > arch/loongarch/kernel/machine_kexec.o: error: objtool