PabloPL / linux

Linux kernel source tree
Other
17 stars 0 forks source link

Branch with all known patches #40

Open xc-racer99 opened 4 years ago

xc-racer99 commented 4 years ago

I've grown tired of maintaining many different for-upstream/* branches during development. I think it makes sense only to have them when actively trying to upstream patches.

As such, I've created a branch at https://github.com/xc-racer99/linux/tree/all-devices where I've put all the patches from all the various branches. Note that I have put a few fixes to those commits that aren't in the for-upstream branches. I plan on rebasing it periodically.

While I'm kind of torn about this decision as it definitely makes upstreaming more difficult, I think it will be useful for development as there will be a solid base to build upon. It should be relatively easy to pick the relevant commits for an issue. As long as it gets rebased and the commits kept in a logical order, I think it should work well.

kwizart commented 2 years ago

Hello,

Is it possible to rebase to a newer kernel, as some changes went upstream and it's not trivial to rebase the changes. The powervr changes are available from another tree (https://github.com/openpvrsgx-devgroup/linux_openpvrsgx) , so it's possible to merge them manually. (unless the "glue")...

Thanks in advance.

xc-racer99 commented 2 years ago

Take a peek at https://github.com/xc-racer99/linux/tree/v5.17-aries-powervr for a relatively recent (albeit mostly untested) branch.

And yeah, it's mostly just the charging, TV out, PVR, camera, gps, modem, and onenand that aren't upstream yet. GPS for i9000 could actually go upstream now as there's a binding, but still no driver/userspace :)

kwizart commented 2 years ago

I've managed to build this 5.17 branch with just a quickfix. FYI, I've tried to rebase to 5.19 but the pvr driver seems to have several fixme with this version, so I will test later...

(Now I need to rebuilt a new userspace to test with...).

diff --git a/drivers/iio/magnetometer/yas529.c b/drivers/iio/magnetometer/yas529.c
index cd807971ce84..d2c458aaf50a 100644
--- a/drivers/iio/magnetometer/yas529.c
+++ b/drivers/iio/magnetometer/yas529.c
@@ -346,8 +346,7 @@ static int yas529_probe(struct i2c_client *i2c,
        yas529->i2c = i2c;
        mutex_init(&yas529->lock);

-       ret = iio_read_mount_matrix(&i2c->dev, "mount-matrix",
-                                   &yas529->orientation);
+       ret = iio_read_mount_matrix(&i2c->dev, &yas529->orientation);
        if (ret)
                return ret;